Skip to content

ruby : add VAD speech segments API - #3931

Merged
KitaitiMakoto merged 25 commits into
ggml-org:masterfrom
KitaitiMakoto:ruby-dev
Jul 28, 2026
Merged

KitaitiMakoto merged 25 commits into
ggml-org:masterfrom
KitaitiMakoto:ruby-dev

Conversation

@KitaitiMakoto

@KitaitiMakoto KitaitiMakoto commented Jul 6, 2026 •

Copy link
Copy Markdown
Contributor

Hi,

This pull request adds Ruby binding for VAD speech segments API introduced by #3916, and includes some refactoring.

Thank you.

@KitaitiMakoto KitaitiMakoto changed the title ruby : Add VAD speech segments API ruby : add VAD speech segments API Jul 6, 2026
@KitaitiMakoto

Copy link
Copy Markdown
Contributor Author

I cancelled workflows which aren't related to Ruby binding.

Comment thread bindings/ruby/lib/whisper/log_settable.rb Outdated
Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com>
@KitaitiMakoto
KitaitiMakoto merged commit 97c56f1 into ggml-org:master Jul 28, 2026
RaimundoLai pushed a commit to RaimundoLai/whisper.cpp that referenced this pull request Aug 9, 2026
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants