Skip to content

Starters

start_gui

start_gui() -> NoReturn

Starts the script and runs GUI. Logging goes to GUI Log widget

start_silent

start_silent() -> NoReturn

Starts the script without logging. The fastest way to run the script

start_cli_debug

start_cli_debug() -> NoReturn

Starts the script with log output to console. Console prints increase latency and jitter. Use for debugging only.


restart_script

restart_script() -> None

Restart the current script

ports_opened

ports_opened() -> None

The context manager to use midiscripter as a library in your app. Opens all declared ports on enter and closes them in exit. Use it instead of starter.

Example
with midiscripter.ports_opened():
    your_code_loop()