Overview
Comment: | Now prints score file header (function table), so I can just >> to foo.sco |
---|---|
Timelines: | family | ancestors | descendants | both | ply |
Files: | files | file ages | folders |
SHA1: |
00f4ddc9f3f301d29ddb32b0e6541b56 |
User & Date: | spiffytech@gmail.com on 2010-11-12 20:23:05 |
Other Links: | branch diff | manifest | tags |
Context
2010-11-12
| ||
20:27 | Added a few grammars, added G# to csound note conversion list check-in: 3cd7a5dcd0 user: spiffytech@gmail.com tags: ply | |
20:23 | Now prints score file header (function table), so I can just >> to foo.sco check-in: 00f4ddc9f3 user: spiffytech@gmail.com tags: ply | |
20:12 | Moved all logic into neat, orderly functions. Now prints only the csound score portion. check-in: 6a17d4d36a user: spiffytech@gmail.com tags: ply | |
Changes
Modified cfg.py from [4cae783255] to [e38fca44a4].
︙ | |||
14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | + | def main(): score = "u u u" key = "C" score = generate_score(score) score = keyify_score(score, key) score = generate_csound_score(score) print "f1 0 256 10 1 0 3 ; sine wave function table" for line in score: print line def make_scale(key): notes = ["A", "A#", "B", "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#"] scale = [key] |
︙ |
Modified test.sco from [acb8a904c1] to [9469105036].
1 | 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 | - - - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + + - + - - - - - - - - - - + + + + + + + + + + - - - - | f1 0 256 10 1 0 3 ; sine wave function table |