an open-source digital signal processing and sound synthesis language
about · links · contact
sfhedit - edit soundfile header

Synopsis

sfhedit [ -c num_channels ] [ -i | -f ] [ -p ] [ -r sampling_rate ] [ -w ] [ -z ] file_name


Description

sfhedit lets you edit some parts of a soundfile header. Without a file_name argument, sfhedit just prints a help summary.


Options

-c num_channels
Set the number of channels to num_channels.

-f
Set the sample data format to floating-point.

-i
Set the sample data format to 16-bit (short) integer.

-p
Interactively asks you for the peak amplitude and frame location for each channel.

-r sampling_rate
Set the sampling rate to sampling_rate.

-w
Throws you into vi so you can edit the comment.

-z
Truncates the data in the file, leaving only the header.


Bugs

There are currently some problems with this program. Don't use it on anything irreplaceable.


See Also

sfprint, sfcreate, sffixsize