#include <node_noise.hpp>
List of all members.
Public Types |
| enum | in_audio_socket_id { N_IN_A_SOCKETS
} |
| enum | in_control_socket_id { IN_C_AMPLITUDE,
IN_C_TRIGGER,
N_IN_C_SOCKETS
} |
| enum | type { NOISE_WHITE,
NOISE_PINK,
N_TYPES
} |
| enum | param_id { PARAM_TYPE = node::N_COMMON_PARAMS,
PARAM_AMPLITUDE,
N_PARAM
} |
Public Member Functions |
| | node_noise (const audio_info &prop, int obj_type, const std::string &name, int n_audio_out, int n_control_out) |
| | ~node_noise () |
Static Public Attributes |
| static constexpr float | DEFAULT_AMPL = 0.3f |
Protected Member Functions |
| sample | update_pink () |
| sample | update_white () |
| void | update_noise (sample *buf) |
Member Enumeration Documentation
- Enumerator:
| IN_C_AMPLITUDE |
|
| IN_C_TRIGGER |
|
| N_IN_C_SOCKETS |
|
- Enumerator:
| PARAM_TYPE |
|
| PARAM_AMPLITUDE |
|
| N_PARAM |
|
- Enumerator:
| NOISE_WHITE |
|
| NOISE_PINK |
|
| N_TYPES |
|
Constructor & Destructor Documentation
| psynth::graph::node_noise::node_noise |
( |
const audio_info & |
prop, |
|
|
int |
obj_type, |
|
|
const std::string & |
name, |
|
|
int |
n_audio_out, |
|
|
int |
n_control_out |
|
) |
| |
| psynth::graph::node_noise::~node_noise |
( |
| ) |
|
Member Function Documentation
| void psynth::graph::node_noise::update_noise |
( |
sample * |
buf | ) |
[protected] |
| sample psynth::graph::node_noise::update_pink |
( |
| ) |
[protected] |
| sample psynth::graph::node_noise::update_white |
( |
| ) |
[protected] |
Member Data Documentation
The documentation for this class was generated from the following files: