Trash the PSG Channels

Discussion in 'Discussion and Q&A Archive' started by FireRat, Apr 12, 2010.

Thread Status:
Not open for further replies.
  1. FireRat

    FireRat Do Not Interact With This User, Anywhere!!! Exiled

    Joined:
    Oct 31, 2009
    Messages:
    535
    Im very trusted to port some musics. I need port some music of sonic 3; the FM channels are good and the DAC samples is ready to fix, but how to fix the PSG channels?. The PSG channels are very bad on this imports
     
  2. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    The PSG is often different between engines. First the important part, the pitch needs altering by an octave or two, basically you need to lower or raise the pitch (by $0C or $18) that's next to every PSG channel pointer in the header (Except PSG 3, if it's a noise channel i.e. used for hi-hats, then it's a posibility that it'll turn out just fine), just alter and keep checking until it fits to your likings. Secondly the PSG tones, some games such as Sonic 3 have more than 9 PSG tones, you'll have to either port them to your hack, or change the tone values (i.e. every F5 ??, the ?? needs to be 08 or lower, otherwise it can cause problems like crashing on hardware), until it fits the way it's suppose to sound.


    If you are not familiar with converting music via a hex editor, then you're going to have a bit of trouble doing this. Maybe check out:


    http://info.sonicretro.org/SCHG:Music_Hacking


    &


    http://sonicresearch.org/forums/index.php?showtopic=2026


    For more information.
     
  3. FireRat

    FireRat Do Not Interact With This User, Anywhere!!! Exiled

    Joined:
    Oct 31, 2009
    Messages:
    535
    ok thanks
     
  4. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    You have to change the pitch of the PSG1 or PSG2 on your port. Most of the time in with S3&K ports. You just have to put the pitch an octave lower. But if that's not it. Can you be a bit more specific on what's the problem with the PSG.
     
  5. FireRat

    FireRat Do Not Interact With This User, Anywhere!!! Exiled

    Joined:
    Oct 31, 2009
    Messages:
    535
    Thanks! now solved.


    The sound is very-high pitched. This is the problem
     
    Last edited by a moderator: Apr 13, 2010
  6. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    Congrats! :)


    Also, if you don't mind me asking. Did you use tools to port the song you were porting from Sonic the Hedgehog 3? Or pure Hex porting?
     
  7. FireRat

    FireRat Do Not Interact With This User, Anywhere!!! Exiled

    Joined:
    Oct 31, 2009
    Messages:
    535
    I use the Esrael assembler editor's Sound Importer to fix the DAC Samples more easier.
     
    Last edited by a moderator: Apr 13, 2010
  8. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    So, that means you used tools to port the whole song right?
     
  9. FireRat

    FireRat Do Not Interact With This User, Anywhere!!! Exiled

    Joined:
    Oct 31, 2009
    Messages:
    535
    Yes. Ported songs, but obviusly i need to fix
     
Thread Status:
Not open for further replies.