Tuesday, July 11, 2017

ex2A01. Hello World

# ex2A01.py
# Hello World

from moduleCsound import *

tags(1)

header(ksmps=32, nch=1)

# --- instrument

add("""
instr 1
aSin      poscil    0dbfs/4, 440
          out       aSin
endin
""")

tags(2)

# --- score

add("i 1 0 1")

tags(3)

writeRun(__file__)

No comments:

Post a Comment

ex3A05. Audio Vector