aspose file tools*
The moose likes Java in General and the fly likes Midi ShortMessage Race Condition Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Midi ShortMessage Race Condition" Watch "Midi ShortMessage Race Condition" New topic
Author

Midi ShortMessage Race Condition

james lei
Greenhorn

Joined: Dec 08, 2010
Posts: 5
I find often the MIDI sequencer played volume at 100% instead of 50% if the sequencer didn't completely started before the shortmessage is apply. Will addMetaListener help anyway to prevent race condition?

The seqencer is use to load MIDI file in it.



Will appreciate if there a way for addmetalistener tol execute the shortmessage once the Midi song is startedl
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Midi ShortMessage Race Condition