ecalength(1) Multimedia software ecalength(1)NAME
ecalength - prints audio file length and other information
SYNOPSIS
ecalength [-ahtsfmbcr] FILE1 [FILE2] [FILEn]
DESCRIPTION
This is ecalength, a few lines of code pompously named so because they let one retrieve the length of an audio file from the command line
using ecasound's engine.
Limitations:
- With files without header information (raw files), ecalength will only work correctly if the audio file is at a sampling rate of
44100 hz. (Addressed with the -a switch.)
- It is not foolproof, feeding it with something other than an audio file WILL result in ugly things being spewed back. (A bit bet-
ter)
- A thousand more that I haven't thought of.
OPTIONS -h Prints this usage message. (help)
-a[:]bits,channels,rate
Changes the format assumed by default for headerless data. (adjust)
-t Prints the summed length of all the files processed. (total) (Ignored if with -s)
-s Enables script mode: One info type per file per line. (script) (Defaults to length in secs.)
-f With -s will return the format string as info, alone it will add it to the main display. (format)
-b If -s and -f are enabled with this the info printed will be the sample's bitwidth. (bits)
-c If -s and -f are enabled with this the info printed will be the channel count. (channel count)
-r If -s and -f are enabled with this the info printed will be the sampling rate. (rate)
-m Will print human computable time as in main display but in batch fashion. (minutes) (Only with -s)
SEE ALSO ecasound(1), ecatools(1)AUTHOR
S.Massy, <observer |at| colba.net <observer |at| colba.net>>
18.04.2004 ecalength(1)
Check Out this Related Man Page
send_sound(1) General Commands Manual send_sound(1)NAME
send_sound - play an audio file
SYNOPSIS
[-format_switch] [] [] [] [] []
DESCRIPTION
This command plays an audio file. is the command used when you double-click an audio file from the HP VUE File Manager. The file begins
playing, according to the settings of the Audio Control Panel.
is one these formats:
Sun file format
NeXT file format
Microsoft RIFF Waveform file format
MuLaw format
ALaw
linear 16-bit format
offset (unsigned) linear 8-bit format
linear 8-bit format
If you omit the filename with this option, plays the audio data from
plays the file on the output of an audio server
identified by system which is either a system name or a TCP/IP address.
plays the file the
number of times you supply. Note that you cannot use this option if the source is a filename is required.
plays file with the
priority you supply, either or
sets the sample
rate of the source audio.
plays the audio file at the sampling
rate you enter.
plays a stereo file. This option
is needed only for a raw data file with stereo data.
AUTHOR
was developed by HP.
NeXT is a trademark of NeXT Computers, Inc.
Microsoft is a trademark of Microsoft Corporation.
SEE ALSO audio(5), asecure(1M), aserver(1M), attributes(1), convert(1).
send_sound(1)
This is my first post!! I really hope this question hasn't been asked a thousand times before(I'll bet it has).
Anyway, here it is. I am new to the UNIX world by the way so forgive my ignorance. OK, whenever I write code on my windows machine and then try to port it over to UNIX I always get... (3 Replies)
I have a bottleneck in one of my applications...I have a loop that goes through a few thousand interations, but does quite a few things (digs info out of a database, sends the data to another application, etc...). I want to put in some debugging to determine what function calls are taking the most... (8 Replies)
Hi ,
How to check in a delimited : ", " file in unix, to count how many
records have missing info on any particular column in the header file?
Ex: Cntry,PST_DT,CC_CD,Amt (header info)
IL,23OCT2005,840,1.00 (data)
Basically I need to check how many records have missing information in... (3 Replies)
Hi All,
For one of my script I need to get the complete format of PS as result.
Actually in our application, we have to execute some program to get the data for batch files.
Now there is some java script is running on unix for this which is not identifiable.
I want to know how to... (2 Replies)
I have to display the file name followed by the line count then work count. I am able to display it in the opposite order, but can figure out how to switch it.
Can anyone help me with this it would be greatly appreciated.
My code is as follows:
#!/bin/bash
#
#Conts and displays the... (5 Replies)