[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] MIDIClient automatic update?
On Monday 16 March 2009 06:21:38 thelych@xxxxxxxxx wrote:
> Hi,
>
> Le 16 mars 09 à 10:47, Federico Reuben a écrit :
> > Thank you for your response. The routine idea sounds good but the
> > MIDI System-Announce sounds even better. Unfortunately, I'm on a
> > Mac. Do you know if there is some sort of MIDI system detection for
> > OS?
No, I don't (I'm on Linux...)
This should do it though:
Task( {
var myport;
while( { myport.isNil } {
MIDIClient.list;
myport = MIDIIn.findPort( "my device", "my port");
if ( myport.notNil, { MIDIIn.connect( myport ) });
1.0.wait;
});
})
>
> personally i think it should be convenient to have those kind of
> notification on OS X, when a midi device is plugged / unplugged...
I remember there is a simple program on OSX which gives an alert when any USB
device gets attached. That could be modified to send an OSC message when this
happens... aah.. I just looked for it, but it doesn't seem to be open
source.. (freeware of a company that's no longer in business)...
so never mind...
Someone on OSX should see if this feature is possible (CoreMIDI probably
provides a way to catch such a signal).
> but i do not know if it is worth from the Linux side since their MIDI
> system seems to have more modularity...
ALSA gives us the notification already, whenever something opens an ALSA port,
like a device driver does when it starts up when a device gets attached.
sincerely,
Marije
> i remember there was a similar discussion about that some times ago?
>
> best,
> charles
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/