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
Emacs × Sound やってみた / Emacs with Sound
Search
Taiju Aoki
July 24, 2019
Programming
1
940
Emacs × Sound やってみた / Emacs with Sound
LT for Emacs 七夕まつり
https://tokyo-emacs.connpass.com/event/138882/
Taiju Aoki
July 24, 2019
Tweet
Share
More Decks by Taiju Aoki
See All by Taiju Aoki
本番運用中 Oracle を破壊してしまった話 ~ 破壊と創世 ~ / Oracle Destruction and Creation
blue0513
0
2.8k
オンプレ to オンプレした話/on-premises2on-premises
blue0513
0
2.8k
GitもCIもテストもないプロジェクトでデプロイを自動化するまでの道 / rebuild of DevOps
blue0513
0
3k
Git & GitLab & コードレビューって? / about Git, GitLab, CodeReview
blue0513
0
210
ElectronでSlackをさらに便利にしちゃう / Slack with Electron
blue0513
3
770
GitHub の README をいい感じにする / Cool Readme
blue0513
3
1.6k
Slack を TweetDeck にしてみた件 / slackdeck-proto
blue0513
0
2.8k
知ってるとお得な iTerm2 と zsh/bash の小技
blue0513
2
780
クラウド電子カルテを支える魂の技術
blue0513
0
2.3k
Other Decks in Programming
See All in Programming
Functional Event Sourcing using Sekiban
tomohisa
0
100
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
Macとオーディオ再生 2024/11/02
yusukeito
0
370
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
Arm移行タイムアタック
qnighy
0
340
ActiveSupport::Notifications supporting instrumentation of Rails apps with OpenTelemetry
ymtdzzz
1
250
as(型アサーション)を書く前にできること
marokanatani
10
2.7k
Amazon Bedrock Agentsを用いてアプリ開発してみた!
har1101
0
340
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
120
C++でシェーダを書く
fadis
6
4.1k
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
990
Amazon Qを使ってIaCを触ろう!
maruto
0
420
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
33
2.9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Designing for Performance
lara
604
68k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Why Our Code Smells
bkeepers
PRO
334
57k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Speed Design
sergeychernyshev
25
620
Become a Pro
speakerdeck
PRO
25
5k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Typedesign – Prime Four
hannesfritz
40
2.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Producing Creativity
orderedlist
PRO
341
39k
Transcript
Emacs ✖ Sound ͬͯΈͨ @blue_1617
ࢲ୭ʁ blue (@blue_1617) https://blue0513.github.io/show_room/ 2 ࠓظͷΞχϝϦετ ‣ ߥͿΔقઅͷԵঁͲΑɻ ‣ ͔ͭͯਆ्ͩͬͨͨͪ
‣ Dr. STONE ‣ ൴ํͷΞετϥ ‣ μϯ·ͪ ‣ μϯϕϧԿΩϩ࣋ͯΔʁ ‣ ίοϓΫϥϑτ ‣ ॴଐ: M3, IncʢΫϥυిࢠΧϧς։ൃʣ ‣ JavaScript, Ruby, Scala, Terraform etc
࠷ۙ HHKB ͷಉ྅͕૿͑·ͯ͠ 3 λΧλΧλΧ .....λʔϯοʂʂ ͍͍Իͯ͠Δͥ.....
࠷ۙ HHKB ͷಉ྅͕૿͑·ͯ͠ 4 λΧλΧλΧ .....λʔϯοʂʂ ͍͍Իͯ͠Δͥ..... ଧ伴Ի͍͍ͧ
Emacs ʹ SE Λ͚ͭͯΈͨ 5 https://github.com/blue0513/emacs-se λΠϐϯά࣌ʹϢʔβఆٛͷ SE Λ໐Β͢͜ͱ͕Ͱ͖Δ
Emacs ʹ SE Λ͚ͭͯΈͨʢ࣮ʣ 6 ‣ sound-wav.el : EmacsʹޮՌԻ(SE)Λ͚ͯ࡞ۀޮΛ3ഒʹ͢Δํ๏ ‣
http://emacs.rubikitch.com/sound-wav/ ‣ ࢀߟ ‣ sound-wav.el ‣ https://github.com/syohex/emacs-sound-wav post-command-hook ͰҾֻ͚͍ͬͯΔ ΩʔʹΑͬͯԻΛมߋ͍ͯ͠Δ
Emacs ʹ SE Λ͚ͭͯΈͨʢDEMOʣ 7 DEMO
࠷ۙ SmartSpeaker Λങ͍·ͯ͠ 8 OK, Google ໌ͷఱؾʁ Haha, ໌࠷ߴʹ Ϋʔϧͳͩͥʂ
࠷ۙ SmartSpeaker Λങ͍·ͯ͠ 9 OK, Google ໌ͷఱؾʁ Haha, ໌࠷ߴʹ Ϋʔϧͳͩͥʂ
Իૢ࡞͍͢͝
Emacs ΛԻૢ࡞ͯ͠Έͨ 10 https://github.com/blue0513/julius-emacs ϢʔβఆٛͷϫʔυʹԠͯ͠ɺಛఆͷΞΫγϣϯΛ࣮ߦ͢Δ ʮίϐʔɺషΓ͚ʯͷԻʹԠ͢Δ
Emacs ΛԻૢ࡞ͯ͠Έͨʢ࣮ɾखॱʣ11 1. Run Julius on Terminal 2. Open eshell
and Run ruby script 3. Start observation for voice-recognition 4. Say something JuliusʢԻೝࣝιϑτʣΛىಈ͢Δ eshell Λ։͍ͯ Julius ͷೝࣝ݁ՌΛ buffer ʹॻ͖ࠐΉ buffer ͷ༰Λࢹ͢Δ ఆٛͨ͠ϫʔυʹϚονͨ͠ΒɺΞΫγϣϯΛ࣮ߦ Julius ͕ೝࣝͨ͠จࣈྻΛऔಘ จࣈྻʹԠͯ͡ΞΫγϣϯΛ࣮ߦ
Emacs ΛԻૢ࡞ͯ͠ΈͨʢDEMOʣ 12 DEMO
ଓɾ࠷ۙ SmartSpeaker Λങ͍·ͯ͠ 13 OK, Google ԻָΛྲྀͯ͠ (High ͳ Musiċ)
̇̇̇ ̇̇̇ ̇̇̇
ଓɾ࠷ۙ SmartSpeaker Λങ͍·ͯ͠ 14 OK, Google ԻָΛྲྀͯ͠ (High ͳ Musiċ)
̇̇̇ ̇̇̇ ̇̇̇ զDJ͍ͨ͠ʂ
Emacs Ͱ DJ ͯ͠Έͨ 15 https://github.com/blue0513/tidal-emacs-sample Tidal ͱ Emacs Λ࿈ܞͤ͞ɺΤσΟλͰ
DJ ͢Δ
Emacs Ͱ DJ ͯ͠Έͨʢखॱʣ 16 1. Launch SuperCollider.app 2. Write
SuperDirt.start then Cmd+Enter 3. M-x tidal-start-haskell 4. M-x tidal-run-line (C-c C-c) SuperColliderʢγϯηαΠβʔʣΛىಈ͢Δ SuperCollider ͰίϚϯυΛ࣮ߦ͠ɺೖྗΛࢹ͢Δ Emacs ্Ͱ tidal ༻ͷϓϩηεΛىಈ͢Δ ΧʔιϧԼͷ໋ྩΛ࣮ߦ͢Δ ex. d3 $ sound "drum odx bd arpy bass2 feel future"
Emacs Ͱ DJ ͯ͠ΈͨʢDEMOʣ 17 DEMO
·ͱΊ 18 ‣ Emacs ʹ SE Λ͚ͭͯΈͨ ‣ Emacs ΛԻૢ࡞ͯ͠Έͨ
‣ Emacs Ͱ DJ ͯ͠Έͨ λΠϐϯά࣌ʹ SE Λ໐Β͢ϚΠφʔϞʔυΛ࡞ͬͯΈͨ Thx Δͼ͖ͪࢯ http://emacs.rubikitch.com/sound-wav/ Julius ͱ Emacs ΛΈ߹ΘͤͯԻૢ࡞Λͯ͠Έͨ Tidal ͱ Emacs ΛΈ߹Θͤͯ DJ Λͯ͠Έͨ