Property | Type | Description | |
---|---|---|---|
stable_cycles | int |
Method | Description | |
---|---|---|
DrawOscillator ( ) : |
Draw a visual representation of the tone detector.
|
|
ProcessSample ( |
Called by plug-in host (encoder)
|
|
ToneDetector ( int TargetFrequency ) : System |
Create a new tone detector. Target Frequency to be given in Hz (1kHz == 1000)
|
Method | Description | |
---|---|---|
BalanceOscillator ( ) : void | ||
CountGatedSigns ( ) : void |
Counts the number of non-zero blocks in the filtered oscillator data. Also finds the centres of the first positive and negative peaks
|
|
DetectTone ( ) : void | ||
FilterOscillator ( ) : void | ||
JitterOrFail ( ) : void | ||
PrepareSampleConversion ( int TargetFrequency ) : void |
Find the first sample rate that gives an integral oscillator size
|
|
ResampleForTone ( short Samples ) : float[] |
public ProcessSample ( |
||
Sample | ||
return | void |
public ToneDetector ( int TargetFrequency ) : System | ||
TargetFrequency | int | |
return | System |