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
Doppler effect like error when playing custom .OGG
Ironbard Offline
Junior Member

Posts: 3
Threads: 1
Joined: Jul 2012
Reputation: 0
#1
Doppler effect like error when playing custom .OGG

I'm getting a strange "anomaly" when using this code and a custom .ogg:
PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);


For some reason the music plays from a certain direction. For example when I start my map, I can hear the sound coming from behind me - and if I turn around ingame, I sort of get the doppler effect.

It's got me completely baffled. Ideas anyone?
07-18-2012, 09:27 PM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Doppler effect like error when playing custom .OGG

Are you using the church floor? That has a sort of echo effect in its material properties.

07-18-2012, 10:21 PM
Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#3
RE: Doppler effect like error when playing custom .OGG

(07-18-2012, 10:21 PM)palistov Wrote: Are you using the church floor? That has a sort of echo effect in its material properties.
So does the "gigantic stone" material in the dungeon set.

I rate it 3 memes.
07-18-2012, 10:23 PM
Find
Ironbard Offline
Junior Member

Posts: 3
Threads: 1
Joined: Jul 2012
Reputation: 0
#4
RE: Doppler effect like error when playing custom .OGG

I'm not using any of those models. But I think I found the flaw, my custom music was mono, I thought perhaps it has to be stereo - so I converted the file. Seems to work fine now. Will have to check it more thoroughly though.
07-19-2012, 02:57 AM
Find




Users browsing this thread: 1 Guest(s)