Open jwaldmann opened 5 years ago
I think that we need to research on how to setup the Csound flags
https://csound.com/docs/manual/CommandFlagsCategory.html
See the section: MIDI Realtime Input/Ouput
I'm myself trying various options.. till I find something that works Sometimes it helps to stop ALSA Midi bridge in the cadence
Maybe you need to add -+rtmidi=alsa
if you are referring to device by hw:CARD,DEVICE
options = def { rtmidi = Just AlsaMidi } <> setMidiDevice "hw:2,0,0"
Not AlsaMidi
, but AlsaSeq
. The following sort-of-works:
dacBy ( def {csdFlags = def { rtmidi = Just AlsaSeq }} ) $ midi $ \ m -> return $ osc $ sig $ cpsmidi m
when I run this, qjackctl (in the ALSA tab) shows an input port "129:Csound", where I can send MIDI signals to.
It's slightly annoying that that the port disappears after cancelling dacBy
(from ghci
),
so I have to re-route the external keyboard each time.
I think this is not the issue of CE. It's issue of Linux+midi workflow. Mayb some system-wide midi settings are not csound-friendly
Yes of course. Still, perhaps some other CE user knows how to handle this. But feel free to close the issue.
The documentation (Patches.md) says ".. way we can play the patches with real MIDI-device:"
but on my machine this fails with
How is this supposed to work? I was expecting that some midi port shows up (e.g., in
aplaymidi -l
) so that I can route signals there fromqjackctl
.(EDIT) some more data: I have a (USB) MIDI keyboard (Akai LPK 25) attached to the computer:
But I am still getting: