You need to select a different MIDI interface on the board. By default, Pd uses the one that is connected via USB directly to the Bela, which is normally called hw:1,0,0
(or none, if that is not available). The MIDI interface over USB to your computer, is called hw:0,0,0
. To add MIDI interfaces to Pd on Bela, you need to send an appropriate message to bela_setMidi
, e.g.:
[loadbang]
|
[hw 0 0 0 ( <<< this is for hw:0,0,0
|
[send bela_setMidi]
This is documented in the 08-PureData/hello-midi and 08-PureData/midi-cv-midi. In fact, the latter example already does more or less what you want to do (i.e.: CV to MIDI to CV).