Hi,
Will we ever be able to use multiple .soulPatch documents to control one .soul document, like below? If not, I will define the parameters outside of soul and edit the documents before compilation. The externals make a great #define for variables that require .soulPatch reloading.
Thank you
{
“soulPatchV1”:
{
…
“externals”: {
"Verb::latency: 16,
“VerbRack::numberOfInChannels”: 2,
“VerbRack::numberOfOutChannels”: 2,
“Verb::live”: false
}
}
}
graph VerbRack [[ main ]]
{
input stream float audioIn;
output stream float audioOut;
external int numberOfInChannels;
external int numberOfOutChannels;
let reverb = Verb[numberOfOutChannels];
if const (
numberOfInChannels==numberOfOutChannels
||
numberOfInChannels==1
||
numberOfOutChannels==1
)
{
connection
{
audioIn->reverb.audioIn;
reverb.audioOut->audioOut;
}
}
…….
}
processor Verb()
{
input stream float audioIn;
output stream float audioOut;
if const (!live)
{
processor.latency = latency;
}
……..
}