1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

need help on converting 0-1 amplitude value to 14 bit CCs

Discussion in 'Building With Reaktor' started by BertAnt, Jun 9, 2010.

Thread Status:
Not open for further replies.
  1. BertAnt

    BertAnt NI Product Owner

    Messages:
    414
    I recently just find out about 14 bit CC, and since i don't have anything that can transmit / receive these messages, i'm a bit lost on the math behind it and the transmitting method...

    So, currently what i do is multiplying the 0-1 range (from envelope follower core cell output) with 16383, quantize it to integer, then using the the modulo module to get integer division with 128 and the modulo. Then i transmit the division integer output as the CC MSB and the modulo as LSB, so for example, if the target is mod wheel, the division result is transmitted as CC#1 value and the modulo result as CC#33 value..

    But i'm really not sure about the calculation and the method of transmitting it, this is the first time i'm dealing with 14 bit CCs...so i was wondering is the above correct or not, and if it isn't, can someone please tell me the right way ?

    Many thanks for any help :)
     
  2. PeterW

    PeterW NI Product Owner

    Messages:
    182
    Hi BertAnt,
    What you have done is correct.
    To recieve you would multiply CC#1 by 128 and add in CC#33.
     
  3. BertAnt

    BertAnt NI Product Owner

    Messages:
    414
    Hi Peter, thanks for the reply and the math for calculating the received value ! :)

    I'm relief now knowing what i did was correct :D I guess it's up to the receiver then to calculate the real value from the two CCs :)
     
  4. PeterW

    PeterW NI Product Owner

    Messages:
    182
    Yes , thats correct.
     
Thread Status:
Not open for further replies.