This isn't a fancy keyboard layout over the standard equal temperament notes / frequencies. If I understand it correctly, this is a generator of just intonation frequencies. This will not sound "in tune" of played next to a regular synth I think.
This isn't a fancy keyboard layout over the standard equal temperament notes / frequencies. If I understand it correctly, this is a generator of just intonation frequencies. This will not sound "in tune" of played next to a regular synth I think.
f' = f * 2 ^ (i / 12)
where
f' = frequency to be solved,
f = reference frequency
i = steps/interval (semitone distance from reference)This works with micro-semitones, and/or negative values. So for example, if we want to know what 1.5 steps above 432 Hz is we would plug in the variables:
f' = 432 Hz * 2 ^ (1.5 / 12) ~= 471.0993 Hz
In the case where you know frequencies, and want to get the semitone steps, you're taking the base 2 log. So, i = log2(f' / f) * 12
Now you'll have the note value of the exact frequency, and you can use the decimal part to set your pre-bend.With the two directions' functions defined it's not so hard to go between frequencies and "notes". And no, you won't be in tune with most gear unless you're using 12TET A5=440Hz
However, it would be hard for me to implement this feature, since I have no midi devices, no midi experience, and my browser (Firefox) also doesn't support WebMIDI.
I'm thinking about implementing record-and-replay, since the playback and storage-format are already done, but midi will likely be deprioritized unless there is significant interest.