Page 1 of 1

Dynamic Volume control of .ogg files

Posted: 11 Aug 2008, 07:15
by Sheekel
Hi, i understand you can play .ogg sound files with

Spring.PlaySoundStream

but you can only set the volume level. is there a way one could change the volume of the .ogg currently being played without it being interrupted?

Re: Dynamic Volume control of .ogg files

Posted: 11 Aug 2008, 07:30
by Snipawolf
cough doppler effect cough

Re: Dynamic Volume control of .ogg files

Posted: 11 Aug 2008, 12:27
by Kloot
Spring.SetSoundStreamVolume(v) (SVN)

Re: Dynamic Volume control of .ogg files

Posted: 11 Aug 2008, 13:19
by Hoi
could you implent mp3 support? almost everything is mp3, and the switch to ogg will go slow...

Re: Dynamic Volume control of .ogg files

Posted: 11 Aug 2008, 13:59
by Sheekel
Kloot wrote:Spring.SetSoundStreamVolume(v) (SVN)
horay! I wanted this so I could ease the transfer between tracks of the OTA music player. Its really annoying when it changes suddenly on you...but with this it can fade out and back in slowly

Re: Dynamic Volume control of .ogg files

Posted: 11 Aug 2008, 17:03
by Forboding Angel
Hoi wrote:could you implent mp3 support? almost everything is mp3, and the switch to ogg will go slow...

MP3 Is a commercial format whereas OGG is open sourced. Search google for an mp3 > ogg batch converter. There are a million progs that do it and it doesn't take hardly any time to do.

Re: Dynamic Volume control of .ogg files

Posted: 11 Aug 2008, 17:04
by Hoi
noobs dont know that

Re: Dynamic Volume control of .ogg files

Posted: 11 Aug 2008, 17:18
by Satirik
noobs don't make mods nor scripts !

Re: Dynamic Volume control of .ogg files

Posted: 11 Aug 2008, 17:33
by Hoi
I was talking about a music widget :?

Re: Dynamic Volume control of .ogg files

Posted: 11 Aug 2008, 18:33
by ZellSF
then noobs will have to learn that.

Re: Dynamic Volume control of .ogg files

Posted: 17 Aug 2008, 20:15
by Ashnal
Most noobs will be happy with whatever music is included in the mod. If not, then they can just disable music completely and use their favorite media player with global hotkeys to play music. The only noobs that will bother with a music widget are the ones with the time and intelligence to learn its nuances anyways.

I do think volume control would be nice for mod usage though.