Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)