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: 2 months 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 (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-11-03T19:04:51.000Z (8 months ago)
- Last Synced: 2025-04-02T23:13:03.716Z (3 months ago)
- Topics: audio, go, golang, microphone, recording
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 43
- Watchers: 1
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Microphone [](https://godoc.org/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)