ftp.nice.ch/pub/next/unix/audio/cmusic.bs.N.tar.gz#/Apps/Henon/MidiControl.h

This is MidiControl.h in view mode; [Download] [Up]

/* Generated by Interface Builder */

#import <objc/Object.h>
#import <appkit/appkit.h>
#include<midi/midi_server.h>		// For the midi Driver.
#include<midi/midi_timer.h>		// For the midi timer.
#include<midi/midi_error.h>		// For the midi timer.
#import <mach.h>			// For the ports.
#import <servers/netname.h>		// For the function netname_look_up

@interface MidiControl:Object
{
    float pitch, velocity;
    int mapping, running;
    int time;
    kern_return_t k_err;
    midi_dev_t dev_port;
    port_t owner_port, temp_port, xmit_port, timer_port;
    midi_cooked_data_t midi_data[2];	//Array of midi data.
}

+ new;				// We override the new method to make some
- setPitch:sender;		// initializations...
- setVelocity:sender;
- setMapping:sender;
- (int) getSizeOfQueue;
- start:sender;
- send:(float)x:(float)y:(float)speed;
- init;

@end

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