Request: keyboard input object with device selection


#1

The only way i seem to be able to define a midi input device is by putting the "keyb" object in a polyphonic sub patcher. I had a quick look at the "note" code to see if i could move it over to a version of keyb, but suspect its a little beyond my current capabilities.


#2

not sure I understand this question...

you can put a keyb object in any patch (top level included) but of course it will be monophonic, but yes, I put the device selection on the patch level, as it would be quite a drag to have to specify it on the objects themselves. (and make the patch look complicated)

... if you want you could just use patch/patcher if you want to filter the devices.

its not a bad practice, as can be useful if you later want to extend the patch to use different devices for different samples/synthesis etc.

but you easily create your own , within the midi code you just have to reference 'dev' for device, the mapping can be seen in the midi out objects. (you'll need to open the axo file in an editor, as the built-in editor doesn't show)


#3

That's what i'm doing now. Not sub patcher but patch/patcher. Your reasoning seems logical.
One question though; Why doesn't a monophonic patch/patcher have device, port, channel selection? I just use a polyphonic set to 1 voice, but curious.

I'll stick to the patch/patcher now you've confirmed that's how it was intended to be used.

thanks for the reply.


#4

hmm, sounds like a 'bug' to me... I probably just forgot to add it.
I can see being able to filter both by device and channel would be useful for mono too...