Emuforums.com

Go Back   Emuforums.com > PS2 Emulation > PS2 Plugin Questions & Plugin Troubleshooting
Home Register Downloads FAQ Members List Calendar Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old December 25th, 2007   #1 (permalink)
B( o Y o )BS!
 
GiGaHeRz's Avatar
 
Join Date: Feb 2002
Location: Spain
Posts: 889
SPU2ghz Releases

Latest Stable Version: (none yet!)
Latest Beta Version: Public Beta 1.9!
Latest Experimental Version: Public Beta 1.9r2! [latest]
Rant:
It has been more than 4 years since I started this plugin. Back then pcsx2 didn't have any sound plugin except for spu2null. I remember getting into the pcsx2 IRC channel (#pcsx2 on efnet) and asking for help to make a sound plugin. One of the pcsx2 developers kindly gave me some documents and wished me luck, and I promised I would do my best.

After some days, or weeks, I had enough registers implemented that the bios would start to play sounds. It was a revolution. First sounds ever to come from pcsx2!!

Too bad the sounds were completely wrong, as I had misunderstood the ADPCM algorithm. I kept working on it after that, but not regularly at all: I can spend a few days working on something, but once I'm stuck debugging for too long, I get bored.

After me, there were a few other attempts at doing spu2 pugins. One of them, ps2sp, was a bit more successful than mine. These attempts caught pete's attention, so he decided to hack up a spu2 plugin too.

For some time, pete's plugin has been the best choice to many, and recently Zerofrog, annoyed by the relatively bad results of our plugins, also decided to code his own.

With so much competition, it has been hard for me to get my plugin to have acceptable results, and even if I'm releasing, it still fails to compare with zero's in most games. But on the other side, my plugin has always been coded with compatibility in mind, so even if it's few, there's some games where it gives better results.

I want to make clear there's some known problems with the plugin:
  • If the game runs slow, the plugin will be all loopy. This is the expected result given the way I coded it. I might improve the output system someday if I get better ideas. (the newest versions of the plugin include a timestretcher which reduces around 99% of the looping).
  • Some games don't like to work with the plugin. I'm specially interested in knowing about them, so I can fix the problem(s).
  • Some people seem to get problems with audio output. Make sure you are using the DSound module, and your sound card supports 48000hz output correctly.
  • When the emulator crashes, there's some chances that the ASIO output module will not have the chance to shut itself down. In those cases it will leave the device used, and a reboot is required in order to "unlock" it.
  • Savestates might still be broken, but should work fine most of the time.

Note 2: The plugin has its own speed limiting system. While it's unstable on its own, together with the emulator's own limiter, it works better.

Note 3: The DPL2 dematrixer has configurable gains. To tweak them you will have to edit the .ini file directly. A value of 256 equals 1.0 gain.

Note 4: If anyone is interested, the code can be downloaded from the SVN server in SourceForge.net .
Attached Files
File Type: rar spu2ghz-b1.rar (130.9 KB, 2223 views)
File Type: rar spu2ghz-b1.1.rar (83.2 KB, 795 views)
File Type: rar spu2ghz-b1.3.rar (84.3 KB, 832 views)
File Type: rar spu2ghz-b1.4.rar (85.2 KB, 683 views)
File Type: rar spu2ghz-b1.4-nosse2.rar (86.4 KB, 511 views)
File Type: rar spu2ghz-b1.5.rar (88.7 KB, 1020 views)
File Type: rar fmod.rar (150.4 KB, 1140 views)
File Type: rar spu2ghz-b1.5-with-upmixer.rar (91.1 KB, 669 views)
File Type: rar spu2ghz-b1.5-prologic2.rar (92.0 KB, 733 views)
File Type: rar spu2ghz-b1.6.rar (91.3 KB, 3190 views)
File Type: rar spu2ghz-b1.7.rar (107.7 KB, 3490 views)
File Type: rar spu2ghz-b1.8.rar (112.0 KB, 1866 views)
File Type: rar spu2ghz-b1.9.rar (119.1 KB, 1172 views)
File Type: rar spu2ghz-b1.9r2.rar (117.3 KB, 4379 views)
__________________
"There's only one absolute truth in our world: shпt happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years)

The Book and other stories:
Tears of Fantasy - An Online Book... by ME!
MetaLife, Inc. (intro)
SubGaea (intro)
Crow Blade (intro for now)
Memories - Prayer from the fallen hearts.

My weblog... not like if there was too much to read on it tho.
For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command.

Last edited by GiGaHeRz; June 24th, 2008 at 18:36. Reason: Updated the post text, no new versions today ;)
GiGaHeRz is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old December 25th, 2007   #2 (permalink)
Jumping up the nations
 
