scoreline

scoreline — Issues one or more score line events from an instrument.

Description

Scoreline will issue one or more score events, 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

scoreline Sin, ktring

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.

Example 411. Example


        instr 1
		 ktrig init 1
         scoreline {{
                       i 2  0  3  "flutec3.wav"
                       i 2  1  3  "clarc3.wav"
                     }}, ktrig
		 ktrig = 0
        endin
        
        instr 2
            aout soundin p4
            out aout
        endin


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

Credits

Author: Victor Lazzarini, 2007