Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-30-2005, 11:46 AM   #1
LQ Newbie
Registered: Sep 2005
Distribution: Debian Etch
Posts: 14

Rep: Reputation: 0
how to redirect the soundcard output to a file?

is it possible to redirect the soundcard output to a file? maybe with a pipe or so?
i.e. to record a stream?
maybe with alsa's arecord?
cat _outputdevice_ > file
Old 10-31-2005, 05:51 AM   #2
Registered: Apr 2005
Location: switzerland
Distribution: debian etch
Posts: 99

Rep: Reputation: 15
Re: how to redirect the soundcard output to a file?

Old 10-31-2005, 06:29 AM   #3
LQ Newbie
Registered: Sep 2005
Distribution: Debian Etch
Posts: 14

Original Poster
Rep: Reputation: 0
this would work only for streams...
i want to redirect the soundcard output to another computer. With a microphone it works with following commands:

on the remote computer:

netcat -l -p 12345 > /dev/dsp

on the microphone computer:

cat /dev/dsp | netcat ipofrem 12345

but how can i redirect the output of the soundcard instead of the input?



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way in Linux/Unix bash to turn off output or redirect to a file jimwelc Linux - Newbie 6 01-06-2005 03:56 AM
How do I redirect sound card output to file ass0ciate Linux - Software 0 09-14-2004 03:41 PM
How to redirect standard output of piped command to log file andrewstr Linux - General 10 02-04-2004 02:07 PM
output from cpio won't redirect to file rawii Programming 5 01-27-2004 01:49 PM
Can I redirect script output to a file without ">> $LOGFILE" at the end of each line davee Linux - General 1 12-19-2003 05:01 AM

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