writescratchInstrument Control:Sensing and Controlwritescratchwritescratch
writes a value into the scratchpad of the instance of an instrument.
Description
The writescratch opcode writes one of four
scalar values to be stored in the instance of an instrument.
Syntaxwritescratchival[, index]Initialisationival -- variable to write.
index -- which value to write, defaulting
to zero.
Examples
Here is an example of the writescratch opcode. It uses the file readscratch.csd.
Example of the writescratch opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoMiscellaneous opcodesCreditsAuthor: &namejohn;March 2013New in Csound version 6.00