Listening what I record with delay

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.
rambomhtri
Posts: 230
Joined: Thu Jan 02, 2014 11:05 am
Operating System: Windows 8 or 8.1

Listening what I record with delay

Post by rambomhtri » Mon Jan 13, 2014 12:15 pm

Hi, this is not a problem of Audacity at all, it's a hardware problem (related with Audacity) that I don't know how to solve, and may be anyone here knows how to do it.

Well, I have an old laptop (2005). I usually use Audacity to open multi-track files (mogg, ogg, or simply 8-9 mp3) and play along/record my guitar. Everything is OK with this laptop.

-If I wanna play along, I plug in my guitar and I connect the audio jack from the computer to my amp. So my amp playbacks my guitar and my laptop's music (Audacity).

-If I wanna record my guitar, I connect the output of my amp to the recording jack of the laptop, and my headphones to the audio jack. So I can listen to my laptop and ALSO to my guitar. I listen to my guitar even if I'm not running audacity, cause I have selected "Listen to this device" in microphone.


NOW, I've bought a new laptop, 2013, i7 4700 quad-core, 8GB of RAM, MICROPHONE integrated (my old one did not have a microphone)... Well, I wanna do the same thing:

-If I wanna play along, I just do the same process and everything is NICE.

-BUT, when I'm trying to record my guitar, it sounds with delay. I mean, I'm not running Audacity, I just have checked the "listen to this device" option, and in the deskpot, If i have plugged in my amp to the recording jack, I can hear the guitar. But there's an annoying delay, and I don't know how to fix it. I have the latest drivers. I don't know what to do.


Another problem: as my laptop has an integrated microphone, if "listen to this device" is selected, I'm constantly listening to what my microphone detects. So when I unplugg the recording jack, automatically my speakers start to play what my integrated microphone is recording, and of course ALSO PLAYED WITH DELAY. What a CHAOS!

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Listening what I record with delay

Post by Gale Andrews » Mon Jan 13, 2014 2:04 pm

rambomhtri wrote:I have an old laptop (2005). I usually use Audacity to open multi-track files (mogg, ogg, or simply 8-9 mp3) and play along/record my guitar. Everything is OK with this laptop.

-If I wanna play along, I plug in my guitar and I connect the audio jack from the computer to my amp. So my amp playbacks my guitar and my laptop's music (Audacity).

-If I wanna record my guitar, I connect the output of my amp to the recording jack of the laptop, and my headphones to the audio jack. So I can listen to my laptop and ALSO to my guitar. I listen to my guitar even if I'm not running audacity, cause I have selected "Listen to this device" in microphone.


NOW, I've bought a new laptop, 2013, i7 4700 quad-core, 8GB of RAM, MICROPHONE integrated (my old one did not have a microphone)... Well, I wanna do the same thing:

-If I wanna play along, I just do the same process and everything is NICE.

-BUT, when I'm trying to record my guitar, it sounds with delay. I mean, I'm not running Audacity, I just have checked the "listen to this device" option, and in the deskpot, If i have plugged in my amp to the recording jack, I can hear the guitar. But there's an annoying delay, and I don't know how to fix it. I have the latest drivers. I don't know what to do.
"Listen to this device" in Windows is software playthrough (routing the input to the output through the computer). It is bound to have some latency - the only surprise to me is that you did not notice the delay in the older computer. What version of Windows was on the old computer and what version of Windows is on the new computer?

For recording you could use Transport > Software Playthrough in Audacity. It usually has more latency than "Listen to this device", but even if it has less, you will still notice it.

You can go to the *playback* side of Windows Sound and see if there is a volume slider for the microphone. If there is, you can unmute the slider and turn it up. This should be hardware playthrough with little or no latency, but not many computer sound devices have this feature these days.

If not, I suggest you buy a USB guitar (or USB guitar interface) that has a headphones output. This would give you hardware monitoring.

See these examples:
http://www.behringer.com/EN/Products/UCG102.aspx

http://www.behringer.com/EN/Products/iAXE629-BKLS.aspx .

You can search for other solutions than Behringer.

