Adjustments in vibrato algorithm. Added bite sensor step-by-step pics.

This commit is contained in:
Johan Berglund 2017-08-09 08:24:02 +02:00
parent d26ae04e09
commit ad7f450e6b
9 changed files with 1 additions and 1 deletions

View file

@ -234,7 +234,7 @@ void pitch_bend(){
} else if ((vibRead > vibThr)&&(vibRead < (oldvibRead-7))){
pitchBend=oldpb*0.7+0.3*(8191 - VIB_depth);
} else {
pitchBend = oldpb*0.4+8192*0.6; // released, so smooth your way back to zero
pitchBend = oldpb*0.7+8192*0.3; // released, so smooth your way back to zero
if ((pitchBend > 8187) && (pitchBend < 8197)) pitchBend = 8192; // 8192 is 0 pitch bend, don't miss it bc of smoothing
}
oldvibRead = vibRead;

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB