| 1015 | } |
| 1016 | |
| 1017 | void SfxrNode::jump() |
| 1018 | { |
| 1019 | setDefaultBeep(); |
| 1020 | _waveType->setEnumeration(SQUARE); |
| 1021 | _squareDuty->setValue(frnd(0.6f)); |
| 1022 | _startFrequency->setValue(0.3f + frnd(0.3f)); |
| 1023 | _slide->setValue(0.1f + frnd(0.2f)); |
| 1024 | _attack->setValue(0); |
| 1025 | _sustainTime->setValue(0.1f + frnd(0.3f)); |
| 1026 | _decayTime->setValue(0.1f + frnd(0.2f)); |
| 1027 | if (rnd(1)) |
| 1028 | _hpFilterCutoff->setValue(frnd(0.3f)); |
| 1029 | if (rnd(1)) |
| 1030 | _lpFilterCutoff->setValue(1 - frnd(0.6f)); |
| 1031 | } |
| 1032 | |
| 1033 | /// @TODO remove need for context lock see above |
| 1034 | void SfxrNode::select() |
no test coverage detected