Note that you should not install Behringer's ASIO drivers unless you compile Audacity with ASIO support.
rambomhtri wrote:Another problem: as my laptop has an integrated microphone, if "listen to this device" is selected, I'm constantly listening to what my microphone detects. So when I unplugg the recording jack, automatically my speakers start to play what my integrated microphone is recording, and of course ALSO PLAYED WITH DELAY. What a CHAOS!
Is this a pink recording port, separate from the green port for plugging in headphones?

Are you sure you set "Listen to this device" for the external microphone that you plugged into?

Look on the Recording tab of Windows Sound again. Can you see the internal mic and the external mic? If you cannot see the external mic, connect your guitar, then right-click over empty space in the Recording tab and choose "Show disabled devices". If the external mic appears, right-click again and choose "Enable". Then you can enable "Listen" for the external mic and remove "Listen" for the built-in mic.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

rambomhtri
Posts: 230
Joined: Thu Jan 02, 2014 11:05 am
Operating System: Windows 8 or 8.1

Re: Listening what I record with delay

Post by rambomhtri » Mon Jan 13, 2014 4:03 pm

DAMN!, I don't understand WHY my new laptop have this issue :evil: . Never thought there would be a delay problem when recording :( . Whatever...

My old 2005 laptop has Windows XP, and I've not found "Listen to this device" option actually. Simply, you double-click the audio symbol in the notification taskbar, and a new control panel window appears. In that panel there's an option to select the volume of the microphone, from mute to max. It has NO delay at all, I play my guitar and it's perfectly sync. It has 2 input jacks: pink recording one and the green sound one. I plug in my headphones in the green one and the guitar (through the amp, with distortion) in the pink one, and that's it, I instantly can listen to it.

It's as simple as plug in my guitar, and automatically, my laptop start to playback what I'm playing (of course all the effects from the amp included), and you can't notice any delay.

My new laptop is running Windows 8.1 x64, everything up to date. It has the same configuration: 2 input jacks, pink recording one and the green sound one. I've been messing around with the REALTEK HD AUDIO MANAGER options. I've discover that I can SEPARATE the 2 recording methods: input jack to the, I suppose, sound card, and the build-in microphone, next to the webcam.
Image

Then I get this in my recording devices:
Image
(Before separate the input devices, there was only one microphone option)

So finally, I've been able to listen to the sound card mic, but mute the build-in one.
Image

Now, I do the same thing, connect my guitar to the pink jack, and now automatically I can listen to it, but, the delay is still there :cry: . I've noticed that it's not a super delay, but I don't like it, my old laptop is SO MUCH better in this. What can I do? It could be that my new laptop HAS a crap arquitecture so the delay is worse than my low-end cheap 8-year-ago laptop?
For recording you could use Transport > Software Playthrough in Audacity. It usually has more latency than "Listen to this device", but even if it has less, you will still notice it.

You can go to the *playback* side of Windows Sound and see if there is a volume slider for the microphone. If there is, you can unmute the slider and turn it up. This should be hardware playthrough with little or no latency, but not many computer sound devices have this feature these days.
Yeah, I know I can do that, but that option carries even more delay. I haven't selected that option in my old one.

I don't know where is the playback side of Windows. But when I open the volume MIXER (that is the mainly the Windows Volume Panel), I can see the jack microphone volume. So it's the same structure, but with an annoying delay. I can't play the guitar with that delay, because the delay confuses me and the tempo goes wrong.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Listening what I record with delay

Post by Gale Andrews » Mon Jan 13, 2014 4:56 pm

rambomhtri wrote:My old 2005 laptop has Windows XP, and I've not found "Listen to this device" option actually. Simply, you double-click the audio symbol in the notification taskbar, and a new control panel window appears. In that panel there's an option to select the volume of the microphone, from mute to max. It has NO delay at all
Yes, that's hardware playthrough that I suggested you look for in the new computer. Older machines often had hardware playthrough of the inputs.

XP does not have "Listen to this device". I thought you might have had Vista on the old laptop, which does have "Listen".

