Skip to content

[Bug]: Doesn't trigger microphone permission on macOS #1086

@CallMeLaNN

Description

@CallMeLaNN

Current Behavior

I was running pyaudio to record voice but it doesn't work and .wav produced have empty bytes. I thought my installation or pyaudio issue but now I realize the terminal issue. I can record audio with default Terminal app.

Latest Wave app doesn't trigger microphone permission just like Terminal when using pyaudio.open(input=True,...).

Instead of I give a pyaudio script, you can try sox.

Expected Behavior

Prompt the mic permission and have audio stream recorded

Steps To Reproduce

  1. brew install sox
  2. sox -d -t wav - | play -
  3. Increase your volume
  4. Say something

After step 2, you should be prompted for the mic permission.
The you should hear yourself as you say with some echo for speaker.

Note: Use tccutil reset Microphone to let apps to ask for the permission again.

Wave Version

0.8.12

OS

macOS 12.6

Architecture

arm64

Anything else?

No response

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions