Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: Re: Re: Re: Multiple MIDI Input Devices?

Date2009-02-16 23:35
From"Art Hunkins"
Subject[Csnd] Re: Re: Re: Re: Re: Re: Multiple MIDI Input Devices?
I presume the "a" stands for "all".

Has this feature been added to the documentation for -M?

Art Hunkins

----- Original Message ----- 
From: "Andres Cabrera" 
To: 
Sent: Monday, February 16, 2009 5:19 PM
Subject: [Csnd] Re: Re: Re: Re: Re: Multiple MIDI Input Devices?


Hi,

You use -Ma

Cheers,
Andrés

On Mon, Feb 16, 2009 at 4:17 PM, joachim heintz  wrote:
> Great! How can we use it via PortMIDI? In the syntax Art suggested:
> -M0,1,2,3
> ?
>        joachim
>
>
>
> Am 16.02.2009 um 17:57 schrieb Andres Cabrera:
>
>> Hi,
>>
>> I implemented it (not exactly but made it possible to listen to all
>> MIDI devices) only for PortMIDI, and the PortMIDI module is not
>> included in the XO version of csound, only the alsa MIDI module is
>> available. The alsa sources contain some helpful information. I'll see
>> if I can cook something.
>>
>> Cheers,
>> Andrés
>>
>> On Sun, Feb 15, 2009 at 7:35 PM, Steven Yi  wrote:
>>>
>>> I thought Andres implemented this in the latest Csound version that
>>> was released?
>>>
>>> On Sun, Feb 15, 2009 at 2:28 PM, joachim heintz 
>>> wrote:
>>>>
>>>> my vote for this, too ...
>>>>      joachim
>>>>
>>>>
>>>> Am 15.02.2009 um 22:27 schrieb Art Hunkins:
>>>>
>>>>> I believe Rick made this developer request some time ago; I don't
>>>>> recall a
>>>>> response to it.
>>>>>
>>>>> What I'd like is an expansion of the -M flag, to include a
>>>>> comma-delineated list of input devices.
>>>>>
>>>>> Example (for Windows): -M0,8,11
>>>>>
>>>>> The idea is for a .csnd file to be able to recognize and process MIDI
>>>>> input from several devices.
>>>>>
>>>>> Such would not be necessary if USB controllers had "USB Thru"
>>>>> comparable
>>>>> to "MIDI Thru." Or for that matater if there were "USB Merge" similar
>>>>> to
>>>>> "MIDI Merge" boxes.
>>>>>
>>>>> I realize the MIDIOx can do this in software on the PC, and there is a
>>>>> comparable utility on the Mac. (I'm thinking though of Linux on the
>>>>> OLPC.)
>>>>>
>>>>> I want to stay away from a software utility, however, as I need to 
>>>>> keep
>>>>> everything as simple as possible for kids (OLPC).
>>>>>
>>>>> This would appear to be a rather minimal developer task as long as
>>>>> PortMIDI, etc., allowed it. I suppose, too, that the implementation
>>>>> would
>>>>> involve supporting MIDI libraries for the various platforms. (I'm
>>>>> particularly concerned about Linux, as I'd like to get collaborative
>>>>> Activities developed for Sugar that involve kids using multiple MIDI
>>>>> controllers on the same OLPC. The controllers I want to use are all
>>>>> USB, as
>>>>> they wouldn't require an additional power source.)
>>>>>
>>>>> I'd appreciate developer response on such a possibility.
>>>>>
>>>>> Art Hunkins
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>> "unsubscribe
>>>> csound"
>>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"



-- 


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound"= 


Date2009-02-17 00:05
FromAndres Cabrera
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Multiple MIDI Input Devices?
Hi,

Yes, but only on the 5.10 manual. I've just updated the online manual
at csounds.com:

http://www.csounds.com/manual/html/index.html

I've also had a look at alsa midi and the sources are there and it's
actually not hard, but those sources are GPL, not LGPL. I would have
to rewrite the whole thing from the ALSA docs, which would not be
pleasant or create a new GPL module for alsa MIDI which I'm not sure
it's a good idea either, since it would have to be distributed
separately...

Any ideas?

Cheers,
Andrés

On Mon, Feb 16, 2009 at 6:35 PM, Art Hunkins  wrote:
> I presume the "a" stands for "all".
>
> Has this feature been added to the documentation for -M?
>
> Art Hunkins
>
> ----- Original Message ----- From: "Andres Cabrera" 
> To: 
> Sent: Monday, February 16, 2009 5:19 PM
> Subject: [Csnd] Re: Re: Re: Re: Re: Multiple MIDI Input Devices?
>
>
> Hi,
>
> You use -Ma
>
> Cheers,
> Andrés
>
> On Mon, Feb 16, 2009 at 4:17 PM, joachim heintz  wrote:
>>
>> Great! How can we use it via PortMIDI? In the syntax Art suggested:
>> -M0,1,2,3
>> ?
>>       joachim
>>
>>
>>
>> Am 16.02.2009 um 17:57 schrieb Andres Cabrera:
>>
>>> Hi,
>>>
>>> I implemented it (not exactly but made it possible to listen to all
>>> MIDI devices) only for PortMIDI, and the PortMIDI module is not
>>> included in the XO version of csound, only the alsa MIDI module is
>>> available. The alsa sources contain some helpful information. I'll see
>>> if I can cook something.
>>>
>>> Cheers,
>>> Andrés
>>>
>>> On Sun, Feb 15, 2009 at 7:35 PM, Steven Yi  wrote:
>>>>
>>>> I thought Andres implemented this in the latest Csound version that
>>>> was released?
>>>>
>>>> On Sun, Feb 15, 2009 at 2:28 PM, joachim heintz 
>>>> wrote:
>>>>>
>>>>> my vote for this, too ...
>>>>>     joachim
>>>>>
>>>>>
>>>>> Am 15.02.2009 um 22:27 schrieb Art Hunkins:
>>>>>
>>>>>> I believe Rick made this developer request some time ago; I don't
>>>>>> recall a
>>>>>> response to it.
>>>>>>
>>>>>> What I'd like is an expansion of the -M flag, to include a
>>>>>> comma-delineated list of input devices.
>>>>>>
>>>>>> Example (for Windows): -M0,8,11
>>>>>>
>>>>>> The idea is for a .csnd file to be able to recognize and process MIDI
>>>>>> input from several devices.
>>>>>>
>>>>>> Such would not be necessary if USB controllers had "USB Thru"
>>>>>> comparable
>>>>>> to "MIDI Thru." Or for that matater if there were "USB Merge" similar
>>>>>> to
>>>>>> "MIDI Merge" boxes.
>>>>>>
>>>>>> I realize the MIDIOx can do this in software on the PC, and there is a
>>>>>> comparable utility on the Mac. (I'm thinking though of Linux on the
>>>>>> OLPC.)
>>>>>>
>>>>>> I want to stay away from a software utility, however, as I need to
>>>>>> keep
>>>>>> everything as simple as possible for kids (OLPC).
>>>>>>
>>>>>> This would appear to be a rather minimal developer task as long as
>>>>>> PortMIDI, etc., allowed it. I suppose, too, that the implementation
>>>>>> would
>>>>>> involve supporting MIDI libraries for the various platforms. (I'm
>>>>>> particularly concerned about Linux, as I'd like to get collaborative
>>>>>> Activities developed for Sugar that involve kids using multiple MIDI
>>>>>> controllers on the same OLPC. The controllers I want to use are all
>>>>>> USB, as
>>>>>> they wouldn't require an additional power source.)
>>>>>>
>>>>>> I'd appreciate developer response on such a possibility.
>>>>>>
>>>>>> Art Hunkins
>>>>>>
>>>>>>
>>>>>> Send bugs reports to this list.
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>> Andrés
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
>
>
> --
>
>
> Andrés
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"=
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>



-- 


Andrés