A MIDI piano synthesizer that implements the Karplus Strong physical modeling algorithm.
Dependencies: mbed USBDevice PinDetect
Diff: Constants.h
- Revision:
- 16:b25ca34a705f
- Parent:
- 15:aa5a4c350251
- Child:
- 18:26d93c5b9bb6
diff -r aa5a4c350251 -r b25ca34a705f Constants.h --- a/Constants.h Sun Apr 17 21:59:03 2016 +0000 +++ b/Constants.h Sun Apr 17 22:27:08 2016 +0000 @@ -17,6 +17,8 @@ const float STRING_DAMPING = 0.7; const float STRING_DAMPING_VARIATION = 0.35; const float CHARACTER_VARIATION = 0.5; +const float PLUCK_DAMPING = 0.5; +const float PLUCK_DAMPING_VARIATION = 0.25; } // namespace C