Page 1 of 1
Play different sounds
Posted: Wed Sep 21, 2011 4:00 pm
by JosepM
Hi,
I need join different sounds files and play it together. How can I do that?
Any experience?
Salut,
Josep
Re: Play different sounds
Posted: Wed Sep 21, 2011 4:34 pm
by Klaus
Hi Josep,
do you want to:
1. play them as ONE sound (one after another)?
2. play several sounds at the same time?
Best
Klaus
Re: Play different sounds
Posted: Wed Sep 21, 2011 11:53 pm
by JosepM
Hi Klaus,
I have some sound files and randomly I want join and play some of them, one after another, but without left any "blank" space between them. Must be hear a new sound from the product of the other sounds.
Salut,
Josep
Re: Play different sounds
Posted: Thu Sep 22, 2011 7:57 am
by WaltBrown
Josep,
If you have a list of sound file paths in gMyListOfSoundFiles, you could, say:
put true into tPlaySounds
send "playStopped" to this card
on playStopped
if tPlaySounds then play line random(the number of lines in gMyListOfSoundFiles) of gMyListOfSoundFiles
end playStopped
(This is pseudo code, I don't have any sound files to try it with).