(Important note: SOX is now becoming part of many Linux installs inside '/usr/bin/'.)
-q = run without animation and verbose mode.
-b = bit depth, 8 bit depth here.
-r = sample rate 8000Hz.
-v = volume level, 1 is the normal maximum.
-e = encoding, unsigned-integer here.
-d = playback mode when after the filename being played.
trim 0 00:02 = play the 8 second file for 2 seconds.
-c = number of channels, not rquired here.
There is much much more!
The sox manual is extensive and what it can't do is not worth doing.
Last edited by wisecracker; 04-06-2016 at 01:09 PM..
Reason: Correct 'dd' count size...
Is there a unix command to find out what type of graphics card you have installed and to see other hardware settings? Any help would be appreciated. I'm using Solaris 7. :D
Thanks,
NH (7 Replies)
Hi, Gurus !
I need to find out how I can control the sound in UNIX.
I have got a pair of USB speakers which do not have any volume controls.
Is there any tool in Solaris 2.9 to control the volume ?
Thanks
D
:eek: (0 Replies)
Hi,
I am new to this forum and hope someone can help. Does anyone know how to restore a Solaris 9 backup tape from server A to a completely different server B hardware. Both boxes are sun 64bit.
Your help is much appreciated.
Thank you
Jan. (5 Replies)
I'm trying to determine the End of Service Life for some of our Solaris servers, and I'm not sure if our servers are ROHS compliant. Is there a command to determine if the server is ROHS? If not, is there somewhere on the chasis where I can find this information? (2 Replies)
hi :),
i am new to this forum and i am in need of some help. one of my friend i having a Sun Ultra 2 UPA/Sbus (UltraSPARC-II 296Mhz) 640 MB ram. i am not sure if that configuration will be helpful to try out some sysadmin commands. this machine has a 21-inch monster monitor, which i think... (5 Replies)
Hello,
Im working on solaris 9 and I need to write script which monitoring
several hardware componenets for any failures such as memory , Disks , power supply etc.
I using prtdiag to extract this info.
What should I check in the output for :
Memory (Is the block of "Memory Module Groups"... (1 Reply)
HP-UX B.11.23 U ia64
model: HP RX7640/4
What commands can I issue to find out quantity/type of memory and CPUs?
I know what I get from Glance but want to know if there are OS commands to get same or additional information.
Thanks.
Lisa (4 Replies)
Hello Friends,
I have installed Solaris 10 on on Sun Virtual Box. I am able to browse internet on solaris 10 thru firefox, however I am not getting sound, there is cross on the tray icon of sound.
Please help with this !!
Regards,
Sahil (3 Replies)
I'm new to Solaris. I was able to installed Solaris 11 running GNOME. I tried to detect sound/audio but the message given that "No volume control GStreamer plugins and/or devices found". There is no dev/audio but there are audio drivers such as gstreamer installed when I checked using Solaris... (0 Replies)
First, forgive me if this is a stupid questions that I should have asked in the non-expert forum. It seems like a hard questions to me.
Is there a way to find the hardware model name from the command line on UNIX machines in general?
I want to find out what kind of machines are running at a... (5 Replies)
Discussion started by: Pug
5 Replies
LEARN ABOUT OPENSOLARIS
soxi
SoXI(1) Sound eXchange SoXI(1)NAME
SoXI - Sound eXchange Information, display sound file metadata
SYNOPSIS
soxi [-V[level]] [-T] [-t|-r|-c|-s|-d|-D|-b|-B|-e|-a] infile1 ...
DESCRIPTION
Displays information from the header of a given audio file or files. Supported audio file types are listed and described in soxformat(7).
Note however, that soxi is intended for use only with audio files with a self-describing header.
By default, as much information as is available is shown. An option may be given to select just a single piece of information (perhaps for
use in a script or batch-file).
OPTIONS -V Set verbosity. See sox(1) for details.
-T Used with multiple files; changes the behaviour of -s, -d and -D to display the total across all given files. Note that when used
with -s with files with different sampling rates, this is of questionable value.
-t Show detected file-type.
-r Show sample-rate.
-c Show number of channels.
-s Show number of samples (0 if unavailable).
-d Show duration in hours, minutes and seconds (0 if unavailable). Equivalent to number of samples divided by the sample-rate.
-D Show duration in seconds (0 if unavailable).
-b Show number of bits per sample.
-B Show the bitrate averaged over the whole file (0 if unavailable).
-e Show the name of the audio encoding.
-a Show file comments (annotations) if available.
BUGS
Please report any bugs found in this version of SoX to the mailing list (sox-users@lists.sourceforge.net).
SEE ALSO sox(1), soxformat(7), libsox(3)
The SoX web site at http://sox.sourceforge.net
LICENSE
Copyright 2008-9 by Chris Bagwell and SoX Contributors.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
AUTHORS
Chris Bagwell (cbagwell@users.sourceforge.net). Other authors and contributors are listed in the ChangeLog file that is distributed with
the source code.
soxi February 19, 2011 SoXI(1)