Re: [PD] MIDI in channel looks wrong

2020-05-22 Thread Christof Ressi

It's not explained in the help patches, either.

Yeah, I just noticed that. Will open an issue.

Christof

On 22.05.2020 22:39, Philip Stone via Pd-list wrote:

Hi Christof,

You are absolutely correct; I was on port 2. I guess I've never used port 2 for 
any MIDI devices before, so I never knew that the channel values for the 
midi-in objects behaved that way. It's not explained in the help patches, 
either.

At any rate, all is working well, now that I know how to use the channel value. 
Thank you!


Phil


Channel numbers in objects like [ctlin] are really the MIDI port +
channel number:
1: channel 1 on port 1
2: channel 2 on port 1
...
17: channel 1 on port 2
18: channel 2 on port 2
...
27: channel 11 on port 2
Are you sure that you're receiving on channel 2? Note that the second
outlet of [midiin] gives you the port number, not the channel number!
That would explain why you see 2.
Christof




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] MIDI in channel looks wrong

2020-05-22 Thread Philip Stone via Pd-list
Hi Christof,

You are absolutely correct; I was on port 2. I guess I've never used port 2 for 
any MIDI devices before, so I never knew that the channel values for the 
midi-in objects behaved that way. It's not explained in the help patches, 
either.

At any rate, all is working well, now that I know how to use the channel value. 
Thank you!


Phil

>Channel numbers in objects like [ctlin] are really the MIDI port +
>channel number:

>1: channel 1 on port 1
>2: channel 2 on port 1
>...
>17: channel 1 on port 2
>18: channel 2 on port 2
>...

>27: channel 11 on port 2

>Are you sure that you're receiving on channel 2? Note that the second
>outlet of [midiin] gives you the port number, not the channel number!
>That would explain why you see 2.

>Christof




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] MIDI in channel looks wrong

2020-05-21 Thread Christof Ressi
Since that’s not even a legal channel number, I’m wondering if this is 
a bug.
Channel numbers in objects like [ctlin] are really the MIDI port + 
channel number:


1: channel 1 on port 1
2: channel 2 on port 1
...
17: channel 1 on port 2
18: channel 2 on port 2
...

27: channel 11 on port 2

Are you sure that you're receiving on channel 2? Note that the second 
outlet of [midiin] gives you the port number, not the channel number! 
That would explain why you see 2.


Christof

On 21.05.2020 21:08, Philip Stone via Pd-list wrote:


Hello,

I’ve connected a Behringer X-Touch Mini to PD (0.50-2)  on OS X 
Catalina, and the raw data coming into [midiin] looks fine, but the 
[ctlin] and [notein] objects are reporting a channel of 27 (it should 
be 2). Since that’s not even a legal channel number, I’m wondering if 
this is a bug.


Best,

Phil Stone

Davis, California


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list