Changes In Branch feature/diskin2 Excluding Merge-Ins
This is equivalent to a diff from 072fa6ad30 to 1bc01ba9c9
2011-11-03
| ||
18:50 | Merged in diskin2 mode for cfg.orc check-in: 0021a3fe22 user: brian tags: develop | |
18:49 | By magic, fixed problem with not all bass notes playing via diskin2 Closed-Leaf check-in: 1bc01ba9c9 user: brian tags: feature/diskin2 | |
18:34 | Fixed program to now handle notes with accidentals check-in: b5a8b20242 user: brian tags: feature/diskin2 | |
2011-11-01
| ||
19:46 | Got diskin2 sample method partially working; it won't play all of the files, though check-in: c9abf46a9f user: brian tags: feature/diskin2 | |
18:54 | Imported the todo list from MUS306 check-in: 072fa6ad30 user: brian tags: develop | |
18:52 | Added a sampled double bass, modified the program to respond to an instrument's specified octave check-in: eb81d5f9fd user: brian tags: develop | |
Modified cfg.orc from [e60884eb39] to [c58361434c].
1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | sr=44100 ksmps=20 nchnls=1 |
︙ |
Modified parse.py from [2afbfc4534] to [a8d0994825].
1 2 3 4 5 6 7 8 9 10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - | #!/usr/bin/env python import tree from ply import lex, yacc class Note(): def __init__(self, value, duration=1, octave=8): self.value = value self.duration = duration self.octave = octave |
︙ | |||
42 43 44 45 46 47 48 | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | - + | "NODE", ) t_ignore = " |" t_BASENOTE = r"[A-Ga-g]" # t_BASENOTE = r"I+V?|VI*|i+v?|vi*" |
︙ | |||
120 121 122 123 124 125 126 | 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | - + + + + | ''' note.syncopate = p[2] def p_accidental(p): '''note : ACCIDENTAL note ''' |
︙ | |||
151 152 153 154 155 156 157 158 159 160 161 162 163 | 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | + + | def p_node(p): '''node : NODE ''' p[0] = tree.Tree(p[1].strip("(").strip(")")) def p_error(p): # import ipdb # ipdb.set_trace() print p raise Exception("Syntax error at '%s' of element type %s" % (p.value, p.type)) yacc.yacc() return yacc.parse(score) |
Modified spiffyscore.py from [791db3d131] to [d189f30210].
︙ | |||
101 102 103 104 105 106 107 | 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | - - - - - - - - - - + + + + + + + + + + + - - - + + + | "u": ["C/4 C/4 C/4 C/4"], }, }, }, }, "sync_test": { "body": { |
︙ | |||
253 254 255 256 257 258 259 | 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 | - + - + - + - + - + + | total += n.duration return total def generate_csound_score(score, score_line, t): csound_note_values = { "C": "00", |
Deleted todo.org version [510751b73f].
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
|