Additional SoundStream functions
Moderator: Moderators
Additional SoundStream functions
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
i.e. Spring.ManipulateSoundStream(volume, playstate, file, fade, randomseed, param2, unitId, x, y, z, x, vector, x, whiskey, tango, foxtrot)
Re: Additional SoundStream functions
OK! I'LL TAKE IT!aegis wrote:i.e. Spring.ManipulateSoundStream(volume, playstate, file, fade, randomseed, param2, unitId, x, y, z, x, vector, x, whiskey, tango, foxtrot)

Re: Additional SoundStream functions
Already got the idea to read the changelog? before posting requests ...
Re: Additional SoundStream functions
*sigh, I read it, but I totally missed/forgot about this.jK wrote:Already got the idea to read the changelog? before posting requests ...

-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
Re: Additional SoundStream functions
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
That should be possible if we were able to pass arguments directly to OpenAL, doing pitch-bends etc. are part of its features.
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
Re: Additional SoundStream functions
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?
So not possible currently, despite the recent changes mentioned in this thread?
- Stealth870
- Posts: 166
- Joined: 13 Sep 2004, 00:25
Re: Additional SoundStream functions
Where can I find said changelog?
Re: Additional SoundStream functions
http://spring.clan-sy.com/websvn/filede ... rev=0&sc=0Stealth870 wrote:Where can I find said changelog?
- Stealth870
- Posts: 166
- Joined: 13 Sep 2004, 00:25
Re: Additional SoundStream functions
I'd like to request a Spring.GetSoundStreamLength() -> number in seconds. 

Re: Additional SoundStream functions
Why seconds? Wouldn't it better be ms?
- Stealth870
- Posts: 166
- Joined: 13 Sep 2004, 00:25
Re: Additional SoundStream functions
Well, I guess that would work too. 

Re: Additional SoundStream functions
It's all floats anyway...
Re: Additional SoundStream functions
Hence, seconds is better cause it's the unit itself without arbitrary multiplication factor.