Miller Puckette hat gesagt: // Miller Puckette wrote:
I think Max/MSP might do this... but Pd never has.
So my mind was playing tricks on me: I have never used Max/MSP.
(I think it's possible to do this in an abstraction, using, for example, "textfile" to hold a list of breakpoints that you would send by messages, that would be sent to a line~ in sequence.)
That's a good idea, but in fact it was a bit trickier to realize than I first thought. I got it working and as I think that this is a very useful abstraction I attached a "lineseg~", that can be used just like the Csound opcode or as a simple ADSR.
It would be trivial to extend it with a note-off sensor and an amplitude scaling factor if one replaces the trigger bang with float messages and a [select 0].
__ __
Frank Barknecht ____ ______ ____ __ trip\ \ / /wire ______
/ __// __ /__/ __// // __ \ / / __ \ ___\
/ / / ____/ / / / // ____// /\ \ ___\____ \
/_/ /_____/ /_/ /_//_____// / \ \_____\_____
/_/ _\