LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to play realtime insted of using arecord and aplay? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-play-realtime-insted-of-using-arecord-and-aplay-858500/)

karoy04 01-25-2011 05:03 AM

How to play realtime insted of using arecord and aplay?
 
Hi,
Normally i use "arecord" to capture and dump in a file (.wav). If i want to play the file then i use "aplay". But, is it possible that, insted of capturing to a file and then playing the file offline, if i want to play it realtime?
Regards,
Kaushik

schneidz 01-25-2011 10:03 AM

havent tested it myself but maybe this will work
Code:

mkfifo realtime.wav
arecord realtime.wav && aplay realtime.wav



All times are GMT -5. The time now is 05:45 AM.