Future PlaySample(id[, table], ...) with channel number

Find quick help here to get you started with Hollywood
Post Reply
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

Future PlaySample(id[, table], ...) with channel number

Post 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.
User avatar
lazi
Posts: 646
Joined: Thu Feb 24, 2011 11:08 pm

Re: Future PlaySample(id[, table], ...) with channel number

Post 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)
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Future PlaySample(id[, table], ...) with channel number

Post by airsoftsoftwair »

Channels are currently chosen automatically, but there is currently an 8 channel limit. Maybe this will change in the future.
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

Re: Future PlaySample(id[, table], ...) with channel number

Post 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.
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

Re: Future PlaySample(id[, table], ...) with channel number

Post 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.
Post Reply