configPath refactoring
Let's assume that we will always load the base synthdefs. configPath is now a true user-defined path
This commit is contained in:
@ -53,8 +53,11 @@ Boot {
|
||||
s.latency = 0.3;
|
||||
|
||||
// Resume normal boot sequence
|
||||
"-> Loading config from: %".format(configPath ? (this.localPath +/+ "Startup.scd")).postln;
|
||||
(configPath ? (this.localPath +/+ "Startup.scd")).load;
|
||||
(this.localPath +/+ "Startup.scd").load;
|
||||
if (configPath.notNil, {
|
||||
configPath.load;
|
||||
});
|
||||
|
||||
BuboUtils.ready.postln;
|
||||
this.installServerTreeBehavior();
|
||||
this.clock.enableMeterSync();
|
||||
@ -136,5 +139,4 @@ Boot {
|
||||
currentEnvironment.play;
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -76,6 +76,7 @@
|
||||
var fade = BuboUtils.getFadeFromPattern(pattern);
|
||||
pattern = EventShortener.process(pattern, this.key, 'buboEvent', 1);
|
||||
pattern = EffectChain.process(pattern, this.key);
|
||||
"Je suis trigger".postln;
|
||||
this[0] = Pbind(*pattern);
|
||||
this.prepareToPlay(this, quant, fade);
|
||||
^this
|
||||
@ -86,7 +87,6 @@
|
||||
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);
|
||||
|
||||
@ -98,7 +98,6 @@ EventShortener {
|
||||
});
|
||||
});
|
||||
});
|
||||
new_pattern.postln;
|
||||
^new_pattern
|
||||
}
|
||||
|
||||
@ -156,7 +155,6 @@ EventShortener {
|
||||
});
|
||||
});
|
||||
});
|
||||
new_pattern.postln;
|
||||
^new_pattern
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user