Hard core Rikki's Avatar
 
Join Date: May 2004
Location: Virtual Hawaii
Posts: 6,934
fmvtool could use some love too
kudos for the update. looks nice already
__________________
XTemu | GeneralEmu | Webcomics

Quote:
May the fleas of 1000 camels infest the crotches of BIOS swappers !!
And may their arms be too short to scratch!
deviantART | Blog | VBA-M | @ES | PCSX2
Hard core Rikki is offline   Reply With Quote
Old December 25th, 2007   #3 (permalink)
HardWareMan
 
Dragonheart.by's Avatar
 
Join Date: Nov 2007
Location: Belarus, Grodno
Posts: 379
Thanks man, I'll test it with my games.

1) Resident Evil Code: Veronica X [PAL]

PCSX2 0.9.5 SVN 265 (Framerate limiting - enabled)

Sound - Crackling, with lots of noise.
Framerate drops in FMVs to about 18 FPS (fullspeed with P.E.Op.S SPU2 and SPU2null, but the same prob with ZeroSPU2).
Game hang after selecting New Game in start menu...

2) ResidentEvil Outbreak [NTSC]

Most time I had around 50 fps so the sound was "loopy".. In some places where I got 60 FPS the sound still was crackling, and some effects are still loopy. Robotic speech in FMVs. At least it seems to be stable.

3) Resident Evil Outbreak File #2 [NTSC]
Seems that it have the same engine so problems are similar.
BitI tested it some more and found out that sound seems to be more clear + it looks like lots of effects in FMVs are missing at all.

Bugs finded by Foxik:

Shining Force EXA - noise instead sound in intro. No music in-game.

Front Mission IV - sound interleaves with noise in intro.
__________________
http://pcclub.topbb.ru/ - форум посвященный железу, софту и эмуляции. У нас вы можете найти скомпилированные версии PCSX2 и плагинов на основе ПОСЛЕДНЕГО кода!

<|> AMD Opteron 165 (Dual Core) Toledo E6 2.9 GHz <|> Zalman CNPS7000B-Cu <|> 1024 MB DDR PC-3200 (4 x 256 MB) 425 MHz 2.5-2-2-5-1T <|> GigaByte GA-K8NF-9 (nForce 4 - 4x) HT - 965 MHz <|> Axle GeForce 7600 GS 256 MB PCI-E GPU - 575/575/545 MHz, MEM - 770 MHz <|> Samsung HD080HJ 80 Gb, SATA 2, 8 MB Cache, 7200 RPM <|> Samsung HD321KJ 320 Gb, SATA 2, 16 MB Cache, 7200 RPM <|>Windows XP SP3 <|>

Last edited by Dragonheart.by; December 25th, 2007 at 20:02. Reason: Automerged Doublepost
Dragonheart.by is offline   Reply With Quote
Old December 25th, 2007   #4 (permalink)
Registered User
 
Join Date: Nov 2006
Location: St.Petersburg, Russia.
Posts: 118
GiGaHeRz, thanks for work!

FFX wrong sound in menu. Voice is "loopy" in some places.

Guitar Hero - Its the first SPU plugin with that i can play with normal speed. Dont know why, but others give a big down of speed. Sound is "loopy", but its better, than others for me.

Thanks again.
__________________
sorry for my english.
Firnis is offline   Reply With Quote
Old December 25th, 2007   #5 (permalink)
Advanced Newbie
 
Shadow Lady's Avatar
 
Join Date: Jul 2001
Location: Bogotб... not that it matters...
Posts: 5,792
always welcoming new plugins, will try some games :P

edit: well yeah not exactly NEW plugin but still :P

KOF 2006: background music and comment voice seem to be at a very low level, (fight music and voice when sayin round 1 round 2 etc), at the same time the fight effects seemed ok and voice of the chars too, except for the loopy part :P

FFX-2: again very low sound level on FMV

FFX and FFX-2: wrong sound in the menu cursor (when moving up and down the menu and selecting some option)

Kingdom Hearts: more low volume level on FMV the fmvs even being full speed didnt sound right, seemed loopy althou it wasnt slow at all

bloody roar 4: it kept repeating "get ready, fight" after a battle had began, background music in fights seemed not existant or it just didnt sound cauze being looped and low volume level? :P in menu music was there just very low

MK Armaggedon: all good, there even was background music! lol better synchronized than Zero and P.E.Op.S for this game

basically seems low voulme lvl seems consistant in all games, plugin seems better synchronized than the other ones but it has some synchonization problems here and there, too bad my PC is too slow to enjoy it :P

