hundredrabbits / Orca-c

Live Programming Environment(C Port)
http://wiki.xxiivv.com/orca
MIT License
485 stars 48 forks source link

No way to send CC above `35` #84

Closed levibeach closed 1 year ago

levibeach commented 2 years ago

Am I missing something or is there currently no way to send CC messages to anything over 35 in Orca-c? Looks like the JavaScript version starts at 64 but you can change the offset using $cc:40, however Orca-c doesn't have the $ option. 🤔

crcdng commented 2 years ago

I just stumbled across this as well, can't enter $ in orca-c / Mac.

ivanvoid commented 1 year ago

Same on linux Ubuntu 22.04. You need to manually edit files to add $ ><

npisanti commented 1 year ago

By the way orca is designed only 36 values are available to select the midi CC, so no number higher than 35 can be reached. An hack you could use is to put a switch in the midi cc operator here:

https://github.com/hundredrabbits/Orca-c/blob/master/sim.c#L232

to remap the available numbers to other midi CCs, remapping them for to the parameters you want to automate.

crcdng commented 1 year ago

By the way orca is designed only 36 values are available to select the midi CC, so no number higher than 35 can be reached. An hack you could use is to put a switch in the midi cc operator here:

https://github.com/hundredrabbits/Orca-c/blob/master/sim.c#L232

to remap the available numbers to other midi CCs, remapping them for to the parameters you want to automate.

In the JS Version of Orca we can use the Syntax

$cc:40..#pulse.colour.....#.

to reach numbers over 36 for CC values. The problem that is addressed in this bug report is that in orca-c the "$" key does not work.

npisanti commented 1 year ago

Sorry, for now the $ operator is not a feature available in orca-c.

crcdng commented 1 year ago

Maybe this could be mentioned prominently in the documentation, because without the possibility for Control Change and Program Change messages it is then rather unusable for anything MIDI.

npisanti commented 1 year ago

orca-c can send both the canonical bank select message (cc0) and program select message (cc32) so calling it "unusable" for MIDI seems a bit gratuitous, but i acknowledge that with a range of values of 0-35 for cc you have to get a bit more creative with the external devices to make them work inside the given limits.