Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Wuzzup My linux buddies. I'm a proud new member of the Linux Society, since my newly aquired job has me ssh'd into customers machines all day. Anyways, I have a windows machine and a redhat machine that I have on a lan. My question is this, how would I execute an audio file from a shell prompt? I'm also a newbie to Perl programming, and the new script idea I have will require me to open several audio files when called upon. So I just need to know how to play the damn things from the shell!
I'm a newbie to linux/shell sessions, so please don't beat me bloody for asking a dumb question like this! Thanks in advance guys!
#! /usr/bin/perl
$name = 'GreaperXtreme'; # He's a newbie.
Awesome thanks! So if I put them in mp3 format madplay can play them? But here's a good question, say I have to play several audio files very quickly back to back, is this going to just play the file or is it going to launch something to play the file.
Hopefully I asked that without sounding like a dummy
madplay is just like xmms or winamp, minus the pretty gui, that's all. Try it, i am playing my mp3 with it now. The will play one after another as you have them placed in your directory, and you can do fast forwards, shuffle etc.
try this:
madplay -z *
madplay will play your mp3 in the directory randomly, if you want them to play sequentially, just madplay *, that will do.
Distribution: Mandrake 10.0/Redhat 8.0/Ubuntu 5.04/Windows XP (SP2)
Posts: 30
Rep:
I am using mpg123 as mp3 player and "cplay" as front end tool. It is a good combination. you get almost all options in a Winamp or xmms. Pretty good. daily I am using it.
As long as we're talking about linux sound options, is there an alarm clock program out there that will play my mp3's to wake me up at 6 in the morning? Preferably with gentle wake? I've looked around a bit, but I"ll the ones I've found are both windows and pay-to-play...
Actually guys what I'm doing is creating a program that converts my text into my voice. So I am recording all the combinations of the english language, like "a" and "ah" for a, and ssss and Ssshh for s and sh. Anyways it's just an exercise I'm doing.... I have it all worked out in my head, and my buddy told me just to call on "play". If you do a "man play" you can see it's function.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.