# 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)
-
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