Thursday, July 13, 2017

ex2E01. Render

Because we give a filename from the command prompt, it will take greater precedence than the one in CsOptions.


# ex2E01.py
# Render

from moduleCsound import *

add(startSyn)

add(startOpt)
add("-o Render.wav")
add(stopOpt)

add(startIns)

header(ksmps=32, nch=1)

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

tags(2)

add("i 1 0 1")
tags(3)

writeRun(__file__)

No comments:

Post a Comment

ex3A05. Audio Vector