ftp.nice.ch/pub/next/unix/audio/sms.N.bs.tar.gz#/sms/tools/printWindow.c

This is printWindow.c in view mode; [Download] [Up]

/*
 *
 *    program to print the values of the windows used in smsAnal
 *
 */

#import <sms/sms.h>

main (int argc, char *argv[])
{
	float window[1024];
	int windowType = 1, i;

	if (argc > 1)
		sscanf(argv[1],"%d",&windowType);

	GetWindow (1024, window, windowType);

	for (i = 0; i < 1024; i++)
		printf (" %d %f\n", i, window[i]);

	exit(0);
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.