Sonic and Sega Retro Message Board: High-Quality Sonic 1 PCM Music - Sonic and Sega Retro Message Board

Jump to content

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

High-Quality Sonic 1 PCM Music Using WAV files as level music in Sonic 1

#31 User is online Flygon 

Posted 25 August 2008 - 04:54 AM

  • Totally me irl
  • Posts: 2142
  • Joined: 10-February 06
  • Gender:Not Telling
  • Location:Victoria, Australia
  • Project:Cleavage
  • Wiki edits:10
Use Audacity, anything above 22050khz should sound similar, but remember, almost any converter will stumble downhill from there.

#32 User is offline TmEE 

Posted 25 August 2008 - 05:19 AM

  • Watermelons are good stuff
  • Posts: 1519
  • Joined: 06-January 08
  • Gender:Male
  • Location:Estonia, Rapla City
  • Project:Mélodie, Radical Rat, Cannon Cat, SMStrk
  • Wiki edits:11
The WAVs MUST be 8-bit usigned, mono and should not exceed 22KHz. I use Cool Edit Pro 2 for all my audio editing needs...

BTW, this ROM does not work on real HW, on the Sega logo, it will do some illegal read/write in some part of the machine and it will lock up, and reset won't help.

#33 User is offline Sik 

Posted 25 August 2008 - 06:42 AM

  • Sik is pronounced as "seek", not as "sick".
  • Posts: 6719
  • Joined: 17-March 06
  • Gender:Male
  • Project:being an asshole =P
  • Wiki edits:11

View PostHitaxas, on Aug 24 2008, 11:24 PM, said:

EDIT: Also, how friggin' tiny does the WAV have to be? I've got the one I want down from 18.3MB to 61KB, and still can't get a rom to compile in S1

How the heck did you make it so small?! o_O

#34 User is offline TmEE 

Posted 25 August 2008 - 07:35 AM

  • Watermelons are good stuff
  • Posts: 1519
  • Joined: 06-January 08
  • Gender:Male
  • Location:Estonia, Rapla City
  • Project:Mélodie, Radical Rat, Cannon Cat, SMStrk
  • Wiki edits:11
you can use MP3, OGG, WMA, ADPCM etc compression in WAV if you want....

#35 User is offline Sik 

Posted 25 August 2008 - 07:47 AM

  • Sik is pronounced as "seek", not as "sick".
  • Posts: 6719
  • Joined: 17-March 06
  • Gender:Male
  • Project:being an asshole =P
  • Wiki edits:11
But doesn't the driver only take raw waveforms?

#36 User is offline TmEE 

Posted 25 August 2008 - 07:52 AM

  • Watermelons are good stuff
  • Posts: 1519
  • Joined: 06-January 08
  • Gender:Male
  • Location:Estonia, Rapla City
  • Project:Mélodie, Radical Rat, Cannon Cat, SMStrk
  • Wiki edits:11
That's the reason the guy with problem didn't get any good sound :) the driver assumes all data it is fed with is what is needed and when the data is different, you usually hear very non pleasing sounds :P

#37 User is offline Hitaxas 

Posted 25 August 2008 - 11:36 AM

  • SEGA: Sorry Classic Sonic, we are sending you back to 1994
  • Posts: 1355
  • Joined: 30-September 07
  • Gender:Male
  • Location:Litchfield, CT
  • Project:Sonic: Super Deformed (head director) - Slowly working on it.
  • Wiki edits:196
I wasn't using 8-bit, which Is why I was having the problem. Thanks TmEE. :)

#38 User is offline Sonic 65 

Posted 25 August 2008 - 02:16 PM

  • Posts: 1156
  • Joined: 09-October 04
  • Gender:Male
  • Project:Dustin Wyatt's Epic Jailbreak
  • Wiki edits:13

View PostHitaxas, on Aug 25 2008, 12:36 PM, said:

I wasn't using 8-bit, which Is why I was having the problem. Thanks TmEE. :v:


How is the quality of the sound? I don't know if the specific instructions I gave about improving quality by commenting those Z80 stops will work in Sonic 2.

TmEE: Maybe this has something to do with me not stopping the Z80 at JoypadInit?
Either that, or the now-corrupted SEGA sound is screwing up the Genesis (works fine in Fusion though).

#39 User is offline Puto 

