Browse Source

Active the effect for knob values larger than 0.5

This is easier to use because you don't have to turn the control knob up
to the top to activate the effect.
master
Andreas Linz 2 years ago
parent
commit
10759ea147
Signed by: alinz GPG Key ID: 9BF39809C9DA580C
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/lib.rs

+ 1
- 1
src/lib.rs View File

@ -67,7 +67,7 @@ impl Plugin for Rutter {
fn set_parameter(&mut self, index: i32, val: f32) {
match index {
0 => {
self.active = val >= 1.0;
self.active = val >= 0.5;
if self.active {
self.loop_buf.copy_from(&self.buf);
}

Loading…
Cancel
Save