File: node22.html

package info (click to toggle)
mma 0.12-1.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,020 kB
  • ctags: 1,143
  • sloc: python: 5,235; makefile: 37
file content (247 lines) | stat: -rw-r--r-- 6,936 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2002-2-1 (1.70)
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 NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="mma.css">

<LINK REL="next" HREF="node23.html">
<LINK REL="previous" HREF="node21.html">
<LINK REL="up" HREF="mma.html">
<LINK REL="next" HREF="node23.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html623"
  HREF="node23.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="file:/usr/lib/latex2html/icons/next.png"></A> 
<A NAME="tex2html621"
  HREF="mma.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="file:/usr/lib/latex2html/icons/up.png"></A> 
<A NAME="tex2html615"
  HREF="node21.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="file:/usr/lib/latex2html/icons/prev.png"></A>   
<BR>
<B> Next:</B> <A NAME="tex2html624"
  HREF="node23.html">Symbols and Constants</A>
<B> Up:</B> <A NAME="tex2html622"
  HREF="mma.html">Reference Manaul</A>
<B> Previous:</B> <A NAME="tex2html616"
  HREF="node21.html">Creating Effects</A>
<BR>
<BR>
<!--End of Navigation Panel-->
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>

<UL>
<LI><A NAME="tex2html625"
  HREF="node22.html#SECTION002210000000000000000">AABA Song Forms</A>
<LI><A NAME="tex2html626"
  HREF="node22.html#SECTION002220000000000000000">Where's the GUI?</A>
<LI><A NAME="tex2html627"
  HREF="node22.html#SECTION002230000000000000000">Where's the manual index?</A>
</UL>
<!--End of Table of Child-Links-->
<HR>

<H1><A NAME="SECTION002200000000000000000"></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 <I><B>MMA</B></I> users. It may make some sense in the future to
distribute this information as a separate file.

<P>

<H1><A NAME="SECTION002210000000000000000">
AABA Song Forms</A>
</H1>

<P>
<I>How can one define parts as part "A", part "B" ...and arrange them at the end of the
file? An option to repeat a ``solo'' section a number of times would be nice as well.</I>

<P>
Using <I><B>MMA</B></I> variables and some simple looping, one might try something like:

<P>

	<TABLE CELLSPACING=0 CELLPADDING=5" BGCOLOR="OldLace" BORDER=3><TR> <TD>
<BLOCKQUOTE><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></BLOCKQUOTE>

	</TD></TR></TABLE>  

<P>
Note that the ``Print'' lines are used for debugging purposes. We have mixed
the case of the variable names just to illustrate the fact that ``Solo'' is the
same as ``SOLO'' which is the same as ``solo''.

<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 CELLSPACING=0 CELLPADDING=5" BGCOLOR="OldLace" BORDER=3><TR> <TD>
<BLOCKQUOTE><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></BLOCKQUOTE>

	</TD></TR></TABLE> 

<P>
The choice is up to you.

<P>

<H1><A NAME="SECTION002220000000000000000">
Where's the GUI?</A>
</H1>

<P>
<I>I really think that <I><B>MMA</B></I> is a cool program. But, it needs a <I>GUI</I>. 
Are you planning on writing one? Will you help me if I start to write one?</I>

<P>
Well, we appreciate the fact that you like <I><B>MMA</B></I>. We like it too. 

<P>
We've actually started to write a number of <I>GUI</I>s for <I><B>MMA</B></I>. But, nothing
seemed to be much more useful than the existing text interface. So, we figured
that it just wasn't worth the bother.

<P>
Now, we are not against graphical programming interfaces. We just don't see it
in this case.

<P>
But, we may well be wrong. If you think it'd be better with a <I>GUI</I> ...well, 
this is open source and
you are more than welcome to write one. If you do, we'd suggest that you make
your program a front-end which lets a user compile standard <I><B>MMA</B></I> files. If you
find that more error reporting, etc. is required to interact properly with
your code, let us know and we'll probably be quite willing to make those kind of
changes.

<P>

<H1><A NAME="SECTION002230000000000000000">
Where's the manual index?</A>
</H1>

<P>
We agree that this manual needs an index. We just don't have the time to
go though and do all the necessary work. Is there a volunteer?

<P>

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html623"
  HREF="node23.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="file:/usr/lib/latex2html/icons/next.png"></A> 
<A NAME="tex2html621"
  HREF="mma.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="file:/usr/lib/latex2html/icons/up.png"></A> 
<A NAME="tex2html615"
  HREF="node21.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="file:/usr/lib/latex2html/icons/prev.png"></A>   
<BR>
<B> Next:</B> <A NAME="tex2html624"
  HREF="node23.html">Symbols and Constants</A>
<B> Up:</B> <A NAME="tex2html622"
  HREF="mma.html">Reference Manaul</A>
<B> Previous:</B> <A NAME="tex2html616"
  HREF="node21.html">Creating Effects</A>
<!--End of Navigation Panel-->
<ADDRESS>
Bob
2004-12-02
</ADDRESS>
</BODY>
</HTML>