Package jazzparser :: Package misc :: Package raphsto :: Module constants
[hide private]
[frames] | no frames]

Module constants

source code

Variables [hide private]
  TONIC_NAMES = {0: 'C', 1: 'Db', 2: 'D', 3: 'Eb', 4: 'E', 5: 'F...
  RELATIVE_TONIC_NAMES = {0: 'I', 1: 'bII', 2: 'II', 3: 'bIII', ...
  MODE_MAJOR = 0
  MODE_MINOR = 1
  MODE_NAMES = {0: 'major', 1: 'minor'}
  MODE_SHORT_NAMES = {0: 'M', 1: 'm'}
  CHORD_I = 0
  CHORD_II = 1
  CHORD_III = 2
  CHORD_IV = 3
  CHORD_V = 4
  CHORD_VI = 5
  CHORD_VII = 6
  CHORD_V7 = 7
  CHORD_NAMES = {0: 'I', 1: 'II', 2: 'III', 3: 'IV', 4: 'V', 5: ...
  CHORDS = [0, 1, 2, 3, 4, 5, 6, 7]
  MODES = [0, 1]
  CHORD_NOTES = {0: {0: (0, 4, 7), 1: (2, 5, 9), 2: (4, 7, 11), ...
  SCALES = {0: (0, 2, 4, 5, 7, 9, 11), 1: (0, 2, 3, 5, 7, 8, 11)}
  TRIAD_TYPE_MAJOR = 0
  TRIAD_TYPE_MINOR = 1
  TRIAD_TYPE_DIMINISHED = 2
  TRIAD_TYPE_AUGMENTED = 3
  TRIAD_TYPE_DOM7 = 4
  TRIAD_TYPE_NAMES = {0: 'maj', 1: 'min', 2: 'dim', 3: 'aug', 4:...
  TRIAD_TYPE_SYMBOLS = {0: '', 1: 'm', 2: 'dim', 3: 'aug', 4: '7'}
  SCALE_TRIADS = {0: {0: 0, 1: 1, 2: 1, 3: 0, 4: 0, 5: 1, 6: 2, ...
  TRIAD_NOTES = {0: (0, 4, 7), 1: (0, 3, 7), 2: (0, 3, 6), 3: (0...
  CHORD_SETS = {'four-chord': [0, 1, 3, 4], 'scale': [0, 1, 2, 3...
  __package__ = None
hash(x)
Variables Details [hide private]

TONIC_NAMES

Value:
{0: 'C',
 1: 'Db',
 2: 'D',
 3: 'Eb',
 4: 'E',
 5: 'F',
 6: 'Gb',
 7: 'G',
...

RELATIVE_TONIC_NAMES

Value:
{0: 'I',
 1: 'bII',
 2: 'II',
 3: 'bIII',
 4: 'III',
 5: 'IV',
 6: 'bV',
 7: 'V',
...

CHORD_NAMES

Value:
{0: 'I',
 1: 'II',
 2: 'III',
 3: 'IV',
 4: 'V',
 5: 'VI',
 6: 'VII',
 7: 'V7'}

CHORD_NOTES

Value:
{0: {0: (0, 4, 7),
     1: (2, 5, 9),
     2: (4, 7, 11),
     3: (5, 9, 0),
     4: (7, 11, 2),
     5: (9, 0, 4),
     6: (11, 2, 5),
     7: (7, 11, 2, 5)},
...

TRIAD_TYPE_NAMES

Value:
{0: 'maj', 1: 'min', 2: 'dim', 3: 'aug', 4: 'dom7'}

SCALE_TRIADS

Value:
{0: {0: 0, 1: 1, 2: 1, 3: 0, 4: 0, 5: 1, 6: 2, 7: 4},
 1: {0: 1, 1: 2, 2: 3, 3: 1, 4: 0, 5: 0, 6: 2, 7: 4}}

TRIAD_NOTES

Value:
{0: (0, 4, 7),
 1: (0, 3, 7),
 2: (0, 3, 6),
 3: (0, 4, 8),
 4: (0, 4, 7, 10)}

CHORD_SETS

Value:
{'four-chord': [0, 1, 3, 4],
 'scale': [0, 1, 2, 3, 4, 5, 6],
 'scale+dom7': [0, 1, 2, 3, 4, 5, 6, 7],
 'three-chord': [0, 3, 4]}