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 OSCInterface(port=56418, notify_ports=[56419])¶
Allows controlling mididings via OSC.
- Parameters:
port – the OSC port to listen on.
notify_ports – a list of OSC ports to notify when the current scene changes.
These messages are currently understood:
/mididings/switch_scene ,i: switch to the given scene number.
/mididings/switch_subscene ,i: switch to the given subscene number.
/mididings/prev_scene: switch to the previous scene.
/mididings/next_scene: switch to the next scene.
/mididings/prev_subscene: switch to the previous subscene.
/mididings/next_subscene: switch to the next subscene.
/mididings/panic: send all-notes-off on all channels and on all output ports.
/mididings/quit: terminate mididings.
/mididings/restart: restart mididings.
Defined in
mididings.extra.osc
. Requires pyliblo.
General MIDI¶
The mididings.extra.gm
module contains constants for program and
controller numbers defined in the General MIDI standard.
Programs¶
|
|
Controllers¶
|
|