Sponsored Content
Full Discussion: Playing wav-file sounds.
Operating Systems Linux Ubuntu Playing wav-file sounds. Post 302452676 by newyorkpaulie on Sunday 12th of September 2010 02:52:51 PM
Old 09-12-2010
Quote:
Originally Posted by Corona688
You could try mplayer, which is a bit larger than sox ( Smilie ) but supports seeking and quit from console via keyboard.
When I first tried the command "play" I was prompted to install sox, I already had mplayer installed. Is there a different command (other than play) to use that will trigger mplayer to respond? BTW, thanks for your help!
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Are there sounds in Mandrake

First of sll, i wan to apologize to all of the admin. or peoples who are noticing all of my posts today, Im at school and i really have nothing else to do, im in strudy hall and my teacher wont let me check my email, but any ways, i just remembered that I don't have any sounds in Mandrake like i... (4 Replies)
Discussion started by: LolapaloL
4 Replies

2. UNIX for Dummies Questions & Answers

Insane question : Playing mp3 file from Sun Sparc

hi, i know this is crazy. but i can do this from linux in intel platform. just wonder can my Sun Solaris 8 sparc can do the same thing? (2 Replies)
Discussion started by: champion
2 Replies

3. Shell Programming and Scripting

Delete original wav file if lame was successful encoding.

In a bash script: src=”cooltrack.wav” dst=”cooltrack.mp3” lame $src $dst I would like to add some line that would delete the source wav file like: rm $src but I would like this only if the encoding was successful. What should I include before deleting the original to check that the... (2 Replies)
Discussion started by: Aia
2 Replies

4. Solaris

converting midi to wav in solaris 10

how can i convert midi to wave in solaris 10 i have found timidity but it lack of documentation. is there any other suggestion? (1 Reply)
Discussion started by: conandor
1 Replies

5. Filesystems, Disks and Memory

Loud Sounds can slow down disk I/O

Amazing but true... tDacjrSCeq4 More details: Unusual disk latency : Brendan Gregg Now I know why everything takes longer when I crank up the tunes. :eek: Oh well, it's nothing that a good set of headphones can't cure. (1 Reply)
Discussion started by: Perderabo
1 Replies

6. Programming

PLaying a sound file with SDL - C++

How do I play a sound file with SDL? I've downloaded the library files but SDL/SDL_mixer.h (that most of the tutorials include) doesn't exist. So, how do I install it? As I said mixer.h doesn't exist but, If it is helpful, the default code is this: #include "stdlib.h" #include "SDL/SDL.h"... (2 Replies)
Discussion started by: hakermania
2 Replies

7. UNIX Desktop Questions & Answers

how to create empty wav file

Dear All, Kindly explain me a command in unix to create a empty wav file with example. Thanks in Advance! (1 Reply)
Discussion started by: thillai_selvan
1 Replies
MAILSOUND(1)						      General Commands Manual						      MAILSOUND(1)

NAME
mailsound - play sounds when mail is received SYNOPSIS
mailsound [-hszZvrd] soundname ... DESCRIPTION
mailsound allows a user to play sounds when new mail arrives. It reads a mail message from stdin and uses Mark Boyns' rplay library to play sounds. The sound that is played is determined by a configuration file in the user's home directory called .mailsounds. Each line in this file has two parts. The first part is a regular expression which will be used to match the from address from a mail message. The second part describes what to do when a match is found. The options in the second part are identical to the options on the command line. The command line options will set defaults which will be used if they are not specified in the configuration file. If not specified, the mailsound program will use the following defaults: default sound: youvegotmail.au default volume: 127 (50%) If the mail address does not match any of the regular expressions in the .mailsounds file, no sound will be played. OPTIONS
-h hostname:[hostname...] Play sounds on all of these hosts. -z <minsize>:<minvolume>,<maxsize>:<maxvolume> The volume the sound will be played at will be determined by the size of the mail message. The sound for a message with a size smaller than <minsize> will be played at volume <minvolume>. The sound for a message with a size larger than <maxsize> will be played at volume <maxvolume>. The sound for a message with a size between <minsize> and <maxsize> will be played at a volume which is a linear interpolation between <minvolume> and <maxvolume>. -Z <minsize>,<maxsize> The sound to be played is determined by the size of the mail message. If the message is smaller than <minsize>, the first listed sound is played. If the message is larger than <maxsize>, the last listed sound is played. If the message size is between those two values, the appropriate sound from the list is played. -s <subject re> The regular expression supplied will have to match the subject of the message. If this option is not there, the subject of the mes- sage is completely ignored. Be careful that the regular expression does not contain spaces. Due to laziness of the author of this program, this will hopelessly confuse the program. -v <int> Set the volume at which the sound should be played. The range is 0-255. -r Pick a sound at random from the list of sounds provided. -d Turn on debugging. This will produce diagnostic output to stdout. EXAMPLE
The following could appear in the .forward file in your home directory: (This assumes that your username is pickard) pickard, |"/usr/local/bin/mailsound" Here is a sample $HOME/.mailsounds file: Andrew.* -r Passing_Train riot arrp flinstones root.* out! daemon.* -v 220 sci_fi_fun MAILER.* -S 1000,10000 cuckoo pig Oomph *. pigs FILES
$HOME/.mailsounds SEE ALSO
rplay.conf(5), rplayd(1) AUTHOR
This program was written by Andrew Scherpbier at San Diego State University. He can be reached by E-mail as follows: Andrew@SDSU.Edu The mailsound program makes use of Mark Boyns' rplay package which can play multiple sounds on remote machines. He can be reached by E-mail as follows: boyns@sdsu.edu BUGS
The code does very little error checking. No range checking on any of the values is done. 11 August 1993 MAILSOUND(1)
All times are GMT -4. The time now is 06:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy