This commit is contained in:
2023-12-31 12:47:01 +01:00
parent b38a8431d4
commit 5563b245f5
3 changed files with 8 additions and 2 deletions

View File

@ -51,4 +51,8 @@
pwhite { arg repeats=inf; pwhite { arg repeats=inf;
^Pwhite(this[0], this[1], repeats); ^Pwhite(this[0], this[1], repeats);
} }
pseries { arg repeats=inf;
^Pseries(this[0], this[1], repeats);
}
} }

View File

@ -75,7 +75,9 @@ Boot {
}, Server.default); }, Server.default);
Event.addEventType(\buboEvent, { Event.addEventType(\buboEvent, {
arg server; arg server;
~buf = Bank(~sp)[~n]; if (~sp.notNil && ~n.notNil,
{ ~buf = Bank(~sp)[~n % Bank(~sp).buffers.size]; }
);
~type = \note; // back to note ~type = \note; // back to note
currentEnvironment.play; currentEnvironment.play;
}); });

View File

@ -26,7 +26,7 @@ f.vardel = {
loop:loop, doneAction: 2); loop:loop, doneAction: 2);
sig = sig * amp; sig = sig * amp;
sig = Pan2.ar(sig * env, pan); sig = Pan2.ar(sig * env, pan);
Out.ar(out, sig); OffsetOut.ar(out, sig)
}).add; }).add;
d.sampler = z; d.sampler = z;
); );