File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
shared-bindings/audiofilters
shared-module/audiofilters Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ MP_PROPERTY_GETSET(audiofilters_phaser_frequency_obj,
145
145
146
146
147
147
//| feedback: synthio.BlockInput
148
- //| """The amount of which the incoming signal is fed back into the phasing filters from 0 to 1 where 0 is no feedback and 1 is full feedback ."""
148
+ //| """The amount of which the incoming signal is fed back into the phasing filters from 0.1 to 0.9 ."""
149
149
static mp_obj_t audiofilters_phaser_obj_get_feedback (mp_obj_t self_in ) {
150
150
return common_hal_audiofilters_phaser_get_feedback (self_in );
151
151
}
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ audioio_get_buffer_result_t audiofilters_phaser_get_buffer(audiofilters_phaser_o
221
221
// get the effect values we need from the BlockInput. These may change at run time so you need to do bounds checking if required
222
222
shared_bindings_synthio_lfo_tick (self -> base .sample_rate , n / self -> base .channel_count );
223
223
mp_float_t frequency = synthio_block_slot_get_limited (& self -> frequency , MICROPY_FLOAT_CONST (0.0 ), self -> nyquist );
224
- mp_float_t feedback = synthio_block_slot_get_limited (& self -> feedback , MICROPY_FLOAT_CONST (0.0 ), MICROPY_FLOAT_CONST (1.0 ));
224
+ mp_float_t feedback = synthio_block_slot_get_limited (& self -> feedback , MICROPY_FLOAT_CONST (0.1 ), MICROPY_FLOAT_CONST (0.9 ));
225
225
mp_float_t mix = synthio_block_slot_get_limited (& self -> mix , MICROPY_FLOAT_CONST (0.0 ), MICROPY_FLOAT_CONST (1.0 ));
226
226
227
227
if (mix <= MICROPY_FLOAT_CONST (0.01 )) { // if mix is zero pure sample only
You can’t perform that action at this time.
0 commit comments