#include <Breakpoint.h>
Public Member Functions | |
| Breakpoint (void) | |
| radians | |
| Breakpoint (double f, double a, double b, double p=0.) | |
| double | amplitude (void) const |
| Return the amplitude of this Breakpoint. | |
| double | bandwidth (void) const |
| Return the bandwidth (noisiness) coefficient of this Breakpoint. | |
| double | frequency (void) const |
| Return the frequency of this Breakpoint. | |
| double | phase (void) const |
| Return the phase of this Breakpoint. | |
| void | setAmplitude (double x) |
| void | setBandwidth (double x) |
| void | setFrequency (double x) |
| void | setPhase (double x) |
| void | addNoiseEnergy (double enoise) |
Loris Partials represent reassigned bandwidth-enhanced model components. A Partial consists of a chain of Breakpoints describing the time-varying frequency, amplitude, and bandwidth (noisiness) of the component. For more information about Reassigned Bandwidth-Enhanced Analysis and the Reassigned Bandwidth-Enhanced Additive Sound Model, refer to the Loris website: www.cerlsoundgroup.org/Loris/.
Breakpoint is a leaf class, do not subclass.
| Loris::Breakpoint::Breakpoint | ( | void | ) |
radians
Construct a new Breakpoint with all parameters initialized to 0 (needed for STL containability).
| Loris::Breakpoint::Breakpoint | ( | double | f, | |
| double | a, | |||
| double | b, | |||
| double | p = 0. | |||
| ) |
Construct a new Breakpoint with the specified parameters.
| f | is the intial frequency. | |
| a | is the initial amplitude. | |
| b | is the initial bandwidth. | |
| p | is the initial phase, if specified (if unspecified, 0 is assumed). |
| void Loris::Breakpoint::addNoiseEnergy | ( | double | enoise | ) |
Add noise (bandwidth) energy to this Breakpoint by computing new amplitude and bandwidth values. enoise may be negative, but noise energy cannot be removed (negative energy added) in excess of the current noise energy.
| enoise | is the amount of noise energy to add to this Breakpoint. |
| void Loris::Breakpoint::setAmplitude | ( | double | x | ) | [inline] |
| void Loris::Breakpoint::setBandwidth | ( | double | x | ) | [inline] |
| void Loris::Breakpoint::setFrequency | ( | double | x | ) | [inline] |
| void Loris::Breakpoint::setPhase | ( | double | x | ) | [inline] |
1.5.7