-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwhisper-dvr.texi
More file actions
292 lines (223 loc) · 6.26 KB
/
Copy pathwhisper-dvr.texi
File metadata and controls
292 lines (223 loc) · 6.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
\input texinfo @c -*- texinfo -*-
@c %**start of header
@setfilename whisper-dvr.info
@settitle whisper-dvr User Manual
@documentencoding UTF-8
@documentlanguage en
@c %**end of header
@copying
This manual is for whisper-dvr (version 0.2.0).
Copyright @copyright{} 2024-2025 Blaine Mooers.
@quotation
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
@end quotation
@end copying
@dircategory Emacs
@direntry
* whisper-dvr: (whisper-dvr). Transcribe audio files from DVR with whisper.el.
@end direntry
@titlepage
@title whisper-dvr User Manual
@subtitle Transcribe audio files from DVR with whisper.el
@author Blaine Mooers
@page
@vskip 0pt plus 1filll
@insertcopying
@end titlepage
@contents
@ifnottex
@node Top
@top whisper-dvr
whisper-dvr is an Emacs package that provides a convenient interface
for transcribing audio files from a digital voice recorder using
whisper.el.
@insertcopying
@end ifnottex
@menu
* Introduction:: Overview of whisper-dvr
* Installation:: How to install whisper-dvr
* Configuration:: Configuring whisper-dvr
* Usage:: How to use whisper-dvr
* Customization:: Available customization options
* Troubleshooting:: Common issues and solutions
* Contributing:: How to contribute
* License:: License information
* Index:: Complete index
@end menu
@node Introduction
@chapter Introduction
whisper-dvr is a companion package for whisper.el that simplifies the
workflow of transcribing audio files from a digital voice recorder
(DVR).
@section Features
@itemize @bullet
@item
Lists all audio files from your DVR directory
@item
Displays file information (name, size, modification time)
@item
Supports multiple audio formats (MP3, WAV, M4A)
@item
Integrates seamlessly with whisper.el for transcription
@item
Inserts transcription directly at point
@end itemize
@section Requirements
@itemize @bullet
@item
Emacs 27.1 or later
@item
whisper.el (@url{https://github.com/natrys/whisper.el})
@item
A working whisper.cpp installation (handled by whisper.el)
@end itemize
@node Installation
@chapter Installation
@section Using straight.el
@cindex installation, straight.el
@lisp
(use-package whisper-dvr
:straight (whisper-dvr :type git :host github
:repo "MooersLab/whisper-dvr")
:after whisper
:bind ("C-c w d" . whisper-dvr))
@end lisp
@section Manual Installation
@cindex installation, manual
@enumerate
@item
Clone the repository:
@example
git clone https://github.com/MooersLab/whisper-dvr.git
@end example
@item
Add to your load-path:
@lisp
(add-to-list 'load-path "/path/to/whisper-dvr")
(require 'whisper-dvr)
@end lisp
@end enumerate
@node Configuration
@chapter Configuration
@cindex configuration
Basic configuration:
@lisp
(setq whisper-dvr-directory "/Volumes/IC RECORDER/REC_FILE/FOLDER01")
(global-set-key (kbd "C-c w d") #'whisper-dvr)
@end lisp
Set the directory to match where your DVR mounts on your system.
@node Usage
@chapter Usage
@section Basic Usage
@cindex usage, basic
@enumerate
@item
Connect your digital voice recorder to your computer.
@item
Open an Emacs buffer where you want the transcription inserted.
@item
Run @kbd{M-x whisper-dvr} or press @kbd{C-c w d}.
@item
Select an audio file from the completion list.
@item
Wait for the transcription to complete.
@end enumerate
@section Changing the DVR Directory
@cindex directory, changing
@findex whisper-dvr-set-directory
If your DVR is mounted at a different location:
@example
M-x whisper-dvr-set-directory RET /path/to/dvr RET
@end example
@section Interactive Commands
@cindex commands
@table @code
@item whisper-dvr
@findex whisper-dvr
List audio files from the DVR directory and transcribe the selected file.
Default keybinding: @kbd{C-c w d}.
@item whisper-dvr-set-directory
@findex whisper-dvr-set-directory
Interactively set the DVR directory path.
@end table
@node Customization
@chapter Customization
@section whisper-dvr-directory
@vindex whisper-dvr-directory
@cindex customization, directory
The directory path where your DVR stores recordings.
Default: @code{"/Volumes/IC RECORDER/REC_FILE/FOLDER01"}
@lisp
(setq whisper-dvr-directory "/your/dvr/path")
@end lisp
@section whisper-dvr-file-extensions
@vindex whisper-dvr-file-extensions
@cindex customization, file extensions
List of audio file extensions to include when listing files.
Default: @code{'("mp3" "wav" "m4a")}
@lisp
(setq whisper-dvr-file-extensions '("mp3" "wav" "m4a" "ogg"))
@end lisp
@node Troubleshooting
@chapter Troubleshooting
@cindex troubleshooting
@section DVR directory does not exist
@cindex error, directory not found
Ensure your DVR is connected and mounted. Check the mount path with:
@example
ls /Volumes/ # macOS
ls /media/ # Linux
@end example
@section No audio files found
@cindex error, no files found
Verify that:
@itemize @bullet
@item
The directory path is correct
@item
The directory contains files with supported extensions
@item
File permissions allow reading
@end itemize
@section Transcription starts recording instead of transcribing
@cindex error, wrong number of arguments
@cindex whisper-file, API change
This was a bug in versions prior to 0.2.0. The issue occurred because
@code{whisper-file} in whisper.el changed from accepting a file path
argument to being an interactive-only function.
Update to version 0.2.0 or later, which correctly calls @code{whisper-run}
with the file path directly.
@node Contributing
@chapter Contributing
@cindex contributing
Contributions are welcome!
@enumerate
@item
Fork the repository on GitHub
@item
Create a feature branch
@item
Make your changes
@item
Run tests: @code{make test}
@item
Submit a pull request
@end enumerate
@node License
@chapter License
whisper-dvr is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
@node Index
@unnumbered Index
@section Concept Index
@printindex cp
@section Function Index
@printindex fn
@section Variable Index
@printindex vr
@bye