gibberwocky
Version:
music sequencing for Live and Max/MSP
17 lines (12 loc) • 1.08 kB
HTML
<h2>track</h2>
<p>
Each of Live's various tracks (instrumental, returns, and master) are represented by <code>track</code> objects in gibberwocky.
Instrumental tracks are stored in the global <code>tracks</code> object, fx returns are stored in the global <code>returns</code> objects and the
master track is stored in the global <code>master</code> object. Each of these different tracks has slight variations; for example, the master and fx return tracks have no `note` or `velocity` methods; they are unable to host instruments so these messages make no sense. But they also do share a number of methods and properties.</p>
<h3>tracks.properties</h3>
<ul>
<li>
<h4>track.devices - Array</h4>
<p>This array holds all of the devices (instruments and effects plugins) for a particuarly track, <em>with the exception of any gibberwocky instances</em>. If you have a gibberwocky instance on an instrument track, this will not be included in this array. Thus, the first plugin on the track would be referred to as <code>track.devices[0]</code>.</p>
</li>
</ul>