Changeset 32
- Timestamp:
- 05/09/07 22:07:01 (2 years ago)
- Files:
-
- nekostring/trunk/src/neko_ensemble.c (modified) (2 diffs)
- nekostring/trunk/src/neko_synth.h (modified) (1 diff)
- nekostring/trunk/src/neko_voice_render.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nekostring/trunk/src/neko_ensemble.c
r31 r32 8 8 * please see the README 9 9 * 10 * The ensemble effect started life as Giant Flange from Steve Harris's plugins. 10 11 */ 11 12 … … 44 45 for (sample = 0; sample < sample_count; sample++) 45 46 { 46 // Write input into delay line void47 // Write input into delay line 47 48 // we'll just use left as the input 48 49 nekostring/trunk/src/neko_synth.h
r29 r32 31 31 #define NEKO_GLIDE_MODE_LEFTOVER 3 32 32 #define NEKO_GLIDE_MODE_OFF 4 33 34 #define WAVE_POINTS 1024 /* must be a power of two */ 33 35 34 36 /* nekostring/trunk/src/neko_voice_render.c
r31 r32 59 59 /* oscillator waveforms */ 60 60 for (i = 0; i <= WAVE_POINTS; ++i) { 61 sine_wave[i + 4] = sinf(M_2PI_F * (float)i / (float)WAVE_POINTS) * 0.5f;61 sine_wave[i] = sinf(M_2PI_F * (float)i / (float)WAVE_POINTS) * 0.5f; 62 62 } 63 63 sine_wave[-1 + 4] = sine_wave[WAVE_POINTS - 1 + 4]; /* guard points both ends */