Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Rubyと戯れるOSS DTM

Rubyと戯れるOSS DTM

TokyuRuby会議10 (http://regional.rubykaigi.org/tokyu10/) (2016-05-29)

Hirofumi Wakasugi

May 31, 2016
Tweet

More Decks by Hirofumi Wakasugi

Other Decks in Programming

Transcript

  1. 04$ 0QFO4PVOE$POUSPM OSC Host Address (like URI) Message /oscillator/frequency 44100

    /foo/bar/baz:12345 440 0.1 “Hello!” w ओʹԻָؔ࿈Ͱ࢖ΘΕΔ௨৴ϓϩτίϧ w 6%15$1Λ࢖ͬͯωοτϫʔΫܦ༝Ͱૹड৴Ͱ͖Δ w .*%*Λ୅ସ͢Δ΋ͷͱͯ͠։ൃ͞Εͨ
  2. OJMTUFQT "O04$DMJFOUXIJDIQSPWJEFTWFSZTJNQMFTUFQTFRVFODFS https://github.com/5t111111/nilsteps # C1 for 1st note and D1

    for 8th note of 16 steps in a bar seq = Nilsteps::Sequencer.new(bpm: 128) seq.setup_steps(0 => 'C1', 8 => 'D1') seq.play(4) # Drum machine like sequence DSL kick 'oxxxoxxxoxxxoxox', times: 1 w υϥϜϚγϯͷΑ͏ͳ୯७ͳεςοϓγʔέϯαʔ w ϋογϡͰεςοϓΛࢦఆͯ͠04$ϝοηʔδΛૹ৴Ͱ͖Δ