Error opening sound device

I’m running audacity on macOS 11.4 and can’t seem to find a way around the Error opening audio device issue.

A screenshot of the error along with audio midi setup showing the rates are all the same is attached. I noticed that there were no available sample rates for /any/ audio device when I ran that diagnostic (audacity-audio.txt). I also generated a debug report. Not sure if that should be posted here. Please let me know if there’s any way to sort this out.
audacity-audio.txt (2.66 KB)
erroraudiodevice.jpg

Ensure that you have given Audacity permission to access the microphone. See: https://manual.audacityteam.org/man/faq_recording_troubleshooting.html#mac_silence

I have. Audacity never asked so I put an entry into the TCC db for it.
micperm.jpg

Try temporarily uninstalling Blackhole.
If that fixes the problem and you need Blackhole, check to see if there is an updated version.

Removing BlackHole did not have an effect, unfortunately.

I assume that you installed Audacity by dragging the “Audacity.app” icon in the DMG window to the /Applications folder icon on the right.
Is that correct?

Indeed it is. I have also tried installing via Homebrew and MacPorts to no avail :frowning:

That screenshot appears to show that a track has been recorded. How did you do that?

I did not record it with Audacity; all I did was import it into the project

What is “WI-C310”?

A bluetooth headset. I have attempted this with that not connected. Invariably when I look at the diagnostics (see my first post) no audio device has any supported sample rates. I’ve been camping out of the system log feed but haven’t caught anything

Not a Mac guy here. What is

?

No problem. As far as I can tell Audacity is failing to get the sample rate values from the system audio server or the devices themselves (I don’t know how Port Audio works) Here you go:

==============================
Default recording device number: 6
Default playback device number: 1
==============================
Device ID: 0
Device name: WI-C310
Host name: Core Audio
Recording channels: 1
Playback channels: 0
Low Recording Latency: 0.233
Low Playback Latency: 0.01
High Recording Latency: 0.261
High Playback Latency: 0.1
Supported Rates:
==============================
Device ID: 1
Device name: WI-C310
Host name: Core Audio
Recording channels: 0
Playback channels: 2
Low Recording Latency: 0.01
Low Playback Latency: 0.222333
High Recording Latency: 0.1
High Playback Latency: 0.231667
Supported Rates:
==============================
Device ID: 2
Device name: BlackHole 2ch 1
Host name: Core Audio
Recording channels: 2
Playback channels: 2
Low Recording Latency: 0.01
Low Playback Latency: 0.00133333
High Recording Latency: 0.1
High Playback Latency: 0.0106667
Supported Rates:
==============================
Device ID: 3
Device name: BlackHole 2ch 2
Host name: Core Audio
Recording channels: 2
Playback channels: 2
Low Recording Latency: 0.01
Low Playback Latency: 0.00133333
High Recording Latency: 0.1
High Playback Latency: 0.0106667
Supported Rates:
==============================
Device ID: 4
Device name: BlackHole 2ch 3
Host name: Core Audio
Recording channels: 2
Playback channels: 2
Low Recording Latency: 0.01
Low Playback Latency: 0.00133333
High Recording Latency: 0.1
High Playback Latency: 0.0106667
Supported Rates:
==============================
Device ID: 5
Device name: BlackHole 2ch 4
Host name: Core Audio
Recording channels: 2
Playback channels: 2
Low Recording Latency: 0.01
Low Playback Latency: 0.00133333
High Recording Latency: 0.1
High Playback Latency: 0.0106667
Supported Rates:
==============================
Device ID: 6
Device name: MacBook Pro Microphone
Host name: Core Audio
Recording channels: 1
Playback channels: 0
Low Recording Latency: 0.0336875
Low Playback Latency: 0.01
High Recording Latency: 0.0430208
High Playback Latency: 0.1
Supported Rates:
==============================
Device ID: 7
Device name: MacBook Pro Speakers
Host name: Core Audio
Recording channels: 0
Playback channels: 2
Low Recording Latency: 0.01
Low Playback Latency: 0.0093424
High Recording Latency: 0.1
High Playback Latency: 0.0195011
Supported Rates:
==============================
Device ID: 8
Device name: Aggregate Device
Host name: Core Audio
Recording channels: 9
Playback channels: 10
Low Recording Latency: 0.01
Low Playback Latency: 0.00891667
High Recording Latency: 0.1
High Playback Latency: 0.01825
Supported Rates:
==============================
Selected recording device: 6 - MacBook Pro Microphone
Selected playback device: 7 - MacBook Pro Speakers
Supported Rates:

Though I did just run pa_devs from the +tools variant of portaudio via macports. It looks like the problem isn’t with PortAudio (though I guess the version baked into Audacity could be different than this one). The example program ‘pa_devs’ managed to get everything:

