I'm working on some pitch-matching magic and I'd like to check whether my sample frequency is, say an eighth tone of a target frequency.
My target tones are arriving from a midi file via seq, through a midiparse, stripnote and mtof.
Should I simply run a function on my mtof'd frequencies to determine what my range for a quarter note in each direction should be, perhaps add a pitchbend into the chain that the midi level and then sample that or leverage some other method that is lurking in the toolkit that I have yet to bump into?
I'm looking at using splits to determine whether my sample frequency lies between an eighth below and an eighth above the target frequency but I obviously need to accurately synthesise these frequency values in order to make this work.
Any pointers would be very much appreciated.