Sonic and Sega Retro Message Board: Editing Sonic 1's SEGA sound? - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Page 1 of 1
    Locked
    Locked Forum

Editing Sonic 1's SEGA sound?

#1 User is offline ALittleTooFast 

  Posted 28 July 2017 - 08:14 AM

  • How about that?
  • Posts: 16
  • Joined: 12-November 16
  • Gender:Male
  • Location:Somewhere in time and space.
Some hacks that I see go out of their way to actually change the SEGA sound that plays before the title screen, to something else entirely. I'm curious as to how it's done, and I haven't seen really any guides on this when editing music and sounds. And I'm guessing that's because editing the SEGA sound isn't as easy?
Of course, I could be missing a very obvious guide like an idiot, but that doesn't seem to be the case? I do get a kick out of it when it's done though, and I do want to give it a shot for whenever I eventually make a proper Sonic 1 hack.

#2 User is offline GerbilSoft 

Posted 28 July 2017 - 09:09 AM

  • RickRotate'd.
  • Posts: 2838
  • Joined: 11-January 03
  • Gender:Male
  • Location:USA
  • Project:Gens/GS
  • Wiki edits:5,000 + one spin
In the GitHub disassembly, it's this file: https://github.com/s...dac/segapcm.bin

The file must be 32 KB or less. I don't remember the exact sampling rate, but it's encoded as mono 8-bit unsigned raw PCM. (No WAV header.)
This post has been edited by GerbilSoft: 28 July 2017 - 09:10 AM
Reason for edit: +no WAV header

#3 User is offline Ralakimus 

Posted 28 July 2017 - 10:02 AM

  • Posts: 285
  • Joined: 16-April 13
  • Gender:Male
16000 Hz, I believe.

#4 User is offline MainMemory 

Posted 28 July 2017 - 10:04 AM

  • Every day's the same old thing... Same place, different day...
  • Posts: 4214
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
The sample rate is 16000Hz. You can use a program such as Audacity to export a sound to raw PCM. Set the Project Rate in the lower left to 16000, make sure the track is mono (Tracks -> Stereo Track to Mono), go to File -> Export Audio, set the type to "Other uncompressed files", set the header to "RAW (header-less)", and the encoding to "Unsigned 8-bit PCM".

It is also possible to get higher or lower sample rates by adjusting the timing of the playback loop. Knuckles' Emerald Hunt has 24000Hz PCM samples, which is nearly the limit of what the Mega Drive can produce.
This post has been edited by MainMemory: 28 July 2017 - 10:17 AM

#5 User is offline ALittleTooFast 

Posted 28 July 2017 - 12:51 PM

  • How about that?
  • Posts: 16
  • Joined: 12-November 16
  • Gender:Male
  • Location:Somewhere in time and space.
Alright then, cool. So I'm guessing that I have to use SOME to take the raw PCM and put it into the bin, or do I use a different program?
Edit: Nevermind what I just asked here, I'm an idiot who didn't realize I'm inserting the audio into the bin through Audacity.
Unless I'm not supposed to, which would make me a double idiot. :v:
This post has been edited by ALittleTooFast: 28 July 2017 - 01:07 PM

#6 User is offline nineko 

Posted 28 July 2017 - 04:42 PM

  • I am the Holy Cat
  • Posts: 5648
  • Joined: 17-August 06
  • Gender:Male
  • Location:italy
  • Project:I... don't even know anymore :U
  • Wiki edits:5,251
It *is* actually possible to open the whole Sonic 1 ROM as raw PCM into any audio editor of your choice and edit the Sega sound from there if you know what you're doing, but I doubt that anyone sane of mind would recommend that.

And yes, I actually did something similar when I experimented with the Snow Bros and the Mean Bean Machine ROMs a few years ago, but that's for another topic.

#7 User is offline ALittleTooFast 

Posted 28 July 2017 - 09:11 PM

  • How about that?
  • Posts: 16
  • Joined: 12-November 16
  • Gender:Male
  • Location:Somewhere in time and space.
Okay, some things did throw me off, but I managed to figure out that I could in fact take the audio and import it into the SEGA Sound's bin as long as I did get the format and size right.
Thanks guys!
This post has been edited by ALittleTooFast: 28 July 2017 - 09:11 PM

#8 User is offline True Dude 

Posted 31 July 2017 - 03:47 PM

  • Posts: 1307
  • Joined: 07-January 06
  • Gender:Male
  • Wiki edits:980
Does this apply to sonic 3 and Knuckles too?

Page 1 of 1
    Locked
    Locked Forum

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