"Separate all input jacks" is normally default - it was unfortunate the tie option was on.
rambomhtri wrote:Now, I do the same thing, connect my guitar to the pink jack, and now automatically I can listen to it, but, the delay is still there :cry: . I've noticed that it's not a super delay, but I don't like it, my old laptop is SO MUCH better in this. What can I do? It could be that my new laptop HAS a crap arquitecture so the delay is worse than my low-end cheap 8-year-ago laptop?
As above, "Listen" is software playthrough. It has latency, just like Audacity software playthrough.
rambomhtri wrote:
You can go to the *playback* side of Windows Sound and see if there is a volume slider for the microphone. If there is, you can unmute the slider and turn it up. This should be hardware playthrough with little or no latency, but not many computer sound devices have this feature these days.
Yeah, I know I can do that, but that option carries even more delay.
It wouldn't if it was hardware playthrough as on XP.

Any modern machines these days that still have hardware playthrough of inputs are probably desktops that don't have a built-in microphone.
rambomhtri wrote:I don't know where is the playback side of Windows.
It is the just the "Playback" tab of Windows "Sound" here:
Image

You could also look in the Realtek control panel, but most likely you cannot hardware playthrough the mic. This is expected, as I say.

You'll need a USB guitar or attach your equipment to a USB interface with a headphones port, instead of to the mic port of the computer. The USB interface then becomes your sound card and you can play to it from Audacity.
rambomhtri wrote: But when I open the volume MIXER (that is the mainly the Windows Volume Panel), I can see the jack microphone volume. So it's the same structure, but with an annoying delay. I can't play the guitar with that delay, because the delay confuses me and the tempo goes wrong.
I think that just adjusts the volume of the output you created by enabling "Listen".


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Listening what I record with delay

Post by kozikowski » Mon Jan 13, 2014 6:05 pm

The sound that goes into the computer and comes back out again, unless you have a really old, simple soundcard is going to be late. The three hardware examples we posted for Perfect Overdubbing/Sound-On-Sound all get the headphone signal from the device, not the computer. This reduces the delay to effectively zero -- guaranteed.

http://www.kozco.com/tech/audacity/pix/ ... ctions.jpg
http://www.kozco.com/tech/audacity/pix/ ... Lenovo.jpg
http://www.kozco.com/tech/audacity/pix/ ... verdub.jpg

You can force the computer to approximate this in software such as ASIO, but that's pretty painful as it involves reprogramming/recompiling Audacity.

Newer computers are not general-purpose, do-everything machines the old ones were. New machines are corporate and business machines and they have tightly integrated sound services suitable for conferencing and Skype. Not recording your guitar. Oddly, the more modern the machine, the worse this is.

Koz

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Listening what I record with delay

Post by Gale Andrews » Mon Jan 13, 2014 6:34 pm

kozikowski wrote:You can force the computer to approximate this in software such as ASIO, but that's pretty painful as it involves reprogramming/recompiling Audacity.
If you want to do that, see http://wiki.audacityteam.org/wiki/ASIO_Audio_Interface .

Note that on the safe assumption that the Realtek device does not come with a native ASIO driver, then you would need a generic ASIO driver like ASIO4ALL.

A generic ASIO driver would not give you quite as good latency as a real ASIO device - hence I did not mention ASIO.

But if the Realtek device supports WDM-KS, the latency under a generic ASIO driver should be almost as good as under ASIO.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

rambomhtri
Posts: 230
Joined: Thu Jan 02, 2014 11:05 am
Operating System: Windows 8 or 8.1

Re: Listening what I record with delay

Post by rambomhtri » Mon Jan 13, 2014 8:07 pm

Thanks for all the replies. By the way, I have the Lenovo Y510p, and I don't know what sound card I have. I'm trying to find it, but everywhere in the computer information it just says "Realtek HD". I'm trying to find what model I have, but can't/don't know how to do it.

There are also a few things I just can't believe/understand:

1.
The newer a laptop is, the worse audio features
I completely understand this if I'm trying to record through some kind of technology that is nowadays very old. But this is just a ultra simple feature for a sound card. I mean, I'm not trying to buy VHS's today, or cassetes. I'm not trying to buy wood-cars, or a new laptop with Windows 95 installed, or a 4:3 ratio screen in a 2013 laptop. Hardware playthrough seems to be really basic. I see it really weird that this new laptop doesn't have that feature.
Is this feature depends on the sound card?
What if I change the sound card to a new one that is better and is able to do this?

