This is osciln.c in view mode; [Download] [Up]
float osciln(amp,si,farray,len,phs)
float amp,si,*farray,*phs;
register len;
{
register i = *phs;
*phs += si;
while(*phs >= len)
*phs -= len;
while(*phs < 0)
*phs += len;
return(*(farray+i) * amp);
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.