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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Taiju Aoki
July 24, 2019
Programming
1
1k
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
3.1k
オンプレ to オンプレした話/on-premises2on-premises
blue0513
0
3.1k
GitもCIもテストもないプロジェクトでデプロイを自動化するまでの道 / rebuild of DevOps
blue0513
0
3.3k
Git & GitLab & コードレビューって? / about Git, GitLab, CodeReview
blue0513
0
260
ElectronでSlackをさらに便利にしちゃう / Slack with Electron
blue0513
3
890
GitHub の README をいい感じにする / Cool Readme
blue0513
3
1.7k
Slack を TweetDeck にしてみた件 / slackdeck-proto
blue0513
0
3k
知ってるとお得な iTerm2 と zsh/bash の小技
blue0513
3
870
クラウド電子カルテを支える魂の技術
blue0513
0
2.5k
Other Decks in Programming
See All in Programming
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
Implementation Patterns
denyspoltorak
0
290
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
570
CSC307 Lecture 08
javiergs
PRO
0
670
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1k
Oxlintはいいぞ
yug1224
5
1.3k
AI巻き込み型コードレビューのススメ
nealle
1
280
CSC307 Lecture 03
javiergs
PRO
1
490
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
Architectural Extensions
denyspoltorak
0
290
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.2k
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
280
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
5.8k
Writing Fast Ruby
sferik
630
62k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
BBQ
matthewcrist
89
10k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
220
What's in a price? How to price your products and services
michaelherold
247
13k
Embracing the Ebb and Flow
colly
88
5k
Designing Experiences People Love
moore
144
24k
Deep Space Network (abreviated)
tonyrice
0
48
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
Prompt Engineering for Job Search
mfonobong
0
160
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 Λͯ͠Έͨ