-
Reserve a channel
Is there a way to reserve a channel, so that it will only be used if you specifically play a sample on that channel (reserving a channel = preventing the "play sample" action to play a sample on that channel, yet "play sample on a specific channel" would be allowed to - it would make channel allocation so much easier)?
Just consider it - without a channel reservation feature, you'll have to use "play sample on a specific channel" for every sample in the game, just to prevent random sounds being played on one or two channels where I will use sample-independent volume modulation.
Also, it is possible to play a sample from an expression, without having to store it as an external file?
-
Re: Reserve a channel
I think this is a bit to far off-track for MMF2 development, i don;t think its possible unless you write your own engine to check for that.
-
Re: Reserve a channel
You can't.
I'll add the first suggestion to the wish list, the second one was already suggested some time ago.
Yves.
-
Re: Reserve a channel
Whilst on the topic if you "play sample" will it always play it on channel 1 or the first channel that's free? (or a unique unindexed channel...) ?
-
Re: Reserve a channel
Yes, the first channel that is free. If no channel is free, it overwrites the first sound channel that hasn't the "uninterruptable" option.
Yves.
-
Re: Reserve a channel
thanks <img src="/center/images/graemlins/laugh.gif" alt="" />
-
Re: Reserve a channel
Just to add a similar question - is there a way that I'm missing to play a sample from a file (using an expression) without having to specify a channel?
-
Re: Reserve a channel
I think you can't. I did it like this for some reason, but I don't remember why...
Yves.
-
Re: Reserve a channel
I know the feeling, I had the same thought about most of my senior honours project.