I'm not really trying to 'quantize' the keyboard. I just want to be able to 'sample' it and be able to output the same voltage. This is the same question as Andrew Scheidler's - what is the multiplier between the input and output? I think the multiplier is 3.752984. If I use this in my programs, I can output the correct voltage. Depending on the order of the math, I can also get it to quantize or not. 64/17 (which is 3.7647) tracks my keyboard much better. This is only a 0.3% error and I know my keyboard is built with 1% resistors so this is certainly within the tolerance band. The application I have mostly running scans four inputs: trigger, gate, CV, and delay control. Whenever I see a 0 to 5V or 5V to 0 transition on the gate or trigger, I timestamp the event, add the delay value to it, and put it into a buffer. If the trigger transition was 5 to 0, then I also sample the CV and put it into the buffer as well. When the timestamps match, I will output the appropriate trigger, gate, or CV on the outputs. I have been running delays up to a couple of seconds as fast as I can play the keyboard. I'm driving some VCOs and ADSRs with my keyboard and other VCOs and ADSRs with the PSIM. This is why I need the output voltage to be the same as the input voltage. In this application, the order of the math does not quantize the output but keeps the VCOs in tune with each other. I eventually want to turn this into a real-time arpeggiator. Anyway, I got the inputs and outputs to match using this multiplier. Dave --- In SynthModules@yahoogroups.com, "grantrichter2001" <grichter@a...> wrote: > That is a completely unanticipated operating mode. It never > occured to any of the review team that a 1V/Oct. keyboard would > be connected to the voltage inputs. > > My conceptual problem is that there are not 10 octaves on a > keyboard, so all the quantizers I design remap the 10 volt > uncalibrated input to some number of output octaves. In the case > of the Mini-Wave and Waveform City, 10 volts is remaped to 5 > octaves. In the case of the PSIM it is 64 steps for chromatic or 32 > steps for diatonic. > > But none of them care what the absolute input voltage is. The > assumption is that it is a random source with a 10 volt range that > you wish to constrain to a scale.
Message
Re: semi-tone math
2004-05-19 by djbrow54
Attachments
- No local attachments were found for this message.