Troubleshooting

cc implementation help

Started by scrubber on .

Sign in or create an account to join the conversation.

7 posts

Topic starter
Hello!
Been a while! So trying to finish off my patch for MIDIBOX TIA control
I have done all the basics and easy functions but now I have a few I'm not sure how to set using LSB and MSB

so example: I have functions I want to set (maybe best as a drop down menu? or knob?)

LFO MODE:

CC: 93
Hex: 5Dh
Bit 0 - enables LFO
Bit1: Sync with ASSIGNED note events
Bit2: Sync with ALL note events
bit 6-4: Waveform
0 - Sine
1 - Triangle
2 - Saw
3 - Pulse
4 Random
example 11h=17= enable & triangle wave
example 15h = 21 = enable & triangle & sync

I don't get how they got those hex and number examples at the bottom to set this?
how do I set these in Jazz editor, as a script?
anyone give me an example in the editor on how to set these values?
not sure what I need to do at all?

so cc 93 is the control change number
then how do I set the bits required to enable the function? as in the list

in my other functions i've just been setting the cc number then scale (0-127) or whatever value is needed but this is something different that I don't understand at all
What you have missed is the binary representation of the numbers...
0001 0001 = 11h = 17 Decimal = Triangle Bits 4-6=1 and Enabled Bit 0=1
0001 0000 = 10h = 16 decimal = Triangle ... Dis-Enabled
0000 0001 = 01h =1 decimal =Sine ...enabled

0010 0001 21h 33dec Saw
0011 0001 31h 49dec Pulse
0100 0001 41h 65dec Random

Itiusing the bits inside so you need to work out the decimal numbers to send to match
Hope that helps