Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 87832c4469 | |||
| 64059731cd | |||
| bce4f70fd2 |
17
README.md
17
README.md
@@ -103,3 +103,20 @@ sox "$FILE" -r 16000 -c 1 -b 16 "/tmp/ds-${ID}.wav"
|
||||
${BINPATH}/deepspeech --model ${MODELS}/output_graph.pbmm --lm ${MODELS}/lm.binary --trie ${MODELS}/trie --audio "/tmp/ds-${ID}.wav" 2>/dev/null
|
||||
rm /tmp/ds-${ID}.wav
|
||||
```
|
||||
|
||||
----
|
||||
|
||||
* Whisper wrapper script
|
||||
|
||||
This small script will use Whisper to do the same job as DeepSpeech but considerably faster and better.
|
||||
|
||||
```
|
||||
#!/bin/bash
|
||||
|
||||
whisper --output_format txt --model small --fp16 False --output_dir /tmp --device cuda --language English "$1" > /dev/null
|
||||
BASE=$(basename "$1" .wav)
|
||||
TXT=${BASE}.txt
|
||||
cat "/tmp/${TXT}" | tr '
|
||||
' ' '
|
||||
echo ""
|
||||
```
|
||||
|
||||
@@ -1 +1 @@
|
||||
version=0.4.4
|
||||
version=0.5.0
|
||||
|
||||
@@ -1102,6 +1102,9 @@ public class AudiobookRecorder extends JFrame implements DocumentListener {
|
||||
newbook.setGenre(info.getGenre().trim());
|
||||
newbook.setComment(info.getComment().trim());
|
||||
newbook.setACX(info.getACX().trim());
|
||||
newbook.setShortTitle(info.getShortTitle());
|
||||
newbook.setShortAuthor(info.getShortAuthor());
|
||||
newbook.setExportProfile(info.getExportProfile());
|
||||
|
||||
Chapter caud = new Chapter(newbook, "audition", "Audition");
|
||||
Chapter copen = new Chapter(newbook, "open", "Opening Credits");
|
||||
|
||||
@@ -722,7 +722,7 @@ public class Book extends BookTreeNode {
|
||||
|
||||
public ExportProfile getExportProfile() {
|
||||
if (exportProfile == null) {
|
||||
return AudiobookRecorder.exportProfiles.get("librivox");
|
||||
return AudiobookRecorder.exportProfiles.get("default");
|
||||
}
|
||||
return exportProfile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user