Csound Csound-dev Csound-tekno Search About

Re: Bug in linseg (recent versions)

Date1999-05-13 17:14
FromRiccardo Bianchini
SubjectRe: Bug in linseg (recent versions)
Dear Jon,

Jon Christopher Nelson wrote:

> Your linseg has two "k3" arguments that appear to be undefined.  I am
> guessing that you intended to have "kr" instead to create this impulse??  I
> cannot confirm if this works with such small segment lengths.  There are
> other ways you can use Csound to create a single impulse each time you turn
> on an instrument.  In particular, you can set up an a-rate loop structure
> that generates a 1 for audio sample number 1, -1 for sample number 2, and
> zero for everything following that point.  Let me know if you would like me
> to send you example code for this.

sure k3 is a typo! In the original orchestra it is kr, as it should be!
Thanks for your suggestion, I know there are many other ways to generate a
single impulse (one can be by means of oscil1).
The fact is that I tried to avoid correcting an old piece orchestra  that
worked veryu well with Csound versions up to 3.48.
Happy Csounding!

Riccardo
--
*************************************
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
*************************************