[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Pbind question



On Thu, Jun 10, 2021 at 12:36 PM <paulineugalde@xxxxxxxxx> wrote:
> Thanks for all the detailed responses. Unfortunately, I understand less than half of what you all sent me. It's probably closer to a third, and even that seems generous.
>
> I appreciate that you took so much time to explaining what I wanted, and ways to implement it, but I know I didn't understand much of it at all.

I apologize if I've done anything to give that impression.

One thing that often happens here is that a user stumbles into a use
case that is tricky to handle, without realizing it, and then the
answers delve into the tricky details, leading to the point of "well
gee thanks, but that doesn't actually help me at all."

For your original question: Actually manifest.heap gave you the
simplest answer immediately -- he gave you an example of a SynthDef
that glides, and a Pmono pattern to control it. I'll requote it:

(
s.waitForBoot({
     var player;

     SynthDef(\gliss, {
         var freq = \freq.ar(440);
         var amp = \amp.kr(0.1);
         var out = \out.kr(0);
         var lagTime = \lagTime.kr(1);
         Out.ar(out, amp*LFSaw.ar(Lag.ar(in:freq, lagTime:lagTime))!2);
     }).add;

     player = Pmono(
         \gliss,
         \out, 0,
         \midinote, Pseq([60, 67, 72, 65, 63], inf),
         \dur, Pseq([1, 1, 1, 0.5, 0.5], inf),
         \lagTime, Pseq([1.9, 0.9, 1.9, 0.3, 0.1], inf),
         \amp, 0.05
     ).play;

});
)

maxlouis spun the thread into a slightly different direction that
isn't directly relevant to *your* case. So you could have safely
ignored that part.

hjh

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/