Issue with sound recording

Sometimes, SystemDialogInput[“RecordSound”] returns an error. First thing first, get into Sound and allow other apps use your microphone.
(Just google search  "allow apps to use your microphone")

Then, try this:

1- Turn off the computer and restart
2- If 1 doesn’t work, try re-installing Mathematica
3- Use an alternative approach for obtaining data from sound as shown below.

In[4]:=

sound_recording_problem_1.png

You should see the below

sound_recording_problem_2.gif

sound_recording_problem_3.gif

sound_recording_problem_4.gif

soundata

sound_recording_problem_5.png

encapsulated raw sound data (don’t open unless necessary, because it is a very long array of numbers).
shift+enter to execute this and assign the array to variable “snddat

View data

If you want to plot sound data snddat, do the below, make sure you see snddat in black color instead of blue.

sound_recording_problem_6.gif

sound_recording_problem_8.png

Created with the Wolfram Language