RE: Maths vs. Music - Tuning and harmony
September 13, 2016 at 5:09 am
(This post was last modified: September 13, 2016 at 6:22 am by bennyboy.)
Okay, so here's some info on the MIDI tuning system. It turns out it allows for VERY small divisions of cents, so maybe a MIDI VST plugin will do what I need.
https://en.wikipedia.org/wiki/MIDI_Tuning_Standard
which has stuff like:
This is straightforward enough (middle C = 60 by definition, and A is 9 semitones above that), so d = the equal-tempered semitone you want + a pitch fraction. That fraction must be converted to a 14-bit fraction of 100 cents. The math is a little confusing-- I'm not sure how to represent the fraction in 14 bits. And I'm also not sure how to test if the playback is as fine as I want it to be-- unless I am generating all the soundwaves myself.
I guess the first step would be to write a little tuner that would let you set the justification of each of the 12 tones in a textbox. Then you'd take in MIDI notes and forward them to a sound generator for playback with the adjusted pitches, thereby (I hope) allowing you to instantly tune ANY instrument you'd like.
I think this will work, and I think (hopefully) it can be achieved in a couple days.
https://en.wikipedia.org/wiki/MIDI_Tuning_Standard
which has stuff like:
This is straightforward enough (middle C = 60 by definition, and A is 9 semitones above that), so d = the equal-tempered semitone you want + a pitch fraction. That fraction must be converted to a 14-bit fraction of 100 cents. The math is a little confusing-- I'm not sure how to represent the fraction in 14 bits. And I'm also not sure how to test if the playback is as fine as I want it to be-- unless I am generating all the soundwaves myself.
I guess the first step would be to write a little tuner that would let you set the justification of each of the 12 tones in a textbox. Then you'd take in MIDI notes and forward them to a sound generator for playback with the adjusted pitches, thereby (I hope) allowing you to instantly tune ANY instrument you'd like.
I think this will work, and I think (hopefully) it can be achieved in a couple days.