LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-19-2012, 09:46 AM   #1
questionbeast987
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Audio sample rates using an external hardware mixer and Pulseaudio on Debian SID


I have been having a very tough time getting my audio recording set up under Linux for the past three months. I am experiencing a persistent crackling and static noise whenever I record from a cardioid microphone plugged into a Behringer Xenyx 802 hardware mixer that is grabbing output feed (to capture computer sounds) from the computer and then running back into the same computer using the line-in jack.

After doing a lot of research, I have found that this is most likely due to a sample rate error found within the default.pa file for the Pulseaudio sound server.

Here is the real issue. The sound card's sample rate, in the computer, is 48KHz, but the problem is that even if I manually change it, I still am not compensating for the sample rate of the external mixer, which I am reading online can be anywhere as high as 192KHz.

Is there anything I can do? Is this set up unrealistic? Perhaps I have to buy a better internal sound card? Would it be cheaper to just buy a wireless USB headset/combo?

I would like to use what I have because I do not know how to capture both my voice and incoming audio (from game consoles, computer system sounds, etc.) with ffmpeg. Can you virtualize Pulseaudio sound streams (and are there latency problems in doing so?).

I have varied goals, but the main project is for screen casting and live streaming and this is my final hiccup. (I am using FFMPEG and Pulseaudio). I have noticed that using straight ALSA greatly reduces the issue, but I suffer from an ALSA buffer xrun error in ffmpeg when using ALSA directly. That is another issue entirely, but if anyone can shed any light on that, it would also be helpful.

Last edited by colucix; 03-19-2012 at 09:59 AM. Reason: Removed link to commercial site
 
Old 03-26-2012, 09:16 PM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
Have you looked at Jack? http://jackaudio.org/
I've not played with it myself but I know a couple of people who use Linux for recording music and they use it rather than PulseAudio so it might ne worth looking into.
 
  


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
Audio disappeared after upgrading Debian Sid kernel from 2.6.32 to 2.6.38 GuitarMaster Linux - Software 0 04-04-2011 08:11 AM
combine multiple wav files together with different sample rates / channels / bits PiNPOiNT Programming 2 04-24-2009 07:02 PM
smplayer: video+audio stutters with pulseaudio, audio files play fine GamerX Linux - Desktop 1 02-06-2009 08:53 PM
audio CD ejects randomly in Debian Sid rconan Debian 5 11-03-2006 08:25 AM
External USB SB Live 24 with snd-usb-audio: mixer too rudimentary LaoNiu Linux - Hardware 0 05-28-2006 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:21 PM.

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