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

Re: [sc-users] Make a function into a synthdef



Oh, also: I'm noticing there is a bit of an issue when the same note
is being played multiple times.. Is there a way to impose some kind of
code that allows the ~mainCaller to be more flexible in this regard?

On Tue, Dec 24, 2019 at 11:30 PM geoff baltan <geoffbaltan@xxxxxxxxx> wrote:
>
> The new ~off definition cuts out on the node loss... but now the
> scheduler queue gets full extremely quickly. I'm not sure why.
>
> All of these work-arounds are very new to me, so I apologize for my
> many questions! Thank you for walking me through it.
>
> On Tue, Dec 24, 2019 at 7:29 AM <daniel-mayer@xxxxxxxx> wrote:
> >
> >
> >
> > Am 24.12.2019 um 04:33 schrieb geoffbaltan@xxxxxxxxx:
> >
> > Thanks, Daniel - this works very well for me, except for two small
> > concerns. Code follows below.
> >
> > I'm converting scale degrees to notes. It seems that this creates some
> > kind of discrepancy in the ability to change \degree in real-time
> > within Pbindef.  I wonder if this is because I'm attempting to shut
> > off the \default synth playback using "\degree, Rest()".
> >
> >
> >
> > You can write
> > ...
> > \type, \rest
> > ...
> >
> >
> > The second concern is that it produces a fair number of "FAILURE IN
> > SERVER /n_set Node xxxx not found" messages.
> >
> >
> >
> > Ak ok, the bundling mechanism was only necessary in my example, you don't need to release synth nodes therewith as you are using the ~mainCaller interface !
> > Probably something like this should do (untested)
> >
> > ~off = { |e| thisThread.clock.sched(e[\dur] * e[\legato], { ~mainCaller.(e.noteConvert, 0) }) }
> >
> > Regards
> >
> > Daniel
> >
> > -----------------------------
> > http://daniel-mayer.at
> > -----------------------------
> >

_______________________________________________
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/