Ejemplo n.º 1
0
 def __init__(self):
     self.settings = {
         "volume": 1.0,
         "eq": [],
     }
     self.dsp = Manager()
     self.dsp.register_part(ApplyEQ())
Ejemplo n.º 2
0
class DSPHandler:
    def __init__(self):
        self.settings = {
            "volume": 1.0,
            "eq": [],
        }
        self.dsp = Manager()
        self.dsp.register_part(ApplyEQ())

    def change_setting(self, key, value):
        self.settings[key] = value
Ejemplo n.º 3
0
# IzunaDSP
from izunadsp.core.manager import Manager
from izunadsp.parts.volume import Volume

man = Manager()
vol = Volume()
vol.set_volume(0.5)

man.register_part(vol)

man.passthrough("dubstep.wav", "dubstep_volume.wav")
Ejemplo n.º 4
0
# IzunaDSP
from izunadsp.core.manager import Manager
from izunadsp.parts.speed_mod import SpeedModifier

man = Manager()
sp = SpeedModifier()
sp.set_speed(2.0)

man.register_part(sp)

man.passthrough("dubstep.wav", "dubstep_speed.wav")
Ejemplo n.º 5
0
# IzunaDSP
from izunadsp.core.manager import Manager
from izunadsp.parts.amplify_stereo import StereoAmplifier

man = Manager()
amp = StereoAmplifier()
amp.set_amplifier(1.5)

man.register_part(amp)

man.passthrough("dubstep.wav", "dubstep_amp.wav")
Ejemplo n.º 6
0
# IzunaDSP
from izunadsp.core.manager import Manager
from izunadsp.parts.effect_tremolo import Tremolo

man = Manager()
tr = Tremolo()

man.register_part(tr)

man.passthrough("dubstep.wav", "dubstep_tremolo.wav")
Ejemplo n.º 7
0
# IzunaDSP
from izunadsp.core.manager import Manager
from izunadsp.parts.reverb import Reverb

man = Manager()
rev = Reverb()

man.register_part(rev)

man.passthrough("dubstep.wav", "dubstep_reverb.wav")
Ejemplo n.º 8
0
# IzunaDSP
from izunadsp.core.manager import Manager
from izunadsp.parts.apply_eq import ApplyEQ

man = Manager()
eq = ApplyEQ()
eq.set_eq([2, 2, 0, 1.1, 0.5])

man.register_part(eq)

man.passthrough("dubstep.wav", "dubstep_eq.wav")