Sonic and Sega Retro Message Board: Changing music in Sonic CD? - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Loading News Feed...
 
Page 1 of 1

Changing music in Sonic CD?

#1 User is offline REPO Man 

Posted 01 February 2011 - 11:26 PM

  • Posts: 20
  • Joined: 03-November 10
  • Gender:Male
  • Location:Buxton, NC
  • Wiki edits:1
If Sonic CD's music is stored as redbook audio, could one, in theory, swap out the tracks with new ones? If so, what would the rules be? Does it have to be the same length as the original song? What bitrate does it need to be?

#2 User is offline nineko 

Posted 01 February 2011 - 11:35 PM

  • I am the Holy Cat
  • Posts: 5238
  • Joined: 17-August 06
  • Gender:Male
  • Location:italy
  • Project:I... don't even know anymore :U
  • Wiki edits:5,251
If you're using an emulator, and you're using an iso/mp3 rip, you just need to replace the mp3s with other ones.

#3 User is offline GerbilSoft 

Posted 02 February 2011 - 12:02 AM

  • RickRotate'd.
  • Posts: 1600
  • Joined: 11-January 03
  • Gender:Male
  • Location:USA
  • Project:Gens/GS
  • Wiki edits:158
QUOTE (REPO Man @ Feb 1 2011, 11:26 PM)
If Sonic CD's music is stored as redbook audio, could one, in theory, swap out the tracks with new ones? If so, what would the rules be?

Yes. No specific rules, but the replacement tracks have to match the ordering of the originals. (e.g. Palmtree Panic 1 'P' Mix is Track 3, 'G' mix is Track 4, etc.)

QUOTE (REPO Man @ Feb 1 2011, 11:26 PM)
Does it have to be the same length as the original song?

No, except for the title screen. (The title screen is hard-coded to fade to demo after a certain duration.)

QUOTE (REPO Man @ Feb 1 2011, 11:26 PM)
What bitrate does it need to be?

Standard CD-DA: 44.1 kHz, signed 16-bit BE stereo PCM. (1411 Kbps)
This post has been edited by GerbilSoft: 02 February 2011 - 12:03 AM

#4 User is online Andlabs 

Posted 02 February 2011 - 02:18 AM

  • 「いっきまーす」
  • Posts: 2066
  • Joined: 11-July 08
  • Gender:Male
  • Project:Writing my own MD/Genesis sound driver :D
  • Wiki edits:7,061
