Playing Multiple Sounds Concurrenly in a Stack

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
rontoledo
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 11
Joined: Fri Jan 09, 2009 6:51 am

Playing Multiple Sounds Concurrenly in a Stack

Post by rontoledo » Tue Mar 02, 2010 6:50 am

How do I get multiple sounds to play concurrently in a stack? Specifically, I need to have a background WAV sound playing continuously, with 2-3 sound effect WAV files playing over the background sound.

Currently, when I attempt to play multiple sounds, they cut each other off, instead of layering.

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Re: Playing Multiple Sounds Concurrenly in a Stack

Post by Janschenkel » Tue Mar 02, 2010 6:52 am

Use multiple 'player' controls, one for each simultaneous sound, and use a 'send in time' construct to start/stop playing the individual players.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

rontoledo
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 11
Joined: Fri Jan 09, 2009 6:51 am

Re: Playing Multiple Sounds Concurrenly in a Stack

Post by rontoledo » Tue Mar 02, 2010 7:03 am

Jan, many thanks; I'm figuring out how to control two test players right now. Thank you for the sound information-- as well as for Quartam Reports!

Post Reply

Return to “Multimedia”