René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback
 

Plop (CSound instrument)

plop.orc
sr = 44100
kr = 4410
ksmps = 10
nchnls=1

instr 1
  ifreq = cpspch(p5)
  iampl = p4

  kenv  expseg .0001,.01,iampl,p3-.01,.0001
  arand rand    kenv
  asig  reson   arand, ifreq ,ifreq/25,1
  asigb balance asig, arand
        out     asigb
endin

plop.sco
i1	0	4	 9000	9.00
i1	1	4	 9000	9.02
i1	2	4	 9000	9.04
i1	3	4	 9000	9.05