ftp.nice.ch/pub/next/unix/audio/cmix.s.tar.gz#/cmix/cmd/pchcpslookup.c

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

#include <math.h>
main(argc,argv)

int argc;
char *argv[];
{
	float pchcps();
	int i;
	if(argc == 1) {
		printf("you must specify pitch in hz\n");
		exit(0);
	}
	for(i=1; i< argc; i++)
		printf("%f = %f\n",atof(argv[i]),pchcps(atof(argv[i])));
}

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