Exemplo n.º 1
0
    def test_insets(self):
        wt1 = wavetables.seesaw('rnd', 4096, dsp.rand(0, 1))
        wt1_graph = wt1.graph(label='LFO 1')

        wt2 = wavetables.seesaw('rnd', 4096, dsp.rand(0, 1))
        wt2_graph = wt2.graph(label='LFO 2')

        wt3 = wavetables.seesaw('rnd', 4096, dsp.rand(0, 1))
        wt3_graph = wt3.graph(label='LFO 3')

        snd = dsp.read('tests/sounds/linux.wav')
Exemplo n.º 2
0
    def test_insets(self):
        wt1 = wavetables.seesaw('rnd', 4096, dsp.rand(0, 1))
        wt1_graph = wt1.graph(stroke=10)

        wt2 = wavetables.seesaw('rnd', 4096, dsp.rand(0, 1))
        wt2_graph = wt2.graph(stroke=10)

        wt3 = wavetables.seesaw('rnd', 4096, dsp.rand(0, 1))
        wt3_graph = wt3.graph(stroke=10)

        snd = dsp.read('tests/sounds/linux.wav')
        snd.graph('tests/renders/graph_insets.png', insets=[wt1_graph, wt2_graph, wt3_graph], stroke=3, width=1200, height=500)
Exemplo n.º 3
0
    def test_insets(self):
        wt1 = wavetables.seesaw('rnd', 4096, dsp.rand(0, 1))
        wt1_graph = wt1.graph(label='LFO 1')

        wt2 = wavetables.seesaw('rnd', 4096, dsp.rand(0, 1))
        wt2_graph = wt2.graph(label='LFO 2')

        wt3 = wavetables.seesaw('rnd', 4096, dsp.rand(0, 1))
        wt3_graph = wt3.graph(label='LFO 3')

        snd = dsp.read('tests/sounds/linux.wav')
        snd.graph('tests/renders/graph_insets.png', insets=[wt1_graph, wt2_graph, wt3_graph], stroke=3, width=900, height=250, label='I pronounce Linux as Linux')
Exemplo n.º 4
0
    def test_insets(self):
        wt1 = wavetables.seesaw('rnd', 4096, dsp.rand(0, 1))
        wt1_graph = wt1.graph(stroke=10)

        wt2 = wavetables.seesaw('rnd', 4096, dsp.rand(0, 1))
        wt2_graph = wt2.graph(stroke=10)

        wt3 = wavetables.seesaw('rnd', 4096, dsp.rand(0, 1))
        wt3_graph = wt3.graph(stroke=10)

        snd = dsp.read('tests/sounds/linux.wav')
        snd.graph('tests/renders/graph_insets.png',
                  insets=[wt1_graph, wt2_graph, wt3_graph],
                  stroke=3,
                  width=1200,
                  height=500)
Exemplo n.º 5
0
    def test_seesaw(self):
        wt = wavetables.seesaw('tri', 15, 0.85)
        wt.graph('tests/renders/graph_seesaw_tri.png', stroke=3)

        wt = wavetables.seesaw('sine', 15, 0.85)
        wt.graph('tests/renders/graph_seesaw_sine.png', stroke=3)
Exemplo n.º 6
0
    def test_seesaw(self):
        wt = wavetables.seesaw('tri', 4096, 0.85)
        wt.graph('tests/renders/graph_seesaw_tri.png', stroke=3)

        wt = wavetables.seesaw('sine', 4096, 0.85)
        wt.graph('tests/renders/graph_seesaw_sine.png', stroke=3)