whisper.cpp
ruby : add `VAD::Context#segments_from_samples`, allow Pathname, etc.
#3633
Merged

ruby : add `VAD::Context#segments_from_samples`, allow Pathname, etc. #3633

KitaitiMakoto
KitaitiMakoto ruby : Bump version to 1.3.6
7c309eca
KitaitiMakoto Fix code in example
49b3f106
KitaitiMakoto Add sample code to transcribe from MemoryView
fd6c9126
KitaitiMakoto Define GetVADContext macro
28b97fe2
KitaitiMakoto Use GetVADContext
101df90e
KitaitiMakoto Extract parse_full_args function
47729a4e
KitaitiMakoto Use parse_full_args in ruby_whisper_full_parallel
8be0ed8d
KitaitiMakoto Free samples after use
1d63ed46
KitaitiMakoto Check return value of parse_full_args()
b7068be8
KitaitiMakoto Define GetVADParams macro
4fecfd6e
KitaitiMakoto Add VAD::Context#segments_from_samples
875f2045
KitaitiMakoto Add tests for VAD::Context#segments_from_samples
eb03a9de
KitaitiMakoto Add signature for VAD::Context#segments_from_samples
540d48ee
KitaitiMakoto Add sample code for VAD::Context#segments_from_samples
aa2f7928
KitaitiMakoto Add test for Whisper::Context#transcribe with Pathname
4e23821c
KitaitiMakoto Make Whisper::Context#transcribe and Whisper::VAD::Context#detect acc…
4b573c99
KitaitiMakoto Update signature of Whisper::Context#transcribe
50420fc2
KitaitiMakoto Fix variable name
6c8a20cb
KitaitiMakoto Don't free memory view
a825c013
KitaitiMakoto Make parse_full_args return struct
d247d5af
KitaitiMakoto Fallback when failed to get MemoryView
bea2bec2
KitaitiMakoto Add num of samples when too long
d63f441c
KitaitiMakoto Check members of MemoryView
f8164f3f
KitaitiMakoto Fix a typo
841734ba
KitaitiMakoto Remove unnecessary include
8250f1b5
KitaitiMakoto Fix a typo
256005d3
KitaitiMakoto Fix a typo
56335dd0
KitaitiMakoto Care the case of MemoryView doesn't fit spec
94b90c89
KitaitiMakoto Add TODO comment
4cb862d8
KitaitiMakoto Add optimazation option to compiler flags
93a49da8
KitaitiMakoto Use ALLOC_N instead of malloc
98bb5a96
KitaitiMakoto Add description to sample code
afd8deb2
KitaitiMakoto Rename and change args: parse_full_args -> parse_samples
f32a33d4
KitaitiMakoto Free samples when exception raised
e135c54c
KitaitiMakoto Assign type check result to a variable
dc11257f
KitaitiMakoto Define wrapper function of whisper_full
635cadc2
KitaitiMakoto Change signature of parse_samples for rb_ensure
adfeb10f
KitaitiMakoto Ensure release MemoryView
d2ba0911
KitaitiMakoto Extract fill_samples function
22a4809a
KitaitiMakoto Free samples memory when filling it failed
55e49541
KitaitiMakoto Free samples memory when transcription failed
58fb46ed
KitaitiMakoto Prepare transcription in wrapper funciton
7938864b
KitaitiMakoto Change function name
f63d6f41
KitaitiMakoto Simplify function boundary
ac139450
ggerganov
ggerganov approved these changes on 2026-01-30
KitaitiMakoto KitaitiMakoto merged aa1bc0d1 into master 39 days ago
KitaitiMakoto

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone