Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markkremer/microphone
A microphone input stream for the gopxl/beep library
https://github.com/markkremer/microphone
audio go golang microphone recording
Last synced: about 1 month ago
JSON representation
A microphone input stream for the gopxl/beep library
- Host: GitHub
- URL: https://github.com/markkremer/microphone
- Owner: MarkKremer
- License: mit
- Created: 2019-08-11T12:44:21.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-03T19:04:51.000Z (about 2 months ago)
- Last Synced: 2024-11-03T19:28:32.779Z (about 2 months ago)
- Topics: audio, go, golang, microphone, recording
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 37
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Microphone [![GoDoc](https://godoc.org/github.com/MarkKremer/microphone/v2?status.svg)](https://godoc.org/github.com/MarkKremer/microphone/v2) [![Go Report Card](https://goreportcard.com/badge/github.com/MarkKremer/microphone/v2)](https://goreportcard.com/report/github.com/MarkKremer/microphone/v2)
Microphone is a small library that takes [this Go PortAudio library](https://github.com/gordonklaus/portaudio)
and wraps its microphone stream in a beep.StreamCloser
so that it can be used with everything else in the [Beep library](https://github.com/gopxl/beep).```bash
go get -u github.com/MarkKremer/microphone/v2
```## Installation
This package requires that you have the PortAudio development headers and libraries installed.
On Ubuntu this can be done using:
```sh
apt-get install portaudio19-dev
```
On Fedora this can be done using:
```sh
dnf install portaudio-devel
```
See [the PortAudio library](https://github.com/gordonklaus/portaudio) for more information.## License
[MIT](https://github.com/MarkKremer/microphone/blob/master/LICENSE)