Page 1 of 1
Additional SoundStream functions
Posted: 03 Nov 2008, 01:21
by REVENGE
I'd like an lua function that allows you to set the current soundstream's volume, without stopping the soundstream, as well as an option to pause/resume the current soundstream (one function should suffice for setting all these parameters).
Re: Additional SoundStream functions
Posted: 03 Nov 2008, 01:29
by aegis
i.e. Spring.ManipulateSoundStream(volume, playstate, file, fade, randomseed, param2, unitId, x, y, z, x, vector, x, whiskey, tango, foxtrot)
Re: Additional SoundStream functions
Posted: 03 Nov 2008, 05:05
by REVENGE
aegis wrote:i.e. Spring.ManipulateSoundStream(volume, playstate, file, fade, randomseed, param2, unitId, x, y, z, x, vector, x, whiskey, tango, foxtrot)
OK! I'LL TAKE IT!

Re: Additional SoundStream functions
Posted: 03 Nov 2008, 07:28
by jK
Already got the idea to read the changelog? before posting requests ...
Re: Additional SoundStream functions
Posted: 03 Nov 2008, 09:52
by REVENGE
jK wrote:Already got the idea to read the changelog? before posting requests ...
*sigh, I read it, but I totally missed/forgot about this.

Re: Additional SoundStream functions
Posted: 03 Nov 2008, 11:39
by Warlord Zsinj
Has anyone managed to get a decent doppler effect working? (Without using the split up wav system that I think s44 has)
Re: Additional SoundStream functions
Posted: 03 Nov 2008, 11:56
by Argh
That should be possible if we were able to pass arguments directly to OpenAL, doing pitch-bends etc. are part of its features.
Re: Additional SoundStream functions
Posted: 03 Nov 2008, 13:58
by Warlord Zsinj
I was thinking it could be pretty cool to do the TIE fighter effects as a constant engine noise, and then have the doppler account for the 'scream'.
So not possible currently, despite the recent changes mentioned in this thread?
Re: Additional SoundStream functions
Posted: 03 Nov 2008, 15:46
by Stealth870
Where can I find said changelog?
Re: Additional SoundStream functions
Posted: 03 Nov 2008, 23:21
by Pendrokar
Stealth870 wrote:Where can I find said changelog?
http://spring.clan-sy.com/websvn/filede ... rev=0&sc=0
Re: Additional SoundStream functions
Posted: 04 Nov 2008, 16:13
by Stealth870
I'd like to request a Spring.GetSoundStreamLength() -> number in seconds.

Re: Additional SoundStream functions
Posted: 04 Nov 2008, 16:38
by AF
Why seconds? Wouldn't it better be ms?
Re: Additional SoundStream functions
Posted: 04 Nov 2008, 18:04
by Stealth870
Well, I guess that would work too.

Re: Additional SoundStream functions
Posted: 04 Nov 2008, 18:15
by lurker
It's all floats anyway...
Re: Additional SoundStream functions
Posted: 04 Nov 2008, 21:59
by Tobi
Hence, seconds is better cause it's the unit itself without arbitrary multiplication factor.