Kara-Moon Forum
December 22, 2024, 11:13:37 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You can go back to the main site here: Kara-Moon site
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: A great use for RIFFs is in setting up melodies ... single and multiple (chords)  (Read 2360 times)
bvdp
Kara-Moon Master
****
Posts: 1458


WWW
« on: November 04, 2023, 05:53:59 PM »

A great use for RIFFs is in setting up melodies ... single and multiple (chords) are
supported and easy to enter. After you do this a few times the process will become pretty
automatic and you'll wonder why you never used this feature before!

First off, you need a MMA TRACK. In this case we're just using the generic SOLO track, but it
would be just as easy to use something named SOLO-SILLY or Solo-Guitar. Like so many things
in MMA, it's your choice. In this little nursery rhyme example we are going to use a flute patch:

Code:
Begin Solo
  Voice Flute
  Octave 5
  Articulate 90
  Rvolume 10
  Rtime 5
  Harmony 3Below
End

For folks new to MMA and BEGIN/END blocks, please note that you could do this with single
lines:

Code:
Solo Voice Flute
Solo Octave 5
... etc

Guess it depends on whether or not you like typing Smiley Again, it's up to you.

One important line to note is the last one in the block setting up a HARMONY. This command
instructs MMA to generate a harmony note based on the underlying chord in your piece. Yes, if you
change the chord the harmony note will also change.

Next, we need actually generate our melody. The extensive MMA manual covers the syntax of
entering notes. Sorry, it's not the simplest. But, it gives an awful lot of options Smiley

The individual notes can be added to a CHORD DATA RIFF like this:

Code:
SOLO RIFF 4.a;8g;4f;g;
1 F
SOLO RIFF 4a;;2
2  F

This is great if you only have one or two measures in your composition in which you
want melody in addition to your chord. But, even in this simple case, it's easier to
use the builtin expansion:

Code:
1  F  { 4.a;8g;4f;g; }
2  F  { 4a;;2; }

Just remember that in the above, MMA is assuming you want the melody added to the named track
SOLO (again, lots of detail in the fine manual).

Finally, you can a complete song in a block:

Code:
Begin SOLO Riff
    4.a;8g;4f;g;
    4a;;2;
    4g;;2;
    4a;c+;2;
    4.a;8g;4f;g;
    4a;;;;
    4g;;a;g;
    2.f;
  End /// end riff
End  /// end SOLO

Please visit our website: www.mellowood.ca/mma for more information. And, remember that your contributions to our "Buy me a Coffee" program are motivating us for more features
and enhancements to MMA. Let's all make more music and make this world a happier place!
Logged

My online life: http://www.mellowood.ca
sciurius
Sr. Member
****
Posts: 455



« Reply #1 on: November 05, 2023, 02:58:58 PM »

Great tutorial! It would be nice to end it with a complete song (you know, a click'n'play thing) ☺
And add this song to the examples collection.
Logged
bvdp
Kara-Moon Master
****
Posts: 1458


WWW
« Reply #2 on: November 05, 2023, 03:51:05 PM »

See ... I knew it. No one reads the real docs anymore Smiley I extracted most of this from the file egs/solo/solo.mma

But don't feel bad! It just took me several minutes to find the file just now, even though I found it right away the other day when I was preparing the post. I think there might be "too much stuff" in mma and its docs Smiley But, the main reference manual is one page short of 300 ... plus the chord reference, plugins, short tutorial and library.
Logged

My online life: http://www.mellowood.ca
folderol
Kara-Moon Master
****
Posts: 5378

Who? Me?


WWW
« Reply #3 on: December 27, 2023, 08:53:09 AM »

Ah yes! The 'nobody reads the manual' syndrome. If I had a penny for every time I answered a question that would have been explained on page {mmfty}{mmmf} ... well I wouldn't be rich, but it would certainly pay for a few beers!
What I did for project I work with was to create a short HTML guide of just under 40 pages, which referenced the main PDF one - also about 300 pages!
Logged

If you have a poem, I have a tune, and we exchange these, we can both have a poem, a tune, and a song.
- Will
bvdp
Kara-Moon Master
****
Posts: 1458


WWW
« Reply #4 on: December 27, 2023, 04:01:50 PM »

I think the good thing about HTML pages is that they can be linked. I should do more like that ... but it does assume access to a browser on a device. And, old guys like me like to wander around with manuals to pass the time is rooms with porcelain fixtures Smiley
 
Logged

My online life: http://www.mellowood.ca
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.054 seconds with 19 queries.