Friday, July 21, 2017

ex3A04. Performance pass no increment

# ex3A04.py
# Performance pass no increment

from moduleCsound import *

tags(1)

header(ksmps=4410)

add("""
instr 1
kcount    =         0; sets kcount to 0 at each k-cycle
kcount    =         kcount + 1; does not really increase ...
          printk    0, kcount; print the value
endin
""")

tags(2)

add("i 1 0 1")

tags(3)

writeRun(__file__)

No comments:

Post a Comment

ex3A05. Audio Vector