💾 Archived View for tilde.club › ~fourhoarder › c_clk_sync captured on 2022-04-29 at 11:25:49.

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-


s = sequins

sink1 = s{1,1,1/2,1/2,1/4}
sink2 = s{1/2,1,1/2,1,}
sink3 = s{1,1,1/2,2,}
one = s{0,2,4,24,21,12,7}
two = s{0,2,5,6,7,14}
three = s{2,4,5,7}
four = s{0}

clock.run(
  function()
    while true do
      clock.sync(sink1())
      ii.jf.play_voice( 1, one()/12,9)
      output[1](pulse())
    end
  end
)

clock.run(
    function()
        while true do
        clock.sync(sink2())
        ii.jf.play_voice( 2, two()/12, 9)
        output[2](pulse())
        end
    end
)

clock.run(
    function()
        while true do
        clock.sync(sink3())
        ii.jf.play_voice( 3, two()/12, 9)
        output[3](pulse())
        end
    end
)

clock.run(
    function()
        while true do
        clock.sync(1)
        ii.jf.play_voice( 4, four()/12, 9)
        output[4](pulse())
        end
)                                            48,1          25%