Skip to content

CPAL not working with Vosk.rs #962

@Klinefelters

Description

@Klinefelters

Good evening,

I'm hoping to get some help with setting up CPAL. While working with a simplified project making sure that live transcription is working we were originally using pvrecorder to capture an audio stream. Unfortunately pvrecorder doesn't work properly on our final device, so I've been attempting to switch to CPAL. I know that the Vosk module that we have written works properly, since it worked with pvrecorder, but when I feed it the output of the CPAL input stream it doesn't really recognize anything. It'll occasionally spit out a single work like "what" or "ha" but rarely if ever is it accurate.

I was thinking it could be a buffer size issue, but even making a config with a larger buffer didn't seem to work. Any ideas?

The github is linked here: https://github.com/Klinefelters/live-transcription

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions