whisper.cpp/examples
Tong Li 54a08bde29
examples : add whisper.android.java for compatibility with older Android versions using Java (#1382)
* save the recorded audio to a file

* Alignment -help

* Save the correct audio

* chage to a consistent coding style

* Correct typo

* Update examples/stream/stream.cpp

* Update examples/stream/stream.cpp

* Correct variable misuse

* Update examples/stream/stream.cpp

* Update examples/stream/stream.cpp

* Update examples/stream/stream.cpp

* Update examples/stream/stream.cpp

* add *.bin .cxx/ .gradle/ cmake-build-debug/ to gitignore

* add whisper.android.java

* Added support for older versions of Android of Java

* add examples for android java

* add README.md for android java

* add fullTranscribeWithTime

* 增加 toString()方法和测试

* change return type to void

* update to v1.4.1

* add WhisperService

* chage to whisper_full_get_segment_t1

* add method transcribeDataWithTime

* modified toString
```
return "[" + start + " --> " + end + "]:" + sentence;
```

* Optimize code logic

* update text view on handle

* set max lines

* change Chinese to English

* Update bindings/java/build.gradle

* Update .gitignore

* add android.java to github action

* chage android.java to   android_java in build.yml

* remove gradle

* chage jdk to temurin in android_java of CI

* chage jdk to temurin 11 in android_java of CI

* add x to gradlew

* set api-level for android_java of CI

* Update examples/whisper.android.java/app/src/main/jni/whisper/CMakeLists.txt

* add ndk version in build.gradle

* remove local.properties

* add testFullTranscribeWithTime

---------

Co-authored-by: litongmacos <litongjava@qq.com>
Co-authored-by: bobqianic <129547291+bobqianic@users.noreply.github.com>
2023-11-12 18:31:58 +02:00
..
addon.node whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
bench whisper : add support for large v3 (#1444) 2023-11-07 15:30:18 +02:00
bench.wasm whisper : add support for large v3 (#1444) 2023-11-07 15:30:18 +02:00
command whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
command.wasm whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
lsp whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
main whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
quantize quantize : fix load vocab crash when len is 128 (#1160) 2023-08-06 11:04:42 +03:00
stream whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
stream.wasm whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
talk whisper : add full CUDA and Metal offloading (#1472) 2023-11-12 15:31:08 +02:00
talk-llama talk-llama : add language auto detect (#1467) 2023-11-09 19:21:44 +02:00
talk.wasm whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
whisper.android examples : add whisper.android.java for compatibility with older Android versions using Java (#1382) 2023-11-12 18:31:58 +02:00
whisper.android.java examples : add whisper.android.java for compatibility with older Android versions using Java (#1382) 2023-11-12 18:31:58 +02:00
whisper.nvim examples : vim plugin and LSP server (#1144) 2023-08-27 21:35:06 +03:00
whisper.objc whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
whisper.swiftui ios : add support for Swift Package Manager (#1370) 2023-11-07 23:53:31 +02:00
whisper.wasm whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
CMakeLists.txt examples : vim plugin and LSP server (#1144) 2023-08-27 21:35:06 +03:00
common-ggml.cpp ggml : sync latest ggml lib 2023-06-25 14:30:44 +03:00
common-ggml.h whisper : add integer quantization support (#540) 2023-04-30 18:51:57 +03:00
common-sdl.cpp examples : refactor in order to reuse code and reduce duplication (#482) 2023-02-15 19:28:10 +02:00
common-sdl.h examples : refactor in order to reuse code and reduce duplication (#482) 2023-02-15 19:28:10 +02:00
common.cpp sync : ggml (backend v2, k-quants, CUDA opts, Metal opts, etc.) (#1422) 2023-11-03 21:35:05 +02:00
common.h whisper : add full CUDA and Metal offloading (#1472) 2023-11-12 15:31:08 +02:00
dr_wav.h refactoring : move main + stream in examples + other stuff 2022-10-25 20:53:48 +03:00
generate-karaoke.sh minor : add comment for using "generate_karaoke.sh" 2022-11-26 10:22:42 +02:00
helpers.js whisper : add integer quantization support (#540) 2023-04-30 18:51:57 +03:00
livestream.sh whisper : add support for large v3 (#1444) 2023-11-07 15:30:18 +02:00
twitch.sh whisper : add support for large v3 (#1444) 2023-11-07 15:30:18 +02:00
yt-wsp.sh yt-wsp.sh : print help on empty args 2023-02-18 09:42:31 +02:00