songreader
index
/home/zelle/Dropbox/classes/cs220/projects/audio/songplayer/songreader.py

# songreader.py
#   A class to process simple song files

 
Classes
       
builtins.object
SongReader

 
class SongReader(builtins.object)
    SongReader(songfile)
 
Extract information from a songfile:
 
public attributes:
 
    info: dictionary of the meta information at the top of the song file
    parts:  list of the "parts" from the song file
 
    each part is a list of pairs of the form (note:str, beats:float)
          note is a scientific pitch and 
          beats is the number of beats the that the note is held.
 
  Methods defined here:
__init__(self, songfile)
read data from songfile
pre: songfile is the name of a file containing song information
post: the extracted information is in info and parts

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)