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 <>

Functions [hide private]
Checks that PyGame can be imported and outputs an error if not.
source code
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'