This is oscil.c in view mode; [Download] [Up]
float oscil(amp,si,farray,len,phs)
float amp,si,*farray,*phs;
register len;
{
register i = *phs;
*phs += si;
while(*phs >= len)
*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.