Differences From Artifact [503badc6f2]:
- Executable file parse.py — part of check-in [9bd31df856] at 2010-11-16 18:37:14 on branch ply — Now prints csound code, both notes and chords, replicating the functionality of the original Minimaly Functional Version (user: spiffytech@gmail.com, size: 3262) [annotate] [blame] [check-ins using]
To Artifact [b7fd05b171]:
- Executable file parse.py — part of check-in [f02f66468f] at 2010-11-17 05:32:12 on branch tld — Now supports minor chords (user: spiffytech@gmail.com, size: 3314) [annotate] [blame] [check-ins using]
| ︙ | |||
100 101 102 103 104 105 106 | 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | + + - + |
p[0] = new_note
def p_chord(p):
'''chord : QUOTE pitch QUOTE
| QUOTE pitch CHORD_TYPE QUOTE
'''
pitch = p[2].value
pitch = pitch.upper()
|
| ︙ |