Switch midi out channels on the fly possible?


#1

hi guys,

is it possible to switch the midi channel to send something to on the fly, using gpio pots, controller, whatever?
midi/out/note object has a selectable but "fixed" midi out channel.
is there a object where i can change the "channel out" on the fly, or is there a workaround to do so?


#2

ok solved it myself, using demux objects :slight_smile: works as a work around


#3

change the channel from an attribute to a param?


#4

@lokki

thanks but would not realy know how to do that.


#5

@lokki

ok cool, you are teaching me something without leaking to much :slight_smile:
i have now the inlet there and even a dial under parameters for the channel. lets see if i can figur out how to change the code to take the value of the inlet :slight_smile:


#6

sorry, here is a version, untested but should give you the idea:

dynchannel.axp (2.8 KB)

be aware though, that changing channel while a note is playing will give you hanging notes on the old channel, also be aware that sending note off on channels that have not received the corresponding note on before might have side effects on some synths...


#7

hi @lokki, absolutly phantastic. thanks a lot. sure it will not be totally smooth but that is ok.

thanks a lot.


#8

@lokki

i added a inlet but it does not work yet. channels are changing with the combo box but not with the gpio input yet. must be a little detail missing still...

dynchannel.axp (5.1 KB)


#9

hmm, yes that will not work. you have to change all param_channel to inlet_channel. but you can remove the combo box then. combining both inlet and param on a channel selection makes no sense i think...


#10

@lokki,

thanks a lot. inlet_channel did it, learnt hopefully something about objects on the way