|
OpenWareLaboratory
|
Public Member Functions | |
| float | getFrequency (float sample) |
| void | getFrequency (FloatArray samples) |
| void | getFrequency (FloatArray samples, FloatArray output) |
| float | getSample (float frequency) |
| void | getSample (FloatArray frequencies) |
| void | getSample (FloatArray frequencies, FloatArray output) |
| float | sampleToVolts (float sample) |
| void | setMidiNote (float note) |
| void | setTune (float octaves) |
| VoltsPerOctave (bool input=true) | |
| VoltsPerOctave (float offset, float multiplier) | |
| float | voltsToSample (float volts) |
Static Public Member Functions | |
| static float | hertzToNote (float freq) |
| static float | hertzToVolts (float hertz) |
| static float | noteToHertz (float note) |
| static float | voltsToHertz (float volts) |
Data Fields | |
| float | multiplier |
| float | offset |
Definition at line 11 of file VoltsPerOctave.h.
| VoltsPerOctave::VoltsPerOctave | ( | bool | input = true | ) |
Definition at line 11 of file VoltsPerOctave.cpp.
References multiplier, and offset.
| VoltsPerOctave::VoltsPerOctave | ( | float | offset, |
| float | multiplier | ||
| ) |
Definition at line 7 of file VoltsPerOctave.cpp.
|
inline |
Definition at line 27 of file VoltsPerOctave.h.
References sampleToVolts(), and voltsToHertz().
Referenced by getFrequency().
| void VoltsPerOctave::getFrequency | ( | FloatArray | samples | ) |
Definition at line 55 of file VoltsPerOctave.cpp.
References getFrequency().
| void VoltsPerOctave::getFrequency | ( | FloatArray | samples, |
| FloatArray | output | ||
| ) |
Definition at line 37 of file VoltsPerOctave.cpp.
References ASSERT, getFrequency(), and SimpleArray< T >::getSize().
|
inline |
Definition at line 30 of file VoltsPerOctave.h.
References hertzToVolts(), and voltsToSample().
Referenced by getSample().
| void VoltsPerOctave::getSample | ( | FloatArray | frequencies | ) |
Definition at line 76 of file VoltsPerOctave.cpp.
References getSample().
| void VoltsPerOctave::getSample | ( | FloatArray | frequencies, |
| FloatArray | output | ||
| ) |
Definition at line 59 of file VoltsPerOctave.cpp.
References ASSERT, getSample(), and SimpleArray< T >::getSize().
|
inlinestatic |
Definition at line 39 of file VoltsPerOctave.h.
|
inlinestatic |
Definition at line 48 of file VoltsPerOctave.h.
Referenced by getSample().
|
inlinestatic |
Definition at line 42 of file VoltsPerOctave.h.
|
inline |
Definition at line 33 of file VoltsPerOctave.h.
References multiplier, and offset.
Referenced by getFrequency().
|
inline |
Definition at line 24 of file VoltsPerOctave.h.
|
inline |
Definition at line 21 of file VoltsPerOctave.h.
|
inlinestatic |
Definition at line 36 of file VoltsPerOctave.h.
Referenced by getFrequency().
|
inline |
Definition at line 45 of file VoltsPerOctave.h.
References multiplier, and offset.
Referenced by getSample().
| float VoltsPerOctave::multiplier |
Definition at line 16 of file VoltsPerOctave.h.
Referenced by sampleToVolts(), VoltsPerOctave(), and voltsToSample().
| float VoltsPerOctave::offset |
Definition at line 15 of file VoltsPerOctave.h.
Referenced by sampleToVolts(), VoltsPerOctave(), and voltsToSample().