How to get rid of mains (?) hum?
Sunday, July 9th, 2006 03:41 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I've had the intention for a while of transferring all the music I have for my Hybrid Music System to epicyclic, and then burn it to CD-ROM, before the hardware it runs on (1987-vintage BBC Master and 1986-vintage Music 500) complete packs up. A year ago I had an attempt, but ran into problems with what I thought was mains hum.
compilerbitch suggested plugging everything into the same mains socket, so, finally having got around to moving the pedestal housing my stereo, CD player and Beeb across the room (and getting and tacking down longer speaker wire so I could connect the first of these back to the speakers on the side they had come from), I tried this out... and found the situation unimproved. My father suggested cutting the earth contacts on the Music 500 output, as I'd probably got a mains hum loop, but that made no difference either.
The funny thing is that when I simply play the Music 500 through epicyclic, it plays fine (there's a small amount of background noise, about as much as a computer fan); it's only when I try and capture the sound to record it (using Audacity) that the bad noise turns up (71k MP3). I've tried various techniques on Audacity for getting rid of it, but they always result in a degradation of the sound quality (60k MP3); better would be to eliminate the noise from the input. Anybody got any idea why I only get it when I try to capture the audio?
(Also, when I tweak the Alsa volume controls, there's a master control for playback; there's also a PCM one, and increasing that increases the noise dramatically. Increasing the line-in control also increases the noise when listening to straight play-through, but I've a feeling Audacity bypasses this.)
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)
The funny thing is that when I simply play the Music 500 through epicyclic, it plays fine (there's a small amount of background noise, about as much as a computer fan); it's only when I try and capture the sound to record it (using Audacity) that the bad noise turns up (71k MP3). I've tried various techniques on Audacity for getting rid of it, but they always result in a degradation of the sound quality (60k MP3); better would be to eliminate the noise from the input. Anybody got any idea why I only get it when I try to capture the audio?
(Also, when I tweak the Alsa volume controls, there's a master control for playback; there's also a PCM one, and increasing that increases the noise dramatically. Increasing the line-in control also increases the noise when listening to straight play-through, but I've a feeling Audacity bypasses this.)
no subject
Date: 2006-07-09 06:55 pm (UTC)no subject
Date: 2006-07-09 07:00 pm (UTC)Ah, I think I know what it probably is. The old Yamaha DX7 keyboard synthesizer used to have a similar problem.
Basically, the Music 500 has a very primitive DAC, which doesn't cut off at 20KHz. Most likely, it is giving you a spray of high harmonics that are aliasing against the sample rate of the ADC in your sound card (which itself probably doesn't have a very good low pass filter). Playing the same sound through your sound card won't cause the problem, because the audio is mixed in analogue form so the ADC doesn't play any part.
Try stringing one or more ferrite beads on the audio cable, or using a ferrite ring and winding the cable through it a few times. It's a bit of a crude solution, but it often works wonders in these cases.
(listens to mp3 to check)
Yes, that's definitely it. What you have there is definitely NOT hum, it's aliasing noise.
(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:no subject
Date: 2006-07-24 11:06 pm (UTC)If none of the easy answers work, I could probably come up with a small circuit that you could build on a bit of Veroboard that would fix the problem.
(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:all-embracing
Date: 2011-08-08 06:37 pm (UTC)