Page 1 of 1
Future PlaySample(id[, table], ...) with channel number
Posted: Fri Sep 20, 2013 3:56 pm
by Juan Carlos
If there is a future Hollywood update, will be possible for the PlaySample(id[, table], ...) instruction add the option to out the sound for channels, the Amiga classics have four channels in the new Pc computers more and why? because the current PlaySample out the sounds for an only channel and programming shot games, ejem, shot and impact when the shot is from a machine gun the crash the sound channel is a big problem.
Re: Future PlaySample(id[, table], ...) with channel number
Posted: Sun Sep 22, 2013 10:37 am
by lazi
Don't sure if I am understanding you correctly, but there is a panning value in playsample where you can set the left-right balance of the sound.
This is from the guide:
Panning: This field allows you to set the channel panning for this
sample. This must be in the range of 0 to 255. 0 means left
speaker playback only, 128 means both speakers, and 255 means
right speaker only. If not specified, the sample's default pan
setting will be used (you can modify the default panning of a
sample by calling
SetPanning()). (V4.5)
Re: Future PlaySample(id[, table], ...) with channel number
Posted: Sun Sep 22, 2013 12:14 pm
by airsoftsoftwair
Channels are currently chosen automatically, but there is currently an 8 channel limit. Maybe this will change in the future.
Re: Future PlaySample(id[, table], ...) with channel number
Posted: Sun Sep 22, 2013 3:24 pm
by Juan Carlos
lazi wrote:Don't sure if I am understanding you correctly, but there is a panning value in playsample where you can set the left-right balance of the sound.
This is from the guide:
Panning: This field allows you to set the channel panning for this
sample. This must be in the range of 0 to 255. 0 means left
speaker playback only, 128 means both speakers, and 255 means
right speaker only. If not specified, the sample's default pan
setting will be used (you can modify the default panning of a
sample by calling SetPanning()). (V4.5)
With this the problem doesn't resolve.
Re: Future PlaySample(id[, table], ...) with channel number
Posted: Sun Sep 22, 2013 3:27 pm
by Juan Carlos
Andreas wrote:Channels are currently chosen automatically, but there is currently an 8 channel limit. Maybe this will change in the future.
Thanks Andreas, I think that this is a good solution to resolve this problem, because to make games for example shot war games you need play samples for enviroment like explosions, shots, etc., besides of your own sounds like shots, impacts, walk, etc.