You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The integrated terminal in VS Code doesn't seem to have permission to access the microphone on Mac OS Big Sur, although it can see the available devices.
Running the following code in the integrated terminal, the recording is all 0s, whereas it works properly running in the same Python environment in the Terminal app.
Issue Type: Bug
The integrated terminal in VS Code doesn't seem to have permission to access the microphone on Mac OS Big Sur, although it can see the available devices.
Running the following code in the integrated terminal, the recording is all 0s, whereas it works properly running in the same Python environment in the Terminal app.
`
import sounddevice as sd
print(sd.query_devices(device=None, kind=None))
samplerate = 48000 # Hertz
duration = 1 # seconds
mydata = sd.rec(int(samplerate * duration), samplerate=samplerate,
channels=1, blocking=True)
print(mydata)
`
VS Code version: Code 1.53.2 (622cb03, 2021-02-11T11:45:54.515Z)
OS version: Darwin x64 20.3.0
System Info
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (5)
A/B Experiments
The text was updated successfully, but these errors were encountered: