[Csnd] turnoff and clicks
Date | 2021-06-10 00:29 |
From | Eduardo Moguillansky |
Subject | [Csnd] turnoff and clicks |
The following csd will produce clicks every time the instr 2 is
scheduled, as long as the "turnoff" opcode is present. Changing instr 1000 to 1 removes the clicks. I don't remember having this issue before.Were there any changes in this respect? <CsoundSynthesizer> <CsOptions> -odac </CsOptions> <CsInstruments> sr = 44100 ksmps = 64 nchnls = 2 0dbfs = 1 instr 1000 a0 oscili 0.1, 1000 a0 *= linenr:a(1, 0.1, 0.1, 0.01) outch 1, a0 endin instr 2 kt timeinstk println "kt %d", kt turnoff endin </CsInstruments> <CsScore> i1000 1 10 i2 3 0.1 i2 4 0.1 ; f0 3600 </CsScore> </CsoundSynthesizer> |