Skip to content

A custom component module to control audio capture, authored in Go

License

Notifications You must be signed in to change notification settings

viam-labs/audioin-malgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

audioin-malgo

Currently unpublished and a proof of concept

This module implements the rdk:component:sensor API in an viam-labs:sensor:audio-in model. With this model, you can capture audio data from any audio input, like a microphone, as a sensor.

Uses malgo as the cross-platform audio driver.

Note

For more information, see Modular Resources.

Requirements

For Linux, make sure PulseAudio, PipeWire, or ALSA is available and set up for the audio input device.

For MacOS, no setup is required.

Building

The make build command is used to compile the cross-platform binaries to distribute as the entrypoint of the module. It requires zig as the compiler. The .mise.toml config will automatically install zig using mise.

About

A custom component module to control audio capture, authored in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published