Module mididings.extra
¶
Hooks¶
Hooks extend the functionality of mididings.
Instances of these classes can be registered using the hook()
function.
- class MemorizeScene(memo_file)¶
Saves the currently selected scene number to a file when terminating mididings, and restores it at the next startup.
- Parameters:
memo_file – the path of the file to be used to store the scene number.
- class AutoRestart(modules=True, filenames=[])¶
Automatically restarts mididings when the script changes.
This restarts the entire mididings script, so MIDI processing is interrupted, and mididings does not take care of reestablishing any ALSA/JACK connections that were made manually. If the new script contains errors that prevent it from running, mididings exits and needs to be restarted manually once the errors are fixed.
- Parameters:
modules – If true, all imported local Python modules are monitored for changes as well.
filenames – a list of additional files to be monitored.
Defined in
mididings.extra.inotify
. Requires pyinotify.
General MIDI¶
The mididings.extra.gm
module contains constants for program and
controller numbers defined in the General MIDI standard.
Programs¶
|
|
Controllers¶
|
|