-
Notifications
You must be signed in to change notification settings - Fork 5
5.2 UI changes when using the Debugger
By default, we made some changes in how the GUI looks like when Realtime Debugger is enabled. This is necessary to give the developer more freedom in handling the debugging processes.
Here are the changes that occur when Realtime Debugger is enabled:
• UI Height is extended to 540 px. Any instruction given in create_instrument()
function will be overriden, so you should expect your GUI to be taller than usual.
• On the lower side of the Instrument will be placed the Realtime Debugger. This tool consists in a few different windows displaying various informations in realtime regarding GUI, MIDI informations, custom variables and so on.
In order to enable the Realtime Debugger, the developer needs to add a few functions inside callbacks. These functions allow to retrieve the required data each time the callback is triggered. Be sure to add these functions exactly where they are supposed to be, otherwise you are likely to encounter issues.
WARNING: Koala's template file does already include all the available callbacks along with their specific DEBUG.
functions. You should take care only of on ui_control
callback if you use the Template as a starting point for your script.
DEBUG.on_persistence_changed
DEBUG.on_listener
DEBUG.on_note {To be added at the beginning of 'on note'}
DEBUG.groups_monitor {To be added at the end of 'on note'}
DEBUG.on_release
DEBUG.on_controller
DEBUG.on_pgs_changed
DEBUG.on_poly_at
DEBUG.on_rpn_nrpn
DEBUG.on_async_complete
DEBUG.on_rpn_nrpn
DEBUG.on_ui_control {To be added to every 'on ui control' callback}