I recently wrote a tutorial about how to change the root note of your microtonal scale, where I used Scala’s Edit Mapping dialog. There is so much more I want to say about keyboard mappings. This time I’m explaining how to map various microtonal tunings on to a standard MIDI keyboard in a sensible way.
Needless to say, this topic is important for musicians who want to use microtonal tunings on their standard MIDI keyboard controller. I’ll be using Scala for this tutorial.
This is the easy bit but still a powerful idea. Scale degrees are numbers that describe the order of notes in a scale. The root note of a scale is always scale degree 0, and the degree numbers increase as you go up the scale. For a 7 note scale, the scale starts on degree 0, then passes through 1-6. When we reach 7, we’re an octave up from where we started. In this case, 7 would be called the octave degree.
12-equal could also be described with scale degrees. Let’s take C to be our root note, so C = 0. The rest is as follows:
Name | C | C# | D | D# | E | F | F# | G | G# | A | A# | B | C’ |
Scale degree | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
When we’re working with large scales, notating by scale degree becomes an efficient way of describing what notes we want to play. We will also use scale degrees to tell Scala how to map notes to a keyboard.
Imagine we have an excellent microtonal 7-note scale, such as 7-EDO, mavila[7], or something else. By default, your synth maps these notes linearly and chromatically across your MIDI keyboard. Press the C key, and at the same time press the key which is 7 steps above it (that’s a G). You will hear an octave! That’s incredibly jarring, because we expect to hear an octave from C to C, not from C to G.
Linear mapping of a 7-note scale on to chromatic keys:
The scale degrees in red will be heard as octaves. Not fifths!
Custom mappings help to make a regular pattern that is much more familiar and easy to navigate:
The diagrams above should make it obvious that linear mapping is a problem. With linear mapping, fingering becomes irregular as you go up and down by aural octaves. For a 7 note scale, we can simply skip out the 5 black keys to get a regular, repeating pattern.
Start off by loading a 7 note scale into Scala. I simply typed ‘equal 7’ to get 7-EDO.
Then go to Edit > Edit Mapping (Alt+P).
The mapping should repeat every 12 notes on our keyboard, so set Size to 12. Remember that’s 7 notes from our scale, plus 5 black notes we’ll skip out, totalling 12.
Set a value for Formal octave degree, which is 7 in this case.
Fill out the remaining fields as shown below:
If you don’t see the fields at the bottom, make sure you enter a value for Size. Scala will then create the empty fields for you automatically, and you can type in the scale degrees that you want for your mapping.
Note that we’re skipping the sharps/blacks, so you can leave those fields blank. Or more recommended is to enter duplicate notes so you can still play the black keys to get a pentatonic subset from the scale.
Once you’re done, click Save As and save the resulting mapping file. Scala mappings are saved in .kbm format. The great thing about this, is that you can mix and match your .kbm mapping files with .scl tuning files that you have collected. So if you have several .scl tuning files with 7 notes, then you can use this same .kbm mapping file on all of them.
While you have a scale and a mapping loaded at the same time, now is a good time to export your tuning for softsynths, or relay it to hardware synths. It feels much easier to play with the new mapping.
Now imagine that we have a tuning much larger than 12 notes, and we want to select just the notes that we want to map on the keyboard. For example 31-EDO which is a meantone temperament (among other things) so it has a nice 12-note meantone scale.
Here is how 31-EDO would be linearly mapped to a keyboard:
Human hands aren’t wide enough to hit that octave so let’s just pick 12 notes for our mapping:
The 12 notes selected above give a chromatic scale that sounds more in-tune than 12 equal, but only in some keys while other keys can sound worse. Take some time to experiment with it and listen.
Go to Edit > Clear Mapping to reset your mapping back to normal, then go to Edit > Edit Mapping to open the keyboard mapping dialog. Fill in the Size (12) and Formal octave degree (31) then enter the scale degree for each note of the mapping.
As before, now is a good time to save your .kbm mapping file, and load it up on a synth of your choice.
Instead of using Scala’s keyboard mapping functions, we could do it with the mode command instead. The mode command lets you choose a subset of notes from your currently loaded scale, and then it deletes the remaining notes.
The end result would be a single .scl file with the extra notes removed, instead of the usual .scl and .kbm pair (containing the full gamut of notes plus tuning information). You might use this method if your synth supports .scl files but not .kbm files.
Imagine that we want to recreate the above quasi-12-equal mode from 31-EDO. Just type these commands into Scala:
equal 31 mode 3 3 2 3 2 3 3 2 3 2 3 2 show
You’ll get the following output from Scala:
0: 1/1 0.000000 unison, perfect prime 1: 116.129 cents 116.129032 2: 232.258 cents 232.258065 3: 309.677 cents 309.677419 4: 425.806 cents 425.806452 5: 503.226 cents 503.225806 6: 619.355 cents 619.354839 7: 735.484 cents 735.483871 8: 812.903 cents 812.903226 9: 929.032 cents 929.032258 10: 1006.452 cents 1006.451613 11: 1122.581 cents 1122.580645 12: 2/1 1200.000000 octave
Note that, when you use the mode command, you enter the difference (in scale degrees) between successive notes of the scale. The table below shows you how the difference between scale degrees relates to the scale degrees themselves.
Scale degrees | 0 | 3 | 6 | 8 | 11 | 13 | 16 | 19 | 21 | 24 | 26 | 29 | 31 | |||||||||||||
Difference | 3 | 3 | 2 | 3 | 2 | 3 | 3 | 2 | 3 | 2 | 3 | 2 |
You should also notice that 3 + 3 + 2 + 3 + 2 + 3 + 3 + 2 + 3 + 2 + 3 + 2 = 31. The sum of these digits must be equal to the octave degree, which is 31 in this case. Otherwise, the mode command will give you an error: Scale and mode size are unequal.
Another fantastic post! Thank you so much. This was another topic I was struggling about when we last spoke. Really appreciate you sharing your knowledge with us.
Hi Paris, I’m grateful for this feedback!
It’s been a while since I wrote any Scala tutorials but I would like to continue writing more in the future. There is a lack of microtonal music tutorials online at the moment. If you have any suggestions you can always let me know.
Cheers,
Sevish
Hey Sevish,
I was wondering how to properly map the the “equal 13 3/1” you mentioned in the lesson on creating your own scales?
In Edit> Edit Mapping I’ve put the size as 13, so that it repeats after the C#, and I’ve put the formal octave as 13, which ended up with the all the notes in between being on the Db black key for some reason. I’ve tried listing the formal octave as 8 ( at 1170 cents, the closest octave in this scale) and that still didn’t seem to work. Any other combinations seem to end up with strange almost arbitrary jumps in octave from one key to the next, and a majority of the scale degrees being stacked on one or two black keys.
I’ve only just dipped my toe into micro tonal stuff, so perhaps for now I will stick to all the strange scales you can make that repeat after the 12th key, haha.
Your blog is an awesome resource though! You’ve opened up quite the (welcome) rabbit hole for me.
It seems to be working fine now, haha. Not sure what happened there.
Hi dude.
I want to make some scala files that I can play sort of simultaneously (more like alternate-ingly) with different instances of Pianoteq. Since I like Pure 6:5 minor thirds, I want to have a Just Intonation scala based on C (in which Am and Em are pure from what I gather) loaded in one instance, and a Just Intonation scala based on F or Bb (so I can have a pure Dminor) in the second instance.
But scala is pretty much gibberish to me. There is a lot of stuff in there I honestly can’t figure out. – Including how it works in terms of MIDI – (I haven’t tried it relative to semitone transposition using Novation Impulse software – its glitched out at the moment), but I was thinking it wasn’t meant to do that – and I’d still like to know how to create individual tuning files generally, just so I have a better grasp of how this works. I was using the Enter Current Scale screen to try and enter the cents values. I attempted to use this cents-based scala file I created and it almost seemed to work – but not quite. I’m missing something definitely. Could you tell me how I can use the program to enter relative Just Intonation scala tunings from different MIDI notes?
Really Amazing !! Can you please share how can we tune a synth with the new tuning and play using a MIDI keyboard.
Hey Arihant, this really depends on which synth you’re using. Not all synths support microtonal tunings, and those that do use different methods. If your synth supports it then the instructions should be given in its instruction manual. Best of luck!
I’m confused about one aspect of the mapping. On one hand one can assign a reference frequency to a reference midi note, on the other hand one can remap scale degrees. So in theory I could remap the reference note to – say – scale degree 5. Should the reference frequency remain tied to the reference midinote (i.e. notes with scale degree 5), or should it be assigned to the notes where scale degree 0 is mapped ? I suspect it’s the former (i.e. it remains tied to the reference note, not to the reference degree), but I’m curious to hear your opinion on it.
Hi Sevish,
Your website is such a precious ressource !
I just dived in microtonal music and your posts are really helpful.
Iam about to map the cet126 scale which is a 15-tet and Iam wondering about the notation system in scala.
I read the “set notation” in the scala help page but it is still not clear enough.
Can you explain the following sentence, especially Blackwood’s for 15-tET, and how can I find it in the scala picklist ?
“Rapoport’s notation system is used which is consistent with Fokker’s for 31-tET and Blackwood’s for 15-tET.”
Cheers
A lot of folk use the Ableton Push devices which give 64 pads and can be configured to chromatic mode. The use of a Push in chromatic mode, together with the TUN format (with variable reference pitch) in Scala…would make for an interesting article introducing a different demographic to microtuning.
Push with apps like Scaler and Cthulhu for chords, together with .tun and VST’s like Diva makes for powerful stuff with easier fingerings.
Thanks, Sevish! This has literally made my day – and a few previous ones too: I was getting depressed due to the prospect of having to remain stuck to 12-ET for an undefinite amount of time. Now not only am I no longer, but I have also realised that I have already been exploring microtones, and will continue to do so for as long as I continue to make music! Once I began to learn about these alternative realities, I have gotten so bored with our collective musical rut.
It is such a drag to have to conform to the stifling standard of 127-max 7 white and 5 black keys with a single temperament; worse even that so many take it for granted, never once questioning how different would things be if we departed from such way of doing things. I once read an article on “how alien music would not be as different as we might think given that the laws of physics are the same all over the Universe, and, thus, they would probably arrive at our current dodecatonal system with similar temperament independently”, but one just needs to take a look away from Western Tradition to see how absurd that conclusion is.
Hello,
I’m trying to load Carlos Gamma into Korg Minilogue XD. What I wanted to achieve is to have C4 sounding on 60 note but Korg Librarian is starting to lay down the scale starting from C-1 so I barely reach A2 at the end of the keyboard. Have any of you tried with Minilogue and succeed?
Hey Macio, I too am trying to get Scala files onto the Korg Minilogue XD! Does anyone have a For Dummies guide on this? It’s such a great synth on paper, if only getting Microtonal scales on it was as easy as I dreamt.
Cheers
Not sure if you ever found a solution, but I thought I’d share that ScaleWorkshop now has a Korg *logue scale file exporter! Just load the scale in SW, make sure you have the Base Frequency & Note set where you want it, and then choose the Korg ‘logue Sound Librarian Scale file export option. You should be able to load that into the Sound Librarian’s File > Load Single Scale option.
Hi Sevish, thank You for Great Work! A question: I want to create a scale of 13 semitones, where the E # coincides with the third black fret. A personalized scale, with personalized equidistance, of 13 semitones constructed as follows: C – C # – D – D # – E – E # – F – F # – G – G # – A – A # – B – C2. How can I do this with Scala software? Thank You
is there a way to do the “real-time” midi retuning scala says it can do on their website via midi? Can I send the scale to my mpkmini for instance to retune the midi notes it outputs? Thanks