Skip to content

Instantly share code, notes, and snippets.

View jefftrevino's full-sized avatar

Jeff Treviño jefftrevino

View GitHub Profile
# -*- coding: utf-8 -*-
from abjad import *
from itertools import product
from presentation import *
def intListToPitchClasses(intList):
pitchClasses = []
masterStrings = ['d', 'c', 'b', 'e', 'f', 'g', 'a']
masterPitchClasses = [pitchtools.NamedPitchClass(x) for x in masterStrings]
deviationDict = {-1:'s', 0:'', 1:'f'}