| 5673 | } |
| 5674 | |
| 5675 | double ScriptingApi::Synth::getTimerInterval() const |
| 5676 | { |
| 5677 | |
| 5678 | |
| 5679 | if (jp != nullptr && jp->isDeferred()) |
| 5680 | { |
| 5681 | return (double)jp->getTimerInterval() / 1000.0; |
| 5682 | } |
| 5683 | else |
| 5684 | { |
| 5685 | if (parentMidiProcessor != nullptr) |
| 5686 | return owner->getTimerInterval(parentMidiProcessor->getIndexInChain()); |
| 5687 | else return 0.0; |
| 5688 | } |
| 5689 | } |
| 5690 | |
| 5691 | void ScriptingApi::Synth::sendController(int controllerNumber, int controllerValue) |
| 5692 | { |
no test coverage detected