Skip to content

Commit b6bf906

Browse files
committed
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
1 parent 77d929f commit b6bf906

File tree

3 files changed

+2517
-0
lines changed

3 files changed

+2517
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
sync.sh
22
main
3+
stream
34
*.o

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
CC_SDL=`sdl2-config --cflags --libs`
2+
13
main: ggml.o main.o
24
g++ -pthread -o main ggml.o main.o
35
./main -h
@@ -8,6 +10,9 @@ ggml.o: ggml.c ggml.h
810
main.o: main.cpp ggml.h
911
g++ -pthread -O3 -std=c++11 -c main.cpp
1012

13+
stream: stream.cpp
14+
g++ -pthread -O3 -std=c++11 -o stream stream.cpp ggml.o $(CC_SDL)
15+
1116
# clean up the directory
1217
clean:
1318
rm -f *.o main

0 commit comments

Comments
 (0)