Home
last modified time | relevance | path

Searched refs:NUM_SINE_SAMPLES (Results 1 – 4 of 4) sorted by relevance

/dports/audio/din/din-52/src/
H A Dsine_mixer.cc53 NUM_SINE_SAMPLES = num_points + 1; in load_params()
77 float df = TWO_PI / (NUM_SINE_SAMPLES - 1); in prep_harmonics()
81 harmonic.resize (NUM_SINE_SAMPLES); in prep_harmonics()
84 for (int p = 0; p < NUM_SINE_SAMPLES; ++p) { in prep_harmonics()
92 norm.resize (NUM_SINE_SAMPLES); in prep_harmonics()
97 for (int p = 0; p < NUM_SINE_SAMPLES; ++p) { point<float>& pi = norm[p]; pi.x = pi.y = 0;} in mix()
103 for (int p = 0; p < NUM_SINE_SAMPLES; ++p) { in mix()
116 int n = NUM_SINE_SAMPLES; in normalise()
147 float dx = 1.0f / (NUM_SINE_SAMPLES - 1); in render()
257 NUM_SINE_SAMPLES = s + 1; in set_samples()
[all …]
H A Dsine_mixer.h36 static int NUM_SINE_SAMPLES; member
H A Dcommand.cc406 ss << sine_mixer::NUM_SINE_SAMPLES << spc; in operator ()()
H A Dmain.cc305 int sine_mixer::NUM_SINE_SAMPLES = 100; member in sine_mixer