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 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696
|
<!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>Fine Tuning (Translations)</TITLE>
<META NAME="description" CONTENT="Fine Tuning (Translations)">
<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="node29.html">
<LINK REL="previous" HREF="node27.html">
<LINK REL="up" HREF="mma.html">
<LINK REL="next" HREF="node29.html">
</HEAD>
<BODY bgcolor="#ffffff">
<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html919"
HREF="node29.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html917"
HREF="mma.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html911"
HREF="node27.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html920"
HREF="node29.html">Other Commands and Directives</A>
<B> Up:</B> <A NAME="tex2html918"
HREF="mma.html">Reference Manual</A>
<B> Previous:</B> <A NAME="tex2html912"
HREF="node27.html">After</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="tex2html921"
HREF="node28.html#SECTION002810000000000000000">VoiceTr</A>
<LI><A NAME="tex2html922"
HREF="node28.html#SECTION002820000000000000000">ToneTr</A>
<LI><A NAME="tex2html923"
HREF="node28.html#SECTION002830000000000000000">VoiceVolTr</A>
<LI><A NAME="tex2html924"
HREF="node28.html#SECTION002840000000000000000">DrumVolTr</A>
<LI><A NAME="tex2html925"
HREF="node28.html#SECTION002850000000000000000">Tweaks</A>
</UL>
<!--End of Table of Child-Links-->
<HR>
<H1><A NAME="SECTION002800000000000000000"></A>
<A NAME="finetuning"></A>
<BR>
Fine Tuning (Translations)
</H1>
<P>
A program such as
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> which is intended to be run of various
computers and synthesizers (both hardware keyboards and software
versions) suffers from a minor deficiency of the MIDI standards: mainly
that the standard says nothing about what a certain instrument should
sound like, or the relative volumes between instruments. The GM
extension helps a bit, but only a bit, by saying that certain
instruments should be assigned certain program change values. This
means that all GM synths will play a "Piano" if instrument 000 is
selected.
<P>
But, if one plays a GM file on a Casio keyboard, then on PC
soft-synth, and then on a Yahama keyboard you will get three quite
different sounds. The files supplied in this distribution have been
created to sound good on the author's setup: A Casio WK-3000 keyboard.
<P>
But, what if your hardware is different? Well, there are solutions!
Later in this chapter commands are shown which will change the
preselected voice and tone commands and the default volumes. At this
time there are no example files supplied with
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> , but your
contributions are welcome.
<P>
The general suggestion is that:
<P>
<OL>
<LI>You create a file with the various translations you need. For
example, the file might be called <TT><SPAN CLASS="textbf">yamaha.mma</SPAN></TT> and contain
lines like:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>VoiceTR Piano1=Piano2
<BR>
ToneTr SnareDrum2=SnareDrum1
<BR>
VoiceVolTr Piano2=120 BottleBlow=80
<BR>
DrumVolTr RideBell=90 Tambourine=120 </B>
</td></tr>
</Table>
<P>
Place this file in the directory <TT><SPAN CLASS="textbf">/usr/local/share/mma/includes</SPAN></TT>.
<P>
</LI>
<LI>Include this file in your ~<TT><SPAN CLASS="textbf">/.mmarc</SPAN></TT> file. Following the
above example, you would have a line:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Include yamaha </B>
</td></tr>
</Table>
<P>
</LI>
</OL>
<P>
That's it! Now, whenever you compile a
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> file the translations
will be done.
<P>
All of the following translation settings follow a similar logic as to ``when''
they take effect, and that is at the time the V<SMALL>OICE</SMALL>,
V<SMALL>OLUME</SMALL>, etc. command is issued. This may confuse the unwary if
G<SMALL>ROOVES</SMALL> are being used. But, the following sequence:
<P>
<TABLE WIDTH="60%">
<TR><TD>
<OL>
<LI>You set a voice with the V<SMALL>OICE</SMALL> command,
</LI>
<LI>You save that voice into a G<SMALL>ROOVE</SMALL> with D<SMALL>EF</SMALL>G<SMALL>ROOVE</SMALL>,
</LI>
<LI>You create a voice translation with V<SMALL>OICE</SMALL>TR,
</LI>
<LI>You activate the previously defined G<SMALL>ROOVE</SMALL>.
</LI>
</OL></TD></TR>
</TABLE>
<TABLE WIDTH="30%">
<TR><TD><BIG CLASS="XHUGE">Wrong!</BIG></TD></TR>
</TABLE>
<P>
<SPAN CLASS="textit">does not have the desired effect</SPAN>. In the above sequence the
V<SMALL>OICE</SMALL>TR will have <SPAN CLASS="textit">no</SPAN> effect. For the desired
translations to work the V<SMALL>OICE</SMALL> (or whatever) command must come
<SPAN CLASS="textit">after</SPAN> the translation command.
<P>
<H1><A NAME="SECTION002810000000000000000"></A> <A NAME="set-voicetr"></A>
<BR>
VoiceTr
</H1>
<P>
In previous section you saw how to set a voice for a track by using its
standard MIDI name. The V<SMALL>OICE</SMALL>T<SMALL>R</SMALL> command sets up a translation
table that can be used in two different situations:
<P>
<UL>
<LI>It permits creation of your own names for voices (perhaps for a
foreign language),
<P>
</LI>
<LI>It lets you override or change voices used in standard library
files.
<P>
</LI>
</UL>
<P>
V<SMALL>OICE</SMALL>T<SMALL>R</SMALL> works by setting up a simple translation table of
``name'' and ``alias'' pairs. Whenever
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> encounters a voice name
in a track command it first attempts to translate this name though the
alias table.
<P>
To set a translation (or series of translations):
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>VoiceTr Piano1=Clavinet Hmmm=18 </B>
</td></tr>
</Table>
<P>
Note that you additional V<SMALL>OICE</SMALL>T<SMALL>R</SMALL> commands will add entries to
the existing table. To clear the table use the command with no
arguments:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>VoiceTr // Empty table </B>
</td></tr>
</Table>
<P>
Assuming the first command, the following will occur:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord-Main Voice Hmmm </B>
</td></tr>
</Table>
<P>
The V<SMALL>OICE</SMALL> for the <SPAN CLASS="textit">Chord-Main</SPAN> track will be set to ``18''
or ``Organ3''.
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord-2 Voice Piano1 </B>
</td></tr>
</Table>
<P>
The V<SMALL>OICE</SMALL> for the <SPAN CLASS="textit">Chord-2</SPAN> track will be set to
``Clavinet''.
<P>
If your synth does not follow standard GM-MIDI voice naming
conventions you can create a translation table which can be included
in all your
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> song files via an RC file. But, do note that the
resulting files will not play properly on a synth conforming to the
GM-MIDI specification.
<P>
Following is an abbreviated and untested example for using an obsolete and unnamed synth:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>VoiceTr Piano1=3 \
<BR>
Piano2=4 \
<BR>
Piano3=5 \
<BR> ... \
<BR>
Strings=55 \
<BR> ...</B>
</td></tr>
</Table>
<P>
Notes: the translation is only done one time and no verification is
done when the table is created. The table contains one-to-one
substitutions, much like macros.
<P>
For translating drum tone values, see
<A HREF="#set-drumtr">D<SMALL>RUM</SMALL>TR</A>.
<P>
<H1><A NAME="SECTION002820000000000000000"></A> <A NAME="set-drumtr"></A>
<BR>
ToneTr
</H1>
<P>
It is possible to create a translation table which will substitute one
Drum Tone for another. This can be useful in a variety of
situations, but consider:
<P>
<UL>
<LI>Your synth lacks certain drum tones--in this case you may want
to set certain D<SMALL>RUM</SMALL>TR commands in a <SMALL>MMA</SMALL>RC file.
<P>
</LI>
<LI>You are using an existing G<SMALL>ROOVE</SMALL> in a song, but don't
like one or more of the Drum Tones selected. Rather than
editing the library file you can set a translation right in the
song. Note, do this <SPAN CLASS="textit">before any</SPAN> G<SMALL>ROOVE</SMALL> commands.
</LI>
</UL>
<P>
To set a translation (or set of translations) just use a list of
drumtone values or symbolic names with each pair separated by
white space. For example:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>ToneTR SnareDrum2=SnareDrum1 HandClap=44 </B>
</td></tr>
</Table>
<P>
will use a ``SnareDrum1'' instead of a ``SnareDrum2'' and the value
``44'' (actually a ``PedalHiHat'') instead of a ``HandClap''.
<P>
You can turn off all drum tone translations with an empty line:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>ToneTR </B>
</td></tr>
</Table>
<P>
The syntax and usage of D<SMALL>RUM</SMALL>TR is quite similar to
<A HREF="#set-voicetr">V<SMALL>OICE</SMALL>TR</A>.
<P>
<H1><A NAME="SECTION002830000000000000000"></A> <A NAME="set-voicevoltr"></A>
<BR>
VoiceVolTr
</H1>
<P>
If you find that a particular voice, i.e., Piano2, is too loud or soft
you can create an entry in the ``Voice Volume Translation Table''. The
concept is quite simple:
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> checks the table whenever a
track-specific V<SMALL>OLUME</SMALL> command is processed. The table is
created in a similar manner to the V<SMALL>OICE</SMALL>T<SMALL>R</SMALL> command:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>VoiceVolTr Piano2=120 105=75 </B>
</td></tr>
</Table>
<P>
Each voice pair must contain a valid MIDI voice (or numeric value),
an ``='' and a volume adjustment factor. The factor is a percentage
value which is applied to the normal volume. In the above example two
adjustments are created:
<P>
<OL>
<LI>Piano2 will be played at 120% of the normal value,
<P>
</LI>
<LI>Banjo (voice 105) will be played at 75% of the normal value.
</LI>
</OL>
<P>
The adjustments are made when a track V<SMALL>OLUME</SMALL> command is
encountered. For example, if the above translation has be set and
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> encounters the following commands:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Begin Chord
<BR> Voice Piano2
<BR> Volume mp
<BR> Sequence 1 4 90
<BR>
End </B>
</td></tr>
</Table>
<P>
the following adjustments are made:
<P>
<OL>
<LI>A look up is done in the global volume table. The volume ``mf''
is determined to be 85% for the set MIDI velocity,
<P>
</LI>
<LI>the adjustment of 120% is applied to the 85%, changing that to 102%.
<P>
</LI>
<LI>Assuming that no other volume adjustments are being made
(probably there will be a global volume and, perhaps, a
R<SMALL>VOLUME</SMALL>) the MIDI velocity in the sequence will be changed
from 90 to 91. Without the translation the 90 would have been changed to 76.
<P>
</LI>
</OL>
<P>
This is best illustrated by a short example. Assume the following in an input file:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Solo Voice TenorSax
<BR>
Solo Volume f
<BR>
Print Solo Volume set to $_Solo_Volume
<BR>
VoiceVolTr TenorSax=90
<BR>
Solo Volume f
<BR>
Print Solo Volume set to $_Solo_Volume </B>
</td></tr>
</Table>
<P>
which will print out:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Solo Volume set to 130
<BR>
Solo Volume set to 117 </B>
</td></tr>
</Table>
<P>
The second line reflects that 90% of 130 is 117.
<P>
To disable all volume translations:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>VoiceVolTr // Empty table </B>
</td></tr>
</Table>
<P>
<H1><A NAME="SECTION002840000000000000000"></A> <A NAME="set-drumvoltr"></A>
<BR>
DrumVolTr
</H1>
<P>
You can change the volumes of individual drum tones with the
D<SMALL>RUM</SMALL>V<SMALL>OL</SMALL>T<SMALL>R</SMALL> translation. This command works just like the
V<SMALL>OICE</SMALL>V<SMALL>OL</SMALL>T<SMALL>R</SMALL> command described above. It just uses drum tones
instead of instrument voices.
<P>
For example, if you wish to make the drum tones ``SnareDrum1'' and
``HandClap'' a bit louder:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>DrumVolTr SnareDrum1=120 HandClap=110 </B>
</td></tr>
</Table>
<P>
The drum tone names can be symbolic constants, or MIDI values as in
the next example:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>DrumVolTr 44=90 31=55 </B>
</td></tr>
</Table>
<P>
All drum tone translations can be disabled with:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>DrumVolTr // Empty table </B>
</td></tr>
</Table>
<P>
<H1><A NAME="SECTION002850000000000000000"></A> <A NAME="tweaks"></A>
<BR>
Tweaks
</H1>
<P>
Some minor values can be adjusted via the T<SMALL>WEAKS</SMALL> command. Each
item is set as an OPTION=VALUE pair. Currently the following are
valid:
<P>
<DL>
<DT><STRONG>DefaultDrum</STRONG></DT>
<DD>Sets the default (initial) voice to use in
D<SMALL>RUM</SMALL> tracks. You can use a numeric value, a mnemonic name, or
even an extended voice name (see <A HREF="node25.html#extended-patch">here</A>).
Examples:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Tweaks DefaultDrum=22 </B>
</td></tr>
</Table>
or
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Tweaks DefaultDrum=8.9.22 </B>
</td></tr>
</Table>
<P>
and, assuming you have set up a P<SMALL>ATCH </SMALL>S<SMALL>ET</SMALL>
(see <A HREF="node25.html#patch-set">here</A>):
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Tweaks DefaultDrum=MyDrumKit </B>
</td></tr>
</Table>
<P>
</DD>
<DT><STRONG>DefaultVoice</STRONG></DT>
<DD>Sets the default (initial) voice to use in tracks
other than drum. The same extended voicing options as detailed for
D<SMALL>EFAULT</SMALL>D<SMALL>RUM</SMALL> apply. Examples:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Tweaks DefaultVoice=99 </B>
</td></tr>
</Table>
or
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Tweaks DefaultVoice=MyFunkyPiano </B>
</td></tr>
</Table>
<P>
<A NAME="tweak-dim"></A></DD>
<DT><STRONG>Dim</STRONG></DT>
<DD>Set the type of chord produced with the ``dim'' chordtype.
By default a diminished chord is a ``dim7''. However you can toggle
this behaviour with:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Tweaks Dim=3 </B>
</td></tr>
</Table>
or
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Tweaks Dim=7 </B>
</td></tr>
</Table>
<P>
</DD>
</DL>
<P>
You can place several T<SMALL>WEAK</SMALL> commands on a single line; they are
processed in order.
<P>
In most cases the best place to apply these tweaks, if needed, is in
your <TT><SPAN CLASS="textbf">mmarc</SPAN></TT> file.
<P>
<DIV CLASS="navigation"><HR>
<!--Navigation Panel-->
<A NAME="tex2html919"
HREF="node29.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html917"
HREF="mma.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html911"
HREF="node27.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html920"
HREF="node29.html">Other Commands and Directives</A>
<B> Up:</B> <A NAME="tex2html918"
HREF="mma.html">Reference Manual</A>
<B> Previous:</B> <A NAME="tex2html912"
HREF="node27.html">After</A></DIV>
<!--End of Navigation Panel-->
<ADDRESS>
Bob van der Poel
2016-06-11
</ADDRESS>
</BODY>
</HTML>
|