Posted 25 August 2008 - 02:20 PM

  • Shin'ichi Kudō, detective.
  • Posts: 1979
  • Joined: 31-July 05
  • Gender:Male
  • Location:Portugal, Oeiras
  • Project:Part of Team Megamix, but haven't done any actual work in ages.
  • Wiki edits:51
This is a longshot at best but, if you're doing a move.l or move.w to Z80 RAM at some point, you may have to change that to move.b.

#40 User is offline Hitaxas 

Posted 26 August 2008 - 02:28 AM

  • SEGA: Sorry Classic Sonic, we are sending you back to 1994
  • Posts: 1355
  • Joined: 30-September 07
  • Gender:Male
  • Location:Litchfield, CT
  • Project:Sonic: Super Deformed (head director) - Slowly working on it.
  • Wiki edits:196

View PostSonic 65, on Aug 25 2008, 03:16 PM, said:

How is the quality of the sound? I don't know if the specific instructions I gave about improving quality by commenting those Z80 stops will work in Sonic 2.


EDIT: Crappy. I also used the driver and same WAV in S1, S1's sounds better.
This post has been edited by Hitaxas: 26 August 2008 - 04:14 AM

#41 User is offline TmEE 

Posted 26 August 2008 - 07:16 AM

  • Watermelons are good stuff
  • Posts: 1519
  • Joined: 06-January 08
  • Gender:Male
  • Location:Estonia, Rapla City
  • Project:Mélodie, Radical Rat, Cannon Cat, SMStrk
  • Wiki edits:11

View PostSonic 65, on Aug 25 2008, 10:16 PM, said:

How is the quality of the sound? I don't know if the specific instructions I gave about improving quality by commenting those Z80 stops will work in Sonic 2.

TmEE: Maybe this has something to do with me not stopping the Z80 at JoypadInit?
Either that, or the now-corrupted SEGA sound is screwing up the Genesis (works fine in Fusion though).


There's too little to be heard to judge quality of the sound.... it sounds good in Fusion, and Fusion is closest you get to real HW when it comes to sound.
Also, NONE of my stuff ever stops Z80 when controllers are accessed, so far I've not had ANY problems on any of my Sega systems (MD1, 2xMD2, 2xNomad)... Sega however does strongly advise you to stop Z80 on controller access... I see no reason why...

The corrupt Sega sound is definitely the cause for the lock-up.... emulators don't emulate lock-ups when you read/write to areas in MD outside ROM, RAM, VDP and I/O area. Comment out the Sega sound code and I'll give it another shot.

#42 User is offline Jdogg 

Posted 27 August 2008 - 03:43 PM

  • My god this name sucks.
  • Posts: 54
  • Joined: 20-July 08
  • Gender:Male
  • Location:Cumbria - England
  • Project:Sonic - Code Gray
Just a lil' error fix I worked out; I kept getting a "bad size on opcode beq.l playmusic81" message when I tried building the S1.rom back together. If anyone else is having the same problem, change the code:

cmpi.b #$81,d7
beq.l PlayMusic81


to this one:

cmpi.b #$81,d7
beq.s PlayMusic81


in other words, replace the "beq.l" with "beq.s" instead. =P

#43 User is offline AamirM 

Posted 31 August 2008 - 11:51 PM

  • Posts: 398
  • Joined: 12-March 08
  • Gender:Male
  • Location:Karachi, Pakistan
  • Wiki edits:9
Hi,

Quote

The corrupt Sega sound is definitely the cause for the lock-up.... emulators don't emulate lock-ups when you read/write to areas in MD outside ROM, RAM, VDP and I/O area. Comment out the Sega sound code and I'll give it another shot.


In regen.ini set "EmulateLockups=1" :( . And btw, sound should be as accurate as real hardware in the latest Regen beta 3.

stay safe,

AamirM
This post has been edited by AamirM: 31 August 2008 - 11:54 PM

#44 User is offline Mad Echidna 

Posted 10 September 2008 - 09:12 PM

  • Gone
  • Posts: 5203
  • Joined: 13-January 03
  • Gender:Male
  • Wiki edits:4
This is an amazing accomplishment! Great job with this, I'm amazed how good it sounds. The music doesn't play in Gerbil's Gens, but works fine in Generator. The bass is so good I cranked it up on my stereo ;)

  • 3 Pages +
  • 1
  • 2
  • 3
    Locked
    Locked Forum

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