[Csnd] Multiple Simultaneous MIDI Controllers in Linux Csound - on Bela or RaspberryPi
Date | 2020-06-26 04:49 |
From | "Dr. Richard Boulanger" |
Subject | [Csnd] Multiple Simultaneous MIDI Controllers in Linux Csound - on Bela or RaspberryPi |
On CsoundQt on the Mac, I can successfully connect a number of MIDI controllers (into a USB Hub for instance) and chose:
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound MIDI Module "portmidi" Input Device: a. (for all) And I can simultaneously play on my Novation LaunchKey MINI MKIII and my Korg NanoKontrol ==== I have plugged the same USB Hub and MIDI Controller Keyboards into my Bela Mini Typically, for my MIDI .csd files I use the following command-line options: -Mhw:1,0,0 -+rtmidi=NULL --daemon And control my .csd files from a single controller BUT... My students and I are wanting to use multiple controllers on the Bela - I am hoping that some of you (who use the Bela or run Csound on a Pi or Linux) might have a solution to suggest I have run the command "amidi -l" from the Bela console My Bela tells me that I have the following MIDI devices installed: Dir Device Name
IO hw:0,0,0 Launchkey Mini MK3 MIDI 1
IO hw:0,0,1 Launchkey Mini MK3 MIDI 2
IO hw:1,0,0 nanoKONTROL MIDI 1
IO hw:2,0 f_midi It does allow me to choose and set and use one of the "other" MIDI controllers plugged into the USB Hub, but it does not allow me to us two or more at the same time. It will not allow the -Ma command-line flag (as I think that this only works with portmidi and I think that this is alsaMIDI (?) It will not allow me to string together both devices in the command-line -Mhw:1,0,0 -Mhw:0,0,0. (it uses the latter one) Is there a MIDI MERGE command-line option/flag in Csound (I guess that -Ma is such a flag, but... not on the Bela. Is there a way of getting my Bela to listen to more that one controller at the same time? Thanks for your advice. -dB Dr. Richard Boulanger Professor of Electronic Production and Design Professional Writing and Technology Division Berklee College of Music skype: radiobaton facebook: https://www.facebook.com/richard.boulanger.58 about: http://www.boulangerlabs.com/#about about: http://www.csounds.com/community/developers/dr-richard-boulanger/ music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/ Boulanger Labs - http://boulangerlabs.com The Csound Book - http://mitpress.mit.edu/books/csound-book The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book |
Date | 2020-06-26 07:13 |
From | "Jeanette C." |
Subject | Re: [Csnd] Multiple Simultaneous MIDI Controllers in Linux Csound - on Bela or RaspberryPi |
Jun 26 2020, Dr. Richard Boulanger has written: ... > I have plugged the same USB Hub and MIDI Controller Keyboards into my Bela > Mini > > Typically, for my MIDI .csd files I use the following command-line options: > > -Mhw:1,0,0 -+rtmidi=NULL --daemon ... Have you tried: -+rtmidi=alsa -Ma I have tried it here on Linux with the keyboards connected to my USB hub and Csound will accept MIDI from several inputs. Best wishes, Jeanette -- * Website: http://juliencoder.de - for summer is a state of sound * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * SoundCloud: https://soundcloud.com/jeanette_c * Twitter: https://twitter.com/jeanette_c_s * Audiobombs: https://www.audiobombs.com/users/jeanette_c * GitHub: https://github.com/jeanette-c you made me realize..not to compromise the fact that you and i should meet... <3 (Britney Spears) Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2020-06-26 11:44 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Multiple Simultaneous MIDI Controllers in Linux Csound - on Bela or RaspberryPi |
In Bela, MIDI is handled by Bela, not the Csound ALSA module. So it is whatever Bela gives you. It is different from straight Linux on raspberry PI or other platforms. Also noting that with portmidi, it is also possible to use -Mm for multiport mapping https://csound.com/docs/manual/CommandFlagsCategory.html#FlagsCatMinusUpperM ====================== Prof. Victor Lazzarini Maynooth University Ireland > On 26 Jun 2020, at 07:13, Jeanette C. |