-
... ono(*keyValuePairs.asArray); }); }); if (parallelLayers > 1, { currentPattern = Ppar({currentPattern}!parallelLayers); }); this.setMuteState(muteState); bindSource.source = currentPattern; if (actionRestartPatterns.notNil, { actionRestartPa ...
-
... if (patterns.size == 0, { patterns.add(Pbind()); }); eventStreamProxy.source = Ppar(patterns); } addBindView { |positionInLayout| var newBindView = PatternBoxBindView(this, bufferpool: bufferpool); newBindView.actionOnBindChanged = { |send ...
-
... You can use the p method to convert a SimpleMIDIFile into a playable pattern (a Ppar to be exact). // download a Bach midi file: "curl http://www.bachcentral.com/BachCentral/ORGAN/toccata1.mid -o ~/Desktop/toccata1.mid" .unixCmd; // read it ...
-
... , [\perkysine, \default]); c.toPattern(2).play [b.toPattern(1), c.toPattern(2)].ppar.play d = DataFile.read(\pattern, \test3).patternInst(\perkysine); d.toPattern(1,0).play [d.toPattern(1), d.toPattern(2)].ppar(2).play Pdefn(\note1, Pseq([9 ...
-
... e, tempo = ~clock.tryPerform(\tempo) ? 1.0; // the full condition is needed for Ppar which uses ~freq == \rest if((currentEnvironment.tryPerform(\isRest) ? false).not and: { ~node != \rest and: { ~instrument != \rest and: { ~freq != \rest a ...
-
... e, tempo = ~clock.tryPerform(\tempo) ? 1.0; // the full condition is needed for Ppar which uses ~freq == \rest if((currentEnvironment.tryPerform(\isRest) ? false).not and: { ~node != \rest and: { ~instrument != \rest and: { ~freq != \rest a ...
-
... ith("File_"), { avSynthType= \File_++buffers[1].numChannels; }); Pdef(\sStream, Ppar( [ Pbindf(pbind, //lv \instrument, ('sStream_'++lvSynthType).asSymbol, \type, if(lvSynthType==\VSTPlug, {\vst_midi}, {\note}), \vst, lvVst, \chan, 0, \buf, ...
-
... teEvent.(item, (layerID: ~layerIDs[i])); new = new.add(item); }; }; }; // as in Ppar, delta may need to be different from dur // dur was set above ~items = ~updateDeltas.((sourceItems ++ new).sort { |a, b| a[\time] < b[\time] }, \delta); }; ...