KIK 01 Prototype 05
Dependencies: AverageMCP3008 mbed-rtos mbed mcp3008
Fork of KIK01_Proto03 by
Diff: main.cpp
- Revision:
- 24:e9fbadd15e90
- Parent:
- 23:da7c5f7feff1
- Child:
- 25:b4977c7e0db7
--- a/main.cpp Sun Sep 17 23:24:49 2017 +0000 +++ b/main.cpp Thu Sep 28 01:21:04 2017 +0000 @@ -154,7 +154,7 @@ amplitudeParam.v0 = Adc0.read_input(4); amplitudeParam.v1 = Adc0.read_input(5); amplitudeParam.v2 = Adc0.read_input(6); - amplitudeParam.attackTauRatio = 0.36f; + amplitudeParam.attackTauRatio = Adc0.read_input(2) + 0.01f; amplitudeParam.releaseTauRatio = Adc0.read_input(3) + 0.01f; frequencyParam.attack = Adc1.read_input(0) * envelopeLength * 0.1f;