The only songs you cannot replace without hacking are the past songs (which are stored as programs that send samples to a special PCM chip much like how a tracker plays back modules). I should have the past song format documented by next week or something (sooner if I didn't want to release sample rips simultaneously).

I have no idea how the sound in the PC port(s?) works.

In general the rule for Sega CD games is: does the game store its audio has regular music tracks? If so, you should be able to replace them by just using different tracks. Conversely, stick your disc in a CD player and skip track 1 to hear the soundtrack.
This post has been edited by Andlabs: 02 February 2011 - 02:20 AM

#5 User is offline MainMemory 

Posted 02 February 2011 - 09:54 AM

  • Every day's the same old thing... Same place, different day...
  • Posts: 2661
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
QUOTE (Andlabs @ Feb 2 2011, 01:18 AM)
I have no idea how the sound in the PC port(s?) works.

PC version uses only CD audio. Gems Collection uses ADX.

#6 User is offline REPO Man 

Posted 02 February 2011 - 12:59 PM

  • Posts: 20
  • Joined: 03-November 10
  • Gender:Male
  • Location:Buxton, NC
  • Wiki edits:1
QUOTE (Andlabs @ Feb 2 2011, 02:18 AM)
The only songs you cannot replace without hacking are the past songs (which are stored as programs that send samples to a special PCM chip much like how a tracker plays back modules). I should have the past song format documented by next week or something (sooner if I didn't want to release sample rips simultaneously).

I have no idea how the sound in the PC port(s?) works.

In general the rule for Sega CD games is: does the game store its audio has regular music tracks? If so, you should be able to replace them by just using different tracks. Conversely, stick your disc in a CD player and skip track 1 to hear the soundtrack.


Sucks I can't change the past songs.

But... can this work with Redbook audio games for other consoles?

#7 User is offline dsrb 

Posted 02 February 2011 - 01:05 PM

  • Posts: 3052
  • Joined: 10-June 09
  • Gender:Male
  • Wiki edits:196
Usually. It's fairly safe to ignore the words "Sega CD" in the final paragraph of the post you quoted.

#8 User is offline Mr Lange 

Posted 02 February 2011 - 09:34 PM

  • A wise guy eh. I know how to DEAL with wise guys.
  • Posts: 479
  • Joined: 27-August 10
  • Gender:Male
  • Location:The Land of Waldos
  • Project:NASF 2, and many other experiments in animation and game design.
  • Wiki edits:1
Wow so that's why only the past level music plays for me. >.>
I'm interested in the idea that all the music could be replaced with tracker formats. That sounds like fun.

#9 User is offline REPO Man 

Posted 03 February 2011 - 12:41 AM

  • Posts: 20
  • Joined: 03-November 10
  • Gender:Male
  • Location:Buxton, NC
  • Wiki edits:1
One idea is to replace all of the Bad Future tracks with Marilyn Manson ones, Good Future with something more upbeat, and the Present with their Japanese counterparts.

Another dumbshit question (from a dumbshit of the hacking world)... can the boss music be changed, cuz I'm thinking "Behold the Machine" by steampunk/darkwave band Vernian Process.

#10 User is online Andlabs 

Posted 03 February 2011 - 01:31 AM

  • 「いっきまーす」
  • Posts: 2066
  • Joined: 11-July 08
  • Gender:Male
  • Project:Writing my own MD/Genesis sound driver :D
  • Wiki edits:7,061
The boss music is a normal CD track, yes.

Also I think the US version (not sure about the others) plays Stardust Speedway Bad Future for the Metal Sonic race no matter what (you get the appropriate music beforehand), so choose wisely =P
This post has been edited by Andlabs: 03 February 2011 - 01:31 AM

#11 User is offline dsrb 

Posted 03 February 2011 - 05:02 AM

  • Posts: 3052
  • Joined: 10-June 09
  • Gender:Male
  • Wiki edits:196
QUOTE (Mr Lange @ Feb 3 2011, 02:34 AM)
Wow so that's why only the past level music plays for me. >.>
What system are you running the game on? I'm now wondering if I'm remembering correctly that there was a PC edition whose manufacturers somehow omitted to include the Redbook audio tracks, as with Rayman Gold. If I'm not totally wrong, I had a copy of it from a friend.

#12 User is offline GeneHF 

Posted 03 February 2011 - 05:09 AM

  • Classier than you'll ever be.
  • Posts: 6163
  • Joined: 16-May 04
  • Gender:Male
  • Location:Northerns want to be here Miami, Florida
  • Project:オノマトペ大臣
  • Wiki edits:381
It's also recommended you use a CUE sheet for best results, since sometimes, some MP3s may not behave properly in an emulator.

Example of some sound editing I did:




It's really not that hard, but it pays off really well if you use music that fits the stages thematically.

#13 User is offline ValleyBell 

Posted 03 February 2011 - 10:29 AM

  • Posts: 136
  • Joined: 08-September 10
  • Gender:Male
  • Project:vgm tools and vgm packs, other random projects
  • Wiki edits:10
QUOTE (GeneHF @ Feb 3 2011, 11:09 AM)
It's also recommended you use a CUE sheet for best results, since sometimes, some MP3s may not behave properly in an emulator.

As long as your mp3s have a constant bitrate, it's all fine. Windows fails to calculate the correct length of VBR mp3s and emulators like Gens behave strange because of that.

#14 User is offline GerbilSoft 

Posted 03 February 2011 - 11:23 AM

  • RickRotate'd.
  • Posts: 1600
  • Joined: 11-January 03
  • Gender:Male
  • Location:USA
  • Project:Gens/GS
  • Wiki edits:158
QUOTE (ValleyBell @ Feb 3 2011, 10:29 AM)
QUOTE (GeneHF @ Feb 3 2011, 11:09 AM)
It's also recommended you use a CUE sheet for best results, since sometimes, some MP3s may not behave properly in an emulator.

As long as your mp3s have a constant bitrate, it's all fine. Windows fails to calculate the correct length of VBR mp3s and emulators like Gens behave strange because of that.

Gens doesn't use Windows' MP3 decoder; it uses an ancient copy of mpg123, which has caused a multitude of problems before with Gens/GS. (The first time I tried building Gens/GS on Win32, it crashed because of some weird issue with mpg123.)

I'd recommend using either ISO/WAV or BIN/CUE if you're experimenting with audio placement, since then you don't have to deal with MP3 bitrate oddities. (Kega supports BIN/CUE and I think it also supports ISO/WAV. Gens unfortunately only supports ISO/MP3 at the moment.)

Page 1 of 1
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users