scoreline
Issues one or more score line events from an instrument.
If ktrig is 1 every k-period. It can handle strings in the same conditions as the standard score. Multi-line strings are accepted, using {{ }} to enclose the string.
Syntax
Initialization
“Sin” -- a string (in double-quotes or enclosed by {{ }}) containing one or more score events.
Performance
ktrig -- event trigger, 1 issues the score event, 0 bypasses it.
Examples
Here is an example of the scoreline opcode. It uses the file scoreline.csd.
You can use string opcodes like sprintfk to produce strings to be passed to scoreline like this:
Sfil = "/Volumes/Bla/file.aif"
String sprintfk {{i 2 0 %f "%s" %f %f %f %f}}, idur, Sfil, p5, p6, knorm, iskip
scoreline String, ktrig
See also
More information on this opcode: http://www.csoundjournal.com/issue15/phrase_loops.html written by Jim Aikin, and in the Floss Manuals: https://flossmanual.csound.com/csound-language/live-events.
Credits
Author: Victor Lazzarini, 2007