Package jazzparser :: Package data :: Package input :: Module tools :: Class PlayMidiChunksTool
[hide private]
[frames] | no frames]

Class PlayMidiChunksTool

source code

      object --+    
               |    
shell.tools.Tool --+
                   |
                  PlayMidiChunksTool

Instance Methods [hide private]
 
run(self, args, state)
Main operation of tool, taking arguments in args and reading and potentially manipulating the shell state.
source code

Inherited from shell.tools.Tool: process_option_list

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

Static Methods [hide private]
 
play_segmidi(segmidi, chunk=None) source code
Class Variables [hide private]
  name = 'Midi chunk player'
hash(x)
  commands = ['play']
  usage = ('play', 'play the MIDI input chunk by chunk')
  help = 'Input tool specially for segmented MIDI input. Will pl...

Inherited from shell.tools.Tool: tool_options

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

run(self, args, state)

source code 

Main operation of tool, taking arguments in args and reading and potentially manipulating the shell state.

By the time this is called, the options dict is available in self.options.

Overrides: shell.tools.Tool.run
(inherited documentation)

Class Variable Details [hide private]

help

Value:
'''Input tool specially for segmented MIDI input. Will play the input \
chunk by 
chunk. Use a keyboard interrupt (Ctrl+C) to stop playback.
'''