Hardware :: Redirecting ALL Audio Output?
Jan 15, 2011
So I have a DAC/Headphone Amplifier which plugs in through USB. Through the system settings I'm able to set it as the preferred audio output option. This makes all the windows manager sounds come through the headphones, but all the applications still come through the laptop speakers; i guess they are completely independent of the system settings. I have to set each application's output preferences separately, and some software (like Firefox) doesn't have any output preferences. So is there a way toirect the audio output of all applications to all come through the USB DAC
View 4 Replies
ADVERTISEMENT
Mar 16, 2011
I have written a script and included the command
Code:
set -x
to see what happening when i run the script
View 7 Replies
View Related
Dec 1, 2010
I have seen a post where someone was explaining the virtuality of stdout and stderr and that it can be redirected with e.g. 2>file.txt but this apparently is not working for me!
I have a CUPS filter with fprintf(stderr,...)
View 5 Replies
View Related
Sep 19, 2011
This seems so simple when doing it from command line but I'm not able to accomplish it inside a script. I am trying to put output of following command into a text file:
CMD= mysql -uroot -psecret -e 'SHOW SLAVE STATUS G;'
FIL=~/replication-`date +%F`.txt
MAILTEXT=~/mailtext.txt
touch $FIL
$CMD > $FIL
Where FIL is a variable that contains path of the file to which to output command. I am running this command in a shell script from where I want to email contents of $FIL as attachment using mutt. But I am always getting 0 byte file. Also if I examine in directory the file is of 0 byte length.
View 3 Replies
View Related
May 10, 2011
I would like to get the command and it's output redirected i have tried using the below but my syntax seems to be incorrect .
<<EOF
$(ls)
EOF
View 2 Replies
View Related
May 3, 2011
When I run 'sendmail -bv', it sends the mail delivery status report as a mail to the root. Is there a way I can redirect this to the console instead of sending as a mail. requirement is to programatically find the mail host of the recipient for which I thought of using this 'sendmail -bv' command. Is there any other better way to find mail host of the recipient
View 12 Replies
View Related
Jul 30, 2011
Today I tried to use padevchooser on Natty to send my laptop audio to my home media machine (which has the good speakers) using the "default server" option. Turns out padevchooser doesn't work on Unity and the threads I have seen say it is deprecated for other gui tools,
So what is the easy gui way to switch from my local pulse server to another one on my LAN, without using padevchooser, or switching off Unity? Or is this a regression?
View 2 Replies
View Related
May 22, 2010
I've got a C program that I've added some 'printf' statements to monitor a couple of variables. When I run this program manually or from a script, the output is displayed on screen. However, I need to change various variables in the 'test.c' file, run 'make clean' and 'make' a few hundred thousand times. I'm using a script to read the variables in and then using sed to do in-place edits of the file. Unfortunately, with this amount of iteration, it is getting rather tired!
Anyway, I've created a script that is working as long I respond to prompts. I've tried the following to no avail: Code: /path/to/script > /tmp/output /path/to/script > /tmp/output 2>&1 /path/to/script | tee (no output even after adding the -a option) In my C program, I have the following 'printf' statement: Code: printf ("variable1: $s variable2: $s",var1,var2); What am I missing? I've worked with redirection before and it's always worked out fine, but this one plain stumps!
View 2 Replies
View Related
Dec 28, 2010
When inserting/removing a usb device to a board based on linux system, an output is given:
Code:
# mmc1: card 0001 removed
mmc1: new SD card at address 0001
[code]...
View 6 Replies
View Related
Aug 2, 2010
I am developing a application. In this I fork() 3 childs(lets say child1 , child2, child3) . The parent is now waiting for some input from keyboard.Child3 is continously getting data from child1 and child2 using pipe which it then will print using printf.Now as the parent is waiting for input from user through keyboard while child3 is continously printing the data. I want to do it in different terminals.Can you please guide me how to proceed ahead so that on one terminal , the parent waits for input fromser while on other terminal child3 prints data.
View 1 Replies
View Related
Oct 9, 2010
I'm not sure about the following behavior so thought I would put it out to see if there is an error I need to resolve, or simply a process that I need explained.I'm also not sure if this is an Ubuntu issue, a Linux issue, or other... but here goes.I ran my "make build" in two different ways; one with just "make build" and one with "make build > output" (so I could review the full script).With just "make build" the process finished and returned to the command prompt.
With "make build > output", after the process had finished (script in output document identical to what was in the terminal with "make build") a new set of data was displayed in the terminal (see below).With the other examples of using "make build > output" the times it would parse something back to the terminal window was when there was an error. As I fixed the errors these breaks back to the terminal window would stop. So I'm wondering if this indicates a new error, but because the "make build" now completes successfully (at least it appears to), I'm wondering if this data in the terminal window is just a behavior related to redirecting the output script using the ">" process and something to do with returning to the terminal once a process completes
View 4 Replies
View Related
Mar 15, 2010
I have a problem when using awk:
e.g: awk '{processing text}' File1 > File2
But when I'm processing the File1, I want to print out some messages to the screen (not the File2). How can I do that?
View 5 Replies
View Related
Mar 7, 2010
I installed KMplayer but I cant play video files...No video output but can get only the audio output...So how to make this work for videos?
View 2 Replies
View Related
Jan 25, 2011
Running 10.10 and win 7 on my HP dv6-2150us laptop and I'm having a few issues.
First how do I get HDMI audio output to my TV? I think I have just a integrated Intel graphics card. It works fine in windows but I can't seem to get it to work in Ubuntu. I tried searching but couldn't find anything pertaining to this issue.
View 3 Replies
View Related
Jul 19, 2011
I don't know anything about ubuntu. Could you guys help me out. I'm pretty knowledgeable with windows if you guys need a printout of something let me know. My friends getting really frustrated about this. Help!!i
So here's the situation. He plugs his audio jack into his computer and then into the speakers but it still plays from the computer speakers.
View 7 Replies
View Related
Mar 27, 2010
I finally got audio working on my ubuntu 9.10 desktop... now I am having sound issues watching movies from a network share.The sound device continually randomly changes to "dummy output device" and then there is no sound output. The sound icon dissapears on the toolbar. To get it back and audio to start working I have to $sudo alsa force-reloadIt seems to happen everytime there is a network delay, the movie will stop for a second and then when it plays the sound is gone
View 1 Replies
View Related
Aug 23, 2010
Say I have 2 speakers connected to 2 different sound cards. Under Windows, is it possible to have some sort of virtual device that would forward an audio stream to both sound cards? If this can't be easily done under Windows, a solution for Linux is also fine. lternatively, if the 2 speakers are connected to different channels of a sound card, is there any vendor-independent way to duplicate audio to both channels?
View 1 Replies
View Related
Mar 4, 2011
Is possible to have two identical sound card outputs? For example, is I want to use two headphones at the same time.
View 6 Replies
View Related
Jul 2, 2011
I want to run gsettings list-schemas (which return a list of about 100 names separated by spaces)and somehow direct each name one at a time as the input to this command:gsettings list-recursivelyI've tried it with awk, and standard | piping and also as a string variable strvar=$(gsettings list-schemas) and using the $strvar as the input butam missing something in between I'm sure like for - while or proper syntax of awk etc
View 3 Replies
View Related
Dec 26, 2009
Is there any way to redirect a remote Linux machine mplayer output audio to local one?
View 2 Replies
View Related
Dec 26, 2010
This started today in my session: no audio output. In sound preferences, hardware, in Profile, the options are now Off and Analog mono input. In Output tab, I see Dummy output stereo as the device. Nothing is muted.
View 2 Replies
View Related
Jun 4, 2011
I have a problem with the audio output in Fedora 15. It seems 'dirty' to me, like with a lot of distortion. I use for the output a nice USB DAC that seems to run very good with Ubuntu and Windows, strangely with Fedora isn't the same. I say strangely because the sound pipeline must be very similar to that of Ubuntu, no? Kernel, ALSA, Pulseaudio and so on. How could I improve mine audio output? Tried with Flash videos and Audacious audio player. Lowering audio output (like to 50%) greatly improve audio quality! Why is permitted to the system to go over and distort?
View 5 Replies
View Related
Jun 10, 2011
I have a StarTech USB audio adapter which I have been unable to get output from in Suse. Pavucontrol allows me to adjust the output to this device, and even shows some signal when playing media. However, no output makes it to the headset/speaker jack of the USB device. There does not appear to be any issues with playing media to the internal sound card & speakers of the computer. I booted up a Live Ubuntu disk, the device was recognized, and output made it with no problem. This leads me to discount a hardware problem. I'm running Suse 11.4 on a Lenovo Thinkpad T420s.
View 9 Replies
View Related
Jan 30, 2010
I just got rid of pulseaudio because it breaks in so many different situations. I've switched to Alsa, and all of my sound is working except in mpd. It seems like I have to set audio_output in /etc/mpd.conf. Here is my config file:
audio_output {
type "alsa"
driver "pcm"
name "whatever"
}
When I start mpd, this is what happens:
$ sudo mpd --no-daemon --stdout --verbose
playlist: play 1:"Party Playlist/01 Block Rockin' Beats.mp3"
decoder: audio_format=44100:24:2, seekable=true
alsa: default period_time = buffer_time/4 = 371519/4 = 92879
alsa: buffer_size=16384 period_size=4096
output: opened plugin=alsa name="My MPD Alsa Output" audio_format=44100:24:2
playlist: queue song 2:"Party Playlist/01 Umbrella [Feat. Jay-Z].mp3"
output: closed plugin=alsa name="My MPD Alsa Output"
^Clisten: listen_global_finish called
db_finish took 0.000000 seconds
And I hear the song play for less than a second before the audio_output driver is closed. There really aren't any error messages printed explaining why it's not working. I've also tried "oss", "esd" and "ao" for the audio_output type, and none of them work.
View 1 Replies
View Related
Jun 1, 2011
I'm looking for a program that will visualize anything that goes through my audio-output (in this case it's Spotify) and display it on the screen. Does this exist?
I'm running Ubuntu.
View 1 Replies
View Related
Feb 15, 2010
I installed Kubuntu 9.10 one week earlier and installed VLC player in it. But from that day VLC player is playing the video but not the audio. Also Banshee player is not playing any audio in Kubuntu.
View 4 Replies
View Related
Jul 14, 2010
Have you ever wanted to record a sound heard from your computer or website? If yes outRec is perfect for you. This simple but powerful application let you to record your sound card audio output easily in a few steps and save it in different kinds of formats like wav, mp3 or ogg.
Download from [URL]
To get it work you need to install the dependencies with:
Code:
sudo apt-get install sox gambas2-runtime lame mplayer libnotify-bin libmp3lame0 gambas2-gb-form gambas2-gb-desktop gambas2-gb-gui libtwolame0
View 1 Replies
View Related
Jul 24, 2010
My audio setup is based on a single guitar amplifier, and from this I suffer from only being able to listen to one of the two stereo channels. Since I honestly don't care for stereo, I'd rather force Ubuntu to output all audio as mono instead of "upgrading" to a stereo compatible setup.Is there a way to do this?
View 8 Replies
View Related
Nov 16, 2010
I have this file:Code:vid-gd-19940626-peggy.rmI would like to extract the audio and copy to a file to burn on a CD.'pitivi' will load the file and show the audio timeline. But I can not find a save or copy button.'vlc' will play the file but I can not find how to seperate/save the audio.I found a 'ffmpeg' that is suppose to read whatever is being sent to your speakers.Code:ffmpeg -f oss -i /dev/dsp -f video4linux2 out.wavThis produce a file that 'mplayer', 'vlc', 'audacity' will load but it is empty of useful data. Black screen only.This is the second week I have worked on this. Either I'm googling for the wrong words or what I'm reading, I don't understand.
View 4 Replies
View Related
Mar 8, 2011
I have just gotten unbuntu install and was force to learn cuase while installing i accidently messed up the part of windows it needs to start i think on another hard drive.
i dont mind anymore. its a easy learn but now i down to the nitty gritty stuff.my audio outputs. i have a biostar board with reltek onboard audio.board model: TF8200 A2+ now i am just looking for a way to manage what one of the 6 ports do what.. like before in windows 7 with the realtek program. i could make every single on back their all fronts. or all line ins. or anything in between.
i dont really no what else to say. what ever other info you need just ask and ill reply fast.ps Ubuntu is awesome. its so slick with compiz and conky is nice to. only other problem i have now is music manager/player/mp3 sync. anyone know a good program off the top of your head?
View 2 Replies
View Related