Page 1 of 1
How do I stop sounds/music?
Posted: Tue Jan 23, 2007 2:35 pm
by Trantor
It's nice to see how easy mp3s can be incorporated into RTC, but I encountered the following problem: If I play a long sound (like a piece of music), and then the player reaches another trigger that starts a new piece of music, the first one doesn't stop. How do I achieve that? Because as you can imagine, having two pieces of music playing at the same time is not desired.

Posted: Tue Jan 23, 2007 2:36 pm
by linflas
same trigger activates a relay that deactivates the first music ?
Posted: Tue Jan 23, 2007 2:48 pm
by Trantor
Gah, I had the completely wrong concept!

I totally missed the ambient music action; instead, I built a trigger that simply played the music as a sound.

Thanks for your prompt reply Linflas!
Posted: Tue Jan 23, 2007 2:49 pm
by linflas
np

Posted: Wed Jan 24, 2007 1:48 pm
by Trantor
Another music question: If I have an ambient music, but the track is over, the speakers remain silent. Is there a way that the music starts automatically from the start, so it will play until the music is deactivated?
Posted: Wed Jan 24, 2007 2:17 pm
by Gambit37
There's a LOOP option checkbox for ambient sounds, at least there was the last time I looked... if you want to make seamlessly looping sounds, you need to use an uncompressed format like WAV or a compressed format like OGG. MP3 is no good as there is always a tiny pause at the end.
Posted: Wed Jan 24, 2007 3:11 pm
by Trantor
Thanks Gambit, sometimes I am just too blind for the obvious...

I now converted a wav-file to an ogg-file, and I think it works fine.
