Support notes with arbitrary pitches outside the chromatic scale #425
Replies: 2 comments
-
Opening this issue here instead of alda-core because the first step we'll need to take is to implement support for playing arbitrary pitches outside of standard MIDI tuning. @crisptrutski started work on this in #84 It's unfortunately pretty challenging to play arbitrary notes on the JVM MIDI Synthesizer. I think it would be worth digging/experimenting a little more to see if there is a robust way to do it. As a last resort, we could punt on this and make it only a feature of non-MIDI (e.g. waveform synth) instruments, once those are implemented. |
Beta Was this translation helpful? Give feedback.
-
Capturing what I think I know about microtonal music on the JVM:
|
Beta Was this translation helpful? Give feedback.
-
Moved from #45 / #87.
Ideas/notes from that issue:
The idea is that we could build support for quarter tones / microtonal music on top of this.
Some great ideas were proposed in this Reddit thread.
Since the above Reddit thread and Support quarter tones / microtonal music #45 / Notes with arbitrary pitches #87, we have added inline Clojure code to Alda.
I think we should leverage this as a way to let the user specify a note with a precise pitch, either in Hz, or (as proposed by @elyisgreat) as a fraction of a MIDI note, e.g. MIDI note 60.5.
e.g.:
This is sort of a low-level way of doing it, but I think that's what we want in this case. Plugins could provide syntactic sugar on top of that, and a way to build microtonal systems that are convenient to use.
Perhaps we could support .scl format?
An open question I have for supporting microtonal music in general is how we will express each note, for scales with more than 7 notes (
a
-g
). It would be ideal if we could continue to express a note as a single character. Currently the Alda parser reserves the lettersa
-g
for notes, and the letterr
for rests.Some ideas:
a
-q
(sincer
is off limits, and skipping overr
might be confusing)tuning
attribute which adjusts the tuning of the notesa
throughg
.Food for thought: tonality diamonds.
Beta Was this translation helpful? Give feedback.
All reactions