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;
|
s.latency = 0.3;
|
||||||
|
|
||||||
// Resume normal boot sequence
|
// Resume normal boot sequence
|
||||||
"-> Loading config from: %".format(configPath ? (this.localPath +/+ "Startup.scd")).postln;
|
(this.localPath +/+ "Startup.scd").load;
|
||||||
(configPath ? (this.localPath +/+ "Startup.scd")).load;
|
if (configPath.notNil, {
|
||||||
|
configPath.load;
|
||||||
|
});
|
||||||
|
|
||||||
BuboUtils.ready.postln;
|
BuboUtils.ready.postln;
|
||||||
this.installServerTreeBehavior();
|
this.installServerTreeBehavior();
|
||||||
this.clock.enableMeterSync();
|
this.clock.enableMeterSync();
|
||||||
@ -136,5 +139,4 @@ Boot {
|
|||||||
currentEnvironment.play;
|
currentEnvironment.play;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -76,6 +76,7 @@
|
|||||||
var fade = BuboUtils.getFadeFromPattern(pattern);
|
var fade = BuboUtils.getFadeFromPattern(pattern);
|
||||||
pattern = EventShortener.process(pattern, this.key, 'buboEvent', 1);
|
pattern = EventShortener.process(pattern, this.key, 'buboEvent', 1);
|
||||||
pattern = EffectChain.process(pattern, this.key);
|
pattern = EffectChain.process(pattern, this.key);
|
||||||
|
"Je suis trigger".postln;
|
||||||
this[0] = Pbind(*pattern);
|
this[0] = Pbind(*pattern);
|
||||||
this.prepareToPlay(this, quant, fade);
|
this.prepareToPlay(this, quant, fade);
|
||||||
^this
|
^this
|
||||||
@ -86,7 +87,6 @@
|
|||||||
arg pattern;
|
arg pattern;
|
||||||
var quant = BuboUtils.getQuantFromPattern(pattern);
|
var quant = BuboUtils.getQuantFromPattern(pattern);
|
||||||
var fade = BuboUtils.getFadeFromPattern(pattern);
|
var fade = BuboUtils.getFadeFromPattern(pattern);
|
||||||
"Hello granular".postln;
|
|
||||||
pattern = EventShortener.process(pattern, this.key, 'granular', 1);
|
pattern = EventShortener.process(pattern, this.key, 'granular', 1);
|
||||||
pattern = EffectChain.process(pattern, this.key);
|
pattern = EffectChain.process(pattern, this.key);
|
||||||
this[0] = Pbind(*pattern);
|
this[0] = Pbind(*pattern);
|
||||||
|
|||||||
@ -98,7 +98,6 @@ EventShortener {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
new_pattern.postln;
|
|
||||||
^new_pattern
|
^new_pattern
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -156,7 +155,6 @@ EventShortener {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
new_pattern.postln;
|
|
||||||
^new_pattern
|
^new_pattern
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user