Microphone error

I tried to record an audio on anki 2.1.38 but it shows the messages below.
It worked before updating. (latest version was March 2020.)
Checking Database doesn’t solve the problem.
I also saw this message when I tried to record an audio first.
“Please connect a microphone, and ensure other programs are not using the audio device”
My computer isn’t connected any microphone, I just want to record the sound of the computer itself, and it worked before updating.

And now I can see only the messages below.


An error occurred. Please use Tools > Check Database to see if that fixes the problem.

If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.

Anki 2.1.38 (355e4cd5) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2

Platform: Windows 7

Flags: frz=True ao=False sv=1

Add-ons, last update check: 2021-01-23 15:33:32

Caught exception:

Traceback (most recent call last):

File “aqt\webview.py”, line 35, in cmd

File “aqt\webview.py”, line 124, in _onCmd

File “aqt\webview.py”, line 569, in _onBridgeCmd

File “aqt\editor.py”, line 442, in onBridgeCmd

File “aqt\editor.py”, line 754, in onRecSound

File “aqt\sound.py”, line 795, in record_audio

File “aqt\sound.py”, line 711, in init

File “aqt\sound.py”, line 752, in _start_recording

File “aqt\sound.py”, line 564, in start

AttributeError: ‘NoneType’ object has no attribute ‘readyRead’

Did you try changing the voice recording driver in the preferences?

1 Like

That may work around the issue for now, but please note the recording feature was only ever intended to be used with a microphone, and the other recording driver is likely to go away in the future. For recording computer sounds, I’d recommend you look into dedicated apps that can do so, and you can then drag the resulting files into your Anki fields.

Yes, I changed it but the still the error occurs. (Qt and PyAudio, those makes the same problem.)

The file which I recorded by dedicated app can’t play it on Ankidroid. What should I do?

If you find an app that creates .mp3 files, they will likely play on AnkiDroid.