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
980
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.9k
オンプレ to オンプレした話/on-premises2on-premises
blue0513
0
2.9k
GitもCIもテストもないプロジェクトでデプロイを自動化するまでの道 / rebuild of DevOps
blue0513
0
3.1k
Git & GitLab & コードレビューって? / about Git, GitLab, CodeReview
blue0513
0
210
ElectronでSlackをさらに便利にしちゃう / Slack with Electron
blue0513
3
840
GitHub の README をいい感じにする / Cool Readme
blue0513
3
1.6k
Slack を TweetDeck にしてみた件 / slackdeck-proto
blue0513
0
2.9k
知ってるとお得な iTerm2 と zsh/bash の小技
blue0513
3
800
クラウド電子カルテを支える魂の技術
blue0513
0
2.4k
Other Decks in Programming
See All in Programming
Browser and UI #2 HTML/ARIA
ken7253
2
170
プロフェッショナルとしての成長「問題の深掘り」が導く真のスキルアップ / issue-analysis-and-skill-up
minodriven
8
1.9k
Cursor/Devin全社導入の理想と現実
saitoryc
28
21k
Road to RubyKaigi: Making Tinny Chiptunes with Ruby
makicamel
4
540
ComposeでWebアプリを作る技術
tbsten
0
130
カウシェで Four Keys の改善を試みた理由
ike002jp
1
120
インプロセスQAにおいて大事にしていること / In-process QA Meetup
medley
0
140
Making TCPSocket.new "Happy"!
coe401_
1
3.1k
大LLM時代にこの先生きのこるには-ITエンジニア編
fumiyakume
8
3.3k
サービスレベルを管理してアジャイルを加速しよう!! / slm-accelerate-agility
tomoyakitaura
1
200
Носок на сок
bo0om
0
1.1k
ComposeでのPicture in Picture
takathemax
0
130
Featured
See All Featured
KATA
mclloyd
29
14k
Raft: Consensus for Rubyists
vanstee
137
6.9k
GraphQLとの向き合い方2022年版
quramy
46
14k
Git: the NoSQL Database
bkeepers
PRO
430
65k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
105
19k
Making the Leap to Tech Lead
cromwellryan
133
9.2k
Designing for humans not robots
tammielis
253
25k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
33k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
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 Λͯ͠Έͨ