Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't make music sound mono
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#1
Can't make music sound mono

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: (Select All)
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.


Attached Files
.rar   rainintro.rar (Size: 141.98 KB / Downloads: 122)

(This post was last modified: 06-04-2012, 07:39 AM by Damascus.)
06-03-2012, 07:32 AM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Can't make music sound mono

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

06-03-2012, 08:05 PM
Find
FragdaddyXXL Offline
Member

Posts: 136
Threads: 20
Joined: Apr 2012
Reputation: 7
#3
RE: Can't make music sound mono

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

Dark Seclusion Here
06-03-2012, 09:24 PM
Find
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#4
RE: Can't make music sound mono

Works great, thank you!

06-04-2012, 07:39 AM
Find




Users browsing this thread: 2 Guest(s)