This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Midi ShortMessage Race Condition" Watch "Midi ShortMessage Race Condition" New topic

Midi ShortMessage Race Condition

james lei

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
It is sorta covered in the JavaRanch Style Guide.
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