spiffyscore
Check-in [e425f3d6c2]
Not logged in
Overview
SHA1 Hash:e425f3d6c2e12718d60fc1734a6e09973f8480f0
Date: 2010-11-12 20:30:17
User: spiffytech@gmail.com
Comment:Now generates scores until it makes one 50 notes ling
Timelines: family | ancestors | descendants | both | ply
Other Links: files | file ages | manifest
Tags And Properties
Changes
hide diffs unified diffs patch

Modified cfg.py from [14f13b1d15cd9a4c] to [d8090f9de3883f3f].

9 grammars = { 9 grammars = { 10 "u": ["I V I IV u", "I IV", "I VII IV" , "e"], 10 "u": ["I V I IV u", "I IV", "I VII IV" , "e"], 11 "e": [""], 11 "e": [""], 12 } 12 } 13 13 14 14 15 def main(): 15 def main(): 16 score = "u u u" < 17 key = "G#" 16 key = "G#" > 17 score = "" > 18 while len(score.split()) < 50: > 19 score = "u u u" 18 score = generate_score(score) | 20 score = generate_score(score) 19 score = keyify_score(score, key) 21 score = keyify_score(score, key) 20 score = generate_csound_score(score) 22 score = generate_csound_score(score) 21 print "f1 0 256 10 1 0 3 ; sine wave function table" 23 print "f1 0 256 10 1 0 3 ; sine wave function table" 22 for line in score: 24 for line in score: 23 print line 25 print line 24 26 25 27

Modified test.sco from [3aef217c82438b49] to [9253ead855ddac1b].

1 f1 0 256 10 1 0 3 ; sine wave function table 1 f1 0 256 10 1 0 3 ; sine wave function table > 2 i2 0.000000 2 7000 8.08 8.08 0 6 > 3 i2 0.250000 2 7000 9.03 9.03 0 6 > 4 i2 0.500000 2 7000 9.08 8.08 0 6 > 5 i2 0.750000 2 7000 8.01 9.01 0 6 > 6 i2 1.000000 2 7000 8.08 8.08 0 6 > 7 i2 1.250000 2 7000 9.03 9.03 0 6 > 8 i2 1.500000 2 7000 9.08 9.08 0 6 > 9 i2 1.750000 2 7000 9.01 9.01 0 6 2 i2 0.000000 2 7000 8.08 9.08 0 6 | 10 i2 2.000000 2 7000 8.08 9.08 0 6 3 i2 0.250000 2 7000 8.07 8.07 0 6 | 11 i2 2.250000 2 7000 8.03 9.03 0 6 > 12 i2 2.500000 2 7000 9.08 9.08 0 6 4 i2 0.500000 2 7000 8.01 8.01 0 6 | 13 i2 2.750000 2 7000 8.01 8.01 0 6 5 i2 0.750000 2 7000 9.08 8.08 0 6 | 14 i2 3.000000 2 7000 9.08 9.08 0 6 6 i2 1.000000 2 7000 8.03 8.03 0 6 | 15 i2 3.250000 2 7000 8.03 8.03 0 6 7 i2 1.250000 2 7000 8.08 8.08 0 6 | 16 i2 3.500000 2 7000 8.08 8.08 0 6 8 i2 1.500000 2 7000 9.01 8.01 0 6 | 17 i2 3.750000 2 7000 9.01 9.01 0 6 > 18 i2 4.000000 2 7000 9.08 9.08 0 6 > 19 i2 4.250000 2 7000 8.03 9.03 0 6 > 20 i2 4.500000 2 7000 8.08 9.08 0 6 > 21 i2 4.750000 2 7000 8.01 9.01 0 6 > 22 i2 5.000000 2 7000 8.08 8.08 0 6 > 23 i2 5.250000 2 7000 8.03 9.03 0 6 9 i2 1.750000 2 7000 9.08 8.08 0 6 | 24 i2 5.500000 2 7000 9.08 8.08 0 6 10 i2 2.000000 2 7000 9.03 9.03 0 6 | 25 i2 5.750000 2 7000 9.01 9.01 0 6 > 26 i2 6.000000 2 7000 8.08 8.08 0 6 11 i2 2.250000 2 7000 9.08 9.08 0 6 | 27 i2 6.250000 2 7000 9.03 8.03 0 6 > 28 i2 6.500000 2 7000 8.08 8.08 0 6 12 i2 2.500000 2 7000 8.01 9.01 0 6 | 29 i2 6.750000 2 7000 8.01 9.01 0 6 13 i2 2.750000 2 7000 8.08 9.08 0 6 | 30 i2 7.000000 2 7000 8.08 9.08 0 6 > 31 i2 7.250000 2 7000 9.03 8.03 0 6 > 32 i2 7.500000 2 7000 8.08 9.08 0 6 > 33 i2 7.750000 2 7000 8.01 9.01 0 6 14 i2 3.000000 2 7000 8.07 9.07 0 6 | 34 i2 8.000000 2 7000 8.08 8.08 0 6 > 35 i2 8.250000 2 7000 8.03 8.03 0 6 > 36 i2 8.500000 2 7000 9.08 8.08 0 6 > 37 i2 8.750000 2 7000 9.01 9.01 0 6 > 38 i2 9.000000 2 7000 9.08 9.08 0 6 > 39 i2 9.250000 2 7000 9.03 8.03 0 6 > 40 i2 9.500000 2 7000 9.08 9.08 0 6 15 i2 3.250000 2 7000 8.01 8.01 0 6 | 41 i2 9.750000 2 7000 8.01 8.01 0 6 > 42 i2 10.000000 2 7000 8.08 8.08 0 6 > 43 i2 10.250000 2 7000 8.03 9.03 0 6 > 44 i2 10.500000 2 7000 8.08 9.08 0 6 > 45 i2 10.750000 2 7000 8.01 9.01 0 6 > 46 i2 11.000000 2 7000 8.08 8.08 0 6 > 47 i2 11.250000 2 7000 8.03 9.03 0 6 > 48 i2 11.500000 2 7000 8.08 9.08 0 6 > 49 i2 11.750000 2 7000 9.01 8.01 0 6 > 50 i2 12.000000 2 7000 8.08 8.08 0 6 > 51 i2 12.250000 2 7000 9.03 8.03 0 6 > 52 i2 12.500000 2 7000 8.08 8.08 0 6 > 53 i2 12.750000 2 7000 9.01 9.01 0 6