Altering Music in Lunar:Eternal Blue (Sega CD)

Started by Xhojn, October 01, 2022, 05:52:42 PM

Previous topic - Next topic

Xhojn

Hey, so I'm trying to alter the music in Lunar:EB to make it play at the speed to keep it in sync for PAL systems as the cutscenes run slower. The music isn't standard PCM as per Misty Demeo's write up -  https://www.mistys-internet.website/blog/blog/2016/01/26/elegance/ Which also includes a link to decoders that explain how the headers work.

I'm trying to come up with a method of being able to successfully stretch the music as my attempts with Audacity have had mixed results - https://astromacguffin.com/blog/id/631b33043756efc7667d9048

Any help would be gratefully received.

Thanks!

NaOH

I love Lunar: Eternal Blue. What a great game.

I'm a bit confused by what you're trying to achieve exactly. I looked over your blog post but I'm still a little lost. If you explain a bit more precisely what it is you're having trouble with, you might get some more help here.

Xhojn

No worries, sorry in my attempt to explain what I've tried I missed the point  :crazy: What I'm trying to achieve is to have the game play correctly on PAL consoles. The perfect solution would be for it to be optimised correctly to play at 50Hz but I think that's a pipe dream unless a coding genius wants to take it on.

What I'm trying to do instead is to have the cutscenes play correctly. When you play the game currently at 50Hz the music plays at it's original speed but the video plays slower.

Normally you could just stretch the music and reinsert it back into the game but the format of the audio files isn't standard PCM. I've been able to find a way of stretching the music but it's hit and miss if it works correctly once it's inserted. The music does play but with some tracks ends too early which I assume is to do with the looping.

Not sure if that's explained it any better but I'm trying to either find a better solution to making the audio/video sync up properly than what I'm currently doing. Or alternatively find a better process for stretching the music so it plays correctly.

How the music is formatted is covered in the articles linked in my write up better than how I could explain.