Forum Replies Created
-
AuthorPosts
-
Hi.
Thank you very much. It´s strange having the same code does not work. But your panel works well. I delete object and re-write and work.
Happy new year.
F7h
dasfaker, thanks for your answer… It works well with m, but not with m2.
I tried with this code:
function valor_aleatorio ()
m = panel:getModulatorByName("modulator-1")
m2 = panel:getModulatorByName("modulator-4")
if m ~= nil then
c = m:getComponent()
if c:getProperty("uiType") == "uiSlider" then
console(m:getLuaName())
m:setModulatorValue (math.random(127), false, true, true)
end
end
if m2 ~= nil then
c2 = m2:getComponent()
if c2:getProperty("uiType") == "uiSlider" then
console(m2:getLuaName())
m2:setModulatorValue (math.random(127), false, true, true)
end
end
end
but I get this error message:
At Line[2]…
… C stack overflow
???Hi.
It’s not hard to do that sir.
For example :
Parm Number – Parameter Name – Min.Max.Value
23 – pri instrument – 0..255 (Proteus1.SoundSet#0)Your code: F0 18 14 dd 03 pl pm vl vm F7
pl = 23 mod 128 = 23 decimal or (17 Hex)
pm = 23 div 128 = 0 decimal or (00 Hex)It will be like this in CTRLR:
F0 18 14 00 03 17 00 LS MS F7
CTRLR uses LS and MS variables to do its job.
Your Device Id is 00h (by default)
Your modulator min max will be 0 to 255Greetings
"atom":23vqqcm6 wrote:First of all the expression can be any mathematical expression details: http://www.rawmaterialsoftware.com/juce … ml#detailsSecond of all some additional functions are implemented to help with some maths: api/class_ctrlr_modulator_processor.html#afed723cfa2eb7c5db71c1e30e919302b[/quote:23vqqcm6]
And third: use a mapping list, like 2mm used in his morpheus panel.
[url:23vqqcm6]http://ctrlr.org/viewtopic.php?f=61&t=673&p=5505&hilit=morpheus#p3526[/url:23vqqcm6]
I think I will use that solution, it’s simple.thks.
F7h
"SirSickSik":1kwa2u1c wrote:following the manual this should work, but I don’t see the mix parameter of unit A change..
Also, according to the manual, the DP-4 should automatically shift to edit-mode when receiving these sysex, but it doesn’t.
Anyone sees a (couple of) mistake(s) in here? This is the first time I do this sysex, so it’s probably me [/quote:1kwa2u1c]
Hello
In my experience a device does not respond to MIDI system exclusive messages due to any of the following situations:
<Error>:<solution/comment>1.MIDI Link error: conect MIDI Cable (Out to In) and (In to Out)
2.MIDI Device Configuration error: Select the correct MIDI Port in your program
3.Syntax error in MIDI Messages:
3.1. You wrote an "o" when it should be "0"
3.2. You wrote a number in decimal when it should be hex
etc
4.DevId error: Your device or message have different DevId
5.Bulk Protect: Your device has a bulk protect on.Regards
"Filch":3n4evz5z wrote:But, sending all global data seems like an obtuse method to change the current program. I might be missing specific Bank and Program change somewhere[/quote:3n4evz5z]Hello:
There are 3 methods for bank select…
1. Using the Bank Select Message
1.1. Only MBS Bank Select (CC# 0) Bn 00 mm (v.g. SoundBlaster Soundfont bank)
1.2. Only LSB Bank Select (CC# 32) Bn 20 ll (v.g. Emu Vintage, UltraProteus, Morpheus ZPlane, and Waldorf.Blofeld see at user’s manual page 114)
1.3. Using MSB and LSB Bank Select (v.g. Korg, Roland)
2. Using a Program Change ( Cn xx ) (v.g. Yamaha SY-77)
3. Using System Exclusive messageSo,
If you have to select a Program (Waldorf.Blofeld) you have to send:
– Bn 20 ll (ll=> 0:Bank A, 1: Bank B, …
– Cn pp (pp => 0: Program 1, 1:Program 2)Regards.
-
AuthorPosts