Manual Reference Pages - SP_WEIGHTS (1)
sp_weights - Map auditory image frames onto spiral sector-weights contours. (Input and output in binary shorts).
sp_weights [arguments] [file]
Map auditory image onto spiral sector-weights contour. Read auditory image frames (using "output" model option so that frames have a pipes header for frame dimensions). Use either gensai or genspl output, (but remember that their default options are different, particularly pwidth, nwidth, and dencf). For each frame, write a sector-weights contour on the stdout, consisting of m binary shorts, where m is the given number of sectors.
The sector-weights are an economical representation of each frame (just 64 numbers per frame) from which both loudness and pitch-strength can be computed.
echo q | genspl output=stdout file | sp_weights > file.wts
Copyright (c) Applied Psychology Unit, Medical Research Council, 1995
Permission to use, copy, modify, and distribute this software without fee is hereby granted for research purposes, provided that this copyright notice appears in all copies and in all supporting documentation, and that the software is not redistributed for any fee (except for a nominal shipping charge). Anyone wanting to incorporate all or part of this software in a commercial product must obtain a license from the Medical Research Council.
The MRC makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|SunOS 5.6||SP_WEIGHTS (1)||1 September 1993|