|
|
@@ -83,12 +83,17 @@ void Module::config(int numParams, int numInputs, int numOutputs, int numLights) |
|
|
|
|
|
|
|
|
|
|
|
std::string Module::createPatchStorageDir() { |
|
|
|
std::string path = system::join(APP->patch->autosavePath, "modules", std::to_string(id)); |
|
|
|
std::string path = getPatchStorageDir(); |
|
|
|
system::createDirectories(path); |
|
|
|
return path; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
std::string Module::getPatchStorageDir() { |
|
|
|
return system::join(APP->patch->autosavePath, "modules", std::to_string(id)); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void Module::processBypass(const ProcessArgs& args) { |
|
|
|
for (BypassRoute& bypassRoute : bypassRoutes) { |
|
|
|
// Route input voltages to output |
|
|
|