|
libpsynth 0.2.1
|
#include <multi_point_envelope.hpp>
Public Types | |
| typedef envelope_point< Sample > | point |
Public Member Functions | |
| envelope_values () | |
| void | set_asr (point a, point s, point r) |
| void | set_adsr (point a, point d, point s, point r) |
| void | set_factor (float factor) |
| float | factor () const |
| void | set_sustain (std::size_t sustain) |
| void | set (const std::vector< point > &p, std::size_t sustain) |
| point & | get (std::size_t index) |
| const point & | get (std::size_t index) const |
| point & | operator[] (int index) |
| const point & | operator[] (int index) const |
| std::size_t | size () const |
| void | resize (std::size_t size) |
Friends | |
| class | multi_point_envelope |
However for convenience this should be better done when there is better arithmetic support for Frames.
| typedef envelope_point<Sample> psynth::synth::envelope_values< Sample >::point |
| psynth::synth::envelope_values< Sample >::envelope_values | ( | ) | [inline] |
| float psynth::synth::envelope_values< Sample >::factor | ( | ) | const [inline] |
| const point& psynth::synth::envelope_values< Sample >::get | ( | std::size_t | index | ) | const [inline] |
| point& psynth::synth::envelope_values< Sample >::get | ( | std::size_t | index | ) | [inline] |
| point& psynth::synth::envelope_values< Sample >::operator[] | ( | int | index | ) | [inline] |
| const point& psynth::synth::envelope_values< Sample >::operator[] | ( | int | index | ) | const [inline] |
| void psynth::synth::envelope_values< Sample >::resize | ( | std::size_t | size | ) | [inline] |
| void psynth::synth::envelope_values< Sample >::set | ( | const std::vector< point > & | p, |
| std::size_t | sustain | ||
| ) | [inline] |
| void psynth::synth::envelope_values< Sample >::set_adsr | ( | point | a, |
| point | d, | ||
| point | s, | ||
| point | r | ||
| ) |
| void psynth::synth::envelope_values< Sample >::set_asr | ( | point | a, |
| point | s, | ||
| point | r | ||
| ) |
| void psynth::synth::envelope_values< Sample >::set_factor | ( | float | factor | ) | [inline] |
| void psynth::synth::envelope_values< Sample >::set_sustain | ( | std::size_t | sustain | ) | [inline] |
| std::size_t psynth::synth::envelope_values< Sample >::size | ( | ) | const [inline] |
friend class multi_point_envelope [friend] |
1.7.4