LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-31-2008, 05:51 PM   #1
rabbit2345
Member
 
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378

Rep: Reputation: 41
terrible sound quality when recording with audacity from line in?


ok, so i have these midi files on my computer.

so yesterday, i was going thru them and i noticed how well this one program played midi's. i mean, for every program, the instruments sound different.

so i hooked up his computer's line out port to my line in port and tried to record. once i was done, i listen to it, an there is this horrible noise in the background. and it sounds really bad.

but before i started to record, i listen to it from my computer from the line in port, and it sound awesome! so I'm not sure why it sounds terrible when recording, but when I'm just listening to it, it sounds fine?


thanks,
rabbit2345 ^_^
 
Old 10-31-2008, 10:08 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
So wait, you physically connected the line out and line in jacks?
 
Old 10-31-2008, 10:25 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410

Rep: Reputation: 141Reputation: 141
You're going to want to watch the VU meters on audacity. You're probably either overdriving or underdriving by a bunch. Either one would be a source of noise. Oh, and I've heard of people doing the same thing to get a song from youtube. Not that I'd ever suggest doing that, of course.
 
Old 10-31-2008, 10:45 PM   #4
rabbit2345
Member
 
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378

Original Poster
Rep: Reputation: 41
yes, i have a stereo cable to connect the in/out ports.

and quakeboy, could you clarify what overdriving or underdriving is? and where is the VU meter in audacity?
 
Old 10-31-2008, 10:56 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by rabbit2345 View Post
and quakeboy, could you clarify what overdriving or underdriving is? and where is the VU meter in audacity?
Right above the picture of the microphone there should be two level meters labeled "L" and "R". If those ever get above about -3 then they probably are going to 0. Anything past exactly 0 is called saturation, and will cause very bad distortion. Normally I try to record so that the highs never go above -3 or so. It's easy enough to make a pass through and normalise the volume after you're finished recording. OTOH, if the levels are very low, then you will get distortion from the amplifier circuits as you raise the volume to recordable levels. Watch the recorded waveform. It it flatlines anywhere then it's saturating and will sound bad. But, if the levels are nowhere near the top, then it's not going to sound good, either.
 
Old 10-31-2008, 10:59 PM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Definitely watch the VU meters, if the signal saturates then you are not going to get a clean signal. However, I wouldn't expect a good quality from this inputs and outputs.

The cool way to do it would be via a Direct Injection box, but you are probably not willing to invest money just to record one song. You could try the mic input, it's probably better suited for louder signals, but I wouldn't hold my breathe for it.
 
Old 10-31-2008, 11:05 PM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410

Rep: Reputation: 141Reputation: 141
Actually, I've gotten good quality doing a loopback like he's talking about. It's common to do a loopback with the ham radio program MMSSTV to calibrate the sound card. They're always off by enough to cause sync problems with SSTV (Slow Scan TV).
 
Old 11-01-2008, 12:46 AM   #8
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410

Rep: Reputation: 141Reputation: 141
Quote:
so i hooked up his computer's line out port to my line in port and tried to record. once i was done, i listen to it, an there is this horrible noise in the background. and it sounds really bad.
Dangit! I didn't read this closely enough. i92guboj was right! Since you are hooking up two different computers, you need a box. What you're getting is a groundloop, and what you're hearing is called common mode hum, I think. If you look on the net, you can find audio isolation transformers. They make them in singles with RCA plugs, which is what I use (with adapters) for recording between two machines. They also have them with stereo plugs and jacks so that you can hook them up directly. If you know which end of a soldering pencil is hot, get a pair of 600 ohm audio 1:1 transformers from Radio Shack (assuming they still sell them) along with a stereo plug and jack. Make sure that the grounds are NOT connected from one side of the transformer to the other. You want the computers completely isolated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Terrible sound quality dave811 Slackware 7 01-27-2007 07:21 AM
Terrible sound quality Underhill Debian 6 04-02-2005 02:30 PM
Line in recording with Audacity Tha relliK Linux - Software 2 01-02-2005 05:49 AM
Line-In Recording With Audacity Tha relliK Linux - Software 1 12-15-2004 05:05 PM
Terrible sound quality with FreeBSD 5.2.1 magellanic *BSD 1 10-16-2004 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration