turnoff3
Prev | Orchestra Opcodes and Operators | Next

## turnoff3

turnoff3 — Turn off instance(s) of other instruments at performance time in the queue of scheduled events.

## Description

Turn off instance(s) of other instruments at performance time in the queue of scheduled events.

## Syntax

    turnoff3 kinsno

## Performance

kinsno -- instrument to be turned off (can be fractional) if zero or negative, no instrument is turned off

## Examples

The following example uses the turnoff3 opcode.

Example 1138. Example of the turnoff3 opcode.

See the sections Real-time Audio and Command Line Flags for more information on using command line flags.

    <CsoundSynthesizer>

    <CsInstruments>
    instr 1
      print p2
      turnoff3 1
      schedule  1,6,0.1
      endin

    </CsInstruments>

    <CsScore>
    i1 0 0.1
    i1 1 0.1
    i1 2 0.1
    i1 3 0.1
    i1 4 0.1
    i1 5 0.1
    e
    </CsScore>

    </CsoundSynthesizer>

## See also

Duration Control Statements

## Credits

Author: John ffitch
2020

New in Csound 6.16

Prev | Up | Next
turnoff2 | Home | turnon