PortAudio version: 0x00130700
Version text: 'PortAudio V19.7.0-devel, revision unknown'
Number of devices = 9
--------------------------------------- device #0
[ Default Input ]
Name                        = WI-C310
Host API                    = Core Audio
Max inputs = 1, Max outputs = 0
Default low input latency   =   0.2330
Default low output latency  =   0.0100
Default high input latency  =   0.2610
Default high output latency =   0.1000
Default sample rate         = 16000.00
Supported standard sample rates
 for half-duplex 16 bit 1 channel input = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
--------------------------------------- device #1
Name                        = WI-C310
Host API                    = Core Audio
Max inputs = 0, Max outputs = 2
Default low input latency   =   0.0100
Default low output latency  =   0.2223
Default high input latency  =   0.1000
Default high output latency =   0.2317
Default sample rate         = 48000.00
Supported standard sample rates
 for half-duplex 16 bit 2 channel output = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
--------------------------------------- device #2
[ Default Output ]
Name                        = BlackHole 2ch 1
Host API                    = Core Audio
Max inputs = 2, Max outputs = 2
Default low input latency   =   0.0100
Default low output latency  =   0.0013
Default high input latency  =   0.1000
Default high output latency =   0.0107
Default sample rate         = 48000.00
Supported standard sample rates
 for half-duplex 16 bit 2 channel input = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
Supported standard sample rates
 for half-duplex 16 bit 2 channel output = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
Supported standard sample rates
 for full-duplex 16 bit 2 channel input, 2 channel output = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
--------------------------------------- device #3
Name                        = BlackHole 2ch 2
Host API                    = Core Audio
Max inputs = 2, Max outputs = 2
Default low input latency   =   0.0100
Default low output latency  =   0.0013
Default high input latency  =   0.1000
Default high output latency =   0.0107
Default sample rate         = 48000.00
Supported standard sample rates
 for half-duplex 16 bit 2 channel input = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
Supported standard sample rates
 for half-duplex 16 bit 2 channel output = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
Supported standard sample rates
 for full-duplex 16 bit 2 channel input, 2 channel output = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
--------------------------------------- device #4
Name                        = BlackHole 2ch 3
Host API                    = Core Audio
Max inputs = 2, Max outputs = 2
Default low input latency   =   0.0100
Default low output latency  =   0.0013
Default high input latency  =   0.1000
Default high output latency =   0.0107
Default sample rate         = 48000.00
Supported standard sample rates
 for half-duplex 16 bit 2 channel input = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
Supported standard sample rates
 for half-duplex 16 bit 2 channel output = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
Supported standard sample rates
 for full-duplex 16 bit 2 channel input, 2 channel output = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
--------------------------------------- device #5
Name                        = BlackHole 2ch 4
Host API                    = Core Audio
Max inputs = 2, Max outputs = 2
Default low input latency   =   0.0100
Default low output latency  =   0.0013
Default high input latency  =   0.1000
Default high output latency =   0.0107
Default sample rate         = 48000.00
Supported standard sample rates
 for half-duplex 16 bit 2 channel input = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
Supported standard sample rates
 for half-duplex 16 bit 2 channel output = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
Supported standard sample rates
 for full-duplex 16 bit 2 channel input, 2 channel output = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
--------------------------------------- device #6
Name                        = MacBook Pro Microphone
Host API                    = Core Audio
Max inputs = 1, Max outputs = 0
Default low input latency   =   0.0337
Default low output latency  =   0.0100
Default high input latency  =   0.0430
Default high output latency =   0.1000
Default sample rate         = 48000.00
Supported standard sample rates
 for half-duplex 16 bit 1 channel input = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
--------------------------------------- device #7
Name                        = MacBook Pro Speakers
Host API                    = Core Audio
Max inputs = 0, Max outputs = 2
Default low input latency   =   0.0100
Default low output latency  =   0.0088
Default high input latency  =   0.1000
Default high output latency =   0.0181
Default sample rate         = 48000.00
Supported standard sample rates
 for half-duplex 16 bit 2 channel output = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
--------------------------------------- device #8
Name                        = Aggregate Device
Host API                    = Core Audio
Max inputs = 9, Max outputs = 12
Default low input latency   =   0.0100
Default low output latency  =   0.2030
Default high input latency  =   0.1000
Default high output latency =   0.2124
Default sample rate         = 48000.00
Supported standard sample rates
 for half-duplex 16 bit 9 channel input = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
Supported standard sample rates
 for half-duplex 16 bit 12 channel output = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
Supported standard sample rates
 for full-duplex 16 bit 9 channel input, 12 channel output = 
	 8000.00,  9600.00, 11025.00, 12000.00,
	16000.00, 22050.00, 24000.00, 32000.00,
	44100.00, 48000.00, 88200.00, 96000.00,
	192000.00
----------------------------------------------