exPHAT / SwiftWhisper

🎤 The easiest way to transcribe audio in Swift
MIT License
593 stars 63 forks source link

Do you have more boilerplate code (examples) to show an example of some application where the speech recognition is working? #20

Closed shyamalschandra closed 1 year ago

shyamalschandra commented 1 year ago

Do you have more boilerplate code (examples) to show an example of some application where the speech recognition is working?

exPHAT commented 1 year ago

You can check all of the tests I've written to view some more working examples.

They're not using the async-await api (to preserve backwards compatibility with older Swift versions), but it should be enough to get you going.

shyamalschandra commented 1 year ago

Thank you, @exPHAT! I will check it out and get back to you ASAP.

exPHAT commented 1 year ago

Did you find what you're looking for?

shyamalschandra commented 1 year ago

Still need to try it again! Thanks!

exPHAT commented 1 year ago

I'm going to close this. Reopen it if you can't run the project.

shyamalschandra commented 1 year ago

Hi @exPHAT, do you have a example code with all the boilerplate to get started with using the CoreML model, the delegates, and the PCM Array to whisper.cpp STT? Thanks, @shyamalschandra!