Java stop MIDI playback

Posted by user456268 on Stack Overflow See other posts from Stack Overflow or by user456268
Published on 2010-09-23T14:28:37Z Indexed on 2011/01/04 4:53 UTC
Read the original article Hit count: 200

Filed under:
|
|
|

Hi I have java application which plays midi messages from sequence. I'm doing this using jfugue library.

the problem is when I'm tryingto stop playback with stop button (which call sequencer.stop() and sequencer.close()) the last played note is sound all of rest time, and I can't stop it.

So I'm asking about solution about stopping all audio and MIDI too! sound playback from java application.

Notice: If you want propose just mute volume, you need to know that I want end-use will be able to press play button again and hear the sound again, so muting volumr will be not a solution, or explain please.

Thank you!

© Stack Overflow or respective owner

Related posts about java

Related posts about audio