Frictional Games Forum (read-only)
Can't make music sound mono - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Can't make music sound mono (/thread-15806.html)



Can't make music sound mono - Damascus - 06-03-2012

I'm trying to add a sound sequence to the beginning of my map and though the easiest way to go about this would be to make an .ogg file and play it through the PlayMusic command.

PHP Code:
void ClockIntro(string &in asTimer)
{
    if(
asTimer == "intro1")
    { 
        
FadeOut(0);
        
SetPlayerActive(false);
        
StopMusic(30);
        
PlayMusic("rainintro.ogg"false110true);
    }
script continues... 

The .ogg file is saved as mono, but for some reason when it plays in-game I can only hear it out of the right. All the other sounds in the map play normally, including the ambient it starts with. Any idea what could be causing the problem? I've attached the .ogg file for anyone that wants to check out it's details.


RE: Can't make music sound mono - palistov - 06-03-2012

Try making an snt file for it and using PlayGuiSound. Pretty sure PlayGuiSound doesn't use 3D, so it shouldn't give you this issue.

As for your actual problem, I have no idea Big Grin


RE: Can't make music sound mono - FragdaddyXXL - 06-03-2012

Yeah, I would try getting it to play as a sound and not music for that certain clip. That, or just make it stereo.


RE: Can't make music sound mono - Damascus - 06-04-2012

Works great, thank you!