Csound Csound-dev Csound-tekno Search About

Announcement: Snd utils for linux.

Date1998-10-06 18:14
FromCharles Baker
SubjectAnnouncement: Snd utils for linux.
This is just to say I've used Bill Schottstaedt's excellent sndlib
routines to give another life to
some grand old cmd line tools of software synthesis..'sndin', 'sndout' &
'sndnorm' (More to follow).These are built around the c i/o stdin stdout
stderr model. the original versions of this software come from the CARL
project at UCSD and IRCAM of about 12 or so (!) years ago. They have
been completely re-written to now open many styles of sound files. I
imagine they will port fairly easily, but as I did this quickly over the
weekend, all I have is the linux version (glibc..RH5.1 binary). I
include source, so go to proting  it, if I don't beat ya to it....
To get them:  utils.tar.gz
look at
http://www.charlieb.com/
(my insanely out-of-date home page)
or
ftp://ftp.charlieb.com/
(public ftp on same)

Have fun!
Char lieB

Here is the list of supported formats:
headers supported read/write
       NeXT/Sun/DEC/AFsp
       AIFF/AIFC
       RIFF (Microsoft wave)
       IRCAM (old style)
       no header
headers supported read-only
       8SVX (IFF), EBICSF, INRS, ESPS,
       SPPACK, ADC (OGI), NIST-SPHERE, AVR, VOC,
       Sound Tools, Turtle Beach SMP, SoundFont 2.0,
       Sound Designer I and II, PSION, MAUD,
       Tandy DeskMate, Gravis Ultrasound,
       Comdisco SPW, Goldwave sample, omf, quicktime
       Sonic Foundry, SBStudio II, Delusion digital,
       Digiplayer ST3, Farandole Composer WaveSample,
       Ultratracker WaveSample, Sample Dump exchange,
       Yamaha SY85 and TX16, Covox v8, SPL, AVI
Incomplete: OMF, AVI, QuickTime, SoundFont 2.0.
Not handled: ASF, Esignal, ILS, HTK, DVSM, SoundEdit.

The usage for these are as follows:
*************
usage: sndnorm [flags] filename(s)
        -v      verbose
        -f      output floating point file
        -o name output filename
        -l n    limiter n (0. - 1.)
*************
usage: sndin [flags] [filename] > output
output format:
        if stdout is a tty, writes arabic numbers,
        else if stdout is a file or pipe, writes floatsams
flags:
-oX     X overrides default output format, X can be
                f pipe: floatsams, tty: floating point
                s pipe: shortsams, tty: integer
-t force arabic output (even if output is file or pipe)
-bN      set begin time to N
-eN      set end time to N
-dN      set duration to N
-cS     S is a comma-separated list of selected channel numbers
-H        suppress generating header.
default usage: sndin -of test
*************
usage: sndout [flags] [filename] < input
input format:
        if stdin is a tty, reads arabic numbers,
        else if stdin is a file or pipe, reads floatsams
flags:
-iX     X overrides default input format
-oX     X overrides default output format, X can be
                f pipe: floatsams, tty: floating point
                s pipe: shortsams, tty: integer
        NOW ONLY flot to flot AND short to short IMPLEMENTED
-t force arabic input (even if input is file or pipe)
-bN      set begin time to N
-eN      set end time to N
-dN      set duration to N
-RN      set sampling rate to N
-pN      set protection to N
-n       don't overwrite file if already exists

 and one and only one of:
-A       output AIFF file
-W       output WAV file
-J       output IRCAM file
-S       output raw file (no header)
-X       output NeXT soundfile
default usage: sndout -I -if -os test