Page 1 of 1
Music

Posted:
Wed Apr 28, 2010 5:36 am
by Embreon
After getting SoundFX's to work I tried getting the music .ogg to play
But for some reasone only the SoundFX's seem te play even when you change the setting from SoundFX to Background music or any other ....
Does anyone know how this works ?
Re: Music

Posted:
Wed Apr 28, 2010 6:21 am
by andylegate
The music should play fine. Double check the following on your sound emitter plasma components:
Under "Sound Name" make sure you have the correct sound file name on the button.
Is the music suppose to play as soon as someone links in? If so "Autoplay" needs to be checked.
Is the music suppose to play only when someone enters a region sensor? If so, remove the check from Autoplay, and check the triggers on your region, you want it to trigger whenever someone "Enters" the region.
Also, if you are using a region sensor to trigger the music on, make sure that you check the responder. In the responder, make sure for the State you have the correct sound emitter and sound selected.
Is the music suppose to play over and over? If so, put a check mark in "Loop"
Check the Volume slider: -48 db is the LOWEST volume setting. 0 db is the HIGHEST volume setting.
Leave all the other parameters unchecked and alone until you get your music playing okay first, then you can mess with them.
Re: Music

Posted:
Wed Apr 28, 2010 7:46 am
by Embreon
I have normal sound effects working , so its not the setting ...
Everytime when I select a _____music_loop_____ it's not being played

Re: Music

Posted:
Wed Apr 28, 2010 8:48 am
by TheMagician
Your screenshot shows that you use a "sound3D" component to emit the music. However, you should use a "Nonspatial Sound" for stereo music tracks that are ment to play in the background independent of your current position.
Also Agenotfound reported that his music failed to play because he didn't encode it properly. I don't know the settings he used in the end but the standard URU music files are OGG Vorbis, 16-bit, 44.100 kHz, 192 kb/sec.
And lastly you may need to check "Stream from compressed file" in the component properties to get the music working.
Re: Music

Posted:
Wed Apr 28, 2010 8:53 am
by Embreon
Got it working , thx !
Re: Music

Posted:
Wed Apr 28, 2010 9:00 am
by andylegate
Could you post what your problem was? That way if someone in the future runs into a problem and see's this thread, they may also have had the same problem as you.
Re: Music

Posted:
Wed Apr 28, 2010 9:03 am
by Embreon
Ofcourse , sorry !
The problems was , that I used a 3d sound emitter for a music file
Like TheMagician said I should use a Nonspatial Sound for music files with stream from compressed file enabled
And that was it ...
Re: Music

Posted:
Wed Apr 28, 2010 9:39 am
by andylegate
Got ya!
Yah, with the GoW Plugin, using ALCScript to define the emitter, you had to put in a flag in the script that read: "-is3dsound"
If you didn't, it was a nonspatial emitter by default.
With Cyan's Plugin, you have to tell the emitter what kind it is. So this is good to know, heh. I clean forgot about it myself when I posted what to check on.