spiffyscore

Diff
Login

Differences From Artifact [14f13b1d15]:

To Artifact [d8090f9de3]:


9
10
11
12
13
14
15
16
17



18
19
20
21
22
23
24
25
grammars = {
    "u": ["I V I IV u", "I IV", "I VII IV"  , "e"],
    "e": [""],
}


def main():
    score = "u u u"
    key = "G#"



    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









<

>
>
>
|







9
10
11
12
13
14
15

16
17
18
19
20
21
22
23
24
25
26
27
grammars = {
    "u": ["I V I IV u", "I IV", "I VII IV"  , "e"],
    "e": [""],
}


def main():

    key = "G#"
    score = ""
    while len(score.split()) < 50:
        score = "u u u"
        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