forked from extern/whisper.cpp
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
|
sync.sh
|
||||||
main
|
main
|
||||||
|
stream
|
||||||
*.o
|
*.o
|
||||||
|
5
Makefile
5
Makefile
@ -1,3 +1,5 @@
|
|||||||
|
CC_SDL=`sdl2-config --cflags --libs`
|
||||||
|
|
||||||
main: ggml.o main.o
|
main: ggml.o main.o
|
||||||
g++ -pthread -o main ggml.o main.o
|
g++ -pthread -o main ggml.o main.o
|
||||||
./main -h
|
./main -h
|
||||||
@ -8,6 +10,9 @@ ggml.o: ggml.c ggml.h
|
|||||||
main.o: main.cpp ggml.h
|
main.o: main.cpp ggml.h
|
||||||
g++ -pthread -O3 -std=c++11 -c main.cpp
|
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 up the directory
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o main
|
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