#1132 Pd ignores (or overwrites) my number of midi channels at start

John Smith

I started PD with specify number of midi channels:
pd -alsamidi -midiindev 4 -midioutdev 4
And in PD-log I have:
sys_nmidiin 1, nmidiindev 4
Opened Alsa Client 128 in:1 out:1

And I have just 1 input and 1 output channels, can change it after start, but not before start.


  • Miller Puckette

    Miller Puckette - 2014-01-29

    I think "-midiindev 1,2,3,4" will get you 4 input devices, for example.

  • IOhannes m zmölnig

    "-audioindev 4" means "use the 4th audio input device", rather than "use a 4 channel audio input device".
    similariry "-midiindev 4" does not mean the number of midi-ports (btw, midi-ports is a something different than midi-channels, of which you should always have 16 per port), but denotes a device. with ALSA-midi the actual ID is currently ignored, so you can write: "-midiindev 1,1,1,1" to get 4 devices.

  • John Smith

    John Smith - 2014-01-29

    Oh, now it woks by this:
    pd -alsamidi -mididev 1,1,1,1
    But it not obvious, may be need to add info about this to usage help info?
    And by this way I get 4/4 in/out ports with unique 16 midi-channels, right?

  • IOhannes m zmölnig

    you get 4*16=64 input midi-channels and the same number of output midi-channels.

    while "1,1,1,1" works, i would recommend to use "1,2,3,4" for better readability.

  • IOhannes m zmölnig

    • summary: PD does ignoring (or overwrite) my number of midi channels at start --> Pd ignores (or overwrites) my number of midi channels at start


Cancel  Add attachments

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks