v Statement
Provides for locally variable time warping of score events.
Syntax
Initialization
p1 -- Time warp factor (must be positive).
Performance
The v statement takes effect with the following i statement, and remains in effect until the next v statement, s statement, or e statement.
Examples
The value of p1 is used as a multiplier for the start times (p2) of subsequent i statements.
In this example, the second note occurs two beats after the first note, and is twice as long.
Although the v statement is similar to the t statement, the v statement is local in operation. That is, v affects only the following notes, and its effect may be cancelled or changed by another v statement.
Carried values are unaffected by the v statement (see Carry).
In this example, the v statement has no effect.
Examples
Here is an example of the v statement. It uses the file v.csd.
In this example, note3 and note5 occur simultaneously, while note4 actually occurs before note3, that is, at its original place. Durations are unaffected.