Add haskell example

This commit is contained in:
qwbarch
2024-12-26 11:18:10 -05:00
parent 3f9fffc261
commit 94271e9096
6 changed files with 138 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# Haskell example
To run the example, make sure you put an ``example.wav`` in this directory, and then run the following:
```bash
stack run
```
The ``example.wav`` file must have the following requirements:
- Must be 16khz sample rate.
- Must be mono channel.
- Must be 16-bit audio.
This uses the [silero-vad](https://hackage.haskell.org/package/silero-vad) package, a haskell implementation based on the C# example.