Add generic granular sampler

This commit is contained in:
2024-05-15 17:29:26 +02:00
parent 39ed936b75
commit e62c7661b9
7 changed files with 177 additions and 10 deletions

View File

@ -81,6 +81,19 @@
^this
}
/* Granular Sampler */
+=> {
arg pattern;
var quant = BuboUtils.getQuantFromPattern(pattern);
var fade = BuboUtils.getFadeFromPattern(pattern);
"Hello granular".postln;
pattern = EventShortener.process(pattern, this.key, 'granular', 1);
pattern = EffectChain.process(pattern, this.key);
this[0] = Pbind(*pattern);
this.prepareToPlay(this, quant, fade);
^this
}
/* Pmono player */
-> {
arg pattern;