next up previous contents
Next: Maintaining state. Up: Using OX_API Previous: Param_specs.

   
Creating a machine type and telling the host about yourself

OCTAL's machine_type structure holds information about the kind of machine you're making. You'll need a long name (including the author's name), a short name (like ``delay'' or ``sampler''), the maximum number of tracks, the number of parameters you have1.1, and the address of your array of param_spec structures.

You'll also need to tell Octal about your input and output channels. One and two are mono and stereo, respectively. Zero input channels would mean that your machine is a ``pure generator'' which does not accept any audio input.



David O'Toole
2000-07-19