Overview
Comment: | Added back in support for subsections |
---|---|
Timelines: | family | ancestors | descendants | both | feature/abc |
Files: | files | file ages | folders |
SHA1: |
f653a4fa1046734d8b1cdf93e96149f2 |
User & Date: | brian on 2011-09-22 18:30:17 |
Other Links: | branch diff | manifest | tags |
Context
2011-10-11
| ||
15:19 | Played around a little with melodies and instruments Closed-Leaf check-in: 29231e328a user: brian tags: feature/abc | |
2011-09-22
| ||
18:30 | Added back in support for subsections check-in: f653a4fa10 user: brian tags: feature/abc | |
18:04 | Fixed bug that prevented more than two sections from working properly check-in: b2ce9522e9 user: brian tags: feature/abc | |
Changes
Modified cfg.py from [fb69d16646] to [0cb9a22d0b].
︙ | |||
11 12 13 14 15 16 17 | 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 91 92 93 94 95 96 97 98 | + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + | import tree random.seed(time.time()) def main(): composition = { "verse1": { "intro": { |
︙ | |||
98 99 100 101 102 103 104 | 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | - + | options = [] for g in range(len(grammars[node])): if score_len(grammars[node][g]) <= time_remaining: options.append(grammars[node][g]) if len(options) == 0: raise ValueError("No available grammars that will fit in the score") if sync: |
︙ |
Modified test.sco from [ec3cdf0cc7] to [b5abda4892].
1 2 3 | 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 | - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + - - - - + + - - - - - - - - - + + + + + + + + + + - - - - + - - - + | f1 0 512 10 1 f2 0 8192 10 .24 .64 .88 .76 .06 .5 .34 .08 f3 0 1025 10 1 |