Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - SPC Question | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Clockworkz

Birdo

"Hoargh! Take your shoes off!"
Level: 64

Posts: 921/2002
EXP: 2188320
For next: 25777

Since: 03-15-04
From: Undisclosed

Since last post: 12 hours
Last activity: 12 hours
Posted on 05-27-04 11:44 PM Link | Quote
Is there any way to convert MP3 or WAV to SPC format?
Emptyeye
I am a real American!
Real American
Level: 67

Posts: 38/2273
EXP: 2488421
For next: 104451

Since: 05-24-04
From: I DUNNOOOOOOOO!!

Since last post: 9 hours
Last activity: 4 hours
Posted on 05-27-04 11:46 PM Link | Quote
I don't know the true answer to this, but my understanding is that SPC works similar to MIDI (IE there's no actual "music"; it's the processor telling the sound chip "Do this at this time"). So my guess would the same as the answer to the question "Can you convert MP3/WAV to MIDI?": The short answer is "No." The slightly longer answer is "Probably, but the results wouldn't be worth it".
Dish

Spiny
Level: 38

Posts: 69/596
EXP: 355646
For next: 14801

Since: 03-15-04
From: Disch

Since last post: 18 days
Last activity: 18 days
Posted on 05-27-04 11:59 PM Link | Quote
MP3 or WAV? absolutely not*. mp3 and wav files contain the raw pcm data to be output. There's no channel info... no volume info... just a big sound wave contained in a file. SPCs work completely differently. SPC files contain game code which writes to special registers (which all needs to be emulated) to produce tones.

You'd have a lot better luck with MIDI->SPC conversion... but even that would be extremely difficult.


SPC files are not a music format like midi/mod/it/wav/mp3/etc... they're a dump of system RAM... kinda like a savestate. They work similar to ROMs. Wanting to take X sound file and make it into an SPC is like wanting to take a PC game and convert it to a SNES game. It just doesn't work like that.



* I don't want to say it's impossible. It's theoretically possible to do a wav->spc conversion... but you'd have to make a pretty damn complex program to do it and it would probably end up sounding like crap.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 235/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 05-28-04 02:25 AM Link | Quote
ditto, although some SPC utilities will go the other way, making a WAV file out of SPC playback and then you can compress that into an MP3. Superjukebox, for example.
Dish

Spiny
Level: 38

Posts: 70/596
EXP: 355646
For next: 14801

Since: 03-15-04
From: Disch

Since last post: 18 days
Last activity: 18 days
Posted on 05-28-04 03:29 AM Link | Quote
Well that's simply playing the SPC. Any music player convers whatever music format you're dealing with to PCM.. which is streamed to the soundcard. Since wav files are nothing but that sound data stuffed in a file... doing XXX->wav conversions is no different than just playing the file normally.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 792/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 05-28-04 04:12 AM Link | Quote
OK, let's clear this up once and for all.

The SNES uses the SPC-700 Sound Processor to produce sound. This is a full CPU, just designed for audio. Games can upload program code and data to this CPU. Because they use actual SPC-700 programs to play sound, one game's sound format usually differs from others. Compressions may be used, data may be stored in any format desired, and even when uploaded to the SPC-700, the data that produces one sound in one game may sound totally different in another, or even crash the system, if the audio program is different. This is why music can't easily be swapped between games, and why you can't just insert an SPC file into any game.

SPC files contain a memory dump of the SPC-700. The data in these may not be the same as the data in the ROM, since it's the result of any processing (decompression, formatting, rearranging, etc) the game does on its internal sound data. An SPC player simply emulates the SPC-700 and the SNES's audio system. SPC files can't be directly converted to WAV (or MP3, which is just compressed WAV). You can find programs that do it, but what they actually do is play the SPC file and record the sound to a WAV instead of sending it to the speakers. This is why conversion time = song length (unless they play it double speed or something, but this may mess up some songs), and why you can't convert WAV back to SPC.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Rom Hacking - SPC Question | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.016 seconds.