Banner
Views: 306,106,439
Time: 2014-07-31 08:41:29 PM
24 users online: AnOtakuGamer, AxemJinx, Daizo Dee Von, Davros, dottedgirl, Eevee, Egadd, Fireblast124, GabrielJohn, Golden Yoshi, IS I COOL, Jack Kitetsu, levelengine, Lui37, Macky, mario and luigi, o mariocool1999, Masterlink, Mineyl, NovaSquirrel, SLBros., tcdw, o TRS, Vitor Vilela - Guests: 36 - Bots: 48Users: 25,345 (1,241 active)
Latest: MugoUrth
Tip: ALWAYS test anything that you've made before submitting it to SMW Central.
Accurate SNES Instrument Emulation!
Forum Index - Donut Plains - Computers & Technology - Accurate SNES Instrument Emulation!
Pages: « 1 »
MP3 Sample of C700 in action:

http://bin.smwcentral.net/u/994/3Dworld%2BYI.mp3

(Courtesy of Jimmy52905. Thanks for sharing, dude!)

Hey guys, just thought I'd make this post to share my knowledge with you all! Here's a tutorial on how to make a convincing SNES instrument sound in your favorite (VST-supported) music editor! While this tutorial centers around FL Studio, this method should work for any VST-supported music program. This will not let you insert custom music into Super Mario World (unless you're looking at MSU-1 stuff), but it helps with making an MP3/OGG/WAV sound like a legit SNES chiptune.

No matter your DAW of choice, you can near-perfectly emulate BRR/SPC samples to create some accurate fakebit music with a single VST, though if you're interested in emulating SNES perfectly, this is quite a lengthy read.

The first thing you want to do is download C700 from the page: http://picopicose.com/software.html

No worries—the page is in Japanese, but the program itself is in English. Extract the C700.dll (not the one in the x64 folder. I've heard some people get many unnecessary errors from the 64-bit edition) and put it in your VST folder (typically at C:\Program Files (x86)\Image-Line\FL Studio 11\Plugins\VST)

Open FL Studio and insert/replace a channel with C700:


^If you can't find "C700" on the list, make sure that you re-scan for any VSTs, and double-check that C700.dll is in the correct folder.

If you managed to get C700 to open, you should see this window:



Find an SPC with the instrument that you want. http://www.snesmusic.org/v2/ is a great resource for finding SPCs from particular games. (.rsn files act like .zip files, just extract the SPCs as if it were a .zip)

Open the SPC in SPC700 Player, and look at the sample number of the instrument (you might want to mute the other channels to find it).



Open up windows calculator (or any hex>decimal calc you prefer) and press ALT+3 (or View>Programmer Calculator). Convert the value from hex to decimal. (My value was 1F, so the calculator gave me back 31.)

Drag/drop the SPC over the waveform in the C700 window:



Then scroll up/down to find your instrument (my case was 31):



At this point you can already place notes, but we need to make the instrument's volume envelope (ADSR) sound even more accurate. Open the SPC up in SPC700 Player again and double-click on the window (or press left/right) to navigate to the ADSR menu. Find your instrument's ADSR:



So in my ADSR:
A = F
D = 7
S = 7
R = 00

If I convert each of those to decimal via calculator:
A = 15
D = 7
S = 7
R = 00

Which is how I would configure my ADSR here:



^While this is accurately converting, C700 treats Release differently in contrast to the actual SNES engine. I wouldn't recommend "00" on C700, so tweak it however you want. If you have a release value any lower than 1F, make sure you change "Poly" to "1" to ensure only 1 channel plays at a time. (This will require you to load up multiple C700 VSTs though. You can actually assign different MIDI channels for a single C700 VST, but it's a bit finnicky in FL Studio for various reasons, like controlling the mod wheel.)

Now we have an accurate instrument, there's one last step, which is defining echo and ADSR.



Just find and convert each of these values to decimal, then put the data into C700. Don't forget to enable the echo box for the channels you want to have echo!



EDIT: Forgot to mention, if the value is over $7F, you'd be using negative numbers. $FF would be -1, $FE would be -2, and so on.
If I had $FB, I would use the following formula:

Hex -> Dec
$FB -> 251 = x

(255 - x)
(255 - 251) * -1
4 * -1
-4

Another note: I highly recommend hooking all of your MIDI channels to the VST, rather than having several C700 VSTs open at the same time.

One last note: SNES has a max of 8 monophonic (one note at a time) channels, and echo values are global, and can only be enabled/disabled. You can change the global echo value in the middle of the song, though it is not recommended.

Also, "Drum" channels are just samples, and should be treated no differently than actual melodic ones. The same rules still apply.

Hope this helps everyone interested in non-MML SNES music! (If you're interested in creating MML SPCs, however, I would recommend checking out AddMusicK and PetiteMM, as they are very well-made tools.)
Last edited on 2014-01-12 11:16:39 AM by CrispyYoshi.
crispyoshi,
Thanks for sharing this tool! I have been using it a lot in the past couple of days and I was hoping you'd be able to answer a question about it since there is not a whole lot of info on this tool floating around the web. I have been using this VST to play samples from existing game soundtracks but would like to import my own samples (wav) as well.
When I export a sample in .WAV format from an SPC in SPC TOOL, the format is able to import into the VST. When I use any other .WAV sample that was not generated from SPC tool, the VST does not load the sample. I have tried converting the bitrate in Adobe Audition but I have had no success getting my samples to load.

What .WAV specifications will allow the sample to import?
Is there any tool out there for converting an existing .WAV into a .BRR?

Thanks again for sharing C700, I love it!
Originally posted by josephedward
crispyoshi,
Thanks for sharing this tool! I have been using it a lot in the past couple of days and I was hoping you'd be able to answer a question about it since there is not a whole lot of info on this tool floating around the web. I have been using this VST to play samples from existing game soundtracks but would like to import my own samples (wav) as well.
When I export a sample in .WAV format from an SPC in SPC TOOL, the format is able to import into the VST. When I use any other .WAV sample that was not generated from SPC tool, the VST does not load the sample. I have tried converting the bitrate in Adobe Audition but I have had no success getting my samples to load.

What .WAV specifications will allow the sample to import?
Is there any tool out there for converting an existing .WAV into a .BRR?

Thanks again for sharing C700, I love it!

Hey josephedward! I'm glad to see the SNES love spreading! I actually use SampleTool and a clean Super Mario World rom to import the WAV sample I have.

First, I open the rom in SampleTool. I import this blank bank by clicking "Import from file". After that, I click "Insert" and select my WAV (I recommend you use a lower bitrate like 44100, Uncompressed PCM, and make it mono. You can do whatever, but the sample will be significantly larger.)

Hopefully if the sample wasn't too big (if it was, shrink it!), I click "Play", then I steal the temp.brr file it generates. I open the .brr in a hex editor like XVI32 and add a "00 00" loop point header to the file. After that, I just drag/drop the .brr over C700 and it imports! Loop points can be defined within C700 itself.

Hope this helps!
This tool is AMAZING!!! but I have a question... well... for some reason, this tool won't show me the Kick, Snare, and Hi-Hat samples from Lufia and the Fortress of doom.

I've used SSOR95 to extract samples from roms... and I got those samples from using SSOR95... but I can't get them from C700.

Any idea why?

EDIT: Also... do you know if it's possible to convert a .xi / .brr / .smpl into a .wav? I wanna make a soundfont with the samples but it only takes .wav
Last edited on 2014-03-25 12:25:59 AM by Felix Flywheel.
I'm not really sure why it would be doing that, but it's definitely unfortunate.

As for dumping BRRs and converting them to .wav, there's a tool called Split700 which dumps all the .brrs from an existing .spc. In the /bin/ folder of split700 is the .bat you'd use to dump all the .brrs. After you find the BRR you need (by referring to SPC700 Player and the instrument number, explained in the first post) then you drag/drop the BRR file over brr2wav and it's instantly converted. (Credits to gocha for making the tools)
Really loved the VST, but i have a problem, using C700 now I can't use the MIDI OUT channel's pan and volume controllers, do you now how can I use those? I need to use the volume controller in order to make fade in and fade out effects.
Pages: « 1 »
Forum Index - Donut Plains - Computers & Technology - Accurate SNES Instrument Emulation!

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2014 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 27

Menu

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG