Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mohammadmansour200/vosk.c


https://github.com/mohammadmansour200/vosk.c

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# C CLI wrapper for VOSK speech recognition toolkit.

## Usage

Wav file should be in a PCM 16-bit mono format:

```bash
ffmpeg -i -ar 16000 -ac 1 -sample_fmt s16 .wav
```

```bash
./vosk
```

## Build

### 1. Download Vosk shared library

Download your own platform's shared lib: https://github.com/alphacep/vosk-api/releases
then move it to vosk folder

### 2. Build the program using cmake

```bash
cmake -B build -S .
cmake --build build
```