Forum Index | FAQ | New User | Login | Search

Make a New PostView All Threads*Show in Threaded Mode


SubjectRipping CPS2 Sounds new Reply to this message
Posted byfeline_ki
Posted on01/27/07 10:03 PM



Hi, I have a problem I'm hoping someone here can help me out with.

I'm trying to rip instrument samples from CPS2 games, using the QSound system. I'm going to use them to make a Soundfont, for novelty/nostalgia's sake. I've been able to get at the raw audio data by opening the sound ROMs in GoldWave, which is well and good... but I need to know the exact values for the start, end, and loop points for each sample, as well as the proper frequency for it to play at.

I'm extremely novice when it comes to the technical side of emulation (screwing around with RAM addresses using ArtMoney or MAME's cheat finder is about as deep as I've gotten), so I have no idea how to go about finding these values. This page: http://www.terra.es/personal/mahorna/neojuke/qsound.htm is the only one I can find on the subject, but being the n00b I am, I can't make anything of it.

If anyone could help get me started, telling me what tools I need, and how I should go about finding these values, I would greatly appreciate it.




SubjectThis may not be entirely helpful Reply to this message
Posted byPr3tty F1y
Posted on01/27/07 10:25 PM



But you may want to check out the source to R.Belmont's M1 . This is a music player for many supported roms including numerous QSound CPS2 games (it actually should support most but it may not be updated to support the newest dumps out there). Other than that the MAME source from MAMEDev probably has all the documentation available on QSound. However, QSound emulation isn't fully complete so I'm not sure what that impact that will have on you trying to extract the sound data.

_ _ - - = = Pr3tty F1y = = - - _ _


SubjectThis may not be entirely helpful either new Reply to this message
Posted bySune_S
Posted on01/28/07 10:52 AM



> However, QSound emulation isn't fully
> complete so I'm not sure what that impact that will have on you trying to extract the sound data.

IIRC RB said somewhere that the emulation is nearly perfect, it's just the Q-Sound effect itself that's missing.

I am thinking since it's a Z80 CPU driving the sound, doesn't that mean that the OP has to learn Z80 assembler in order to do what he wants?
Maybe he would have to write a program that runs on mame's CPS2 driver and plays the sounds one by one.

-Sune





SubjectMAME Debugger...? new Reply to this message
Posted byfeline_ki
Posted on01/29/07 01:20 PM



Thanks for the replies.

I tried using MAME's debugger to look at the Z80's memory, but nothing's showing up in the range that the link I posted previously said the relevant data should be showing up in (D000-D003, or whatever)... they're just always 00. :/




Subjectmmmh... new Reply to this message
Posted byTerry Bogard
Posted on02/03/07 01:39 PM



> I tried using MAME's debugger to look at the Z80's memory, but nothing's showing
> up in the range that the link I posted previously said the relevant data should
> be showing up in (D000-D003, or whatever)... they're just always 00. :/

The Z80 is a sound controller, it drives the hardware to play the samples with the correct timings and such, probably it even orchestrates the different channels, but by no means it keeps the audio data in memory (which is no more than 64K, with no banking).

I'd try playing with M1 or Nebula Jukebox, it's really the easiest thing to do.




View All Threads*Show in Threaded Mode