Chat

Author Topic: [Samples] FM Drive MD PCM (plus OPNA drums)  (Read 4610 times)

Offline mihaelkyeah

  • Full Member
  • Posts: 316
  • Learn the best from all worlds
    • YouTube channel
    • Email
[Samples] FM Drive MD PCM (plus OPNA drums)
« on: May 07, 2016, 06:53:27 pm »
:v
« Last Edit: May 07, 2016, 07:46:37 pm by kyusawamura »

Offline Alianger

  • Member
  • Posts: 245
  • Super Sugoyim
    • Mini-Revver
    • Email
[Samples] FM Drive MD PCM (plus OPNA drums)
« Reply #1 on: May 07, 2016, 07:17:45 pm »
Thanks, do you know how it differs from LegendofRenegade's sample pack? I think those were recorded from Foobar. These seem a bit clearer but also lower volume overall.

I noticed the "beep" sample from alien soldier is not trimmed, so maybe it skipped some, or that was the only case.
YT channel (MD music, romhacks, misc gaming): https://www.youtube.com/user/Alianger/videos

Offline Raijin

  • Member
  • Posts: 140
[Samples] FM Drive MD PCM (plus OPNA drums)
« Reply #2 on: May 07, 2016, 07:31:46 pm »
Hm, I already made a post in the Requests thread linking my Sonic 2 samples since someone asked, but I guess that should be moved here. I probably should have waited to post that.

Just to note, the ones I ripped are as perfect as you're going to get. They don't have Z80 interrupts, and I ripped them at their exact rates according to their driver information, although using their exact rates in Deflemask is impossible, so I simply made them all 32KHz.

By the way, that "beep sample" in your sample pack isn't even a sample. It's just a PSG note using Periodic Noise. In fact, there's a bunch of FM/PSG "samples" in that pack that simply shouldn't be there at all.

Offline mihaelkyeah

  • Full Member
  • Posts: 316
  • Learn the best from all worlds
    • YouTube channel
    • Email
[Samples] FM Drive MD PCM (plus OPNA drums)
« Reply #3 on: May 07, 2016, 07:43:44 pm »
Yeah.
And the noise in that Alien Soldier beep sample couldn't be trimmed because I only applied a batch process trim to automatically delete sections in which the volume is -inf dB.
I'm starting to regret having put this up.

By the way, if these are actually the samples that come with FM Drive, then Aly James is a ripoff.
« Last Edit: May 07, 2016, 07:47:48 pm by kyusawamura »

Offline Raijin

  • Member
  • Posts: 140
[Samples] FM Drive MD PCM (plus OPNA drums)
« Reply #4 on: May 07, 2016, 08:05:25 pm »
I'm starting to regret having put this up.

Why? It's fine because I'm sure it will get some use, I'm just nitpicking as always.

There is something to take into account though with samples from games which use the Z80 and have interrupts. By using those samples, and having them playback with the Z80 again, there will be more interrupts added to the point it will not sound like it should anymore. You can't really help it unless you rip them from the sample bank directly.

The method I mentioned does just that. Someone by the name ValleyBell has done extensive research on the SMPS driver and posted his results here: http://forums.sonicretro.org/index.php?showtopic=32473
I downloaded this and ripped a few games' samples with the information he provided me. Basically, every file has a DAC.ini file with it. Some games might have the rest of the DAC information elsewhere (like the various pitches each sample is used at in the game, like Sonic 2 for example, which has that in the DefDrum.txt file).

Using that, he then told me the formula to get the exact rates each sample was used. It is "BaseRate / (RateDiv + DAC Sound Rate)"
So for example, if I took the Sonic 2 DAC_82.bin file and used the information in the DAC.ini, I would get "275350 / (10.08 + 1) = 24851Hz".

So there we go, a nice, clean, interrupt free sample at its exact rate.

Offline mihaelkyeah

  • Full Member
  • Posts: 316
  • Learn the best from all worlds
    • YouTube channel
    • Email
[Samples] FM Drive MD PCM (plus OPNA drums)
« Reply #5 on: May 07, 2016, 08:17:07 pm »
I get it.
I do know who ValleyBell is. He's the guy who's made the last updates to the VGM format. I also got tools to rip YM2610 samples from him.

Thanks for the info. I don't know if I'd wanna go through this much to rip samples though, especially since something tells me I'll just get a bunch of screeching raw data that I won't know what to do with, since whatever seems to work for everyone hardly ever works for me (e.g., "ripping raw data with Audacity", it never worked for me).

Offline Raijin

  • Member
  • Posts: 140
[Samples] FM Drive MD PCM (plus OPNA drums)
« Reply #6 on: May 07, 2016, 08:32:07 pm »
In ValleyBell's pack, under the Tools folder, there is a tool called dpcm2pcm.exe. You have to drag/drop the samples' .bin file into it, and it will produce a .snd file. After you get the rates for each sample, then you import that .snd file into Audacity, or preferably Wavosaur as raw/binary data, as unsigned and 8-bit depth.

I have already done this to fully rip a few games' samples, including Gunstar Heroes, Alien Soldier, Dynamite Headdy, and Sonic 2, as well as a few less note worthy ones.

Offline mihaelkyeah

  • Full Member
  • Posts: 316
  • Learn the best from all worlds
    • YouTube channel
    • Email
[Samples] FM Drive MD PCM (plus OPNA drums)
« Reply #7 on: July 25, 2016, 02:24:56 pm »
Thank you for having linked us to the SMPS tools.
I wonder if this would work for ripping samples from non-SMPS games.
I remember having ripped .bin data blocks from VGMs with VGMJUICE for Thrash Rally on the Neo Geo - but then again I extracted PCM's from two converters (one for the YM2610 ADPCM and the other for the ADPCM-B/delta PCM).

EDIT: as it turned out, the SMPS tools/research pack was too complicated for me. I ended up using VGMJUICE to extract the BIN data block and imported it in Wavosaur.
I successfully imported a BIN bank for once (Sonic The Hedgehog in this case)! I'm going to try this with more games and see if the horribile screeching nonsense I got in Audacity was because of the program and not the method.
So far, Wavosaur >>>> Audacity
« Last Edit: July 25, 2016, 02:55:41 pm by mihaelkyeah »

Offline Raijin

  • Member
  • Posts: 140
[Samples] FM Drive MD PCM (plus OPNA drums)
« Reply #8 on: July 25, 2016, 03:55:15 pm »
Honestly for non-SMPS games you can simply import the game's ROM itself into Wavosaur as raw/binary data unsigned with 8-bit depth, and just scan what comes up for the section with samples. Some games do have it work with signed though, so if you can't find the samples with unsigned, try that. A few noteworthy games with nice samples you can use to rip in this way are Mega Turrican, Battle Mania Daiginjou, Ranger-X, Konami games, and a bunch more. The only problem with this method is you won't get exact rates (plus in reality, the DAC is fluctuating between rates rapidly anyway, so you can still get it close by ear).

Offline mihaelkyeah

  • Full Member
  • Posts: 316
  • Learn the best from all worlds
    • YouTube channel
    • Email
[Samples] FM Drive MD PCM (plus OPNA drums)
« Reply #9 on: July 27, 2016, 10:55:09 am »
Yes, for Sonic The Hedgehog I had to resample each section separately. The kick drum being at 8 kHz, and the snare being at 22.05.
I would dare try if SMPS/Z80 games do work with Wavosaur. Sonic worked after all. :o

And I would go on to suggest European games :P especially Probe, Ocean, Psygnosis, Traveller's Tales (inb4 Sonic 3D Blast / Flickies' Island)...
>totally not fanboying Furniss at all :P