you need this in your Pd patch:

note that as far as channel numbers go you should follow the indications the patch will print. In my case (no USB device) I get:
The following MIDI devices are enabled:
Num Name In Out Pd channels
[ 0] hw:0,0,0 x x (1-16)
but when a USB device is connected to Bela, I think these channels will move forward by 16 (with the USB device becoming channels 1-16)
.