[WASAPI]If set recording device to built-in speaker, a flat waveform will be recorded before playback

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
slimat
Posts: 4
Joined: Tue Dec 29, 2020 7:16 am
Operating System: Windows 10

[WASAPI]If set recording device to built-in speaker, a flat waveform will be recorded before playback

Post by slimat » Tue Dec 29, 2020 12:49 pm

To record output of pc(youtube), I using WASAPI.

But I have a problem. If set recording device to an external speaker(KENWOOD C-535 connect with bluetooth) and click recording button, recording will start when playback start(below image ① and ②). In other words, recording will not start until playback start.
but if set recording device to built-in speaker(realtek(R) audio), a flat waveform will be recorded when click recording button in spite of before playback(below image ③).
ダウンロード.png
ダウンロード.png (204.25 KiB) Viewed 207 times
↑image ① : recording device is C-535 and record don't start until playback
ダウンロード (1).png
ダウンロード (1).png (257.89 KiB) Viewed 207 times
↑image ② : recording device is C-535 and record start when playback start
realtek.png
realtek.png (205.13 KiB) Viewed 207 times
↑image ③ : recording device is realtek(R) audio and record flat wave in spite of playback don't start

Environment : Audacity 2.4.2, Windows10 x64

slimat
Posts: 4
Joined: Tue Dec 29, 2020 7:16 am
Operating System: Windows 10

Re: [WASAPI]If set recording device to built-in speaker, a flat waveform will be recorded before playback

Post by slimat » Tue Dec 29, 2020 3:33 pm

windows10 audio volume setting menu show below. I setting mute else of chrome(for youtube) and audacity by toggle each speaker icon(red circle).
Attachments
ダウンロード (3) (1).png
ダウンロード (3) (1).png (111.61 KiB) Viewed 196 times

slimat
Posts: 4
Joined: Tue Dec 29, 2020 7:16 am
Operating System: Windows 10

Re: [WASAPI]If set recording device to built-in speaker, a flat waveform will be recorded before playback

Post by slimat » Wed Dec 30, 2020 7:03 am

I tried to change Sound Activated Recording setting with recording device set to [realtek(R) audio]

If set Sound Activated Recording to -59dB, recording didn't start until playback. But, if set Sound Activated Recording to -60dB, recording start in spite of before playback(flat wave recorded). And In my 1st post of this topic, Sound Activated Recording was set off(didn't put a check mark).
ダウンロード (4).png
ダウンロード (4).png (327.91 KiB) Viewed 174 times
↑Sound Activated Recording(Preference menu)
ダウンロード (5).png
ダウンロード (5).png (212.56 KiB) Viewed 174 times
↑Sound Activated Recording setted to -59dB didn't start recording until playback.
ダウンロード (6).png
ダウンロード (6).png (220.56 KiB) Viewed 174 times
↑Sound Activated Recording setted to -60dB start recording in spite of didn't start to playback and recorded flat wave

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: [WASAPI]If set recording device to built-in speaker, a flat waveform will be recorded before playback

Post by steve » Wed Dec 30, 2020 11:29 am

slimat wrote:
Tue Dec 29, 2020 12:49 pm
If set recording device to an external speaker(KENWOOD C-535 connect with bluetooth) and click recording button, recording will start when playback start(below image ① and ②). In other words, recording will not start until playback start.
but if set recording device to built-in speaker(realtek(R) audio), a flat waveform will be recorded when click recording button in spite of before playback(below image ③).
WASAPI is different from the other Windows sound hosts in that it is not always active.

If you start Audacity recording from WASAPI, Audacity will capture samples from the selected device. If the selected device is not producing a stream of samples, Audacity will wait for samples to arrive.

With your realtek device, "something" is using the device - it may just be monitoring one of its inputs (In the Windows Sound control panel, the realtek may have "listen to this device" enabled) - it may be that your web browser is accessing the device - it may be something else.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

slimat
Posts: 4
Joined: Tue Dec 29, 2020 7:16 am
Operating System: Windows 10

Re: [WASAPI]If set recording device to built-in speaker, a flat waveform will be recorded before playback

Post by slimat » Wed Dec 30, 2020 3:59 pm

Thanks for replying. I checked control panel and in mic(amd audio device) of record tab, there is no checked "listen to this device" checkbox. And There isn't "listen to this device" checkbox in speaker(realtek(R) audio). I will investigate a little more to figure out what software using realtek(R) audio device.
unnamed.png
unnamed.png (101.33 KiB) Viewed 158 times

Post Reply