aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jsyn/unitgen/PitchDetector.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/jsyn/unitgen/PitchDetector.java')
-rw-r--r--src/com/jsyn/unitgen/PitchDetector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/jsyn/unitgen/PitchDetector.java b/src/com/jsyn/unitgen/PitchDetector.java
index 59bba69..da6a0e3 100644
--- a/src/com/jsyn/unitgen/PitchDetector.java
+++ b/src/com/jsyn/unitgen/PitchDetector.java
@@ -42,7 +42,7 @@ public class PitchDetector extends UnitGenerator {
protected SignalCorrelator signalCorrelator;
private double lastFrequency = 440.0;
- private double lastPeriod = 44100.0 / lastFrequency; // result of analysis
+ private double lastPeriod = 44100.0 / lastFrequency; // result of analysis TODO update for 48000
private double lastConfidence = 0.0; // Measure of confidence in the result.
private static final int LOWEST_FREQUENCY = 40;