Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AudioConfig ¶
AudioConfig init config for library
type Microphone ¶
type Microphone struct {
// contains filtered or unexported fields
}
Microphone...
func New ¶
func New(cfg AudioConfig) (*Microphone, error)
New creates a new microphone using portaudio
func (*Microphone) Read ¶
func (m *Microphone) Read() ([]int16, error)
Read gets the raw bits generated by the mic
func (*Microphone) Start ¶
func (m *Microphone) Start() error
Start begins the listening on the microphone
Click to show internal directories.
Click to hide internal directories.