webrtc_audio
Version, currently 1.0.78 versions
github.com/washu/webrtc_audio
Pure crystal port of libvad
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
webrtc_audio:
github: washu/webrtc_audio
version: ~> 1.0.7Then run:
shards installshard.yml
- Crystal
0.36.0- License
- MIT
- Author
- Sal Scotto
Dependencies
This version declares no dependencies.
README
webrtc_audio
This is a pure crystal port of libvad (https://github.com/dpirch/libfvad)
Installation
-
Add the dependency to your
shard.yml:dependencies: webrtc_audio: github: washu/webrtc_audio -
Run
shards install
Usage
require "webrtc_audio"
vad = WebrtcAudio::WebRtcVad.new
vad.set_mode(WebrtcAudio::WebRtcVad::Aggressiveness::VeryAggress)
vad.set_sample_rate(16000)
has_voice = vad.process(input, input.size)_
Be saure you pass the correct size values to the processor or it will return false.
Development
check it out, crystal spec
Contributing
- Fork it (https://github.com/your-github-user/webrtc_audio/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Sal Scotto - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.0.7- Tagged
- Sep 2, 2021
- Commit
a97084aa46d2- Crystal
0.36.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/washu/webrtc_audio
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 8