Overview
Comment: | Moved all logic into neat, orderly functions. Now prints only the csound score portion. |
---|---|
Timelines: | family | ancestors | descendants | both | ply |
Files: | files | file ages | folders |
SHA1: |
6a17d4d36a36c58e86777d4457fe28e4 |
User & Date: | spiffytech@gmail.com on 2010-11-12 20:12:48 |
Other Links: | branch diff | manifest | tags |
Context
2010-11-12
| ||
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 | |
20:00 | Program now generates a single voice with a I IV V pattern and spits out (among other things) the csound-ified score check-in: 338933c1a8 user: spiffytech@gmail.com tags: ply | |
Changes
Modified cfg.py from [73244ab69d] to [4cae783255].
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + - - - - - - - - - + + + + + + + | #!/usr/bin/env python import os import random import sys import time random.seed(time.time()) grammars = { "u": ["I V I IV u", "e"], "e": [""], } |
Modified test.sco from [24ff5724a8] to [acb8a904c1].
1 2 | 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 | - - - - - + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | f1 0 256 10 1 0 3 ; sine wave function table |