Nsound
0.9.4
|
Go to the source code of this file.
Functions | |
Buffer | drum (float32 duration, float32 attack_time, float32 high_frequency, float32 low_frequency, float32 tension, float32 resident_frequency) |
int | my_main (void) |
int | main (void) |
Variables | |
float64 | sr = 44100.0 |
uint64 | SAMPLE_RATE = static_cast<uint64>(sr) |
uint64 | BITS_PER_SAMPLE = 16 |
Buffer drum | ( | float32 | duration, |
float32 | attack_time, | ||
float32 | high_frequency, | ||
float32 | low_frequency, | ||
float32 | tension, | ||
float32 | resident_frequency | ||
) |
Definition at line 30 of file example3.cc.
References Nsound::Generator::drawLine(), Nsound::Generator::drawParabola(), Nsound::Generator::generate(), and sr.
Referenced by my_main().
int my_main | ( | void | ) |
Definition at line 65 of file example3.cc.
References drum(), Nsound::ReverberationRoom::filter(), Nsound::DrumBD01::play(), Nsound::DrumKickBass::play(), Nsound::Hat::play(), Nsound::Generator::silence(), and sr.
Referenced by main().
int main | ( | void | ) |
float64 sr = 44100.0 |
Definition at line 24 of file example3.cc.
Referenced by Nsound::Buffer::_get_resample(), drum(), Nsound::FFTransform::fft(), FilterLeastSquaresFIR_UnitTest(), main(), my_main(), Nsound::AudioStream::read(), and Nsound::Spectrogram::Spectrogram().
Definition at line 25 of file example3.cc.
Referenced by main().
uint64 BITS_PER_SAMPLE = 16 |
Definition at line 26 of file example3.cc.