Hi, I’m the author of that bug report.
I still don’t know whose fault it is, but almost all of my recordings nowadays are being done at 44,1 kHz while the hardware apparently outputs at 48 kHz, giving rise to recordings that are longer than the recording time and with a noticeable low pitch. I think the problem started when I changed my Linux distribution some time ago, so it’s probably a case of Audacity and the audio subsystem not communicating properly. All my recordings are done using Pulse Audio’s “Monitor of Analog Built-in Stereo”.
I have given up trying to find work-arounds in Audacity, since that’s too error-prone and time-consuming. Instead I use a script I have written that simply rewrites the frequency information directly in the Wave file. That way I don’t have to go through the slow resampling step.
It doesn’t seem to matter whether I’m starting on a fresh recording or appending. I have occasionally been lucky to record at the correct speed, but I haven’t found a repeatable pattern.
Still, I’m surprised that Audacity doesn’t notice that the recording is going at the wrong speed. That other recording application I tested is so simple that I wouldn’t expect anything of it, but I had higher hopes of Audacity.
Here is my device info:
==============================
Default capture device number: 10
Default playback device number: 10
==============================
Device ID: 0
Device name: HDA Intel: ALC262 Analog (hw:0,0)
Host name: ALSA
Input channels: 2
Output channels: 2
Low Input Latency: 0,011610
Low Output Latency: 0,011610
High Input Latency: 0,046440
High Output Latency: 0,046440
Supported Rates:
44100
48000
96000
192000
==============================
Device ID: 1
Device name: HDA Intel: ALC262 Digital (hw:0,3)
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1,000000
Low Output Latency: 0,011610
High Input Latency: -1,000000
High Output Latency: 0,046440
Supported Rates:
44100
48000
96000
192000
==============================
Device ID: 2
Device name: sysdefault
Host name: ALSA
Input channels: 128
Output channels: 128
Low Input Latency: 0,042653
Low Output Latency: 0,042653
High Input Latency: 0,046440
High Output Latency: 0,046440
Supported Rates:
8000
9600
11025
16000
22050
32000
44100
48000
88200
==============================
Device ID: 3
Device name: front
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1,000000
Low Output Latency: 0,011610
High Input Latency: -1,000000
High Output Latency: 0,046440
Supported Rates:
44100
48000
96000
192000
==============================
Device ID: 4
Device name: surround40
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1,000000
Low Output Latency: 0,011610
High Input Latency: -1,000000
High Output Latency: 0,046440
Supported Rates:
44100
48000
96000
192000
==============================
Device ID: 5
Device name: surround51
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1,000000
Low Output Latency: 0,011610
High Input Latency: -1,000000
High Output Latency: 0,046440
Supported Rates:
44100
48000
96000
192000
==============================
Device ID: 6
Device name: surround71
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1,000000
Low Output Latency: 0,011610
High Input Latency: -1,000000
High Output Latency: 0,046440
Supported Rates:
44100
48000
96000
192000
==============================
Device ID: 7
Device name: hdmi
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1,000000
Low Output Latency: 0,011610
High Input Latency: -1,000000
High Output Latency: 0,046440
Supported Rates:
44100
48000
96000
192000
==============================
Device ID: 8
Device name: pulse
Host name: ALSA
Input channels: 32
Output channels: 32
Low Input Latency: 0,011610
Low Output Latency: 0,011610
High Input Latency: 0,046440
High Output Latency: 0,046440
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Device ID: 9
Device name: dmix
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1,000000
Low Output Latency: 0,042667
High Input Latency: -1,000000
High Output Latency: 0,042667
Supported Rates:
48000
==============================
Device ID: 10
Device name: default
Host name: ALSA
Input channels: 32
Output channels: 32
Low Input Latency: 0,011610
Low Output Latency: 0,011610
High Input Latency: 0,046440
High Output Latency: 0,046440
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Device ID: 11
Device name: /dev/dsp
Host name: ALSA
Input channels: 16
Output channels: 16
Low Input Latency: 0,011610
Low Output Latency: 0,011610
High Input Latency: 0,046440
High Output Latency: 0,046440
Supported Rates:
==============================
Selected capture device: 8 - pulse
Selected playback device: 8 - pulse
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Available mixers:
==============================
Available capture sources:
==============================
Available playback volumes:
0 - Master:0
1 - Headphone:0
2 - Speaker:0
3 - PCM:0
4 - Mic:0
5 - Mic Boost:0
6 - Internal Mic:0
7 - Internal Mic Boost:0
==============================
Capture volume is emulated
Playback volume is native