whisper.cpp/bindings/ruby/ext
KITAITI Makoto 97c56f1dc1
ruby : add VAD speech segments API (#3931)
* Bump version

* Add test for VAD segments API

* Implement VAD segments API

* Add signatures of VAD segments API

* Stop to dependent on mutex_m

* Check segment range for vad_segment_t0/t1

* Remove needless check

* Remove dead codes

* Fix index check for VAD segments

* Remove needless line

* Use NUM2DBL instead of RFLOAT_VALUE for safety

* Fix document

* Check type of samples

* Arrange CMake cache notation for older version

* Remove unnecessary line break

* Check return value of whisper_vad_segments_from_samples

* Fix type of VAD::Segment#start_time and #end_time

* Prevent dangling pointer from Params to VAD::Params

* Fix typos

* Update README

* Make test follow fix of impl

* Use segments_from_samples_body in ruby_whisper_vad_detect

* Run segments_from_samples without GVL

* Remove unnecessary codes

* [skip ci]Remove trailing whitespace

Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com>

---------

Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com>
2026-07-28 15:08:44 +09:00
..
sources ruby: use CMake in build process (#3043) 2025-04-14 18:18:27 +09:00
.gitignore ruby : add Core ML support (#3214) 2025-06-01 18:16:02 +09:00
dependencies.rb ruby : transcribe without GVL, accept more MemoryViews, Windows support, fix memory size report, improve document (#3775) 2026-05-07 06:28:18 +02:00
dependencies_for_windows.rb ruby : transcribe without GVL, accept more MemoryViews, Windows support, fix memory size report, improve document (#3775) 2026-05-07 06:28:18 +02:00
extconf.rb parakeet : add support for NVIDIA Parakeet (#3735) 2026-06-16 20:44:10 +02:00
options.rb ruby : add VAD speech segments API (#3931) 2026-07-28 15:08:44 +09:00
options_for_windows.rb ruby : transcribe without GVL, accept more MemoryViews, Windows support, fix memory size report, improve document (#3775) 2026-05-07 06:28:18 +02:00
ruby_whisper.c ruby : add VAD speech segments API (#3931) 2026-07-28 15:08:44 +09:00
ruby_whisper.h ruby : add VAD speech segments API (#3931) 2026-07-28 15:08:44 +09:00
ruby_whisper_context.c ruby : add VAD speech segments API (#3931) 2026-07-28 15:08:44 +09:00
ruby_whisper_context_params.c ruby : add `Whisper::Context::Params`, fix token memory management (#3647) 2026-02-04 20:33:09 +09:00
ruby_whisper_error.c ruby : Make context accept initial parameters, API to retrieve a segment and more (#2749) 2025-01-21 09:39:54 +02:00
ruby_whisper_log_queue.c ruby : add support for Parakeet (#3885) 2026-06-17 06:42:09 +02:00
ruby_whisper_log_settable.h ruby : add VAD speech segments API (#3931) 2026-07-28 15:08:44 +09:00
ruby_whisper_model.c ruby : add `VAD::Context#segments_from_samples`, allow Pathname, etc. (#3633) 2026-01-30 22:59:36 +09:00
ruby_whisper_parakeet.c ruby : add support for Parakeet (#3885) 2026-06-17 06:42:09 +02:00
ruby_whisper_parakeet_context.c ruby : add support for Parakeet (#3885) 2026-06-17 06:42:09 +02:00
ruby_whisper_parakeet_context_params.c ruby : add support for Parakeet (#3885) 2026-06-17 06:42:09 +02:00
ruby_whisper_parakeet_model.c ruby : add support for Parakeet (#3885) 2026-06-17 06:42:09 +02:00
ruby_whisper_parakeet_params.c ruby : add support for Parakeet (#3885) 2026-06-17 06:42:09 +02:00
ruby_whisper_parakeet_segment.c ruby : add support for Parakeet (#3885) 2026-06-17 06:42:09 +02:00
ruby_whisper_parakeet_token.c ruby : add support for Parakeet (#3885) 2026-06-17 06:42:09 +02:00
ruby_whisper_parakeet_transcribe.cpp ruby : add support for Parakeet (#3885) 2026-06-17 06:42:09 +02:00
ruby_whisper_params.c ruby : add VAD speech segments API (#3931) 2026-07-28 15:08:44 +09:00
ruby_whisper_segment.c ruby : add support for Parakeet (#3885) 2026-06-17 06:42:09 +02:00
ruby_whisper_token.c ruby : add `Whisper::Context::Params`, fix token memory management (#3647) 2026-02-04 20:33:09 +09:00
ruby_whisper_transcribe.cpp ruby : add VAD speech segments API (#3931) 2026-07-28 15:08:44 +09:00
ruby_whisper_vad_context.c ruby : add VAD speech segments API (#3931) 2026-07-28 15:08:44 +09:00
ruby_whisper_vad_context_detect.cpp ruby : add VAD speech segments API (#3931) 2026-07-28 15:08:44 +09:00
ruby_whisper_vad_params.c ruby : add VAD speech segments API (#3931) 2026-07-28 15:08:44 +09:00
ruby_whisper_vad_segment.c ruby : add VAD speech segments API (#3931) 2026-07-28 15:08:44 +09:00
ruby_whisper_vad_segments.c ruby : add `VAD::Context#segments_from_samples`, allow Pathname, etc. (#3633) 2026-01-30 22:59:36 +09:00