mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-24 06:46:37 +00:00
ref #10 : quick-and-dirty attempt for real-time audio transciption
- Processes input in chunks of 3 seconds. - Padding audio with silence - Uses 1 second audio from previous pass - No text context
This commit is contained in:
parent
77d929f603
commit
b6bf906730
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
sync.sh
|
||||
main
|
||||
stream
|
||||
*.o
|
||||
|
5
Makefile
5
Makefile
@ -1,3 +1,5 @@
|
||||
CC_SDL=`sdl2-config --cflags --libs`
|
||||
|
||||
main: ggml.o main.o
|
||||
g++ -pthread -o main ggml.o main.o
|
||||
./main -h
|
||||
@ -8,6 +10,9 @@ ggml.o: ggml.c ggml.h
|
||||
main.o: main.cpp ggml.h
|
||||
g++ -pthread -O3 -std=c++11 -c main.cpp
|
||||
|
||||
stream: stream.cpp
|
||||
g++ -pthread -O3 -std=c++11 -o stream stream.cpp ggml.o $(CC_SDL)
|
||||
|
||||
# clean up the directory
|
||||
clean:
|
||||
rm -f *.o main
|
||||
|
2511
stream.cpp
Normal file
2511
stream.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user