Module Song
[hide private]
[frames] | no frames]

Module Song

source code

Classes [hide private]
  Difficulty
  SongInfo
  LibraryInfo
  Event
  Note
  Tempo
  TextEvent
  PictureEvent
  Track
  Song
  MidiWriter
  ScriptReader
  MidiReader
  MidiInfoReader
Functions [hide private]
 
loadSong(engine, name, library='songs', seekable=True, playbackOnly=True, notesOnly=True) source code
 
loadSongInfo(engine, name, library='songs') source code
 
createSong(engine, name, guitarTrackName, backgroundTrackName, rhythmTrackName='', library='songs') source code
 
getDefaultLibrary(engine) source code
 
getAvailableLibraries(engine, library='songs') source code
 
getAvailableSongs(engine, library='songs', includeTutorials=True) source code
Variables [hide private]
  DEFAULT_LIBRARY = 'songs'
  AMAZING_DIFFICULTY = 0
  MEDIUM_DIFFICULTY = 1
  EASY_DIFFICULTY = 2
  SUPAEASY_DIFFICULTY = 3
  difficulties = {0: Amazing, 1: Medium, 2: Easy, 3: Supaeasy}
  noteMap = {60: (3, 0), 61: (3, 1), 62: (3, 2), 63: (3, 3), 64:...
  reverseNoteMap = {(0, 0): 96, (0, 1): 97, (0, 2): 98, (0, 3): ...
  k = 63
  v = (3, 3)
Variables Details [hide private]

noteMap

Value:
{60: (3, 0),
 61: (3, 1),
 62: (3, 2),
 63: (3, 3),
 64: (3, 4),
 72: (2, 0),
 73: (2, 1),
 74: (2, 2),
...

reverseNoteMap

Value:
{(0, 0): 96,
 (0, 1): 97,
 (0, 2): 98,
 (0, 3): 99,
 (0, 4): 100,
 (1, 0): 84,
 (1, 1): 85,
 (1, 2): 86,
...