Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
87
Other Decks in Programming
See All in Programming
cmp.Or に感動した
otakakot
3
330
romajip: 日本の住所CSVデータを活用した英語住所変換ライブラリを作った話
sangunkang
0
2.2k
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
6
2.3k
.NET のための通信フレームワーク MagicOnion 入門 / Introduction to MagicOnion
mayuki
1
2.9k
Arm移行タイムアタック
qnighy
0
390
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
3.7k
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
3
350
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
3
1.4k
Vapor Revolution
kazupon
2
2.4k
Reckoner における Datadog Browser Test の活用事例 / Datadog Browser Test at Reckoner
nomadblacky
0
180
Swift Testing - iPlayground
chiaoteni
0
130
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
140
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
How GitHub (no longer) Works
holman
310
140k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
A Tale of Four Properties
chriscoyier
156
23k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Adopting Sorbet at Scale
ufuk
73
9.1k
Facilitating Awesome Meetings
lara
50
6.1k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Designing for humans not robots
tammielis
250
25k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
The Pragmatic Product Professional
lauravandoore
32
6.3k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.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
͝ਗ਼ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