Csound Csound-dev Csound-tekno Search About

Bug in linseg (recent versions)

Date1999-05-12 18:15
FromRiccardo Bianchini
SubjectBug in linseg (recent versions)
While trying to resynthesize a piece, I found a bug in linseg in recent
versions of Csound (from 3.50).
I use linseg as an audio generator for exfitation signal in a waveguide
simulation of plucked string. Try this orc/sco:

;orc:
sr=44100
kr=44100    ;<-----!
ksmps=1
nchnls=1
instr    1
aecc    linseg    0,1/kr,1,2/k3,-1,1/k3,0,p3-4/kr,0
out    a1
endin
;sco:
i1    0    1

Apparently, linseg is no more able to work properly if the durations are
very small.
Happy Csounding!

--
*************************************
Riccardo Bianchini, composer
Professor, Scuola di Musica Elettronica
Conservatorio "S.Cecilia", Roma
http://www.fabaris.it/bianchini
http://www.geocities.com/Heartland/Acres/4768

Conservatorio: http://space.tin.it/musica/ilipc
*************************************