File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Midi ShortMessage Race Condition Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply 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: 4
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
 
 
subject: Midi ShortMessage Race Condition
 
Threads others viewed
MIDI problems when launching applet through browser
midi player when used from commandline does not work
Constructing a MIDI Sequence...tickCounts
MidiSystem.getSequencer (locks up)
javax.sound.midi compatibility with JMF
developer file tools