[jmsl] Playing Through An External Midi Device

jmsl at music.columbia.edu jmsl at music.columbia.edu
Tue Apr 14 09:16:30 EDT 2009


Thanks a lot! Let me know when it's out.

Chi
----- Original Message ----- 
From: <jmsl at music.columbia.edu>
To: <jmsl at music.columbia.edu>
Sent: Tuesday, April 14, 2009 9:08 AM
Subject: Re: [jmsl] Playing Through An External Midi Device


> Hello Chi,
> I will investigate; and build a JMSL prerelease that supports this...
> Thanks
> Nick
> 
> 
> jmsl at music.columbia.edu wrote:
>> How can I hookup JavaSound ports to JMSL? If I do this I can see all 
>> the external midi devices I have on my computer.
>>
>> MidiDevice.Info[] infos = MidiSystem.getMidiDeviceInfo();
>> for (int i = 0; i < infos.length; i++) {
>>    System.out.println(infos[i]);
>> }
>>
>> /*
>> Result:
>> USB Audio Device
>> Microsoft MIDI Mapper
>> USB Audio Device
>> SB X-Fi Synth A [BC00]
>> SB X-Fi Synth B [BC00]
>> Microsoft GS Wavetable SW Synth
>> Real Time Sequencer
>> Java Sound Synthesizer
>> */
>>
>> If I do this, I get an error.
>> JMSL.midi = MidiIO_JavaSound.instance();
>> String[] deviceNames = JMSL.midi.getOutputDeviceNames();
>> System.out.println("There are " + deviceNames.length + "midi devices.");
>> for (int i=0; i<deviceNames.length; i++) {
>> System.out.println(deviceNames[i]);
>> }
>>
>> /*
>> Result:
>> There are 1midi devices.
>> Unimplemented
>> */
>>
>> _______________________________________________
>> jmsl mailing list
>> jmsl at music.columbia.edu
>> http://music.columbia.edu/mailman/listinfo/jmsl
> _______________________________________________
> jmsl mailing list
> jmsl at music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/jmsl
>


More information about the jmsl mailing list