pcsx 0.9.5 svn 239 (public beta) (frame limit 65fps sound in scenes being 65fps seemed to jump sometimes i guess only 60fps is ok with this plugin, P.E.Op.S is the only one fine in those situations anyways)
__________________
Main Rig: Pentium Dual-Core E2160 @ 2.8GHz -- 9600GT @ 715/1033MHz -- 4GB DDR2-667 4-4-4-12 -- Windows Server 2008 SP2
Collecting dust: AMD Athlon XP 2600+ -- ATI Radeon 9500 Pro -- SB Live 5.1 Digital -- 2.5GB DDR 2-2-2-5 Ram -- Windows 2003 server r2 SP1

Last edited by Shadow Lady; December 25th, 2007 at 22:13.
Shadow Lady is offline   Reply With Quote
Old December 25th, 2007   #6 (permalink)
AnimeNator
 
kurim's Avatar
 
Join Date: Jan 2004
Location: Germany
Posts: 51
PCSX2 0.9.5 SVN 265 (Framerate limiting - enabled)

Atelier Iris Eternal Mana (runs at 60fps):
Music - makes abnormal screatching sound
Voice - makes loop
info - works fine with ZeroSPU

Atelier Iris 2 Azoth Of Destiny (runs at 60fps):
Music - ok
Voice - makes loop (She said: After, output: Aaaaaaaaaaafffffffff....)
Sound - in fight szens make the same like Voice
info - works fine with ZeroSPU

Disgaea 2 Cursed.Memories (runs at 60fps):
Music - loopy due limitig to 60fps
Voice - ok left some words out due limiting frames (btw put AA to 4x)
Sound - ok

but anyway thank you for a new greate alternativ audio plugin

btw... i think now my system is quite overspeced for those games ^^
__________________

CPU: Core2Extrem QX9650 RAM: 4x1024 DDR2 800 MB: ASUS P5E HD: 1x750 SATA 2x250GB SATA
GPU: ATI Radeon HD2900XT SPU: SoundMax 7.1 OS: Win Vista Ultimate 64

Last edited by kurim; December 25th, 2007 at 21:42.
kurim is offline   Reply With Quote
Old December 25th, 2007   #7 (permalink)
B( o Y o )BS!
 
GiGaHeRz's Avatar
 
Join Date: Feb 2002
Location: Spain
Posts: 889
Oh ppl I forgot to say the sound plugin has its own speed limiting system. For some reason when the emu limits the FPS to 50/60, the sound plugin still runs a tiny bit too slow so if the game generally runs stable at 100% using the framelimiter, it's recommended to use the limiter on my spu2. I need to add config options for it, but it's in the .ini for now (set it to 1 to enable the limiting).

Gonna add this to the first post too...
__________________
"There's only one absolute truth in our world: shпt happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years)

The Book and other stories:
Tears of Fantasy - An Online Book... by ME!
MetaLife, Inc. (intro)
SubGaea (intro)
Crow Blade (intro for now)
Memories - Prayer from the fallen hearts.

My weblog... not like if there was too much to read on it tho.
For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command.

Last edited by GiGaHeRz; December 25th, 2007 at 22:27.
GiGaHeRz is offline   Reply With Quote
Old December 25th, 2007   #8 (permalink)
HardWareMan
 
Dragonheart.by's Avatar
 
Join Date: Nov 2007
Location: Belarus, Grodno
Posts: 379
Final Fantasy XII
Sound in intro is too quite. Loopy speech in FMVs (Like "the dddddddddddd..." instead "the death of the lord..." in intro)
Sounds of steps are wrong.
__________________
http://pcclub.topbb.ru/ - форум посвященный железу, софту и эмуляции. У нас вы можете найти скомпилированные версии PCSX2 и плагинов на основе ПОСЛЕДНЕГО кода!

<|> AMD Opteron 165 (Dual Core) Toledo E6 2.9 GHz <|> Zalman CNPS7000B-Cu <|> 1024 MB DDR PC-3200 (4 x 256 MB) 425 MHz 2.5-2-2-5-1T <|> GigaByte GA-K8NF-9 (nForce 4 - 4x) HT - 965 MHz <|> Axle GeForce 7600 GS 256 MB PCI-E GPU - 575/575/545 MHz, MEM - 770 MHz <|> Samsung HD080HJ 80 Gb, SATA 2, 8 MB Cache, 7200 RPM <|> Samsung HD321KJ 320 Gb, SATA 2, 16 MB Cache, 7200 RPM <|>Windows XP SP3 <|>
Dragonheart.by is offline   Reply With Quote
Old December 25th, 2007   #9 (permalink)
AnimeNator
 
