# ex1B01.py # Limits Of Hearing from moduleCsound import * tags(1) header(ksmps=32) # String needs to be raw so \n is kept and passed to csound # rather than evaluated as newline add(r""" instr 1 prints "Playing %d Hertz!\n", p4 asig oscils .2, p4, 0 outs asig, asig endin """) tags(2) add(""" i 1 0 2 10 i . + . 100 i . + . 1000 i . + . 10000 i . + . 20000 """) tags(3) writeRun(__file__)
Monday, July 10, 2017
ex1B01. Limits of Hearing
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