| 139 | } |
| 140 | |
| 141 | NeuralNoteMainView* NeuralNoteAudioProcessor::getNeuralNoteMainView() const |
| 142 | { |
| 143 | auto* editor = dynamic_cast<NeuralNoteEditor*>(getActiveEditor()); |
| 144 | |
| 145 | if (editor != nullptr) { |
| 146 | return editor->getMainView(); |
| 147 | } |
| 148 | |
| 149 | return nullptr; |
| 150 | } |
| 151 | |
| 152 | AudioProcessorValueTreeState& NeuralNoteAudioProcessor::getAPVTS() |
| 153 | { |
no test coverage detected