implement midi panic (#1036)
* implement midi panic * do it the right way * only send all notes off for now * remove cc names at TAMidiMessageTypes * Update engine.cpp
This commit is contained in:
		
							parent
							
								
									896941e4a8
								
							
						
					
					
						commit
						39cb12ccf9
					
				|  | @ -2423,6 +2423,13 @@ void DivEngine::stepOne(int row) { | |||
| void DivEngine::stop() { | ||||
|   BUSY_BEGIN; | ||||
|   freelance=false; | ||||
|   if (!playing) { | ||||
|     //Send midi panic
 | ||||
|     if (output) if (output->midiOut!=NULL) { | ||||
|       output->midiOut->send(TAMidiMessage(TA_MIDI_CONTROL,0x7B,0)); | ||||
|       logV("Midi panic sent"); | ||||
|     } | ||||
|   } | ||||
|   playing=false; | ||||
|   extValuePresent=false; | ||||
|   endOfSong=false; // what?
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 LovelyA72
						LovelyA72