Site Tools


documentation:development:opera:pf25:tktfldr:sdtfldr:8sdtd

LoadInstrument


LoadInstrument

Loads a DSP instrument file.

Synopsis

LoadInstrument <symbol> <file name>[<triggerable (1/0)>]

Argument

  • <symbol> New symbol in the instrument name space to give this instrument.
  • <file name> File name of a DSP instrument to load.
  • <triggerable> Optional switch to determine whether or not the instrument should respond to release and be restartable (i.e. instrument is affected by the A and B buttons).

When set to 1 (default), instrument responds to being started and released with the A and B buttons.

When set to 0, instrument is started when patch is first started (A or B button), but is not released or restarted by subsequent presses of the A or B buttons. This is useful for leaving some instruments running after the rest of the patch has been released (e.g. a delay line).

Examples

The following example shows a patch file that uses LoadInstrument.

LoadInstrument osc1 sawtooth.dsp                                        ; load sawtooth oscillator and 
                                        ; call it osc1 (for later 
                                        ; connections and knob        

                                    ; tweaking).

See Also

Connect, Tweak

documentation/development/opera/pf25/tktfldr/sdtfldr/8sdtd.txt · Last modified: 2022/10/10 16:54 by 127.0.0.1