Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Sound Question (MIDI)

807600Nov 27 2007 — edited Nov 27 2007
Hiya everyone. Having a problem using the java sound api and wondering if someone to help. There is a lot of code on the net that uses

sm_sequencer = MidiSystem.getSequencer(false);

so that the sequencer is not connected to the default synth. I am doing this so i can set my own Receiver so i can use the midi
messages for another process. The only problem is that i get

'getSequencer() in javax.sound.midi.MidiSystem cannot be applied to (boolean)'

not i know that the method getSequencer(boolean) was only introduced after 1.4.2 but i have the latest version of java SE(6.0.3).

Any hepl would be extremly appreciated, its driving me mad!
thanks
Dori
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 25 2007
Added on Nov 27 2007
5 comments
83 views