Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Rubyと戯れるOSS DTM
Search
Hirofumi Wakasugi
May 31, 2016
Programming
4
740
Rubyと戯れるOSS DTM
TokyuRuby会議10 (
http://regional.rubykaigi.org/tokyu10/
) (2016-05-29)
Hirofumi Wakasugi
May 31, 2016
Tweet
Share
More Decks by Hirofumi Wakasugi
See All by Hirofumi Wakasugi
Racc Introduction
5t111111
1
410
Keep Calm and Enjoy Gachima
5t111111
3
350
Swift Functional Programming
5t111111
0
260
Middleman on Production
5t111111
0
160
名古屋Ruby会議03 高速一言感想
5t111111
3
1k
ドキュメント翻訳懺悔のLT ~進捗ダメです~
5t111111
1
580
UFO演算子について
5t111111
0
320
Rubyの拡張をCrystalで書いてみる
5t111111
0
100
YARV INTRODUCTION
5t111111
0
86
Other Decks in Programming
See All in Programming
Tauriでネイティブアプリを作りたい
tsucchinoko
0
370
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
170
受け取る人から提供する人になるということ
little_rubyist
0
250
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
140
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
430
Quine, Polyglot, 良いコード
qnighy
4
650
.NET のための通信フレームワーク MagicOnion 入門 / Introduction to MagicOnion
mayuki
1
1.7k
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
120
距離関数を極める! / SESSIONS 2024
gam0022
0
290
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
970
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Writing Fast Ruby
sferik
627
61k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Git: the NoSQL Database
bkeepers
PRO
427
64k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Site-Speed That Sticks
csswizardry
0
28
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Transcript
3VCZͱٔΕΔ 044%5. Playing the computer music with OSS via Ruby
Hirofumi Wakasugi (@5t111111)
Hirofumi Wakasugi (@5t111111) ϓϩάϥϚʔ
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 .*%*Λସ͢Δͷͱͯ͠։ൃ͞Εͨ
RUBY OSS DTM
1VSF%BUB 1E w ։ൃͨ͠ͷ.BYͷ։ൃऀͰ ͋Δ.JMMFS1VDLFUUF Իڹ߹ϚϧνϝσΟΞͷͨΊͷάϥϑΟΧϧ ϏδϡΞϧ ϓϩάϥϛϯάݴޠ w
ஔͨ͠ΦϒδΣΫτಉ࢜Λ ݁ઢ͠ϝοηʔδΛΓͱΓ ͢Δ͜ͱͰϓϩάϥϜΛ࡞Δ
ruby-puredata https://github.com/nagachika/ruby-puredata
ruby-puredata https://github.com/nagachika/ruby-puredata
·ͣϦϕϯδͰSVCZQVSFEBUBಉࠝͷαϯϓϧԻݯΛ໐Β͢ IUUQTHJUIVCDPNUURSLMUCMPCNBTUFSQFOUBOHMFFYBNQMFSC
࣍ʹγϯϓϧͳαΠϯͷγϯηΛىಈ IUUQTHJUIVCDPNUURSLMUCMPCNBTUFSQFOUBOHMFTZOUISC ͨͩ͜Ε୯ମͰ Ի͕໐Βͤͳ͍ͨΊɺ ผͷϓϩάϥϜ͔Β 04$ϝοηʔδΛૹΔ
+3VCZ"SU $PEFBT"SU w ·ͩ৽͍͠ϓϩδΣΫτͰɺ 1SPDFTTJOHSVCZQSPDFTTJOH 1SPDFTTJOH8SBQQFS-JCSBSZGPS3VCZ +3VCZ w ϏδϡΞϧΞʔτ͚ͷϓϩάϥ ϛϯάݴޠ1SPDFTTJOHΛ3VCZͰ
ॻ͘͜ͱ͕Ͱ͖Δ https://ruby-processing.github.io
+3VCZ"SUͰॻ͍ͨ04$ίϯτϩʔϥʔͰԋ IUUQTHJUIVCDPNUURSLMUCMPCNBTUFSKSVCZ@BSUPTD@DPOUSPMMFSSC ΫϦοΫͨ͠࠲ඪʹ Ԡͨ͡04$ϝοηʔδ͕ ૹ৴͞ΕͯԻ͕໐Δ
ͭͣͭհ͍ͯ͘͠ͷ͜ͷลʹͯ͠ ͬͺΓۂԋΓ·͢
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$ϝοηʔδΛૹ৴Ͱ͖Δ
ಉ࣌ʹͭͷԻ͔͠ ໐Βͤ·ͤΜ o w8 it sux cuz
΅͘͜ͷOJMTUFQTΛ ˒ฒߦ࣮ߦ͍ͨ͠ w ͳͥͳΒಉ࣌ʹෳͷԻΛ໐Β͍͔ͨ͠Βͩ ˒ґଘؔΛࢦఆ͍ͨ͠ w ͳͥͳΒ࣮ߦͷॱ൪Λࢦఆͯ͠ۂΛߏ͍͔ͨ͠Βͩ ˒3VCZͰॻ͖͍ͨ w ͳͥͳΒ3VCZͰॻ͖͍͔ͨΒͩ
None
3VLBXB )ZQFSTJNQMFXPSLqPXFOHJOFGPS3VCZ https://github.com/joker1007/rukawa ˒ ฒߦ࣮ߦͰ͖Δ ˒ ґଘؔΛࢦఆͰ͖Δ ˒ 3VCZͰॻ͚Δ
1MBZBSPVOEXJUIFDPTZTUFN 3VLBXBͰ OJMTUFQTͷδϣϒΛίϯτϩʔϧͯ͠ 1VSF%BUBͷԻΛग़͢͜ͱͰ ۂʹ͢Δͱ͍͏ͷΛΓ·͢
CVOEMFFYFDSVLBXBSVO4POH4FRVFODF IUUQTHJUIVCDPNUURSLMUUSFFNBTUFSTFRVFODF
͝ਗ਼ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