Forum Replies Created
-
AuthorPosts
-
Did you code outside of CTRL in a text editor such as sublime text or an ide like Xcode?
Thank you both for helping out. When I have a moment I will try this out and report back.
That seems simple enough. Thank you!
Trade out the aa bb cc dd for any type of parameter, for instance, they could be fx slot effect types that correspond to only certain types of fx.
I figured it would be a Lua method but I am not sure where to even begin.
June 22, 2016 at 1:43 pm in reply to: I need a way to send 4 non standard midi messages using one knob or combo box #69479I am wanting to send them separately. Think a knob or a switch that goes from fx1, fx2, fx3, fx4 and bypass.
I found a solution in the demo Panels! Thanks you for your help.
Never mind about the get button referencing the current tab. I am trying to get the method working using the tab onchange fuction and I am getting elseif errors. can you help with syntax?
Sorry about the phrasing, Goodweather. I was up at 5am after an all night coding binge. What I was thinking of you have 3 tabs for an object with a button that request parameters based on the tab that you are on. How would I go about making it?
Is there a way to make a button to get the current tab’s parameters if I made a lua script pertaining to those parameters, the example being a multi-timbral synth?
Thank you very much will be trying out soon. 🙂
Goodweather I appreciate your quick response. Unfortunately I do not understand how to utilize your solution with the method that I am using. Can you please provide a more indepth example?
Ok knob 1 is the “WMT1 Wave Number L (Mono)”. The sysex message is expressed as this messages coming out of the synth when changing the paramater.
F0 41 10 00 00 00 0E 12 19 70 2E 23 "00 00 00 00" "00 01 0C 01" 18 F7 F0 41 10 00 00 00 0E 12 19 70 2E 23 "00 00 00 00" "00 01 0C 02" 17 F7 F0 41 10 00 00 00 0E 12 19 70 2E 23 "00 00 00 00" "00 01 0C 03" 16 F7 F0 41 10 00 00 00 0E 12 19 70 2E 23 "00 00 00 00" "00 01 0C 04" 15 F7
Relevant parts of the message are separated by ” “.
This is the sysex list for “WMT1 Wave Number R”
F0 41 10 00 00 00 0E 12 19 70 2E 23 "00 00 00 00" "00 01 0C 01" "00 01 0C 05" 06 F7 F0 41 10 00 00 00 0E 12 19 70 2E 23 "00 00 00 00" "00 01 0C 01" "00 01 0C 04" 07 F7 F0 41 10 00 00 00 0E 12 19 70 2E 23 "00 00 00 00" "00 01 0C 01" "00 01 0C 03" 08 F7 F0 41 10 00 00 00 0E 12 19 70 2E 23 "00 00 00 00" "00 01 0C 01" "00 01 0C 02" 09 F7
Relevant parts of the message are separated by ” “.
I am needing to make a knob in ctrlr that will change “WMT1 Wave Number L” and I also need to make a knob in ctrlr for “WMT1 Wave Number R” parameters.
After that I will need help making script that will update when I request sysex dump.
Here is a dump example from the drum part of the synth.
00 F0 41 10 00 00 00 0E 12 19 70 2E 00 49 4E 49 54 | A p. INIT| 10 20 50 41 52 54 49 41 4C 00 00 78 3C 40 00 40 00 | PARTIAL x<@ @ | 20 40 01 7F 00 00 00 1E 03 02 01 01 00 01 01 00 00 |@ | 30 00 00 00 00 01 0C 02 00 01 0C 01 03 00 00 00 00 | | 40 40 40 40 01 01 7F 01 7F 00 00 01 00 00 00 00 01 |@@@ | 50 00 00 01 0B 00 00 00 00 01 00 00 00 00 40 40 40 | @@@| 60 01 01 7F 01 7F 00 00 01 00 00 00 00 01 00 00 0F | | 70 0A 00 00 00 00 01 00 00 00 00 40 40 40 01 01 7F | @@@ | 80 01 7F 00 00 00 00 00 00 00 01 00 00 00 00 00 00 | | 90 00 00 01 00 00 00 00 40 40 40 01 01 7F 01 7F 00 | @@@ | A0 00 40 40 40 40 00 28 50 28 40 22 5E 40 40 01 7F | @@@@ (P(@"^@@ | B0 01 40 00 40 40 01 40 40 40 00 0A 0A 40 00 7F 7F | @ @@ @@@ @ | C0 7F 00 01 60 40 40 00 0A 0A 64 7F 7F 7F 00 40 33 | @@ d @3| D0 F7 | |
Here are examples of what I am using to update my panel so far.
panel:getModulatorByName("DRUM_BD1_Partial_Receive_Hold"):setModulatorValue(programData:getByte(42), true, true, true) -- byte43 reserved panel:getModulatorByName("DRUM_BD1_WMT_Velocity_Control"):setModulatorValue(programData:getByte(44), true, true, true)
My 2nd question is how do I change this to update my panel for my 2 knobs “WMT1 Wave Number L (Mono)” and “WMT1 Wave Number R” paramaters
I know that WMT1 Wave Switch is byte 45 from the dump
while WMT1 Wave Group Type = byte 46
WMT1 Wave Group ID = bytes 47 through bytes 50
WMT1 Wave Number L (Mono) = bytes 51 through bytes 54
WMT1 Wave Number R = bytes 55 through bytes 58How do I combine the 4 bytes for each parameters above to so they will update in ctrlr?
- This reply was modified 7 years, 11 months ago by memorysplice.
Attachments:
You must be logged in to view attached files.I am trying to get knob #2 to reference the value from knob #1. When I change the value on knob #2 it is referencing the sysex value on knob #1.
The 1st 4 sysex values listed are from knob #1 while the next 4 values are from knob #2.
I think I found it. Thank you!
Is there a link for download?
Keep in mind the value of the parameter can go from 0-255.
Here is what I tried to use and it is not working. Maybe someone can spot the issue with the code
CS_ATTACK = 128 * midiMessage:getLuaData():getByte(15) + midiMessage:getLuaData():getByte(16+1) panel:getModulatorByName("CS_ATTACK"):setModulatorValue(CS_ATTACK, false, false, false)
Actually I do not have it. I am still having problems. If daimondamps or anyone else can explain this to me, that would be awesome!
modvalue = 128 * programData:getByte(x) + programData:getByte(x+1)
Never mind, I got it now.
-
AuthorPosts