Recording from sound card at wrong speed. 48 vs 44.1 MHz

Hi
Ubuntu 14.04
Audacity 2.0.5
In terminal:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: VT82xx [HDA VIA VT82xx], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: VT82xx [HDA VIA VT82xx], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

When recording from “Monitor of” you can see that the cursor is moving too fast across the screen. From 0 to 66 in audacity takes 60 seconds by the pc clock. So audacity catches 60 seconds of sound information but spreads it out over a 66 sec playback. Which is 8.5 % too slow.

It has been discussed here:
http://forum.audacityteam.org/viewtopic.php?f=48&t=68859&start=10
and here:
http://audacity.238276.n2.nabble.com/playback-speed-error-td7016320.html

But very invoved and I could not understand the outcome.
As discussed, changing audacity sample rate settings from 44.1 to 48 achieves nothing, nor does the Play-at-speed control. All I can do is use the “change speed” in “effects” to increase by 8.5%, but I have to do this with every recording. presumably it’s something to do with my 7 year old sound card chipset, which is part of the motherboard. It causes other problems with grapics too. Everything was fine till I went from 12.04 to 14.04.

Is there anything I can do other than change the speed of every individual recording?

What exactly are you trying to record?

On Line streamed radio and sound from Youtube

Update: I thought the problem was now permanent, but it has cleared itself again for now.

Latest events: Noticed problem returned again yesterday after recording sound from a vevo site embedded in a web page:

http://www.metrolyrics.com/ready-for-the-weekend-lyrics-calvin-harris.html

Stopped and restarted audacity several times, no change. If recording source switched from “monitor of sound device” to “sound device”, i.e. for recording from an external source, audacity records at correct speed, but as soon as switched back to “monitor of”, audacity immediately starts recording at wrong speed again, within the same track! It is easy to tell: Just start a new recording track at say, 10:42:30 on the pc clock, and when the pointer hits the 20 sec mark on the track, while still actually recording, quickly look back at the clock, which will either say 10:42:52 (wrong) or 10:42:50 (right).

Restarted pc this morning, still wrong speed, then opened a new audacity window to record the same soound from a different source, (youtube) and noticed it was now recording at correct speed.

Now I can’t reproduce the fault!

It is usually possible to “download” from YouTube, which is quicker, easier and may be better quality than recording. There is a choice of Add-Ons for Firefox to enable downloading videos. Audacity should be able to extract the audio stream from the downloaded video automatically using “File > Import > Audio”. Note that copyright restrictions may apply to on-line media.

So if you try recording an exact same sources that previously failed, it now works?

It’s not the youtube recording I need so much as the internet radio

“So if you try recording an exact same sources that previously failed, it now works?”

Yes, but other conditions on my pc, like pavc controls, and how I use audacity, like whether I am using two audacity windows together, may be different. That’a all I can say.

What I am asking is, this is a known fault, is there a known solution or what is the best workaround using audacity, with reference to the existing threads I have linked to?
I haven’t gone up to 2.0.6 yet, is that likely to improve things or make them worse?

No and No.
It sounds to me like there is a problem with the sound card driver which is fooling PulseAudio, which in turn is sometimes sending the wrong sample rate to Audacity.

Record with the Project Rate (lower left corner of the main Audacity window) set to 44100.
When the recording is complete - if playback is too slow, open the audio track menu (click on the track name at the top of the info panel on the left end of the track) and change:
“Sample Rate > 44100” to “Sample Rate > 48000”.

Well, as it’s still intermittent will have to break off discussion. Will try the audio track menu setting in future, thanks for pointing me to that.
These drivers are a problem. Something changed with 14.04 and Graphics aren’t right either. Don’t know what to do about that. Have posted on ubuntu forums but no one has helped.

It’s possible that one driver could be upsetting the other.
If your graphics is NVidia, check to see if you are using the “non-free” drivers from NVidia - usually they work better than the open source drivers.

Thank you
Sorry to veer off topic but can you help further?
I know that my graphics and sound chipsets are as follows:

Mobo MSI K9VGM-V purchased 2007
Chipset
Northbridge VIA K8M890CE
Southbridge VIA 8237A

and in Ubuntu Settings Details it says:

graphics Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)

I think I installed pipelight myself and not sure I need it. There seems to be a connection with wine and when i try to run the Ubuntu tweaks program I get warning message about wine and pipelight running. But that is yet another issue.
From what I have posted, can you say what video drivers I am using and would non free nvidia drives help in this case?

I’ve not used Ubuntu for a while, but if I recall correctly you can check if proprietary drivers are available with (something like):
System Settings > Software & Updates > Additional Drivers