Posts: 147
Threads: 1
Joined: Sep 2012
Reputation:
0
05-12-2013, 11:28 PM
(This post was last modified: 05-12-2013, 11:28 PM by jadentheman.)
SO I guess there is no need for an SPU2- X debug build like before.
Posts: 820
Threads: 2
Joined: Aug 2011
Location: just a box
05-13-2013, 08:31 PM
(This post was last modified: 05-13-2013, 10:00 PM by xstyla.)
the spu debugger again? what for? you can't do much with it anyway. ofc. one could code a complex sequencer or some kinda interface and map, record and visualize the whole sound environment on it, but it's overkill, isn't it?
just cause i felt like it. there you have it. once again.
latest SPU2-X-dev build r5559
sidenote: even the old version rama posted on page 46 works now. didn't back then iirc.
Posts: 820
Threads: 2
Joined: Aug 2011
Location: just a box
Posts: 1.532
Threads: 11
Joined: Sep 2011
Reputation:
70
05-14-2013, 05:16 PM
(This post was last modified: 05-14-2013, 05:20 PM by VIRGIN KLM.)
If I had the skills I'd do it. What I see here is that there is somekind of a traffic mechanism that searches for the least busy voice and sends the sample on that voice. Also it seems that everytime it's the same so it's not random, it will happen with exactly the same way for example if you watch the same cutscene. Is there a way to force the emulator not doing that and just create a standard traffic that samples (channels) gets past through the voices without jumping from one to the other?
If you want to do a simple voice mixer, you could give a check at DeSmuMe's code, it has a simple 16 voice mute/unmute system for voices that ADPCM samples pass through them, so, similarly to PS2. That could be a start.
Posts: 820
Threads: 2
Joined: Aug 2011
Location: just a box
05-14-2013, 07:13 PM
(This post was last modified: 05-14-2013, 07:16 PM by xstyla.)
yeah @rama. i could do some work on a lil debug interface. i'm not cool toder tho, but the implementation is pretty clean. easy to extend to the right. which is good. now the question is what you'd need? a memory graph with current channel voice windows? it won't show the sound windows from not playing buffers tho. that channel voices are dynamic. a voice pool would be awesome. that's hard tho. where the sample starts. where it ends. that's all setup when playing back. so a click channel and show current voice sample data with the adsr curve would make it worth more i guess. mmh.