[jmsl] Playing Through An External Midi Device

jmsl at music.columbia.edu jmsl at music.columbia.edu
Mon Apr 13 14:03:52 EDT 2009


Hi,

It seems like JavaSound does support external midi device.
http://java.sun.com/j2se/1.5.0/docs/guide/sound/programmer_guide/chapter9.html
How can we hook this up with jmsl? Thanks.

Chi
----- Original Message ----- 
From: <jmsl at music.columbia.edu>
To: <jmsl at music.columbia.edu>
Sent: Saturday, April 11, 2009 2:35 PM
Subject: Re: [jmsl] Playing Through An External Midi Device


> Oh I didn't realize you meant to play an external device from an Applet. 
> Neither MidiShare nor JavaMidi will do that for you as you'd need a 
> plug-in for the web browser.
>
> Does anyone know about JavaSound's MIDI support for external devices?
>
> Thanks
> Nick
>
> jmsl at music.columbia.edu wrote:
>> Is there any way to play midi through an external device inside java 
>> applet without installing something on windows? I got midishare working, 
>> but I don't think it's simple enough for someone who's not a computer 
>> geek. :)
>>
>> Chi
>> ----- Original Message ----- From: <jmsl at music.columbia.edu>
>> To: <jmsl at music.columbia.edu>
>> Sent: Saturday, April 11, 2009 10:53 AM
>> Subject: Re: [jmsl] Exporting to Midi
>>
>>
>>> You can try Robert Marsanyi's ancient but venerable JavaMidi if you have 
>>> a taste for adventure (and Windows, as I believe the Mac version was 
>>> written well before OSX)
>>> http://www.softsynth.com/javamidi/
>>> You'd need to add the folder containing his .class files into your 
>>> classpath (or make a JAR file of them and add the jar file to your 
>>> Eclipse libraries) , and put the native .dll file in C:\windows
>>> Then in JMSL you'd do this:
>>> JMSL.midi = 
>>> com.softsynth.jmsl.midi.MidiIO_MidiPort.MidiIO_MidiPort.instance();
>>> If I were you I'd use MidiShare as it is better supported (you basically 
>>> got all the JavaMidi support from me already with the message above!)
>>> Still you might find this comes together quickly for you; there's less 
>>> setup and config than MidiShare
>>> Best,
>>> Nick
>>>
>>>
>>> jmsl at music.columbia.edu wrote:
>>>> How can I make JMSL to play through an external midi device (not 
>>>> soundbank) without MidiShare? I know timing might be sloppy, but can I 
>>>> still do it?
>>>
>>> _______________________________________________
>>> 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
> _______________________________________________
> jmsl mailing list
> jmsl at music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/jmsl
> 



More information about the jmsl mailing list