Browse Source

use AUDIO_SAMPLE_RATE_EXACT

dds
Frank 8 years ago
parent
commit
9ba73f617e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      effect_flange.cpp

+ 2
- 2
effect_flange.cpp View File

// initial index // initial index
l_delay_rate_index = 0; l_delay_rate_index = 0;
l_circ_idx = 0; l_circ_idx = 0;
delay_rate_incr = delay_rate/44100.*2147483648.;
delay_rate_incr = delay_rate / (2147483648.0 * AUDIO_SAMPLE_RATE_EXACT);
//Serial.println(delay_rate_incr,HEX); //Serial.println(delay_rate_incr,HEX);


delay_offset_idx = delay_offset; delay_offset_idx = delay_offset;
delay_depth = d_depth; delay_depth = d_depth;


delay_rate_incr = delay_rate/44100.*2147483648.;
delay_rate_incr = delay_rate / (2147483648.0 * AUDIO_SAMPLE_RATE_EXACT);
delay_offset_idx = delay_offset; delay_offset_idx = delay_offset;
// Allow the passthru code to go through // Allow the passthru code to go through

Loading…
Cancel
Save