justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Let's say I have CC lane height. How would I calculate value at certain pixel? It seems it's somehow related to horizontal lines. Could you please help me not to go mad from reverse engineering all those pixels and share the formula? :)
Asked by Martin (78.0.208.x) on April 4 2014, 7:17pm
Reply on April 5 2014, 7:53pm:
    Not sure I understand the question, but the CCs are generally drawn linearly (if the CC has 128 steps and the CC lane is 128 pixels high, 1px=1 step, etc). It's unclear whether you want the CC value associated with a y-coordinate, or to query the value at a particular x-coordinate...

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2024 Justin Frankel. | RSS