-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LUA mod:getMidiMessage():getProperty("midiMessageCtrlrNumber") crashing on PC #17
Comments
Will have to check that one... |
Comparer code v5.6.31 avec source v5.3.198 |
NOTE: Probably comes from a bad LuaBind defintion. Search for wrapForLua CtrlrLuaManager :
|
CtrlrLuaManager L1143 was commented, I don't remember why :
If uncommented, does not work. |
CtrlrModulator.cpp has all the mod properties CtrlrMidiMessage.cpp has all the midiMessage properties requires something like that :
|
Different properties of the midi message of the modulator :
|
In Ctrlr 5.3.198 there's extra files for Lua which have been merged and deprecated : CtrlrModulatorProcessor.cpp merged with CtrlrManager.cpp |
The function getProperty() are the following :
We need to bind them to LUA :
|
FIXED : test midiMessageCtrlrNumber_1_0_2024-12-17_15-44.panel.zip
Both getNumber and getProperty() work from now on. |
FIXED IN v5.6.31 NOTE : CtrlrMidiMessage.h L118
CtrlrMidiMessage.cpp L920
|
local myNumber = mod:getMidiMessage():getProperty("midiMessageCtrlrNumber")
crashes on v5.6 on Windows. It works in 5.3.201.
NOTE : All mod:getMidiMessage():getProperty() won't work on macOS and will return :
Error message: [string "sendCC"]:10: attempt to call method 'getProperty' (a nil value)
See @dnaldoog test panel for testing : test midiMessageCtrlrNumber_1_0_2024-05-30_11-40.zip
The text was updated successfully, but these errors were encountered: