whisper.cpp icon indicating copy to clipboard operation
whisper.cpp copied to clipboard

Livestreaming audio in Python using pybind

Open NebilI opened this issue 1 year ago • 2 comments

Are there any plans / would it be possible to use pybind11 to make a python library to enable easy use of live streaming audio in python? I was considering pursuing this but wanted to know the feasibility.

Great project btw!

NebilI avatar Nov 11 '22 19:11 NebilI

I use ctypes to generate Python bindings and can attest that it works fine:

https://github.com/chidiwilliams/buzz/blob/a1b90971337980d4b88aa62be0de1d3658225109/Makefile#L77-L78

chidiwilliams avatar Nov 11 '22 21:11 chidiwilliams

Thank you! I @chidiwilliams still think it's worth pursuing pybind. Currently have most of the functions implemented but haven't started much testing yet I will keep you updated on the progress. @ggerganov

NebilI avatar Nov 18 '22 22:11 NebilI

Closing this in favor of #9

ggerganov avatar Dec 16 '22 17:12 ggerganov