some more configuration stuff

This commit is contained in:
2024-01-03 19:53:03 +01:00
parent 40719a2538
commit cd8476f67d
3 changed files with 69 additions and 12 deletions

View File

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