# ex1A01_1.py # Aliasing from moduleCsound import * add(""" <CsoundSynthesizer> <CsInstruments> """) # From now on we will use this instead: # tags(1) add(""" sr = 44100 ksmps = 32 nchnls = 2 0dbfs = 1 """) # From now we will use this instead: # header(ksmps=32) # defauls for header are sr=44100, ksmps=10, nchnls=2, 0dbfs=1 # usually we overwrite only ksmps # instrument 1 add(""" instr 1 asig oscils .2, p4, 0 outs asig, asig endin """) add(""" </CsInstruments> <CsScore> """) # From now on we will use this instead: # tags(2) add(""" i 1 0 2 1000 ;1000 Hz tone i 1 3 2 43100 ;43100 Hz tone sounds like 1000 Hz because of aliasing """) add(""" </CsScore> </CsoundSynthesizer> """) # From now on we will use this instead: # tags(3) writeRun(__file__)
Monday, July 10, 2017
ex1A01_1. Aliasing
Subscribe to:
Post Comments (Atom)
-
# ex1D13.py # Simple Algorithmic Note Generator from moduleCsound import * tags( 1 ) header(ksmps =32 , nch =1 ) # --- global # G...
-
# ex1D10.py # Rejection Sampling from moduleCsound import * tags( 1 ) header(nch =1 ) # --- user defined opcodes add( "...
-
# ex3A02.py # Performance pass increment from moduleCsound import * tags( 1 ) # Each k-time is 0.1 sec header(ksmps =4410 ) add(...
No comments:
Post a Comment