Debian Codegraph @

src/Scripts/WIP/ftable_editor.py

raw symbols SCIP
1 import csnd
2
3 # create empty orchestra and score
4 orc = ''' sr = 44100
5 ksmps = 64
6 nchnls = 2
7
8 instr 1
9 endin
10 '''
11
12 sco = '''
13 e 3600
14 '''
15
16 # start csound engine
17 c = csnd.CppSound()
18 c.setOrchestra(orc)
19 c.setScore(sco)
20 c.setCommand("csound -odac -d tmp.orc tmp.sco")
21 c.exportForPerformance()
22 c.compile()
23
24 c.Stop()
25 c.Cleanup()
26
27 #def update():
28
29