an open-source digital signal processing and sound synthesis language
about · links · contact
makeinstrument - create handle for CHAIN


Synopsis

inst_handle = makeinstrument("INSTRUMENT_NAME", inst_arg0, inst_arg1, ...);


Description

makeinstrument is used to create handles for instruments that will become the arguments to the CHAIN instrument. These are functionally identical to instruments created in the normal fashion.


Arguments

INSTRUMENT_NAME
The name of the instrument to be created. This will always match the name that would have been used in a normal instrument call.
inst_arg0, inst_arg1, ...
The first, second, etc., arguments that would have been handed to the instrument in a normal call.


Examples

Example: Create a TRANS instrument handle:

	outskip = 0;
	inskip = 0;
	dur = 2;
	amp = 100;
	transposition = -0.09;

	trans = makeinstrument("TRANS", outskip, inskip, dur, amp, transposition);


See Also

CHAIN