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:
2024-05-15 18:25:27 +02:00
parent 03fd9c85d6
commit 011cef1023
3 changed files with 6 additions and 6 deletions

View File

@ -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;
});
}
}

View File

@ -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);

View File

@ -98,7 +98,6 @@ EventShortener {
});
});
});
new_pattern.postln;
^new_pattern
}
@ -156,7 +155,6 @@ EventShortener {
});
});
});
new_pattern.postln;
^new_pattern
}