|
Produces MIDI single note tuning event data that will retune the equal
temperament equivalent note of the given coordinate to the true pitch of
that coordinate. This can, for example, be placed in a stream directly
before a note-on event for that note to play the tonal space point.
If the resulting note number is outside the range of midi notes
(0-127), it is shifted to the nearest octave that is within the
range.
- Parameters:
origin_note (int) - midi note number to assume the origin of the tonal space is equal
to in pitch (default 60, middle C)
- Returns: tuple
- (note,semitone,cents), where note is the note to be tuned, and
semitone and cents between them define the pitch to tune to. This
can be used as note change data for a midi single note tuning
event.
|