Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-25-2014, 01:59 PM   #1
LQ Newbie
Registered: Mar 2014
Posts: 2

Rep: Reputation: Disabled
Talking Route "Bass" frequencies to separate output device?

I'm running the latest iteration of crunchbang Linux (Whaldorf/Wheezy). I noticed one day while listening to Pandora through my USB speakers that an ad had popped up, and was playing through the built in speakers on my laptop at the same time. I checked in my volume mixer (PNMixer 5.1) and sure enough, there were two different output channels going to two different H.W. devices. As a fairly recent convert (and having a long history of Windows diagnostic and repair) This got me very excited because such things just weren't possible on windows.This has me curious.
Would it be possible to isolate low frequencies or "bass channels" and send it to a separate output devices as the rest of the music? to be specific, i want to send bass frequencies to my headphone jack, and the rest of the music to my USB speakers. I'm an experienced programmer and repairman, just a newbie at linux. So I'm up for getting my hands dirty if i have to. Just need a point in the right direction....

Last edited by xxTyMeador73xx; 03-25-2014 at 02:00 PM. Reason: format to make easier to read
Old 03-25-2014, 09:43 PM   #2
Registered: Apr 2013
Location: Massachusetts
Distribution: Debian
Posts: 360

Rep: Reputation: 157Reputation: 157
I have not tried it, and don't have a complete answer, but since there are no replies yet, I'll give it a shot.

You have two audio output devices, namely the built-in audio system and the USB speaker system. The first thing to check is whether you can route the same audio signal to both devices. If so, does it sound like they are simultaneous (no perceptible delay between output devices)? That is the easy part.

The next question is how to separate the high and low frequencies. Does either audio device have any built-in filtering capability, like a bass/treble control or graphic equalizer? If so, that might be sufficient to do what you are asking.

If not, you have to do the filtering yourself. I guess you would have to write code to implement a digital filter that is fast enough to work in real time, takes its input from the source you've selected, and passes the filtered audio data to the two audio devices. I couldn't do it or even tell you how, but I don't see why it couldn't be done. Maybe there is someone on the forum who does real-time or near-real-time digital filtering who could advise you on that.

Note added in editing: Another idea is to build an analog filter to be inserted in the line going to the bass channel. In other words, the audio device outputs the whole signal, and you run it through an old-fashioned analog lowpass filter before it goes to the power amp and speaker. This might be easier than the digital filtering option.

Last edited by Beryllos; 03-25-2014 at 09:51 PM. Reason: last paragraph


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
[SOLVED] Exporting "select d" output to a separate variable kitsftw Linux - Newbie 6 12-07-2012 06:36 PM
How do you make "/dev/dsp1" the default Audio Output Device? lothario Linux - Software 1 02-16-2011 04:01 AM
Timidity Error "couldnt open output device" shady_Dev Linux - Software 4 03-27-2010 11:57 AM
An explanation of my "route -n" output. uncle-c Linux - Newbie 4 12-02-2007 05:22 PM
xine "Audio output unavailable. Device is busy." shellshock Linux - Software 3 05-13-2006 01:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:12 PM.

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