VocalEasel/mma/docs/html/ref/node11.html

438 lines
15 KiB
HTML
Raw Normal View History

2009-05-17 22:34:44 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2006-11-10 08:07:56 +00:00
2011-07-26 22:49:39 +00:00
<!--Converted with LaTeX2HTML 2008 (1.71)
2006-11-10 08:07:56 +00:00
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
2011-07-26 22:49:39 +00:00
<TITLE>Emulating plucked instruments: Plectrum Tracks</TITLE>
<META NAME="description" CONTENT="Emulating plucked instruments: Plectrum Tracks">
2006-11-10 08:07:56 +00:00
<META NAME="keywords" CONTENT="mma">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
2011-07-26 22:49:39 +00:00
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
2006-11-10 08:07:56 +00:00
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="mma.css">
<LINK REL="next" HREF="node12.html">
<LINK REL="previous" HREF="node10.html">
<LINK REL="up" HREF="mma.html">
<LINK REL="next" HREF="node12.html">
</HEAD>
<BODY bgcolor="#ffffff">
2009-05-17 22:34:44 +00:00
<DIV CLASS="navigation"><!--Navigation Panel-->
2011-07-26 22:49:39 +00:00
<A NAME="tex2html568"
2006-11-10 08:07:56 +00:00
HREF="node12.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
2011-07-26 22:49:39 +00:00
<A NAME="tex2html566"
2006-11-10 08:07:56 +00:00
HREF="mma.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
2011-07-26 22:49:39 +00:00
<A NAME="tex2html560"
2006-11-10 08:07:56 +00:00
HREF="node10.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<BR>
2011-07-26 22:49:39 +00:00
<B> Next:</B> <A NAME="tex2html569"
HREF="node12.html">Automatic Melodies: Aria Tracks</A>
<B> Up:</B> <A NAME="tex2html567"
2006-11-10 08:07:56 +00:00
HREF="mma.html">Reference Manual</A>
2011-07-26 22:49:39 +00:00
<B> Previous:</B> <A NAME="tex2html561"
2006-11-10 08:07:56 +00:00
HREF="node10.html">Solo and Melody Tracks</A>
<BR>
2009-05-17 22:34:44 +00:00
<BR></DIV>
2006-11-10 08:07:56 +00:00
<!--End of Navigation Panel-->
2011-07-26 22:49:39 +00:00
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
<UL CLASS="ChildLinks">
<LI><A NAME="tex2html570"
HREF="node11.html#SECTION001110000000000000000">Tuning</A>
<LI><A NAME="tex2html571"
HREF="node11.html#SECTION001120000000000000000">Capo</A>
<LI><A NAME="tex2html572"
HREF="node11.html#SECTION001130000000000000000">Patterns</A>
</UL>
<!--End of Table of Child-Links-->
<HR>
2006-11-10 08:07:56 +00:00
<H1><A NAME="SECTION001100000000000000000"></A>
2011-07-26 22:49:39 +00:00
<A NAME="chap-plectrum"></A>
2006-11-10 08:07:56 +00:00
<BR>
2011-07-26 22:49:39 +00:00
Emulating plucked instruments: Plectrum Tracks
2006-11-10 08:07:56 +00:00
</H1>
<P>
2011-07-26 22:49:39 +00:00
P<SMALL>LECTRUM</SMALL><A NAME="tex2html48"
HREF="#foot5419"><SUP><SPAN CLASS="arabic">11</SPAN>.<SPAN CLASS="arabic">1</SPAN></SUP></A>tracks are designed to let
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> create tracks that sound, remarkably,
like real, strummed instruments (guitars, mandolins, banjos, etc).
<P>
As mentioned earlier in this document, the biggest difference between
P<SMALL>LECTRUM</SMALL> and other tracks is that a duration is not used. This
means that each string (note) in P<SMALL>LECTRUM</SMALL> patterns continue to
sound until they are changed (a new note) or muted.
<P>
When creating a P<SMALL>LECTRUM</SMALL> pattern or sequence you simply set an
offset, strum duration and volumes for each string of the
&#8220;instrument&#8221;.
<P>
To aid in debugging, a special D<SMALL>EBUG</SMALL> option P<SMALL>LECTRUM</SMALL> is
provided. When enabled this will display chord shapes for generated
chords. See <A HREF="node24.html#debugging">here</A> for
information to enable/disable this option.
<P>
<H1><A NAME="SECTION001110000000000000000">
Tuning</A>
</H1>
<P>
By default the P<SMALL>LECTRUM</SMALL> tracks are set to a standard
guitar. However, it's very easy to change with with the T<SMALL>UNING</SMALL>
command. This command requires a note setting for each string in the
instrument. For example, to duplicate the default:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Plectrum Tuning e- a- d g b e+ </B>
</td></tr>
</Table>
<P>
In this case we have set six strings. The first string is a low &#8220;e&#8221;,
the second a low &#8220;a&#8221;, etc.
<P>
Similarly, you could define a tenor banjo with:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Plectrum Tuning g- d a e+ </B>
</td></tr>
</Table>
<P>
Only one T<SMALL>UNING</SMALL> setting can be set for a sequence. It applies
to all bars in the current sequence. It is saved and restored in
G<SMALL>ROOVE</SMALL>s.
<P>
If you change the T<SMALL>UNING</SMALL> for a P<SMALL>LECTRUM</SMALL> track after
setting a S<SMALL>EQUENCE</SMALL> you must ensure that the number of strings
in the P<SMALL>ATTERN</SMALL> and T<SMALL>UNING</SMALL> are the same. A mismatch will
generate an error. However, setting a different T<SMALL>UNING</SMALL> with the
same number of strings is just fine.
<P>
<H1><A NAME="SECTION001120000000000000000">
Capo</A>
</H1>
<P>
A &#8220;capo&#8221; is small bar which is placed on the neck of a guitar, banjo
or other stringed instrument to raise its pitch. They are quite useful
when a song is in a pitch too low for a singer ... a capo placed
on the guitar raises the pitch of each played chord. Much easier for a
player than having to change (raise) each chord in the song. In
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> the use of a P<SMALL>LECTRUM</SMALL> C<SMALL>APO</SMALL> setting is a bit different:
it doesn't change the chord pitches. A &#8220;C Major&#8221; chord remains a &#8220;C
Major&#8221; chord. However, the actual note assignments to the different
strings on the instrument can (and most likely) changes. Depending on
the tuning of the &#8220;instrument&#8221; a &#8220;C&#8221; chord with a C<SMALL>APO 2</SMALL>
will be created as a &#8220;B&#8221; <SPAN CLASS="textit">chord shape</SPAN> played above the second fret. In most cases
a chord with a positive C<SMALL>APO</SMALL> value will have a higher tonality.
<P>
To change the C<SMALL>APO</SMALL> value:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Plectrum Capo 2 </B>
</td></tr>
</Table>
<P>
In addition to raising the pitch of the instrument, you can use
negative values ... in a real instrument you would need to stretch
the neck for similar results! There are no limits on the capo
values. Very high or low values will have no different effect over
moderate ones since the generated notes will always be in the MIDI
range of 0 to 127.
2006-11-10 08:07:56 +00:00
<P>
2011-07-26 22:49:39 +00:00
Only one C<SMALL>APO</SMALL> setting can be set for a sequence. It applies to
all bars in the current sequence. It is saved and restored in
G<SMALL>ROOVE</SMALL>s.
2006-11-10 08:07:56 +00:00
<P>
2011-07-26 22:49:39 +00:00
It is also possible to change the pitch or tonality for individual
chords with the &#8220;barre&#8221; chord name extension (detailed
<A HREF="node30.html#barre-chords">here</A>).
2006-11-10 08:07:56 +00:00
<P>
2011-07-26 22:49:39 +00:00
Yet another way to change the pitch is to use the O<SMALL>CTAVE</SMALL>
settings <A HREF="node24.html#octave">here</A>.
2006-11-10 08:07:56 +00:00
<P>
2011-07-26 22:49:39 +00:00
<SPAN CLASS="textit">Remember: unlike a real instrument, neither <SMALL>CAPO</SMALL> or barre chords
change the pitch (transpose) the chord in
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> . The same chord is played,
but with a higher tonality.</SPAN>
2006-11-10 08:07:56 +00:00
<P>
2011-07-26 22:49:39 +00:00
<H1><A NAME="SECTION001130000000000000000">
Patterns</A>
</H1>
<P>
Setting a pattern for a P<SMALL>LECTRUM</SMALL> track is similar to that of
other tracks: you simply set the offset and volumes for the different
strings. In addition you must specify a &#8220;strum&#8221;<A NAME="tex2html49"
HREF="#foot5421"><SUP><SPAN CLASS="arabic">11</SPAN>.<SPAN CLASS="arabic">2</SPAN></SUP></A> value (used as a delay between
strings). The formal definition for a P<SMALL>LECTRUM</SMALL> pattern is:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Offset Strum Strings:Velocity [...Strings:Velocity] </B>
</td></tr>
</Table>
<P>
where:
2006-11-10 08:07:56 +00:00
<P>
<DL>
2011-07-26 22:49:39 +00:00
<DT><STRONG>Offset</STRONG></DT>
<DD>A beat or offset into the bar. This is used in the same
manner as in all the other MMA patterns.
2006-11-10 08:07:56 +00:00
<P>
</DD>
2011-07-26 22:49:39 +00:00
<DT><STRONG>Strum</STRONG></DT>
<DD>The strumming delay between hitting each string. Use a
positive number for a downward strum and negative number for an
upward strum and use zero for all the notes to be played together. &#8220;3&#8221;
is a fast downward strum and &#8220;-10&#8221; is a slow upward strum.
2006-11-10 08:07:56 +00:00
<P>
</DD>
2011-07-26 22:49:39 +00:00
<DT><STRONG>Strings</STRONG></DT>
<DD>The string or strings that are to be plucked. Details
below.
2006-11-10 08:07:56 +00:00
<P>
</DD>
2011-07-26 22:49:39 +00:00
<DT><STRONG>Velocity</STRONG></DT>
<DD>The MIDI velocity (loudness) for each string. &#8220;127&#8221;
is the maximum volume, A value of zero is used to mute the string or
strings. Guitarists often mute the strings with the side of their
hand when strumming.<A NAME="tex2html50"
HREF="#foot5422"><SUP><SPAN CLASS="arabic">11</SPAN>.<SPAN CLASS="arabic">3</SPAN></SUP></A>
<P>
</DD>
2006-11-10 08:07:56 +00:00
</DL>
<P>
2011-07-26 22:49:39 +00:00
For a basic strumming guitar you might use:<A NAME="tex2html51"
HREF="#foot5423"><SUP><SPAN CLASS="arabic">11</SPAN>.<SPAN CLASS="arabic">4</SPAN></SUP></A>
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Begin Plectrum-Strumming
<BR>&nbsp;&nbsp;Voice NylonGuitar
<BR>&nbsp;&nbsp;Volume m
<BR>&nbsp;&nbsp;Sequence 1.0 +5 120 120 120 120 120 100; &#92;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;2.0 +5 90 80 80 80 80 80;&#92;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;2.5 -5 - - 50 50 50 50;&#92;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;3.0 +5 90 80 80 80 80 80;&#92;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;3.5 -5 - - 50 50 50 50;&#92;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;4.0 +5 90 80 80 80 80 80;&#92;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;4.5 -5 - - 50 50 50 50;
<BR>
End </B>
</td></tr>
</Table>
<P>
This gives eight strums per bar. Note the strum values at beats 2.5,
3.5 and 4.5: using a negative strum value causes the strum to run in
the opposite (high to low) direction.
<P>
Also, notice the use of &#8220;-&#8221; values for certain strings. A &#8220;-&#8221; lets
that string continue to vibrate until the next pattern. If you want to
disable (mute) a string use a &#8220;0&#8221; for the volume.
2006-11-10 08:07:56 +00:00
<P>
2011-07-26 22:49:39 +00:00
Another example shows how to set up a finger picking pattern:
2006-11-10 08:07:56 +00:00
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
2011-07-26 22:49:39 +00:00
<B>Begin Plectrum-FingerPicking
<BR>&nbsp;&nbsp;Voice NylonGuitar
<BR>&nbsp;&nbsp;Volume m
<BR>&nbsp;&nbsp;Sequence 1.0 0 - 100 - - 90 -;&#92;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;1.5 0 - - - 90 - -;&#92;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;2.0 0 - - 90 - 90 -;&#92;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;2.5 0 - - - 90 - -;&#92;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;3.0 0 - - - - - 90;&#92;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;3.5 0 - - - - 90 -;&#92;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;4.0 0 - - - 90 - -;&#92;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;4.5 0 - - 90 - - -;
2006-11-10 08:07:56 +00:00
<BR>
2011-07-26 22:49:39 +00:00
End </B>
2006-11-10 08:07:56 +00:00
2007-04-29 06:47:40 +00:00
</td></tr>
</Table>
2006-11-10 08:07:56 +00:00
<P>
2011-07-26 22:49:39 +00:00
To make creation of volume tables a bit easier, you can shorten the
notation by setting a range and volume. This is done by using
&#8220;n-m:v&#8221; where n is the start string number and m is the end string
number and v is the volume. <B>Please note that the strings are numbered
in &#8220;reverse&#8221; order, just like a guitar.</B> The last string (the bottom
and usually the highest pitch) is string &#8220;1&#8221;, the first string
(assuming 6 strings) is &#8220;6&#8221;. So,
2006-11-10 08:07:56 +00:00
<P>
<UL>
2011-07-26 22:49:39 +00:00
<LI>&#8220;1.0 0 2:50&#8221; is the same as &#8220;1.0 0 - - - - 50 -&#8221;
</LI>
<LI>&#8220;1.0 -5 2-4:80&#8221; is the same as &#8220;1.0 -5 - - 80 80 80 -&#8221;
<P>
</LI>
</UL>
<P>
It is not possible to mix range and individual string settings. So,
<SPAN CLASS="textit">you cannot do</SPAN>:
2006-11-10 08:07:56 +00:00
<P>
<UL>
2011-07-26 22:49:39 +00:00
<LI>&#8220;1.0 0 2:50 90&#8221; <IMG
WIDTH="28" HEIGHT="28" ALIGN="BOTTOM" BORDER="0"
SRC="img2.png"
ALT="\includegraphics[height=3ex]{stop.eps}">
2006-11-10 08:07:56 +00:00
</LI>
2007-04-29 06:47:40 +00:00
</UL>
2006-11-10 08:07:56 +00:00
<P>
2011-07-26 22:49:39 +00:00
Missing volume settings are expanded just like in C<SMALL>HORD</SMALL>
tracks. So, assuming a 6 string guitar:
2006-11-10 08:07:56 +00:00
<P>
2011-07-26 22:49:39 +00:00
<UL>
<LI>&#8220;1.0 0 90 &#8221; is the same as &#8220;1.0 0 90 90 90 90 90 90&#8221;
2006-11-10 08:07:56 +00:00
</LI>
</UL>
<P>
2011-07-26 22:49:39 +00:00
However, do note that you must specify either one or all the strings
if you are not using a range. Again, <SPAN CLASS="textit">you cannot do</SPAN>:
2006-11-10 08:07:56 +00:00
<P>
2011-07-26 22:49:39 +00:00
<UL>
<LI>&#8220;1. 0 80 90&#8221; <IMG
WIDTH="28" HEIGHT="28" ALIGN="BOTTOM" BORDER="0"
SRC="img2.png"
ALT="\includegraphics[height=3ex]{stop.eps}">
</LI>
</UL>
2009-05-17 22:34:44 +00:00
<P>
2011-07-26 22:49:39 +00:00
Please note that the following options have no effect in a
P<SMALL>LECTRUM</SMALL> track: A<SMALL>RTICULATE</SMALL>, V<SMALL>OICING</SMALL>,
S<SMALL>TRUM</SMALL> M<SMALL>ALLET</SMALL> and D<SMALL>IRECTION</SMALL>.
<BR><HR><H4>Footnotes</H4>
<DL>
<DT><A NAME="foot5419">...P<SMALL>LECTRUM</SMALL></A><A
HREF="node11.html#tex2html48"><SUP><SPAN CLASS="arabic">11</SPAN>.<SPAN CLASS="arabic">1</SPAN></SUP></A></DT>
<DD>The concept and code base for the Plectrum
track was developed by Louis James Barman
<SPAN CLASS="textbf">&lt;louisjbarman at googlemail dot com&gt;</SPAN>. Send compliments to him!
</DD>
<DT><A NAME="foot5421">... &#8220;strum&#8221;</A><A
HREF="node11.html#tex2html49"><SUP><SPAN CLASS="arabic">11</SPAN>.<SPAN CLASS="arabic">2</SPAN></SUP></A></DT>
<DD>A
&#8220;P<SMALL>LECTRUM </SMALL>S<SMALL>TRUM</SMALL>&#8221; setting is ignored by these tracks. Strum
must be set as part of the pattern.
2009-05-17 22:34:44 +00:00
2011-07-26 22:49:39 +00:00
</DD>
<DT><A NAME="foot5422">... strumming.</A><A
HREF="node11.html#tex2html50"><SUP><SPAN CLASS="arabic">11</SPAN>.<SPAN CLASS="arabic">3</SPAN></SUP></A></DT>
<DD>The P<SMALL>LECTRUM</SMALL> track differs from
other
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> tracks as the duration of each note is not given but
instead like a real guitar the note on the string will continue
to sound until either it is muted by using a velocity of zero or
until another note is played on the same string.
</DD>
<DT><A NAME="foot5423">... use:</A><A
HREF="node11.html#tex2html51"><SUP><SPAN CLASS="arabic">11</SPAN>.<SPAN CLASS="arabic">4</SPAN></SUP></A></DT>
<DD>These examples
use B<SMALL>EGIN</SMALL>/E<SMALL>ND</SMALL> shorthand notation. This is explained in
the &#8220;Begin/End Block&#8221; chapter <A HREF="node25.html#sec-blocks">here</A>.
</DD>
</DL>
2009-05-17 22:34:44 +00:00
<DIV CLASS="navigation"><HR>
2006-11-10 08:07:56 +00:00
<!--Navigation Panel-->
2011-07-26 22:49:39 +00:00
<A NAME="tex2html568"
2006-11-10 08:07:56 +00:00
HREF="node12.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
2011-07-26 22:49:39 +00:00
<A NAME="tex2html566"
2006-11-10 08:07:56 +00:00
HREF="mma.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
2011-07-26 22:49:39 +00:00
<A NAME="tex2html560"
2006-11-10 08:07:56 +00:00
HREF="node10.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<BR>
2011-07-26 22:49:39 +00:00
<B> Next:</B> <A NAME="tex2html569"
HREF="node12.html">Automatic Melodies: Aria Tracks</A>
<B> Up:</B> <A NAME="tex2html567"
2006-11-10 08:07:56 +00:00
HREF="mma.html">Reference Manual</A>
2011-07-26 22:49:39 +00:00
<B> Previous:</B> <A NAME="tex2html561"
2009-05-17 22:34:44 +00:00
HREF="node10.html">Solo and Melody Tracks</A></DIV>
2006-11-10 08:07:56 +00:00
<!--End of Navigation Panel-->
<ADDRESS>
2007-04-29 06:47:40 +00:00
bob
2011-07-26 22:49:39 +00:00
2010-11-07
2006-11-10 08:07:56 +00:00
</ADDRESS>
</BODY>
</HTML>