Jump to content

skavan

Members
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

1 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. One more addendum, I found a MCU protocol sheet here: https://drive.google.com/file/d/1cD3HZbLfzgns_Y7u42SaXOTTbYuIxN-I/view My M1 button on the logic control is sending the correct value (70). The same as an MCU. So I played around in cakewalk, and discovered that Ctl-F12 (which is the built in shortcut to disabling/enabling read automation) does not work. In fact, even trying to create my own shortcut doesn't work -- which leads me to suspect that there is a bug in cakewalk, where that interface/binding is broken. And therefore it's not an MCU problem. s.
  2. First @msmcleod, thank you for taking the trouble. I have ordered the linked kit. Second, when my Logic Control boots, I have set it to MCU mode for what that's worth! Third, I am actually working on building a software version of the MCU. With the exception of the previously mentioned issues, it is working. See screenshot. Probably because I am sending logic commands rather than MCU commands. But try as I might I can't find a definitive MCU protocol spec. Any ideas where I might get my hands on one? p.s. if you run node, I could send you a rough alpha to play with. Also - thanks for the guidance on the Global View. Makes sense now. I am using the Sonar overlay -- with "Global View"! While I have you one last weird question. Do you know where I can find the formula to translate linear position to db. for example, 6dB on a fader is the top or 100% position and approximately -75dB (-INF) is 0%. I can't figure out a formula to translate Cakewalk dB to a linear slider position, that matches what one sees on the cakewalk fader. The standard db log 10 formulas are not even close. By trial and error, I have a rough approximation which has no logic behind it at all: value = Math.round((((2.2**(val/20))/1.267)-0.04)/0.96*127) ! Thanks mate. Suresh
  3. Hi, Am using CbB with a physical MCU (Old Logic Control Unit with 1.02 firmware). Mostly seems to be working. But one thing I like to do, is rapidly access Automation Read Enable and Automation Write Enable parameters. Both by track and for all tracks. I have run into a few gotchas, that maybe my ignorance of how it works, a dodgy setting in Cakewalk or .....: the READ/OFF button (AUTOMATION section on MCU) doesn't seem to do anything. I would expect a tap of that button to toggle the AUTOMATION PLAYBACK MODE across all tracks (i.e. Automation Read Enable). I have dug through the @msmcleod MCU code and found this (I'm not a C++ guy, so what do I know!) - which implies it should work (and oddly, the second case (READ/OFF with MODIFIER M1, does work and disables the faders). void CMackieControlMaster::OnSwitchReadOff() { switch (m_cState.GetModifiers(M1_TO_M4_MASK)) {case MCS_MODIFIER_NONE: // Enable/Disable Automation Playback DoCommand(NEW_CMD_ENABLE_DISABLE_AUTOMATION_PLAYBACK); break; case MCS_MODIFIER_M1: // Toggle disable faders m_cState.SetDisableFaders(!m_cState.GetDisableFaders()); break; default: break; } } Holding the M1 (MODIFIER 1) Key down, Switches the REC/RDY (ARM) to instead show AUTOMATION WRITE ENABLE (Volume Only). Doing the same with M2 Arms All parameters for AUTOMATION WRITE (pan, send, send level, send pan etc...). My question is whether there is any equivalent for READ AUTOMATION. In other words, how can one set the read automation state of a track? Totally unrelated to the above, I can't wrap my head around what the GLOBAL VIEW on MCU button (and it's corresponding LED) actually does. In all cases, I can confirm that midi traffic is properly going back and forth. and cakewalk does send the LED state back when I click the button (#1 and #3 above). Thanks in advance!
  4. Thanks for the input. To the best of my knowledge that isn't the case. (midi loop). Echo is off both in preferences and in the strip. Discrete input and outputs are being used. Also - the messages are evenly spaces, separated by 200ms or so -- which implies some gremlin somewhere (I think)...it's almost like the knob/slider in cakewalk is sending the message to itself and then rebroadcasting it...which is a sort of midi loop...but one I can't seem to prevent!
  5. A piece of software that sends and receives midi messages and presents the user with a volume slider, pan control and other buttons. see attached pic. If you push the slider, it sends CC 10 messages to a given midi port/channel. If you twiddle the knob it sends CC 07 messages. In both cases if it receives CC messages, the slider and knob move accordingly. Like a hardware controller surface, but in software.
  6. Hi, Seemingly simple question -- but I can't get it to work. I have a software controller, with a Pan Knob and a Volume Fader. Example: Basic Cakewalk If I twirl the Pan Knob in my surface, it sends Midi CC 10 messages to Sonar. Sonar reflects the change internally, but does not update the Knob in the console. Sonar does not send back out the changed value via Midi. If I twiddle the knob in Sonar, it sends out the Midi CC change to my controller. Example 2: "Remote Control Mode": Using remote control mode, one can assign Controllers to Cakewalk widgets. So, I can assign CC 10 to the pan knob, for example. If I twirl the Pan Knob on my surface it sends Midi CC 10 messages to Sonar. Sonar reflects the change graphically, and passes the change back to my Surface!! Yes !! BUT: When I twiddle the knob in Cakewalk, it sends the CC Message and endlessly repeats it (confirmed with Midi Monitoring software). and I mean endlessly! Anybody out there who can shed light on this? Is it a bug, or am I missing some obvious thing? Thanks. s.
  7. Thanks very much for the reply. Unfortunately, while you are correct about the "standard", cakewalk doesn't seem to use it. (The mackie isn't the issue, its Cakewalk). If you do a screenshot of the cakewalk fader strips, they go from INF to +6. Once can approximately measure the linear location of each label (-24, -12, -6, 0 etc..). Doesn't even closely resemble the formula! Cakewalk seems to have its own logic...and that's what I'm trying to get some insight into. The Mackie is just a dumb strip. It's labels don't conform to cakewalks -- it just sends an receives an integer between 0 and 16368 . Hopefully, someone who touches the code can copy and paste the formula. I tried reverse engineering it, by building an x, y scatter plot and i get: y = 21.148ln(x) - 199.66, where y is dB and x is a linear value between 0 and 16368 But that formula seems totally wacko - even though it has an r^2 of 0.997. s.
  8. A bit of a wacky question. Cakewalk faders run from +6db to -INF in a relative db scale. But of course they are linear faders. I am building a software equivalent of the Mackie MCU. I can happily receive and translate the cakewalk midi stream such that a value of 16368 equals +6db and 2352 equals -36db and 0 equals -INF. Could someone at Cakewalk tell me the two formulas used by the engine: linear value to db (a log function) and db to linear value (an exponential function). There are several standards out there -- but I don't think Cakewalk uses those. Thanks in advance! s.
×
×
  • Create New...