Csound Csound-dev Csound-tekno Search About

[Csnd] wgpluck2 and sr kr problem

Date2009-02-06 13:21
Frompeiman khosravi
Subject[Csnd] wgpluck2 and sr kr problem
Hello,

I don't know if I'm missing something. Changing the global sr and kr
seems to make a big difference to the resulting sound from this simple
csd. Try changing sr to 44100 and kr to 10 and the resulting output
doesn't seem right. Is this a bug? I'm on os x intel.

Best
Peiman






sr = 16000
kr = 160
nchnls = 1

instr 1
  iplk = 0.75
  kamp = 30000
  icps = p4;220
  kpick = 0.75
  krefl = 0.5

  apluck wgpluck2 iplk, kamp, icps, kpick, krefl

  out apluck
endin



; Play Instrument #1 for two seconds.
;f0 86400

i1 0 2 300

e