Romhacking.net

Romhacking => ROM Hacking Discussion => Topic started by: Megahog2014 on January 06, 2015, 11:44:12 pm

Title: Genesis music editing
Post by: Megahog2014 on January 06, 2015, 11:44:12 pm
Excuse me I have another question for you guys is there a way to change the music on sega genesis games... I wanted to higher up the pitch so I can use them for my Sega AtGames Console..... I plan on only changing the music thats all
Title: Re: Genesis music editing
Post by: Malias on January 07, 2015, 05:32:07 am
Like most things in rom hacking, of course it's possible; it just might not be easy.  Each game for the system used its own sound driver meaning music representation varies between games.  So, unless your game has a utility or uses a well-documented sound driver, such as GEMS, modifying pitches might be tricky.

What's your game?
Title: Re: Genesis music editing
Post by: Megahog2014 on January 07, 2015, 07:28:54 am
Well There are multiple I want to edit but I mainly want to higher up the pitch for sonic games, Ristar, comic zone, and a few others....
Title: Re: Genesis music editing
Post by: henke37 on January 08, 2015, 07:03:22 am
Maybe you should just fix the real problem? It sounds like you are trying to compensate for bad hardware. Wrongly I might suspect. You don't want to change the pitch, you want to apply an equalizer effect to compensate for the poor speakers.
Title: Re: Genesis music editing
Post by: Megahog2014 on January 20, 2015, 10:05:45 pm
oh ok then how do I do that?
Title: Re: Genesis music editing
Post by: Jorpho on January 20, 2015, 10:36:07 pm
If you want to use the unit's built-in speakers, you'll probably have to crack it open and apply some electrical engineering skills.  This is probably only slightly more complicated than trying to hack the music engine of each game.

If you want to use headphones or different speakers, well, there's bound to be something suitable out there with a built-in equalizer.  I wouldn't know offhand, though.
Title: Re: Genesis music editing
Post by: Megahog2014 on January 21, 2015, 02:59:52 pm
well.... there is a slight problem with that.... the AtGames console is mainly a genesis on a chip.
Title: Re: Genesis music editing
Post by: henke37 on January 21, 2015, 03:09:52 pm
Are you sure that they aren't just emulators?
Title: Re: Genesis music editing
Post by: Azkadellia on January 21, 2015, 03:28:44 pm
I've been doing the research on these things. They're Chinese made Genesis knock-offs. It's pure emulation (wonder what emulator it uses).
Title: Re: Genesis music editing
Post by: goldenband on January 22, 2015, 01:30:48 pm
Maybe you should just fix the real problem? It sounds like you are trying to compensate for bad hardware. Wrongly I might suspect. You don't want to change the pitch, you want to apply an equalizer effect to compensate for the poor speakers.

To be clear, this is incorrect -- it's not an EQ issue, and the OP asked for exactly what he wanted, as AtGames units definitely play the music at the wrong pitch.

From what I've heard via YouTube captures, they're about a major third too low, so that'd be a 4/5 ratio, or 20% below the correct frequencies. Here are two videos from Sonic to compare:

AtGames unit (https://www.youtube.com/watch?v=iZhnVQCQPbE)

Correct version (https://www.youtube.com/watch?v=onqr3YuLgHU)

This video review (https://www.youtube.com/watch?v=BWd-KbV9UW0) also has multiple examples, with Sonic featured around 12:30. The title screen music is in F, vs. the original A; the Green Hill Zone music is playing back in A-flat, vs. the original's C; and so on. At least in the case of Sonic, it seems pretty consistent, and the music in the Mortal Kombat clip at 20:00 is also 20% too low.

As for how to fix it, I have no idea, and outside of the usefulness of knowing how Genesis games handle their frequency tables, it'd be wasted effort to "fix" games for a bad clone like AtGames's effort. I suppose you could always send the audio through a real-time pitch shifter!
Title: Re: Genesis music editing
Post by: Megahog2014 on January 23, 2015, 12:54:46 pm
That could actually work  :).... um quick question is there anyone that you may know that I could hook up to my tv :-\
Title: Re: Genesis music editing
Post by: henke37 on January 23, 2015, 02:35:27 pm
Oh dear, that is indeed a pitch error. But as they are emulators, just fix the emulator software.
Title: Re: Genesis music editing
Post by: Megahog2014 on January 23, 2015, 02:42:59 pm
I don't know how :( but I was considering buying a pitch shifter so I could use it on my system but I don't know where I could buy one
Title: Re: Genesis music editing
Post by: Megahog2014 on February 20, 2015, 09:20:58 pm
ok.... switch of plans now I really want to change the pitch of the audio is there anyone who could help me :-\