kurim's Avatar
 
Join Date: Jan 2004
Location: Germany
Posts: 51
Quote:
Originally Posted by GiGaHeRz View Post
Oh ppl I forgot to say the sound plugin has its own speed limiting system. For some reason when the emu limits the FPS to 50/60, the sound plugin still runs a tiny bit too slow so if the game generally runs stable at 100% using the framelimiter, it's recommended to use the limiter on my spu2. I need to add config options for it, there's too many "hidden" settings in the .ini.

Gonna add this to the first post too...
rofl...

ok i think i should set it to 1 right?

SPU2Ghz.ini
Speed_Limit_Mode=1

//edit... hm not good...
__________________

CPU: Core2Extrem QX9650 RAM: 4x1024 DDR2 800 MB: ASUS P5E HD: 1x750 SATA 2x250GB SATA
GPU: ATI Radeon HD2900XT SPU: SoundMax 7.1 OS: Win Vista Ultimate 64
kurim is offline   Reply With Quote
Old December 25th, 2007   #10 (permalink)
Registered User
 
Join Date: Dec 2007
Location: Hungary
Posts: 2
SBLive! 5.1, pcsx2 0.9.5 beta, zerogs 0.97
FFX has no sound with ASIO. FMOD works. Some menu effects seem to be a bit odd, low buffer size results with crackling sound (just as expected if buffer's too low), higher buffer size makes lots of sound lag.
Weird stuff: there is absolutely no sound if I use load state, no matter what options I choose. Loading using the game's storage system works well though.
I didn't notice any speed limiting if I turned off the emu's limiter.

edit: ASIO works (well, stupid me, I didn't write any driver name in the ini first), but it's slower and the pitch of the sound is lowered too by one-two semitones or something around that.

Last edited by HavocS; December 25th, 2007 at 22:32.
HavocS is offline   Reply With Quote
Old December 25th, 2007   #11 (permalink)
B( o Y o )BS!
 
GiGaHeRz's Avatar
 
Join Date: Feb 2002
Location: Spain
Posts: 889
That's another known issue, savestates are mostly broken, specially the plugin won't load any save if it wasn't created by itself. And even if it does, there are some things it won't load properly.
__________________
"There's only one absolute truth in our world: shпt happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years)

The Book and other stories:
Tears of Fantasy - An Online Book... by ME!
MetaLife, Inc. (intro)
SubGaea (intro)
Crow Blade (intro for now)
Memories - Prayer from the fallen hearts.

My weblog... not like if there was too much to read on it tho.
For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command.
GiGaHeRz is offline   Reply With Quote
Old December 25th, 2007   #12 (permalink)
HardWareMan
 
Dragonheart.by's Avatar
 
Join Date: Nov 2007
Location: Belarus, Grodno
Posts: 379
BTW in-game music in Shining Force EXA is REALLY quite. Jast like music in FFXII.
__________________
http://pcclub.topbb.ru/ - форум посвященный железу, софту и эмуляции. У нас вы можете найти скомпилированные версии PCSX2 и плагинов на основе ПОСЛЕДНЕГО кода!

<|> AMD Opteron 165 (Dual Core) Toledo E6 2.9 GHz <|> Zalman CNPS7000B-Cu <|> 1024 MB DDR PC-3200 (4 x 256 MB) 425 MHz 2.5-2-2-5-1T <|> GigaByte GA-K8NF-9 (nForce 4 - 4x) HT - 965 MHz <|> Axle GeForce 7600 GS 256 MB PCI-E GPU - 575/575/545 MHz, MEM - 770 MHz <|> Samsung HD080HJ 80 Gb, SATA 2, 8 MB Cache, 7200 RPM <|> Samsung HD321KJ 320 Gb, SATA 2, 16 MB Cache, 7200 RPM <|>Windows XP SP3 <|>
Dragonheart.by is offline   Reply With Quote
Old December 26th, 2007   #13 (permalink)
desc=(void *)0xB800*2^16
 
SunnyDrake's Avatar
 
Join Date: Nov 2006
Location: Ukraine, Kiev
Posts: 104
man in times of pcsx2 9.1/9.2 your spu2ghz where really best, i hope you will continue develope
__________________
xXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXx
int 13h;the world is mine!
X2/2Gb/NF4Premium/GF8600GT512mb/500Gb RAID C21"
T2330/1GB/ATI X2300/120G WD
OS: OpenSolaris,Debian,SuSe,FreeBSD,MacOS,Win
xXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXx
SunnyDrake is offline   Reply With Quote
Old December 26th, 2007   #14 (permalink)
Registered User
 
Join Date: Nov 2006
Location: P.R.China
Posts: 4
nice work dude.
acctually, it works fine with instant saves.
snon is offline   Reply With Quote
Old December 26th, 2007   #15 (permalink)
Registered User
 
Join Date: Nov 2006
Location: Lithuania
Posts: 12
Great work man! Ar tonelico finally has normal voice instead of robotic one
Edit: Thou the game still freezes on videos, which seem to be because of spu.

Last edited by vilkazz; December 26th, 2007 at 08:22.
vilkazz is offline   Reply With Quote
Old December 26th, 2007   #16 (permalink)
EmuAddict-_-;;
 
cyclonmaster's Avatar
 
Join Date: Apr 2005
Location: Sarawak, Malaysia
Posts: 2,407
Thanks for this plugin. Hopefully it'll improve more
__________________

Windows XP SP2 | Monitor BenQ FP 91G+|AMD Athlon 64 3000+(9x239=2.145GHz) | Corsairs 512MB RAM 3-3-3-8 Dual Channel
Albatron 6600GT 128MB PCI-E | Albatron KXT890 ProII | WD SATA 120GB | SONY DVDRW DW-Q30A
cyclonmaster is offline   Reply With Quote
Old December 26th, 2007   #17 (permalink)
Administrator
 
Chrono Archangel's Avatar
 
Join Date: Dec 2001
Location: Montreal, Canada
Posts: 7,711
Stickied thread.
Chrono Archangel is offline   Reply With Quote
Old December 26th, 2007   #18 (permalink)
B( o Y o )BS!
 
GiGaHeRz's Avatar
 
Join Date: Feb 2002
Location: Spain
Posts: 889
Public Beta 1.1 attached to first post. Changes:
[*] Increased the volume shift for the AutoDMA'd audio by 2 (makes the FMVs louder).
[+] Experimental implementation of "core reset" handling.
[+] Added a setting to the config dialog to enable/disable the limiter.
[+] Added a setting to the config dialog to enable/disable all console prints at once.
[+] Uncommented the AutoDMA transfer message prints as they can now be toggled from the config dialog.
[+] Added "Public Release" build option that automatically creates the release package.
__________________
"There's only one absolute truth in our world: shпt happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years)

The Book and other stories:
Tears of Fantasy - An Online Book... by ME!
MetaLife, Inc. (intro)
SubGaea (intro)
Crow Blade (intro for now)
Memories - Prayer from the fallen hearts.

My weblog... not like if there was too much to read on it tho.
For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command.
GiGaHeRz is offline   Reply With Quote
Old December 27th, 2007   #19 (permalink)
HardWareMan
 
Dragonheart.by's Avatar
 
Join Date: Nov 2007
Location: Belarus, Grodno
Posts: 379
Great, thanks!

btw, why now I see only how many time passed after any reply instead time of it's creation?
__________________
http://pcclub.topbb.ru/ - форум посвященный железу, софту и эмуляции. У нас вы можете найти скомпилированные версии PCSX2 и плагинов на основе ПОСЛЕДНЕГО кода!

<|> AMD Opteron 165 (Dual Core) Toledo E6 2.9 GHz <|> Zalman CNPS7000B-Cu <|> 1024 MB DDR PC-3200 (4 x 256 MB) 425 MHz 2.5-2-2-5-1T <|> GigaByte GA-K8NF-9 (nForce 4 - 4x) HT - 965 MHz <|> Axle GeForce 7600 GS 256 MB PCI-E GPU - 575/575/545 MHz, MEM - 770 MHz <|> Samsung HD080HJ 80 Gb, SATA 2, 8 MB Cache, 7200 RPM <|> Samsung HD321KJ 320 Gb, SATA 2, 16 MB Cache, 7200 RPM <|>Windows XP SP3 <|>
Dragonheart.by is offline   Reply With Quote
Old December 27th, 2007   #20 (permalink)
Advanced Newbie
 
Shadow Lady's Avatar
 
Join Date: Jul 2001
Location: Bogotб... not that it matters...
Posts: 5,792
the limiter seems to do some weird jumps in fps ranging between 54-62 fps, sound doesnt seem smooth with it either
__________________
Main Rig: Pentium Dual-Core E2160 @ 2.8GHz -- 9600GT @ 715/1033MHz -- 4GB DDR2-667 4-4-4-12 -- Windows Server 2008 SP2
Collecting dust: AMD Athlon XP 2600+ -- ATI Radeon 9500 Pro -- SB Live 5.1 Digital -- 2.5GB DDR 2-2-2-5 Ram -- Windows 2003 server r2 SP1
Shadow Lady is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 05:19.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5