|
@@ -495,6 +495,31 @@ unsigned cmScAlignScanToTimeLineEvent( cmScMatcher* p, cmTlH_t tlH, cmTlObj_t*
|
495
|
495
|
void cmScAlignScanMarkers( cmRpt_t* rpt, cmTlH_t tlH, cmScH_t scH );
|
496
|
496
|
|
497
|
497
|
//=======================================================================================================================
|
|
498
|
+/*
|
|
499
|
+Syntax: <loc> <mod> <var> <type> <params>
|
|
500
|
+ <loc> - score location
|
|
501
|
+ <mod> - name of the modulator
|
|
502
|
+ <var> - variable name
|
|
503
|
+ <type> - type of operation
|
|
504
|
+
|
|
505
|
+ <params>
|
|
506
|
+
|
|
507
|
+ <min> - set a variable min value
|
|
508
|
+ <max> - set a variable max value
|
|
509
|
+ <rate> - limit how often a variable is transmitted while it is ramping
|
|
510
|
+ <val> - type dependent value - see 'Types' below.
|
|
511
|
+ <end> - ending value for a ramping variable
|
|
512
|
+ <dur> - determines the length of time to get to the ending value
|
|
513
|
+
|
|
514
|
+ The value of parameters may be literal numeric values or may refer to
|
|
515
|
+ variables by their name.
|
|
516
|
+
|
|
517
|
+Types:
|
|
518
|
+ set = set <var> to <val> which may be a literal or another variable.
|
|
519
|
+ line = ramp from its current value to <val> over <dur> seconds
|
|
520
|
+ sline = set <var> to <val> and ramp to <end> over <dur> seconds
|
|
521
|
+
|
|
522
|
+ */
|
498
|
523
|
enum
|
499
|
524
|
{
|
500
|
525
|
kInvalidModTId,
|
|
@@ -535,7 +560,7 @@ typedef struct cmScModVar_str
|
535
|
560
|
unsigned phase; // cycle phase since activation
|
536
|
561
|
double min;
|
537
|
562
|
double max;
|
538
|
|
- double rate; // output rate in milliseconds
|
|
563
|
+ double rate; // output rate in milliseconds (use
|
539
|
564
|
struct cmScModEntry_str* entry; // last entry assoc'd with this value
|
540
|
565
|
struct cmScModVar_str* vlink; // p->vlist link
|
541
|
566
|
struct cmScModVar_str* alink; // p->alist link
|