LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-11-2012, 10:21 AM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Where sounds go


I would like to have my music go to my headphones (on the light green audio connector on the back) and have the sound effects go to the speakers (USB). Who knows how to do that?
 
Old 05-11-2012, 09:05 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
By sound effects, do you mean system beeps and the like?

It's just an idea and completely untested, but maybe you could try using jack to send sounds from your music player to the headphones and system sounds to the speakers. It's in the repos. My understanding is that it's like a software patchbay.

I've only used jack to do a bit of recording and am hardly an expert in it.
 
Old 05-13-2012, 08:15 PM   #3
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
It seems from reading Wikipedia about it ...

http://en.wikipedia.org/wiki/JACK_Audio_Connection_Kit

... it has its own API. This seems to be an annoying thing to always have a different API for something. That seems to be going the opposite way, away from plug-in portability.
 
Old 05-13-2012, 08:39 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
What you are looking for is, I think, a highly personalized request.

There is likely not an easy way to do it.

When I used Jack for the little bit of recording I did (I was using RecordMyDesktop to capture screen behavior while doing a voice-over), it worked like a charm.
 
Old 05-13-2012, 11:09 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
this all depends on "pulse audio"
is it being used , or is oss or alsa ?

Last edited by John VV; 05-14-2012 at 10:44 PM.
 
Old 05-16-2012, 08:08 PM   #6
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by frankbell View Post
What you are looking for is, I think, a highly personalized request.

There is likely not an easy way to do it.

When I used Jack for the little bit of recording I did (I was using RecordMyDesktop to capture screen behavior while doing a voice-over), it worked like a charm.
I doubt that it is that personal. I asked a couple people at work about doing things like having one audio source go to one output while another goes to a different output, and having one source code to two outputs. They both were surprised that it was not done. They also both agreed that mixing two sources to one output, though useful, would not be above the prior two capabilities in terms of desired.

Why do you think it is likely not an easy thing to do? Are you referring to it being not easy to do with existing tools, or not easy to do with a new tool built to be more flexible?

I need to get more documentation on Jack. Something that shows it actually set up to do these things would be good. I don't want to jump into something that MAY not work, while also causing troubles because audio apps would have to use a different API.
 
Old 05-16-2012, 08:14 PM   #7
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by John VV View Post
this all depends on "pulse audio"
is it being used , or is oss or alsa ?
Pulse Audio is definitely running. I still haven't sorted out which of these things are daemons and/or libraries.

This seems to be an area where better standardizing needs to be done. I've seen the Alsa API and it seemed to be overcomplicated. I think that may have been part of the problem why there are other APIs. When the complications get in an API, it might be leaking the implementation into the API.

Designs should be done in this order:
1. Define the needs
2. Design the protocols (e.g. how audio is sent over network and named sockets, including security and authorization) and document it.
3. Design a basic API to get the most common things to work and document it.
4. Design a framework to add special extensions to protocols and API.
5. Implement ... including compliance test suites ... only what is already documented.
 
  


Reply



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
System sounds don't work as well as sounds through a browser Bagmeijer Linux - Newbie 1 03-03-2008 11:53 AM
system sounds, yes - media sounds, no bean target Linux - Newbie 3 02-14-2006 07:57 AM
2 sounds. delta_simon Linux - Software 1 02-14-2005 02:37 PM
2 sounds at once? Tecfreak Linux - Newbie 2 03-28-2004 05:12 PM
Recorded audio sounds horrible, but the untouched line-in sounds ok? justin218 Linux - Newbie 1 10-14-2003 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:35 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