VocalEasel/mma/docs/html/ref/node29.html
Matthias Neeracher f54adbeec5 Update to MMA 1.7
2011-07-26 22:49:39 +00:00

275 lines
7.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--Converted with LaTeX2HTML 2008 (1.71)
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>
<TITLE>Frequency Asked Questions</TITLE>
<META NAME="description" CONTENT="Frequency Asked Questions">
<META NAME="keywords" CONTENT="mma">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="mma.css">
<LINK REL="next" HREF="node30.html">
<LINK REL="previous" HREF="node28.html">
<LINK REL="up" HREF="mma.html">
<LINK REL="next" HREF="node30.html">
</HEAD>
<BODY bgcolor="#ffffff">
<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html893"
HREF="node30.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html891"
HREF="mma.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html885"
HREF="node28.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html894"
HREF="node30.html">Symbols and Constants</A>
<B> Up:</B> <A NAME="tex2html892"
HREF="mma.html">Reference Manual</A>
<B> Previous:</B> <A NAME="tex2html886"
HREF="node28.html">Creating Effects</A>
<BR>
<BR></DIV>
<!--End of Navigation Panel-->
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
<UL CLASS="ChildLinks">
<LI><A NAME="tex2html895"
HREF="node29.html#SECTION002910000000000000000">Chord Octaves</A>
<LI><A NAME="tex2html896"
HREF="node29.html#SECTION002920000000000000000">AABA Song Forms</A>
<LI><A NAME="tex2html897"
HREF="node29.html#SECTION002930000000000000000">Where's the GUI?</A>
<LI><A NAME="tex2html898"
HREF="node29.html#SECTION002940000000000000000">Where's the manual index?</A>
</UL>
<!--End of Table of Child-Links-->
<HR>
<H1><A NAME="SECTION002900000000000000000"></A>
<A NAME="sec-faq"></A>
<BR>
Frequency Asked Questions
</H1>
<P>
This chapter will serve as a container for questions asked by
some enthusiastic
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> users. It may make some sense in the future to
distribute this information as a separate file.
<P>
<H1><A NAME="SECTION002910000000000000000">
Chord Octaves</A>
</H1>
<P>
<SPAN CLASS="textit">I've keyed in a song but some of the chords sound way too high
(or low).</SPAN>
<P>
When a real player plays chords he or she adjusts the position of the
chords so that they don't &#8220;bounce&#8221; around between octaves. One way
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> tries to do the same is with the &#8220;Voicing Mode=Optimal&#8221;
setting. However, sometimes the chord range of a piece is too large
for this to work properly. In this case you'll have to use the octave
adjustments in chords. For more details <A HREF="node14.html#sec-chordadjust">go here</A>.
<P>
<H1><A NAME="SECTION002920000000000000000">
AABA Song Forms</A>
</H1>
<P>
<SPAN CLASS="textit">How can one define parts as part "A", part "B" ... and
arrange them at the end of the file? An option to repeat a &#8220;solo&#8221;
section a number of times would be nice as well.</SPAN>
<P>
Using
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> variables and some simple looping, one might try something like:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Groove Swing
<BR> // Set the music into a
<BR> // series of macros
<BR>
mset A
<BR>&nbsp;&nbsp;Print Section A
<BR>&nbsp;&nbsp;C
<BR>&nbsp;&nbsp;G
<BR>
endmset
<BR>
mset B
<BR>&nbsp;&nbsp;print Section B
<BR>&nbsp;&nbsp;Dm
<BR>&nbsp;&nbsp;Em
<BR>
endmset
<BR>
mset Solo
<BR>&nbsp;&nbsp;Print Solo Section $Count
<BR>&nbsp;&nbsp;Am / B7 Cdim
<BR>
endmset
<BR> // Use the macros for an
<BR> // "A, A, B, Solo * 8, A"
<BR> // form
<BR> $A
<BR> $A
<BR> $B
<BR>
set Count 1
<BR>
label a
<BR>&nbsp;&nbsp;$solo
<BR>&nbsp;&nbsp;inc COUNT
<BR>&nbsp;&nbsp;if le $count 8
<BR>&nbsp;&nbsp;&nbsp;&nbsp;goto A
<BR>&nbsp;&nbsp;endif
<BR> $A
<BR></B>
</td></tr>
</Table>
<P>
Note that the &#8220;Print&#8221; lines are used for debugging purposes. The case
of the variable names has been mixed to illustrate the fact that
&#8220;Solo&#8221; is the same as &#8220;SOLO&#8221; which is the same as &#8220;solo&#8221;.
<P>
Now, if you don't like things that look like old BASIC program code,
you could just as easily duplicate the above with:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Groove Swing
<BR>
repeat
<BR>&nbsp;&nbsp;repeat
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Print Section A
<BR>&nbsp;&nbsp;&nbsp;&nbsp;C
<BR>&nbsp;&nbsp;&nbsp;&nbsp;G
<BR>&nbsp;&nbsp;&nbsp;&nbsp;If Def count
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eof
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Endif
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Endrepeat
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Print Section B
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Dm
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Em
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Set Count 1
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Repeat
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print Solo $Count
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Am
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inc Count
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Repeatending 7
<BR>&nbsp;&nbsp;Repeatend
<BR>
Repeatend </B>
</td></tr>
</Table>
<P>
The choice is up to you.
<P>
<H1><A NAME="SECTION002930000000000000000">
Where's the GUI?</A>
</H1>
<P>
<SPAN CLASS="textit">I really think that
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> is a cool program. But, it needs a
<SPAN CLASS="textit">GUI</SPAN>. Are you planning on writing one? Will you help me if I
start to write one?</SPAN>
<P>
Thanks for the kind comments! The author likes
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> too. A lot!
<P>
Some attempts have been made to write a number of <SPAN CLASS="textit">GUI</SPAN>s for
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> . But, nothing seemed to be much more useful than the existing
text interface. So, why waste too much time? There is nothing wrong with
graphical programming interfaces, but perhaps not in this case.
<P>
But, I may well be wrong. If you think it'd be better with a
<SPAN CLASS="textit">GUI</SPAN> ... well, this is open source and you are more than
welcome to write one. If you do, I'd suggest that you make your
program a front-end which lets a user compile standard
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> files. If
you find that more error reporting, etc. is required to interact
properly with your code, let me know and I'll probably be quite
willing to make those kind of changes.
<P>
<H1><A NAME="SECTION002940000000000000000">
Where's the manual index?</A>
</H1>
<P>
Yes,this manual needs an index. I just don't have the time
to go though and do all the necessary work. Is there a volunteer?
<P>
<P>
<DIV CLASS="navigation"><HR>
<!--Navigation Panel-->
<A NAME="tex2html893"
HREF="node30.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html891"
HREF="mma.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html885"
HREF="node28.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html894"
HREF="node30.html">Symbols and Constants</A>
<B> Up:</B> <A NAME="tex2html892"
HREF="mma.html">Reference Manual</A>
<B> Previous:</B> <A NAME="tex2html886"
HREF="node28.html">Creating Effects</A></DIV>
<!--End of Navigation Panel-->
<ADDRESS>
bob
2010-11-07
</ADDRESS>
</BODY>
</HTML>