New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: several midi ports #1750
Comments
Addendum from Victor: From the manual "With PortMIDI, DEVICE is either a number for single port input, 'a' for listening to all input ports, or 'm' for mapping ports to MIDI channels above 16. In this case, device 0 uses 1-16, device 1 uses 17-32, ... device N uses (N+1)*channel. The options 'a' and 'm' are also convenient when you don't have devices as they will not generate an error." |
Multi-port midi in exists with portmidi. Output needs to be looked. FWIW, midi output has never been implemented very completely and it has always been low priority. |
yes i understand this issue is low priority- but still it is a priority although low. I think not many Csound users have been missing such a feature, but it happens to be on my path and stumble on it. (And i expected Csound to have this implemented.) Narrowing my request:
|
probably the way to go is to do like the inputs, map successive groups of channels > 16 to each port. It may be achievable. |
I have success with playing 2 keyboards that are attached to different midi input ports. They both play the csd
Not sure how to use the m option in -+rtmidi=PortMIDI -M m?? |
I still think that Csound as a sound and music computing system should be able to drive several midiports and audioports at the same time. Programs like Reaper run on Msc, Windows and Linux and are able to do this (ASIO, Portmidi, Jack etc). So it is possible. |
as far as I can remember -Mm was there before. It merges data from all ports. We have multiport in, we can add multiport out. I don't think it will be difficult. As far as multiple audio ports, my experience with reaper is that you can't (at least on Mac OS). You have to select the device. Using multiple ports is complicated because of clocking. I don't see this needs to be implemented in Csound. |
Wondering if this couldn't be implemented outside of core in a plugin. |
That looks like Jack not reaper. At least on mac, you can only open a single device. MacOs then allows for aggregate devices, but that's outside the audio software. @kunstmusik yes that's basically implemented outside Csound in the pmidi plugin. The only thing we need from Csound is the possibility of accessing channels > 16, which we already have. |
i stopped Jack and still am able to run Reaper using ALSA and could send midi data to all midi ports (4) independently. My feature request is that Csound can do the same. I was hoping that a robust and complete Midi system (+ sysex opcode + support for the upcoming Midi 2.0 https://www.korg.com/us/products/computergear/keystage/) could be considered? |
I have 4 physical midi ports ( 1x M-Audio and 3 Edirol UM). A DAW like Reaper has access to all of these ports, so i can send midi data to all of my synths easily.
Csound is lacking such a feature; only one midi out (or in) can be specified. This means re-cabling of my synths as well as only one port available for 16 midi channels. Not practical.
Since i am on Linux, I have tried working with the Jacko opcodes, but these are not transparent and i did not succeed in getting them to work. Also, Jack is (mostly) Linux only.
Some sort of midi detection system for Windows, Mac and Linux and all their different drivers, and the option to set more than one midi in/out from the command line would be something to have?
And if one instrument wants to send midi data to one port, and another instrument to a second midi port, an opcode making this possible could be part of this system. This opcode could be put in the instrument. Some sort of MidiPortAssign.
The text was updated successfully, but these errors were encountered: