Jason (jcreed) wrote,

Machine Learning:
Went through and wrote 2.5 pages of surprisingly reasonable prose for the writeup. Panick subsiding. Not feeling quite so flu-ish, which seemed to be in a mutual causal relationship with stress about this project.

Worked out a little mnemonic system by which I can remember finger positions for all the diatonic scales over the first four frets. I noticed there are only six subsets of the set {open, 1, 2, 3, 4} that ever actually occur over any of the scales, and I gave them semi-arbitrary names
C is {open, 1, 3}
P is {1, 2, 4}
D is {open, 2, 3}
Q is {1, 3, 4}
E is {open, 2, 4}
F is {1, 3}
So the C major scale (or, you know, E phhrygian or whatever) is "CDDECC", in the sense that you play a "C" pattern on the low E string, a "D" pattern on the A, another "D" pattern on the D string, and so on.

D major is "DEEEDD", E major is "EEPPEE". All of these with the qualification that you have to omit the 4th fret on the G string because it would just get you the same note as the open B anyway.

All of them can be generated as follows: start with C major as CDDECC. At each stage, to generate the scale a half step up from the last one, for each string do one of the following substitutions:
C -> P
P -> D
D -> Q
Q -> E
E -> C
F -> E
Here's the weird part: if the new scale is a tritone away from some open string (like, I'm trying to construct C#, whose tritone buddy is G) then replace that string's pattern with the "F" pattern. So from C to C# would be
CDDECC to PQQCPP, except I replace the G string with "F" to get PQQFPP.

Alternatively, if you do some look-behind in the table, if on string n the E in the scale a half step below me wasn't an F in the scale a whole step below me, then use pattern F on string n in this scale.

I have been playing with FontForge since lincoln3 brought it up over lunch again today. It's pretty decent! I may be able to wean myself off of illustrator and fontographer in one fell swoop. Having an open-source hackable alternative to fixed (though, in the case of illustrator, very nice) commerical software is attractive.
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded