# ex3A01.py # Initialization pass from moduleCsound import * tags(1) header(ksmps=32) # global add("giGlobal = 1/2") # instruments add(""" instr 1 iLocal = 1/4 print giGlobal, iLocal endin instr 2 iLocal = 1/5 print giGlobal, iLocal endin """) tags(2) # Only Initialization of instr 1 and instr 2 add(""" i 1 0 0 i 2 0 0 """) tags(3) writeRun(__file__)
Friday, July 21, 2017
ex3A01. Initialization pass
Subscribe to:
Post Comments (Atom)
-
This example requires the csound frontend called Cabbage be installed. # ex2A02.py # Hello Cabbage from moduleCsound import * add...
-
# ex1D09.py # Random Walk from moduleCsound import * tags( 1 ) header(ksmps =32 ) # --- globals add( r""" seed 1...
-
Amplitudes should follow the dB scale and change via the log function. # ex1C01.py # dB vs linear from moduleCsound import * tag...
No comments:
Post a Comment