Package jazzparser :: Package harmonical :: Module output
[hide private]
[frames] | no frames]

Module output

source code

Audio output for the harmonical.

Routines for preparing and using audio output. These rely on PyGame, which is an optional dependency.


Author: Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>

Functions [hide private]
 
check_pygame()
Checks that PyGame can be imported and outputs an error if not.
source code
 
init_mixer()
Check that the mixer's initialized and initialize it if not.
source code
 
play_audio(samples, wait_for_end=False)
Uses PyGame to play the audio samples given as a list of samples.
source code
Variables [hide private]
  __package__ = 'jazzparser.harmonical'