From 8467ad77e981f628911ae31847a23e905a2d96c6 Mon Sep 17 00:00:00 2001 From: John Glover Date: Wed, 12 Sep 2012 20:18:35 +0200 Subject: [partial_tracking] Bug fix: Add custom implementation of Loris PartialBuilder::buildPartials that works in real-time. --- src/loris/SpectralPeaks.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/loris/SpectralPeaks.h') 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... -- cgit v1.2.3