d Statement (De Note Statement)

d — removes an active instrument at a specific time.


This statement calls for an instrument that has been held to be removed at a specific time.


i  p1  p2  p3  p4


p1 -- Instrument number. An optional fractional part can provide an additional tag for specifying ties between particular notes of consecutive clusters.

p2 -- Starting time in arbitrary units called beats.

p3 -- ignored but required. Usually zero.


Beats are evaluated as seconds, unless there is a t statement in this score section or a -t flag in the command-line.

Action times are relative to the beginning of a section ( see s statement), which is assigned time 0.

Note statements within a section may be placed in any order. Before being sent to an orchestra, unordered score statements must first be processed by Sorter, which will reorder them by ascending p2 value. Notes with the same p2 value will be ordered by ascending p1; if the same p1, then by ascending p3.


Here is an example of the d statement. It uses the file d_statement.csd.

Example 1215. Example of the d statement.


instr 1
  a1  oscil 10000, 440
      out   a1
instr sound
  a1  oscil 10000, 440
      out   a1

f 0 10
i 1 0 -1
d 1 1 0

i "sound" 3 -1
i "-sound" 4 0



Author: John ffitch, new in version 6.09.