|
|
@ -503,10 +503,21 @@ class SfzInstrumentSequencerInterface(_Interface): |
|
|
|
self.calfboxTrack.set_external_output("") |
|
|
|
|
|
|
|
#Metadata |
|
|
|
portnameL = f"{cbox.JackIO.status().client_name}:out_1" |
|
|
|
portnameR = f"{cbox.JackIO.status().client_name}:out_2" |
|
|
|
cbox.JackIO.Metadata.set_pretty_name(portnameL, name.title() + "-L") |
|
|
|
cbox.JackIO.Metadata.set_pretty_name(portnameR, name.title() + "-R") |
|
|
|
l = f"{cbox.JackIO.status().client_name}:out_1" |
|
|
|
r = f"{cbox.JackIO.status().client_name}:out_2" |
|
|
|
self.portnameL = cbox.JackIO.status().client_name + ":" + name.title() + "-L" |
|
|
|
self.portnameR = cbox.JackIO.status().client_name + ":" + name.title() + "-R" |
|
|
|
|
|
|
|
luuid = cbox.JackIO.create_audio_output(name.title() + "-L") |
|
|
|
ruuid = cbox.JackIO.create_audio_output(name.title() + "-R") |
|
|
|
cbox.JackIO.Metadata.set_pretty_name(self.portnameL, name.title() + "-L") |
|
|
|
cbox.JackIO.Metadata.set_pretty_name(self.portnameR, name.title() + "-R") |
|
|
|
|
|
|
|
|
|
|
|
self.outputMergerRouter = cbox.JackIO.create_audio_output_router(luuid, ruuid) |
|
|
|
self.outputMergerRouter.set_gain(-1.0) |
|
|
|
self.instrumentLayer.get_output_slot(0).rec_wet.attach(self.outputMergerRouter) #output_slot is 0 based and means a pair. |
|
|
|
|
|
|
|
|
|
|
|
def enable(self, enabled): |
|
|
|
if enabled: |
|
|
|