*FIXED PICTURE LINK, sorry
*
Hi there everyone. I’m just trying to wrap my head around how all this programming fits together. I’ve done a lot of C programming before and a bit of ASM (a while ago granted) so the actual coding is not so much the issue, more how it is implemented.
What I want to do: My midibox is a custom effect controller that controls a VST I have made for doing long evolving delays (prodominent in Dub music). The box actually controls two seperate effects (delay lines) which do the same thing (different sounds can be sent to each). Each effect has a 3 digit LED display which shows the delay timing information (ie. how many beats is the delay length  4, 1/2, 1/5, 1/6 etc). There are two buttons beneath this which increment and decrement this value.
The output of the box just needs to be a single CC value and the display just needs to show 14 preset labels.
               0   1   2   3   4    5     6    7    8     9    10     11    12    13
Display        4/0 3/0 2/0  1/0 1/2   1/3   1/4   1/5   1/6   1/8   1/12   1/16   1/32   1/64
CC  Output    0   10  19  28  37   46   55   64   73   82   91    100   109   118
(CC value = (127\14) * index number, result then rounded up)
I was just thinking of putting this info into an array (like above) where the Display field would hold the 3*8 bit values for the LED digit display.
The increment and decrement buttons just control the index value and wrap at each end ( <0 & >13).
Is this all possible with the C wrapper? (would be much easier for me)Â Â
How would I integrate this C code into the MB64 existing code? (which files need changing etc.)
Not looking for the exact code from someone, just directions as where to start writing it myself. I’ve been reading all the code examples and documentation for a while now but that little light hasn’t quite flicked on in my head yet. ![]()
Thanks for your time, hope this isn’t too long. ![]()