# 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)
-
# ex1D13.py # Simple Algorithmic Note Generator from moduleCsound import * tags( 1 ) header(ksmps =32 , nch =1 ) # --- global # G...
-
# ex2C03.py # Midi All In from moduleCsound import * add(startSyn) add(startOpt) add( "-+rtmidi=virtual -Ma -odac" ) add(...
-
# ex2A01.py # Hello World from moduleCsound import * tags( 1 ) header(ksmps =32 , nch =1 ) # --- instrument add( ""...
No comments:
Post a Comment