summaryrefslogtreecommitdiff
path: root/src/loris/SpectralPeaks.h
diff options
context:
space:
mode:
authorJohn Glover <j@johnglover.net>2012-09-12 20:18:35 +0200
committerJohn Glover <j@johnglover.net>2012-09-12 20:18:35 +0200
commit8467ad77e981f628911ae31847a23e905a2d96c6 (patch)
tree58bb6ceed5db4d665c83c872bee18857fd143df1 /src/loris/SpectralPeaks.h
parent35f74ab36af2487423b2ef7b7d22438efe2e9fbd (diff)
downloadsimpl-8467ad77e981f628911ae31847a23e905a2d96c6.tar.gz
simpl-8467ad77e981f628911ae31847a23e905a2d96c6.tar.bz2
simpl-8467ad77e981f628911ae31847a23e905a2d96c6.zip
[partial_tracking] Bug fix: Add custom implementation of
Loris PartialBuilder::buildPartials that works in real-time.
Diffstat (limited to 'src/loris/SpectralPeaks.h')
-rw-r--r--src/loris/SpectralPeaks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/loris/SpectralPeaks.h b/src/loris/SpectralPeaks.h
index eeb9b7e..bdf3479 100644
--- a/src/loris/SpectralPeaks.h
+++ b/src/loris/SpectralPeaks.h
@@ -69,11 +69,14 @@ public:
double amplitude( void ) const { return m_breakpoint.amplitude(); }
double frequency( void ) const { return m_breakpoint.frequency(); }
+ double phase( void ) const { return m_breakpoint.phase(); }
double bandwidth( void ) const { return m_breakpoint.bandwidth(); }
// --- mutation ---
void setAmplitude( double x ) { m_breakpoint.setAmplitude(x); }
+ void setFrequency( double x ) { m_breakpoint.setFrequency(x); }
+ void setPhase( double x ) { m_breakpoint.setPhase(x); }
void setBandwidth( double x ) { m_breakpoint.setBandwidth(x); }
// this REALLY shouldn't be in here...