---
title: "#음성인식: #SpeechtoText #음성텍스트변환 #받아쓰기"
url: "https://notes.junghanacs.com/notes/20240527T145419"
author: "Junghan Kim"
date: "2024-05-27T14:54:00+09:00"
lastmod: "2024-12-01T06:30:00+09:00"
tags: ["whisper"]
description: "Speech-to-Text와 받아쓰기 흐름을 이맥스에서 구현하기 위한 음성인식 자료를 모은 노트."
---

> [!abstract] 이 노트에 대하여
> 
> Whisper 기반 받아쓰기와 음성 텍스트 변환을 Emacs에서 어떻게 붙일 수 있을지 정리한 노트다. 녹음과 전사, 로컬 파일 처리까지 실제 작업 흐름을 염두에 둔 참고 자료가 모여 있다.

## Abhinav Tushar      "Dictation Mode for Emacs"

-   ([Abhinav Tushar n.d.](https://notes.junghanacs.com/notes/20240527T145419#citeproc_bib_item_1))

## whisper.el (S2T; speech to text)

/home/junghan/sync/man/dotsamples/vanilla/novoid-dotfiles-uomf/config.org

-   <https://github.com/natrys/whisper.el>
-   `whisper-run` : Toggle between recording from your microphone and transcribing
-   `whisper-file` : Same as before but transcribes a local file on disk

> You will use these functions:
> 
> Invoking `whisper-run` with a prefix argument (C-u) has the same effect as `whisper-file` .
> 
> Both of these functions will automatically compile whisper.cpp dependency and download language model the first time they are run. When recording is in progress, invoking them stops it and starts transcribing. Otherwise if compilation, download (of model file) or transcription job is in progress, calling them again cancels that.
> 
> 이 두 함수는 모두 처음 실행될 때 whisper.cpp 종속성을 자동으로 컴파일하고 언어 모델을 다운로드합니다. 녹음이 진행 중일 때 이 함수를 호출하면 녹음이 중지되고 전사가 시작됩니다. 그렇지 않고 컴파일, 다운로드(모델 파일) 또는 전사 작업이 진행 중인 경우 다시 호출하면 해당 작업이 취소됩니다.

Use `whisper-run` once to start recording and a second time for start the translation process which puts the text into the buffer. This works **offline** (without cloud or network) and amazingly well for English.

속삭임 실행=을 한 번 사용하면 녹음이 시작되고, 두 번 사용하면 텍스트가 버퍼에 저장되는 번역 프로세스가 시작됩니다. 이 기능은 \*오프라인\*(클라우드나 네트워크 없이)에서 작동하며 영어의 경우 놀랍도록 잘 작동합니다.

## Related-Notes

-   [#전산언어학](https://notes.junghanacs.com/meta/20240527T150651)
-   [#소리내어읽기: #텍스트음성변환 #이맥스](https://notes.junghanacs.com/notes/20231120T065213) 의 반대 개념

## BIBLIOGRAPHY

- Abhinav Tushar. n.d. “Dictation Mode for Emacs.” Accessed October 3, 2024. <https://lepisma.xyz/2024/09/12/emacs-dictation-mode/index.html>.
