-
Notifications
You must be signed in to change notification settings - Fork 3
Leadins
Leadins are placed INSIDE an Arrangement and is played ON TOP OF the current playing arrangement when another arrangement is triggered. The leadin shall have the same classname as the target arrangement. The leadin typically has it's downbeat on the next bar (when the next arrangement starts playing if changeOnNext is set to "bar") and can have several elements with different length to match the remaining time to the next barline. This time is given with the attribute "upbeat" as a note-length-value and the most appropriate option with be chosen depending on the time left.
The following example has three options for the leadin playing when going FROM A TO B and seven options (one for each eight note) for going back FROM B TO A. Note how the class matches between the leadin and the TARGET arrangement.
<?xml version="1.0" encoding="UTF-8"?>
<imusic version="1.0" audioPath="audio" tempo="100" timeSign="4/4" changeOnNext="bar" showGUI="true">
<arrangement class="A">
<track loopLength="4" src="A.mp3"></track>
<leadin class="B">
<option src="leadToB-2-8.mp3" upbeat="1/4"></option>
<option src="leadToB-4-8.mp3" upbeat="2/4"></option>
<option src="leadToB-6-8.mp3" upbeat="3/4"></option>
</leadin>
</arrangement>
<arrangement class="B">
<track loopLength="8" src="B.mp3"></track>
<leadin class="A">
<option src="leadToA-1-8.mp3" upbeat="1/8"></option>
<option src="leadToA-2-8.mp3" upbeat="2/8"></option>
<option src="leadToA-3-8.mp3" upbeat="3/8"></option>
<option src="leadToA-4-8.mp3" upbeat="4/8"></option>
<option src="leadToA-5-8.mp3" upbeat="5/8"></option>
<option src="leadToA-6-8.mp3" upbeat="6/8"></option>
<option src="leadToA-7-8.mp3" upbeat="7/8"></option>
</leadin>
</arrangement>
</imusic>
Please follow my research journey at http://hans.arapoviclindetorp.se and https://www.facebook.com/hanslindetorpresearch/