2.
If I've understand what you said: If I unmark the "listen to this device" option, I should be able to listen to my guitar, automatically using hardware playthrough. Then, a microphone slider in the mixer should appear if I unmark the "listen...", right? (When I unmark it now, it disappears)

This implicates that in my old laptop, I don't have the option to software playthrough, that I think I don't have. So, the Sound World Commite or however it's called decide:
"Guys, we got to improve the recording method, we don't need more hardware playthrough, let's software playthrough and say WELCOME to latency! :mrgreen: I'm a genius!" :mrgreen:

Unless that has happend... it's software playthrough, there should be an option to hardware accelerate it. I mean, if sound card manufacturers decide to change the way something works, they don't do it to deteriorate it, obviously. There must be a REAL HUGE advantage of the software playthrough that hardware playthrough doesn't have, because if not, I don't understand anything.

3.
Is a USB 10€ sound card better than my sound card? I don't wanna pay for something that records worse than my laptop :| . Nevertheless, I know a guy that can lend me a USB soundcard, and I'll try it out. But I don't know, this Lenovo has JBL speakers, Dolby Home Theater v4, REALTEK HD everywhere xD... Seems pretty powerful in the audio area. Indeed, this is a multimedia laptop, but with powerful CPU and GPU.

Thanks for the replies!

PS: what is ASIO? I've read that you can have better latency using it. But you said you have to reprogramming Audacity... What that means? Would it solve my problem, since it is software too, I'm not pretty confident...

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Listening what I record with delay

Post by kozikowski » Tue Jan 14, 2014 2:58 am

It's not the power that's the problem. It's simple economics. It's the difference between selling several hundred computers to the General Electric company in Schenectady, NY for the purpose of field sales communications and conferencing versus selling one laptop to somebody in Burlington, Vermont for the purpose of recording his guitar. GE wins. Settings for entertainment recording (guitar, etc.) tend to conflict with conference connections and Skype, so those settings are engineered out before the computers are delivered. Again, they're not general purpose computers any more. They're corporate business machines.

ASIO is a software package that allows drilling new sound pathways through existing hardware and driver software in order to provide short, echo-free pathways to enhance sound production. You can build your own personal, custom version of Audacity with ASIO support built-in using published instructions. If you succeed, that version of Audacity, that software product, can only ever be used by you according to the license agreement. You can't supply it to anyone else for any reason.

It's a one-off product, and that's if you succeed. It's not that easy.

Koz

rambomhtri
Posts: 230
Joined: Thu Jan 02, 2014 11:05 am
Operating System: Windows 8 or 8.1

Re: Listening what I record with delay

Post by rambomhtri » Tue Jan 14, 2014 9:54 am

Thanks a lot for your time. I'd like my other questions to be answered.


And another question here:

How can I verify that my new USB sound card is gonna be better than my laptop's? Is it gonna be much difference between a 10€ or 40€ USB soundcard?

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Listening what I record with delay

Post by kozikowski » Tue Jan 14, 2014 4:36 pm

How can I verify that my new USB sound card is gonna be better than my laptop's?
That's a heck of a question. I've never seen a listing in any ad that explicitly says the device mixes computer playback with live performance. There are several that suggest that.

Regard the Focusrite Scarlett 2i2.

http://www.sweetwater.com/store/detail/Scarlett2i2

It suggests, but never comes right out and says that it will mix live (no latency) monitoring with computer USB playback. But I wouldn't recommend that unit because it's not a mixer. If you plug your instrument into the green connection (perfectly valid. It says you can do that) , it will only appear on the LEFT of a stereo show.

This is way harder than it probably needs to be.

We have noticed something else very concerning on the forum. People have been making laptops with cheap, noisy USB connections making any audio connections that get power from the laptop noisy. This was not good news. It effectively peels off a lot of inexpensive audio equipment.

You can walk into a music store and see what they recommend. Given that they're going to try to up-sell you to something expensive, they may suggest with something valuable. Also google the music forums. Report back. We'd be interested in knowing.

It's a forum, not a help desk.

Koz

Locked