SeanArchibald / scale-workshop

Design microtonal scales and play them in your web browser. Export your scales for use with VST instruments. Convert Scala files to various tuning formats.
https://sevish.com/scaleworkshop/
145 stars 23 forks source link

Support Reaper's reascale format #137

Open higaru2 opened 2 years ago

higaru2 commented 2 years ago

thanks for this mindblowing workshop:) found it few days ago and its a lifesaver!!! if there is any chance for a request... please support Reaper's reascale format at Export! https://reaperblog.net/2012/03/how-to-use-reascales/

thanks big time!!!!

vsicurella commented 2 years ago

Here's what sample.reascale says (which comes with Reaper)

.reascale files can be loaded into the REAPER MIDI editor, via the Scale dropdown list.

 Types (the first number):
 -2: end of submenu
 -1: separator
 0: scale
 1: chord
 2: submenu in scale section
 3: submenu in chord section

 Lines starting with '#' are ignored.

 To create a scale definition, place each interval number
 at the correct number of semitones from the left (root).

 For snapping to scale, all that matters is which values are not zero.
 The actual interval numbers are only used when transposing, and can be repeated.
 If needed (for exotic scales), use A=10, B=11, C=12, etc.

 examples:

 0 "Major"           102034050607
 1 "Major triad"     100030050000
 0 "Blues"           100304450070
 1 "Dim 7th chord"   100300500700

I really love this idea, but after briefly messing around with it I'm afraid it seems to be locked to 12 notes per period. For example I tried Superpyth[7] in 22edo which would look like this:

0 "Superpyth[7] 22edo" 1000200034000500060007

but it cut it off between the 40005 part and just repeated the pattern from the beginning :(

Maybe we can write to the devs and request support for arbitrary scale periods?