ftp.nice.ch/pub/next/unix/audio/cmix.s.tar.gz#/cmix/proto/sine.c

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

#include <math.h>
#include "/musr/H/ugens.h"
main()
{
	float incr;
	int i;
	incr = PI/10;
	for(i=0; i<21; i++) printf("%f\n",cos((float)i *incr));
}

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