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

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



Oh, I'm sorry for the omission. The code actually hasn't changed,
except a little bit of legato variability will expedite the problem's
appearance. It's reposted below, if it might help.

I think you are right that it must be something in the DX7.scd
file..as I mentioned earlier, trying to get this to play nicely with
Patterns has been a challenge for quite some time. Is there any
suggestion for what I might read to better understand how to control
this bookkeeping?

~off = { |e| thisThread.clock.sched(e[\dur] * e[\legato], {
~mainCaller.(e.noteConvert, 0) }) };
d=Pbindef(
\lomp,
\degree, Rest(),
\dur, 0.2,\degree, Pseq([11, 11, 11, 11, 11], inf),
\scale, Scale.lydian,
\octave, Pseq([4, 5, 3, 6], inf), \vel, Pseq([80], inf),
\preset, Pseq([ 3022], inf),
\legato, Pwhite(0.5, 4, inf),
\noteConvert, Pfunc { |e| e.use { ~note.value+(e.octave*12) } },
\put, Pfunc({|values|
~mainCaller.value(
values.noteConvert,
            values.vel,
values.preset)}),
\off, Pfunc(~off),
\stretch, 1);
d.play;

On Wed, Dec 25, 2019 at 8:19 AM <daniel-mayer@xxxxxxxx> wrote:
>
> You're not posting the code which is causing the error, so I can only guess: Overlapped events of same note could be the reason, where you wouldn't be able to free past ones. As I see in DX7.scd it does bookkeeping itself, this could somehow conflict with the way the Pattern / EventStreamPlayer schedules releasing, but I have no time to dig into that, sorry.
>
> 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/