This is Delaymain.m in view mode; [Download] [Up]
#import <objc/objc.h>
#import "Delay.h"
main ( argc, argv )
int argc;
char *argv[];
{
id aDelay,bDelay;
float val2,val,val3;
int i;
aDelay = [ Delay create];
bDelay = [ Delay create];
[aDelay size:.1 sRate:44100];
// [bDelay size:1 sRate:30];
for(i=0; i<500000; i++) {
[aDelay put:(float)i];
// [bDelay put:(float)i*10];
val = [aDelay get:.25];
val2 = [aDelay get:.5];
// printf("%d %f %f\n",i,val,val2);
}
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.