webrtc_audio
Version, currently 1.0.58 versions
github.com/washu/webrtc_audio
Pure crystal port of libvad
Nothing has been indexed for 1.0.5 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
webrtc_audio:
github: washu/webrtc_audio
version: ~> 1.0.5Then run:
shards installshard.yml
No shard.yml has been indexed for 1.0.5. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
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.5- Tagged
- Sep 2, 2021
- Commit
0957ebe61c37- Indexed
- not yet
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