# ex2B01.py # Document Structure from moduleCsound import * tags(1) header(ksmps=32, nch=1) # --- instrument (440 Hz sig of 1 sec dur at 0.25 amp) add(""" instr 1 ; a 440 Hz Sine Wave aSin poscil 0dbfs/4, 440 out aSin endin """) tags(2) add("i 1 0 1") tags(3) writeRun(__file__)
Thursday, July 13, 2017
ex2B01. Document Structure
Subscribe to:
Post Comments (Atom)
-
# ex2C03.py # Midi All In from moduleCsound import * add(startSyn) add(startOpt) add( "-+rtmidi=virtual -Ma -odac" ) add(...
-
# ex1D09.py # Random Walk from moduleCsound import * tags( 1 ) header(ksmps =32 ) # --- globals add( r""" seed 1...
-
# ex1D10.py # Rejection Sampling from moduleCsound import * tags( 1 ) header(nch =1 ) # --- user defined opcodes add( "...

No comments:
Post a Comment