DH_HzToVoltage
Converts a frequency in Hz to the SE volt/octave scale with
440 Hz = 5 volts, using the formula:
V = ( log( f ) - log( 440 ) ) / log( 2 ) + 5
 Inputs:
Hz in - the frequency to be converted
Download
Outputs:
Volts out - control voltage corresponding to the input frequency.
Version History:
1.3 - August 29, 2005 - Calculations now done on sample-accurate basis
instead of once per block. Updated to SDK2. Renamed DH_HzToVoltage
1.2.1 - July 10, 2005 - Maintenance release. Recompiled with SDK v1.1
1.2 - March 4, 2003 - Maintenance release. Updated with latest SDK, added
sleep mode, and added default parameter range for Hz ( 0 to 4400 )
1.1 - January 28, 2003 - Fixed bug that sometimes resulted in invalid output
as input approached 0.
DH_HzToVoltage © 2003-2005 David Haupt. All rights reserved.
Use of this module is subject
to the disclaimer and license agreement
that is included as part of the Help file. SE_Enabler
Modules and DH_BasicModulePak are trademarks of David Haupt.
SynthEdit
copyright © 2000-2004 Jeff McClintock. |