Пример #1
0
class NotchProxy(SynthProxy):

    def __init__(self, app):
        super(NotchProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.notch.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            return parent_editor
            
notch_pallet = Pallet(default_pallet)

specs["constructor"] = NotchProxy
specs["is-efx"] = True
specs["is-controller"] = False
specs["description"] = "Notch filter with LFO"
specs["keymodes"] = ('Efx',)
specs["pretty-printer"] = pp   
specs["help"] = "Notch"
specs["pallet"] = notch_pallet
specs["audio-output-buses"] = [["outbus", "out_0"]]
specs["audio-input-buses"] = [["inbus", "in_0"]]
specs["control-output-buses"] = [["lfoOutbus", "null_source"]]
specs["control-input-buses"] = [["xbus","null_sink"]]
print("\t%s" % specs["format"])
llia.constants.EFFECT_TYPES.append(specs["format"])
Пример #2
0
class BandpassProxy(SynthProxy):
    def __init__(self, app):
        super(BandpassProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.bandpass.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            return parent_editor


bandpass_pallet = Pallet(default_pallet)

specs["constructor"] = BandpassProxy
specs["is-efx"] = True
specs["is-controller"] = False
specs["description"] = "Bandpass filter with LFO"
specs["keymodes"] = ('Efx', )
specs["pretty-printer"] = pp
specs["help"] = "Bandpass"
specs["pallet"] = bandpass_pallet
specs["audio-output-buses"] = [["outbus", "out_0"]]
specs["audio-input-buses"] = [["inbus", "in_0"]]
specs["control-output-buses"] = [["lfoOutbus", "null_source"]]
specs["control-input-buses"] = [["xbus", "null_sink"]]
print("\t%s" % specs["format"])
llia.constants.EFFECT_TYPES.append(specs["format"])
Пример #3
0
class FM2Proxy(SynthProxy):
    def __init__(self, app):
        super(FM2Proxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.fm2.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            return parent_editor


fm2_pallet = Pallet(default_pallet)
fm2_pallet["BG"] = BG
fm2_pallet["SLIDER-TROUGH"] = SLIDER_TROUGH
fm2_pallet["SLIDER-OUTLINE"] = SLIDER_OUTLINE

specs["constructor"] = FM2Proxy
specs["description"] = "A 2-Operator FM Synth"
specs["keymodes"] = ('PolyN', 'PolyRotate', 'Poly1', 'PolyRotate', 'Mono1',
                     'MonoExclusive')
specs["pretty-printer"] = pp_fm2
specs["program-generator"] = fm2_random
specs["help"] = "FM2"
specs["pallet"] = fm2_pallet
specs["audio-output-buses"] = [["outbus", "out_0"]]
specs["control-input-buses"] = [["xbus", "null_sink"]]
print("\t%s" % specs["format"])
Пример #4
0
class SnHProxy(SynthProxy):
    def __init__(self, app):
        super(SnHProxy, self).__init__(app, specs, program_bank)
        self.app = app

    def create_subeditors(self):
        pass
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.snh.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)


snh_pallet = Pallet(default_pallet)
snh_pallet["SLIDER-TROUGH"] = "#070064"
snh_pallet["SLIDER-OUTLINE"] = "#63002b"

specs["constructor"] = SnHProxy
specs["is-efx"] = True
specs["is-controller"] = True
specs["description"] = "Sample and Hold"
specs["keymodes"] = ("EFX", )
specs["pretty-printer"] = pp
specs["program-generator"] = random_snh
specs["help"] = "SnH"
specs["pallet"] = snh_pallet

specs["control-output-buses"] = [["outbus", "null_source"],
                                 ["sawbus", "null_source"],
Пример #5
0
class SS1Proxy(SynthProxy):
    def __init__(self, app):
        super(SS1Proxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.ss1.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            return parent_editor


ss1_pallet = Pallet(default_pallet)
ss1_pallet["SLIDER-TROUGH"] = "#1d3136"
ss1_pallet["SLIDER-OUTLINE"] = "#2e1d36"

specs["constructor"] = SS1Proxy
specs["is-efx"] = False
specs["is-controller"] = False
specs[
    "description"] = "Simple Synth 1: 1 oscillator, 1 filter, 1 LFO, 1 envelope"
specs["keymodes"] = ('PolyN', 'PolyRotate', 'Poly1', 'PolyRotate', 'Mono1',
                     'MonoExclusive')
specs["pretty-printer"] = pp
specs["program-generator"] = random_ss1
specs["help"] = "SS1"
specs["pallet"] = ss1_pallet
specs["audio-output-buses"] = [["outbus", "out_0"]]
Пример #6
0
class CUtilProxy(SynthProxy):
    def __init__(self, app):
        super(CUtilProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.cutil.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            return parent_editor


cutil_pallet = Pallet(default_pallet)

specs["constructor"] = CUtilProxy
specs["is-efx"] = False
specs["is-controller"] = True
specs["description"] = "Control signal processor"
specs["keymodes"] = ('Poly1', 'PolyRotate', 'Mono1')
specs["pretty-printer"] = pp
specs["help"] = "CUtil"
specs["pallet"] = cutil_pallet
specs["audio-output-buses"] = []
specs["audio-input-buses"] = []
specs["control-output-buses"] = [["outbus", "null_source"]]
specs["control-input-buses"] = [["inbus", "null_sink"]]
print("\t%s" % specs["format"])
llia.constants.CONTROLLER_SYNTH_TYPES.append(specs["format"])
Пример #7
0
    def __init__(self, app):
        super(CascadeProxy, self).__init__(app,specs,program_bank)
        self.app = app
        
    def create_subeditors(self):
        pass
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.cascade.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)

            
cascade_pallet = Pallet(default_pallet)
cascade_pallet["SLIDER-TROUGH"] = "#49495c"
cascade_pallet["SLIDER-OUTLINE"] = "#5c4952"




specs["constructor"] = CascadeProxy
specs["description"] = "Pulse Divider Cascade"
specs["keymodes"] = ("EFX", )

specs["pretty-printer"] = pp
specs["program-generator"] = random_cascade
specs["is-efx"] = True
specs["is-controller"] = True
specs["help"] = "CASCADE"
Пример #8
0
class CorvusProxy(SynthProxy):
    def __init__(self, app):
        super(CorvusProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.corvus.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            return parent_editor


corvus_pallet = Pallet(default_pallet)
corvus_pallet["SLIDER-OUTLINE"] = "#008279"
specs["constructor"] = CorvusProxy
specs["is-efx"] = False
specs["is-controller"] = False
specs["description"] = "Hybrid FM Additive synth"
specs["keymodes"] = ('PolyN', 'PolyRotate', 'Poly1', 'PolyRotate', 'Mono1',
                     'MonoExclusive')
specs["pretty-printer"] = pp
specs["program-generator"] = corvusgen
specs["help"] = "Corvus"
specs["pallet"] = corvus_pallet
specs["audio-output-buses"] = [["outbus", "out_0"], ["outbus1", "out_2"],
                               ["outbus2", "out_2"], ["outbus3", "out_2"],
                               ["outbus4", "out_2"]]
specs["audio-input-buses"] = []
Пример #9
0
class TremoloProxy(SynthProxy):
    def __init__(self, app):
        super(TremoloProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.tremolo.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)


tremolo_pallet = Pallet(default_pallet)
tremolo_pallet["SLIDER-OUTLINE"] = "#a5a08a"

specs["is-efx"] = True
specs["constructor"] = TremoloProxy
specs["description"] = "Simple amplitude modulation effect (mono)"
specs["keymodes"] = ("EFX", )
specs["program-generator"] = random_tremolo
specs["pretty-printer"] = pp
specs["pallet"] = tremolo_pallet
specs["help"] = "tremolo"

specs["audio-output-buses"] = [["outbus", "out_0"]]
specs["audio-input-buses"] = [["inbus", "in_0"]]
specs["control-input-buses"] = [["xbus", "null_sink"]]
specs["control-output-buses"] = [["lfoOutbus", "null_source"]]
Пример #10
0
    def __init__(self, app):
        super(ControlmixerProxy, self).__init__(app, specs, program_bank)
        self.app = app
        
    def create_subeditors(self):
        pass
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.controlmixer.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            

controlmixer_pallet = Pallet(default_pallet)
controlmixer_pallet["SLIDER-TROUGH"] = "#432703"
controlmixer_pallet["SLIDER-OUTLINE"] = "#42033E"

specs["constructor"] = ControlmixerProxy
specs["description"] = "Combines up to 4 control signals"
specs["keymodes"] = ("EFX", )
specs["pretty-printer"] = pp
#specs["program-generator"] = 
specs["is-efx"] = True
specs["is-controller"] = True
specs["help"] = "Controlmixer"
specs["pallet"] = controlmixer_pallet
specs["control-input-buses"] = [["inbusA","null_sink"],
                                ["inbusB","null_sink"],
                                ["inbusC","null_sink"],
Пример #11
0
class HundProxy(SynthProxy):

    def __init__(self, app):
        super(HundProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.hund.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            return parent_editor
            
hund_pallet = Pallet(default_pallet)
hund_pallet["SLIDER-TROUGH"] = "#262323"
hund_pallet["SLIDER-OUTLINE"] = "#401E3F"

specs["constructor"] = HundProxy
specs["is-efx"] = True
specs["is-controller"] = False
specs["description"] = "Filter and Envelope Follower effect"
specs["keymodes"] = ('Efx',)
specs["pretty-printer"] = pp   
#specs["program-generator"] = hund_random
specs["help"] = "Hund"
specs["pallet"] = hund_pallet
specs["audio-output-buses"] = [["outbus", "out_0"]]
specs["audio-input-buses"] = [["inbus","in_0"]]
specs["control-output-buses"] = [["envout", "null_source"]]
Пример #12
0
class FlngrProxy(SynthProxy):

    def __init__(self, app):
        super(FlngrProxy, self).__init__(app, specs,program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.flngr.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)

flngr_pallet = Pallet(default_pallet)
flngr_pallet["SLIDER-OUTLINE"] = "#a5a08a"

specs["is-efx"] = True
specs["constructor"] = FlngrProxy
specs["description"] = "Flanger (Mono)"
specs["keymodes"] = ("EFX",)
specs["program-generator"] = random_flanger
specs["pretty-printer"] = pp
specs["pallet"] = flngr_pallet
specs["help"] = "flngr"

specs["audio-output-buses"] = [["outbus", "out_0"]]
specs["audio-input-buses"] = [["inbus", "in_1"]]
specs["control-input-buses"] = [["delaybus","null_sink"],
                                ["mixbus","null_sink"]]
Пример #13
0
class AlgoProxy(SynthProxy):
    def __init__(self, app):
        super(AlgoProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.algo.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            return parent_editor


algo_pallet = Pallet(default_pallet)
algo_pallet["SLIDER-OUTLINE"] = "#008279"
specs["constructor"] = AlgoProxy
specs["is-efx"] = False
specs["is-controller"] = False
specs["description"] = "An 8-operator FM Synth"
specs["keymodes"] = ('PolyN', 'PolyRotate', 'Poly1', 'Mono1', 'MonoExclusive')
specs["pretty-printer"] = pp
specs["program-generator"] = algogen
specs["help"] = "Algo"
specs["pallet"] = algo_pallet
specs["audio-output-buses"] = [["outbus", "out_0"], ["outbusA", "out_2"],
                               ["outbusB", "out_2"], ["outbusC", "out_2"]]
specs["audio-input-buses"] = []
specs["control-output-buses"] = []
specs["control-input-buses"] = [["xbus", "null_sink"]]
Пример #14
0
    def __init__(
        self,
        app,
    ):
        super(MasaProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            pass
            from llia.synths.masa.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)


masa_pallet = Pallet(default_pallet)
masa_pallet["SLIDER-TROUGH"] = "#4f3e46"
masa_pallet["SLIDER-OUTLINE"] = "#3e4f46"
specs["constructor"] = MasaProxy
specs["description"] = "Tonewheel Organ"
specs["keymodes"] = ('PolyN', 'PolyRotate', 'Poly1', 'Mono1', 'MonoExclusive')
specs["pretty-printer"] = pp_masa
specs["pallet"] = masa_pallet
specs["help"] = "masa"
specs["audio-output-buses"] = [["outbus", "out_0"]]
specs["control-input-buses"] = [["xbus", "null_sink"]]
print("\t%s" % specs["format"])
llia.constants.SYNTH_TYPES.append(specs["format"])
Пример #15
0
class FormantProxy(SynthProxy):
    def __init__(self, app):
        super(FormantProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.formant.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            return parent_editor


formant_pallet = Pallet(default_pallet)

specs["constructor"] = FormantProxy
specs["is-efx"] = True
specs["is-controller"] = False
specs["description"] = "Parametric EQ"
specs["keymodes"] = ('Efx', )
specs["pretty-printer"] = pp
specs["help"] = "Formant"
specs["pallet"] = formant_pallet
specs["audio-output-buses"] = [["outbus", "out_0"]]
specs["audio-input-buses"] = [["inbus", "in_0"]]
specs["control-output-buses"] = []
specs["control-input-buses"] = []
print("\t%s" % specs["format"])
llia.constants.EFFECT_TYPES.append(specs["format"])
Пример #16
0
class RingModulatorProxy(SynthProxy):
    def __init__(self, app):
        super(RingModulatorProxy, self).__init__(app, specs, program_bank)
        self.app = app

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.ringmodulator.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)


ringmodulator_pallet = Pallet(default_pallet)
ringmodulator_pallet["SLIDER-TROUGH"] = "black"
ringmodulator_pallet["SLIDER-OUTLINE"] = "blue"

specs["constructor"] = RingModulatorProxy
specs["is-efx"] = True
specs["description"] = "Ring modulator effect"
specs["keymodes"] = ("EFX", )
specs["pretty-printer"] = pp
# specs["program-generator"] = random_program
specs["help"] = "ringmodulator"
specs["pallet"] = ringmodulator_pallet

specs["audio-output-buses"] = [["outbus", "out_0"]]

specs["audio-input-buses"] = [
Пример #17
0
class ASplitProxy(SynthProxy):
    def __init__(self, app):
        super(ASplitProxy, self).__init__(app, specs, program_bank)
        self.app = app

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.asplit.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)


asplit_pallet = Pallet(default_pallet)
asplit_pallet["SLIDER-TROUGH"] = "#432703"
asplit_pallet["SLIDER-OUTLINE"] = "#42033E"

specs["constructor"] = ASplitProxy
specs["description"] = "Split audio signal to 4 separate buses"
specs["keymodes"] = ("EFX", )
specs["pretty-printer"] = pp
specs["program-generator"] = None
specs["is-efx"] = True
specs["help"] = "ASplit"
specs["pallet"] = asplit_pallet
specs["audio-output-buses"] = [["outbusA", "out_0"], ["outbusB", "out_1"],
                               ["outbusC", "out_2"], ["outbusD", "out_3"]]
specs["audio-input-buses"] = [["inbus", "in_1"]]
print("\t%s" % specs["format"])
Пример #18
0
class RumklangProxy(SynthProxy):
    def __init__(self, app):
        super(RumklangProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.rumklang.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            return parent_editor


rumklang_pallet = Pallet(default_pallet)

specs["constructor"] = RumklangProxy
specs["is-efx"] = True
specs["description"] = "Stereo Reverb Effect"
specs["keymodes"] = ("EFX", )
specs["pretty-printer"] = pp
#specs["program-generator"] = gen_rumklang_program
specs["help"] = "rumklang"
specs["pallet"] = rumklang_pallet

specs["audio-input-buses"] = [["inbus", "in_0"]]
specs["audio-output-buses"] = [["outbus1", "out_0"], ["outbus2", "out_1"]]
specs["control-input-buses"] = [["xbus", "null_sink"]]
print("\t%s" % specs["format"])
llia.constants.EFFECT_TYPES.append(specs["format"])
Пример #19
0

class KlstrProxy(SynthProxy):
    def __init__(self, app):
        super(KlstrProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.klstr.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)


klstr_pallet = Pallet(default_pallet)
klstr_pallet["SLIDER-TROUGH"] = "#4d424f"
klstr_pallet["SLIDER-OUTLINE"] = "#464f42"
specs["constructor"] = KlstrProxy
specs["description"] = "Massed pulse waves"
specs["keymodes"] = ('PolyN', 'PolyRotate', 'Poly1', 'Mono1', 'MonoExclusive')
specs["pretty-printer"] = pp_klstr
specs["program-generator"] = gen_klstr_program
specs["help"] = "klstr"
specs["pallet"] = klstr_pallet
specs["audio-output-buses"] = [["outbus", "out_0"]]
specs["control-input-buses"] = [["xbus", "null_sink"]]
print("\t%s" % specs["format"])
llia.constants.SYNTH_TYPES.append(specs["format"])
Пример #20
0
    def __init__(self, app):
        super(Lfo3Proxy, self).__init__(app, specs, program_bank)
        self.app = app
        
    def create_subeditors(self):
        pass
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.lfo3.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            

lfo3_pallet = Pallet(default_pallet)
lfo3_pallet["SLIDER-TROUGH"] = "#432703"
lfo3_pallet["SLIDER-OUTLINE"] = "#42033E"

specs["constructor"] = Lfo3Proxy
specs["description"] = "A 3 LFO block with cross modulation"
specs["keymodes"] = ("EFX", )
specs["audio-output-buses"] = []
specs["audio-input-buses"] = []
specs["pretty-printer"] = pp
specs["program-generator"] = None
specs["is-efx"] = True
specs["is-controller"] = True
specs["help"] = "LFO3"
specs["pallet"] = lfo3_pallet
Пример #21
0
class CrusherProxy(SynthProxy):
    def __init__(self, app):
        super(CrusherProxy, self).__init__(app, specs, program_bank)
        self.app = app

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.crusher.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)


crusher_pallet = Pallet(default_pallet)
crusher_pallet["SLIDER-TROUGH"] = "black"
crusher_pallet["SLIDER-OUTLINE"] = "blue"

specs["constructor"] = CrusherProxy
specs["is-efx"] = True
specs["description"] = "Sample degrade & distortion effect"
specs["keymodes"] = ("EFX", )
specs["pretty-printer"] = pp
# specs["program-generator"] = random_program
specs["help"] = "crusher"
specs["pallet"] = crusher_pallet
specs["audio-output-buses"] = [["outbus", "out_0"]]
specs["audio-input-buses"] = [["inbus", "in_0"]]
print("\t%s" % specs["format"])
llia.constants.EFFECT_TYPES.append(specs["format"])
Пример #22
0
class PannerProxy(SynthProxy):
    def __init__(self, app):
        super(PannerProxy, self).__init__(app, specs, program_bank)
        self.app = app

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.panner.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)


panner_pallet = Pallet(default_pallet)
panner_pallet["SLIDER-TROUGH"] = "#432703"
panner_pallet["SLIDER-OUTLINE"] = "#42033E"

specs["constructor"] = PannerProxy
specs["description"] = "Audio signal panner"
specs["keymodes"] = ("EFX", )
specs["pretty-printer"] = pp
specs["program-generator"] = random_panner
specs["is-efx"] = True
specs["help"] = "Panner"
specs["pallet"] = panner_pallet

specs["audio-output-buses"] = [["outbusA", "out_0"], ["outbusB", "out_1"]]
specs["audio-input-buses"] = [["inbus", "in_0"]]
specs["control-input-buses"] = [["xbus", "null_sink"]]
Пример #23
0
class OrgnProxy(SynthProxy):
    def __init__(self, app):
        super(OrgnProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.orgn.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            return parent_editor


orgn_pallet = Pallet(default_pallet)
orgn_pallet["SLIDER-TROUGH"] = "#4d424f"
orgn_pallet["SLIDER-OUTLINE"] = "#464f42"
specs["constructor"] = OrgnProxy
specs["description"] = "Simple FM Synth"
specs["keymodes"] = ('PolyN', 'PolyRotate', 'Poly1', 'Mono1', 'MonoExclusive')
specs["pretty-printer"] = pp_orgn
specs["program-generator"] = gen_orgn_program
specs["help"] = "orgn"
specs["pallet"] = orgn_pallet
specs["audio-output-buses"] = [["outbus", "out_0"]]
specs["control-input-buses"] = [["xbus", "null_sink"]]

print("\t%s" % specs["format"])
llia.constants.SYNTH_TYPES.append(specs["format"])
Пример #24
0
class MixerProxy(SynthProxy):
    def __init__(self, app):
        super(MixerProxy, self).__init__(app, specs, program_bank)
        self.app = app

    def create_subeditors(self):
        pass
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.mixer.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)


mixer_pallet = Pallet(default_pallet)
mixer_pallet["SLIDER-TROUGH"] = "#432703"
mixer_pallet["SLIDER-OUTLINE"] = "#42033E"

specs["constructor"] = MixerProxy
specs["description"] = "4 x 2 Mixer"
specs["keymodes"] = ("EFX", )
specs["pretty-printer"] = pp
specs["is-efx"] = True
specs["help"] = "Mixer"
specs["pallet"] = mixer_pallet

specs["audio-output-buses"] = [["outbus1", "out_0"], ["outbus2", "out_1"]]

specs["audio-input-buses"] = [["inbusA", "in_0"], ["inbusB", "in_1"],
                              ["inbusC", "in_2"], ["inbusD", "in_3"]]
Пример #25
0
class GhostbusProxy(SynthProxy):
    def __init__(self, app):
        super(GhostbusProxy, self).__init__(app, specs, program_bank)
        self.app = app

    def create_subeditors(self):
        pass
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.ghostbus.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)


ghostbus_pallet = Pallet(default_pallet)
ghostbus_pallet["SLIDER-TROUGH"] = "#432703"
ghostbus_pallet["SLIDER-OUTLINE"] = "#42033E"

specs["constructor"] = GhostbusProxy
specs["description"] = "Reads and modifies control bus values"
specs["keymodes"] = ("EFX", )
specs["pretty-printer"] = pp
#specs["program-generator"] =
specs["is-efx"] = True
specs["is-controller"] = True
specs["help"] = "Ghostbus"
specs["pallet"] = ghostbus_pallet
specs["control-input-buses"] = [["inbus", "null_sink"], ["xbus", "null_sink"]]
specs["control-output-buses"] = [["outbus", "null_source"]]
print("\t%s" % specs["format"])
Пример #26
0
class PrismProxy(SynthProxy):
    def __init__(self, app):
        super(PrismProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.prism.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)
            return parent_editor


prism_pallet = Pallet(default_pallet)

specs["constructor"] = PrismProxy
specs["is-efx"] = True
specs["is-controller"] = False
specs["description"] = "Split audio signal into 3 bands"
specs["keymodes"] = ('Efx', )
specs["pretty-printer"] = pp
specs["help"] = "Prism"
specs["pallet"] = prism_pallet
specs["audio-output-buses"] = [["outbusLow", "out_0"],
                               ["outbusCenter", "out_0"],
                               ["outbusHigh", "out_0"]]
specs["audio-input-buses"] = [["inbus", "in_0"]]
specs["control-output-buses"] = []
specs["control-input-buses"] = []
Пример #27
0
class CarnalProxy(SynthProxy):
    def __init__(self, app):
        super(CarnalProxy, self).__init__(app, specs, program_bank)
        self.app = app

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.carnal.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)


crnl_pallet = Pallet(default_pallet)
crnl_pallet["SLIDER-TROUGH"] = "#400137"
crnl_pallet["SLIDER-OUTLINE"] = "#10400A"

specs["constructor"] = CarnalProxy
specs["is-efx"] = True
specs["description"] = "An unclean delay"
specs["keymodes"] = ("EFX", )
specs["pretty-printer"] = pp
specs["program-generator"] = random_program
specs["help"] = "carnalDelay"
specs["pallet"] = crnl_pallet

specs["audio-output-buses"] = [["outbus", "out_0"]]
specs["audio-input-buses"] = [["inbus", "in_0"]]
specs["control-input-buses"] = [["efxbus", "null_sink"],
Пример #28
0
class PitchShifterProxy(SynthProxy):
    def __init__(self, app):
        super(PitchShifterProxy, self).__init__(app, specs, program_bank)
        self.app = app

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.pitchshifter.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)


pitchshifter_pallet = Pallet(default_pallet)
pitchshifter_pallet["SLIDER-TROUGH"] = "#400137"
pitchshifter_pallet["SLIDER-OUTLINE"] = "#10400A"

specs["constructor"] = PitchShifterProxy
specs["is-efx"] = True
specs["description"] = "Pitch shift effect with feedback"
specs["keymodes"] = ("EFX", )
specs["pretty-printer"] = pp
# specs["program-generator"] = random_program
specs["help"] = "pitchshifter"
specs["pallet"] = pitchshifter_pallet

specs["audio-output-buses"] = [["outbus1", "out_0"], ["outbus2", "out_1"]]
specs["audio-input-buses"] = [["inbus", "in_0"]]
Пример #29
0
class XOverProxy(SynthProxy):

    def __init__(self, app):
        super(XOverProxy, self).__init__(app, specs, program_bank)
        self._editor = None

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.xover.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)

xover_pallet = Pallet(default_pallet)
xover_pallet["BG"] = "#131313"
xover_pallet["SLIDER-TROUGH"] = "#0a1414"
xover_pallet["SLIDER-OUTLINE"] = "#3d1e29"

specs["constructor"] = XOverProxy
specs["description"] = "Crossover Filter Effect"
specs["keymodes"] = ("EFX",)
specs["program-generator"] = random_xover
specs["is-efx"] = True
specs["pretty-printer"] = pp
specs["pallet"] = xover_pallet
specs["help"] = "xover"
specs["audio-output-buses"] = [["outbus1","out_0"],
                               ["outbus2","out_0"]]
specs["audio-input-buses"] = [["inbus","in_0"]]
Пример #30
0
class ChronosProxy(SynthProxy):
    def __init__(self, app):
        super(ChronosProxy, self).__init__(app, specs, program_bank)
        self.app = app

    def create_subeditors(self):
        gui = self.app.config["gui"].upper()
        if gui == "TK":
            from llia.synths.chronos.tk.editor import create_editor
            appwin = self.app.main_window()
            parent_editor = appwin[self.sid]
            create_editor(parent_editor)


chronos_pallet = Pallet(default_pallet)
chronos_pallet["SLIDER-TROUGH"] = "#400137"
chronos_pallet["SLIDER-OUTLINE"] = "#10400A"

specs["constructor"] = ChronosProxy
specs["is-efx"] = True
specs["description"] = "Dual delay effect"
specs["keymodes"] = ("EFX", )
specs["pretty-printer"] = pp
specs["program-generator"] = random_program
specs["help"] = "chronos"
specs["pallet"] = chronos_pallet

specs["audio-output-buses"] = [["outbus1", "out_0"], ["outbus2", "out_1"]]
specs["audio-input-buses"] = [["inbus1", "in_0"], ["inbus2", "in_1"]]
specs["control-input-buses"] = [["xbus", "null_sink"]]