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
920
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.7k
オンプレ to オンプレした話/on-premises2on-premises
blue0513
0
2.8k
GitもCIもテストもないプロジェクトでデプロイを自動化するまでの道 / rebuild of DevOps
blue0513
0
3k
Git & GitLab & コードレビューって? / about Git, GitLab, CodeReview
blue0513
0
190
ElectronでSlackをさらに便利にしちゃう / Slack with Electron
blue0513
3
750
GitHub の README をいい感じにする / Cool Readme
blue0513
3
1.6k
Slack を TweetDeck にしてみた件 / slackdeck-proto
blue0513
0
2.8k
知ってるとお得な iTerm2 と zsh/bash の小技
blue0513
2
770
クラウド電子カルテを支える魂の技術
blue0513
0
2.3k
Other Decks in Programming
See All in Programming
UnJSで簡単に始めるCLIツール開発 / cli-tool-development-with-unjs
aoseyuu
2
310
VS Code extension: ドラッグ&ドロップでファイルを並び替える
ttrace
0
170
XP2024 っていう国際会議に行ってきたよの記
bonotake
4
240
自分だけの世界を創るクリエイティブコーディング / Creative Coding: Creating Your Own World
chobishiba
2
1.8k
dbt-ga4パッケージを実業務に導入してみた話
t_tokumaru_feedcorp
0
130
Serverless renderování Webových komponent
rarous
PRO
0
110
Memory API: Patterns, Use Cases, and Performance
josepaumard
1
180
rtcamp 10 (vk-illuminati)
yumcyawiz
0
120
Scan with Decoupled Look-back and Onesweep Radix Sort
shocker_0x15
0
100
実務未経験からいち早く戦力化するための新人エンジニア育成術 ~ 具体的な方法と育成する側の心得 ~
juri_matsuda
0
110
Competitionsだけじゃない! Kaggle Notebooks Grandmasterのすすめ
corochann
2
580
ROS 2のZenoh対応とZenohのROS 2対応
takasehideki
2
310
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
What the flash - Photography Introduction
edds
67
11k
Faster Mobile Websites
deanohume
304
30k
Code Review Best Practice
trishagee
63
17k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Design by the Numbers
sachag
278
19k
GraphQLとの向き合い方2022年版
quramy
43
13k
How To Stay Up To Date on Web Technology
chriscoyier
787
250k
How to train your dragon (web standard)
notwaldorf
87
5.6k
WebSockets: Embracing the real-time Web
robhawkes
59
7.3k
Become a Pro
speakerdeck
PRO
24
4.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
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 Λͯ͠Έͨ