Forum Replies Created
-
AuthorPosts
-
The problem is only my lua method related (midiMessageReceived).
When i send an patchdump sysexstring the modulators don’t update to the right value. (99,9% sure i’ve got the right bytes)
When i’m sending de same patchdump a second time the modulators go to a diverend value. (did check the midimonitor to see
if the sysexstring is exactly the same)I’ll make a button with an complete patchdump string and make a midiloop to see if i can recreate the problem without the synth.
Thank you dasfaker! Problem solved.
Strange thing is that you have to do it in the whole list.
I dit try to set half of the list to (false ,false ,true)) with no effect.I’m stil having troubles with random updating of the modulators with the same sysex string.
Any idea where that problem is coming from?The midiMessageReceived function is working (well sort of ” title=”Wink” /> stil some things to figure out
but it’s a big leap forward ” title=”Wink” />Just for my understanding.
The errorcode above speaks of runtime error at line [-1].
This is the method name?I’m sorry Atom, didn’t read your last reply.
It works!!!!!
At least in the vst version. havn’t tryed standalone yet.And with your latest code i’m getting:
Callback error:midiMassageReceived
lua runtime error
at line [-1]:
[C]
error message:
attempt to call a nil value
method disabledand then my vst host crashes also (Native Instruments Maschine)
in the vst version i’m getting a massage in the console
MANAGER INIT
Callback error: midiMassageReceivedlua runtime error
At line [-1]:
(tail call)What:
tail
Namewhat:Name:
Error message:
attempt to call a nil value. Method disabledHere is the paneltext
In the vst version ctrlr doesn’t crash but there is no byte length shown in the console
Yes and also ctrlr crashes.
What i’m finding strange is when i fire a random sysex string at other pannels
like the Virus or Blofeld, ctrlr doesn’t crash.Haha you must be thinking ” title=”Wink” />
But there is no output in the console an ctrlr crashes.
if i input this in the console i’m getting an error.
ERROR: [string "data = midiMessage:getLuaData()…"]:1: attempt to index global ‘midiMessage’ (a nil value)Windows version 32bit
I’ve the latest build and tryed the stable one.
Both with the same behavior.Even with this little lua code ctrlr crashes[code:33riel45]–
— Panel executes when when a midi message is received
—
—midiMessageReceived = function(midiMessage)
s = midiMessage:getSize()
— console(string.format ("I got the size of the message, here it is : %d",s))
end
[/code:33riel45]
I think console should show me the sysex byte lengtGetrange does the same. Also gives a crash
Yes i’ve taken out some lines.
It’s a test panel with one modulator only (trying to get the code working for the JX-8P)
Ctrlr crashes with all midi inputThe sysex when i press the preset button on the JX-8P:
[list:2l8igms2]
[f0 41 36 00 21 30 01 08 02 f7][19216.431]
[c0 40][19216.432]
[f0 41 36 00 21 30 01 07 00 f7][19216.435]
f0 41 35 00 21 20 01 20 50 49 41 4e 4f 20 31 20 20 20 00 60 42 00 00 60 20 00 68 46 00 00 7f 7f 7f 00 60 5a 55 7f 20 60 20 2d 1c 00 11 5f 40 20 7f 20 20 40 54 67 00 2f 00 21 20 00 4d 00 25 20 7f 40 f7][19216.49]
[/list:u:2l8igms2]That worked! thanks.
Is it possible to link one modulator to multiple modulators in the text file?
Like; modulatorLinkedToModulator="modulator-2 and modulator-3 and modulator-4"Also uiImageButton doesn’t show the image in normal mode.
Only in troggle/normal+mouse/troggle+mouse the image is there.In the nightly build the input works but no reaction between two modulator with the same radio group.
I’m trying to link modulators now.
This only works when i edit the saved .panel because i can’t select an modulator in ctrlr. -
AuthorPosts