Differences From Artifact [791db3d131477ecf]:
- Executable file
spiffyscore.py
- 2011-11-01 18:52:19 - part of checkin [eb81d5f9fd] on branch develop - Added a sampled double bass, modified the program to respond to an instrument's specified octave (user: brian) [annotate]
To Artifact [7509ae0a18f92e49]:
- Executable file
spiffyscore.py
- 2011-11-01 19:46:27 - part of checkin [c9abf46a9f] on branch feature/diskin2 - Got diskin2 sample method partially working; it won't play all of the files, though (user: brian) [annotate]
101 "u": ["C/4 C/4 C/4 C/4"], 101 "u": ["C/4 C/4 C/4 C/4"],
102 }, 102 },
103 }, 103 },
104 }, 104 },
105 }, 105 },
106 "sync_test": { 106 "sync_test": {
107 "body": { 107 "body": {
108 "lead_instr": { # Instrument 'melody' | 108 # "lead_instr": { # Instrument 'melody'
109 "score_line": "i1 %(time)f %(duration)f 7000 %(octave)d.%(no | 109 # "score_line": "i1 %(time)f %(duration)f 7000 %(octave)d.%(n
110 "octave": 8, | 110 # "octave": 8,
111 "duration": 30, | 111 # "duration": 30,
112 "grammars": { # Notes for this instrument to use in this pi | 112 # "grammars": { # Notes for this instrument to use in this p
113 "u": ["A/4, B/4, C/4 D/4 (u)", "D/4' D/4' D/4' D/4' (v)" | 113 # "u": ["A/4, B/4, C/4 D/4 (u)", "D/4' D/4' D/4' D/4' (v)
114 "v": ["C/4 C/4 C/4 C/4 (w)"], | 114 # "v": ["C/4 C/4 C/4 C/4 (w)"],
115 "w": ["E/4 F/4 E/4 F/4 (u)"], | 115 # "w": ["E/4 F/4 E/4 F/4 (u)"],
116 }, | 116 # },
117 }, | 117 # },
118 "follow_instr": { # Instrument 'melody' 118 "follow_instr": { # Instrument 'melody'
119 "score_line": "i3 %(time)f %(duration)f 7000 %(octave)d.%(no 119 "score_line": "i3 %(time)f %(duration)f 7000 %(octave)d.%(no
120 # "sync": "lead_instr", 120 # "sync": "lead_instr",
121 "octave": 2, 121 "octave": 2,
122 "duration": 30, 122 "duration": 30,
123 "grammars": { # Notes for this instrument to use in this pi 123 "grammars": { # Notes for this instrument to use in this pi
124 "u": ["E F G E (u)"], | 124 "u": ["E F G E (v)"],
125 "v": ["G A A A (e)"], | 125 "v": ["G A A A (e)", "G A A A (v)"],
126 "e": ["B' A' G' A' (v)"], | 126 "e": ["B A G A (v)"],
127 }, 127 },
128 }, 128 },
129 }, 129 },
130 }, 130 },
131 } 131 }
132 print '''f1 0 512 10 1 132 print '''f1 0 512 10 1
133 f2 0 8192 10 .24 .64 .88 .76 .06 .5 .34 .08 133 f2 0 8192 10 .24 .64 .88 .76 .06 .5 .34 .08