Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Emacs × Sound やってみた / Emacs with Sound

Emacs × Sound やってみた / Emacs with Sound

LT for Emacs 七夕まつり
https://tokyo-emacs.connpass.com/event/138882/

Taiju Aoki

July 24, 2019
Tweet

More Decks by Taiju Aoki

Other Decks in Programming

Transcript

  1. ࢲ͸୭ʁ blue (@blue_1617) https://blue0513.github.io/show_room/ 2 ࠓظͷΞχϝϦετ ‣ ߥͿΔقઅͷԵঁͲ΋Αɻ ‣ ͔ͭͯਆ्ͩͬͨͨͪ΁

    ‣ Dr. STONE ‣ ൴ํͷΞετϥ ‣ μϯ·ͪ ‣ μϯϕϧԿΩϩ࣋ͯΔʁ ‣ ίοϓΫϥϑτ ‣ ॴଐ: M3, IncʢΫϥ΢υిࢠΧϧς։ൃʣ ‣ JavaScript, Ruby, Scala, Terraform etc
  2. 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 ͰҾֻ͚͍ͬͯΔ ΩʔʹΑͬͯԻΛมߋ͍ͯ͠Δ
  3. 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 ͕ೝࣝͨ͠จࣈྻΛऔಘ จࣈྻʹԠͯ͡ΞΫγϣϯΛ࣮ߦ
  4. 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"
  5. ·ͱΊ 18 ‣ Emacs ʹ SE Λ͚ͭͯΈͨ ‣ Emacs ΛԻ੠ૢ࡞ͯ͠Έͨ

    ‣ Emacs Ͱ DJ ͯ͠Έͨ λΠϐϯά࣌ʹ SE Λ໐Β͢ϚΠφʔϞʔυΛ࡞ͬͯΈͨ Thx Δͼ͖ͪࢯ http://emacs.rubikitch.com/sound-wav/ Julius ͱ Emacs Λ૊Έ߹ΘͤͯԻ੠ૢ࡞Λͯ͠Έͨ Tidal ͱ Emacs Λ૊Έ߹Θͤͯ DJ Λͯ͠Έͨ