Future PlaySample(id[, table], ...) with channel number
- Juan Carlos
- Posts: 932
- Joined: Mon Sep 06, 2010 1:02 pm
Future PlaySample(id[, table], ...) with channel number
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
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)
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)
- airsoftsoftwair
- Posts: 5834
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Future PlaySample(id[, table], ...) with channel number
Channels are currently chosen automatically, but there is currently an 8 channel limit. Maybe this will change in the future.
- Juan Carlos
- Posts: 932
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Future PlaySample(id[, table], ...) with channel number
With this the problem doesn't resolve.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)
- Juan Carlos
- Posts: 932
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Future PlaySample(id[, table], ...) with channel number
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.Andreas wrote:Channels are currently chosen automatically, but there is currently an 8 channel limit. Maybe this will change in the future.