Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (synth != null) {
- javax.sound.midi.MidiChannel[] channels = synth.getChannels();
- channels[0].allNotesOff();
- channels[0].allSoundOff();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement