Adding tracks

Scott Rossi scott at
Thu Aug 11 01:42:39 EDT 2011

That's a lot of questions you have there.

The general opinion I'll toss out is on the issue of managing tracks, since
this seems to be the core of your application.  IMO, you'll be hard pressed
to do what you describe using native capabilities of LiveCode -- it's not
really suited to playing tracks back-to-back seamlessly, nor playing loops
seamlessly.  Synching multiple channels is not easy.

One thing you might try is looking at an external called Franklin Audio
(  It provides a bunch of
audio capabilities beyond the stock offerings of LiveCode.  It also doesn't
rely on QuickTime, which could be helpful.  I haven't used it myself to
produce the types of things you're after, but you may have a better chance
using that package.

If you *DO* decide to tackle sequence playback natively in LiveCode, I'd
suggest using imported WAV files.  In my experience, using a player object
(or multiple player objects) simply cannot accomplish the results above. But
even then, your playback options are limited, so the external is probably
your best bet at this point.

Good luck.


Scott Rossi
Creative Director
Tactile Media, UX Design

Recently, Admin wrote:

> Now for a hard one.
> I am writing a program called GrooveBlox. I
> created a menu and have a Track menu - where the user can add and delete
> tracks, like a sequencer program. Tracks are like layers and will be
> able to be moved around, added to, etc.
> The idea is to have rectangles
> (colored) that represent grooves. I want the user to be able to drag and
> drop the groove rectangles onto a track (they will SNAP in place) and
> build all kinds of grooves. I need to write our the flow diagram still,
> but I want to get started on it.
> The audio files are wave files and
> more than enough are done to create a product.
> Here is my question
> list (it will grow):
> How will I create the tracks - are they groups or
> are they substacks?
> How to add tracks to the main stack (track
> holder)?
> How to make the tracks SNAP into place, one beneath the
> other?
> How to move the various tracks above or below each other and
> therefore adjust the layers?
> How to scroll the track holder once there
> are too many tracks to fit on one screen?
> How to drag and drop the
> colored rectangles onto the tracks using SNAP (very important since the
> grooves are an exact size and loop precisely)?
> How to add the
> rectangles to the holding bin?
> How to assign the wave file to the
> colored rectangle?
> How to play all the tracks in sync with one
> another?
> How to adjust the panning with the panning slider?
> How to
> adjust the volume with the volume slider?
> How to create a looping
> function so you can hear the groove play over and over, and
> add/subtract/edit tracks while it is playing in sync?
> How to write a
> final wave file mixing all the tracks together.
> Is this the kind of
> program that requires a client-side database to keep things remembered?
> Anyone's help is appreciated.
> Mike 
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:

More information about the Use-livecode mailing list