Package toon :: Module midi :: Class SimpleMidiInput
[hide private]
[frames] | no frames]

Class SimpleMidiInput

source code

object --+
         |
        SimpleMidiInput

MIDI input using pygame.midi.

Instance Methods [hide private]
 
__init__(self, input_id=None, verbose=True)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
print_devices_info(self, input_only=True)
Prints infos on all MIDI input devices.
source code
 
_verb(self, txt)
Prints INFO messages
source code
 
_setup_input(self) source code
 
start(self)
Starts polling Returns a deferred whose callback will be invoked with self when self.stop is called, or whose errback will be invoked when the function raises an exception or returned a deferred that has its errback invoked.
source code
 
poll(self) source code
 
register_callback(self, callback) source code
 
_call_callbacks(self, event)
Called when a MIDI event occurs.
source code
 
__del__(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, input_id=None, verbose=True)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)