Changeset 31
- Timestamp:
- 05/08/07 23:48:50 (2 years ago)
- Files:
-
- nekostring/trunk/src/neko_ensemble.c (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
r30 r31 21 21 unsigned long sample; 22 22 23 unsigned long sample_rate = synth->sample_rate; 24 23 25 unsigned long buffer_pos = synth->buffer_pos; 24 26 25 27 float delay_1, delay_2, delay_3; 26 float xomega = 6.2831852f * (0.5 / 48000);27 float yomega = 6.2831852f * ( 0.55 / 4800);28 float dr = 0.5* 0.002 * 48000 * 0.5f;28 float xomega = 6.2831852f * (0.5 / (float)sample_rate); 29 float yomega = 6.2831852f * (5.75 / (float)sample_rate); 30 float dr = 0.5* 0.002 * (float)sample_rate * 0.5f; // FIXME - identify this bit 29 31 float x1 = synth->ens_x1; 30 32 float y1 = synth->ens_y1; 31 33 32 34 float depth1=3; 33 float depth2=1. 5;35 float depth2=1.85; 34 36 float mix=0.75; 35 37 float s1, s2; // samples from the buffer nekostring/trunk/src/neko_voice_render.c
r30 r31 406 406 */ 407 407 408 kf = omega1/ 48000;408 kf = omega1/(float)(synth->sample_rate); 409 409 // generate cello 410 410 vco(sample_count, voice, &voice->osc_cello,