This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Don't get me started about those stupid light bulbs.
 
subject: Midi ShortMessage Race Condition
 
Similar Threads
MIDI problems when launching applet through browser
javax.sound.midi compatibility with JMF
Constructing a MIDI Sequence...tickCounts
MidiSystem.getSequencer (locks up)
midi player when used from commandline does not work