322 |
|
|
323 |
// amplifier |
// amplifier |
324 |
volume = 0; |
volume = 0; |
325 |
|
volume_oncc.clear(); |
326 |
|
volume_curvecc.clear(); |
327 |
pan = 0; |
pan = 0; |
328 |
width = 100; |
width = 100; |
329 |
position = 0; |
position = 0; |
450 |
cutoff_cc = 0; |
cutoff_cc = 0; |
451 |
|
|
452 |
eg.clear(); |
eg.clear(); |
453 |
|
lfos.clear(); |
454 |
|
|
455 |
// deprecated |
// deprecated |
456 |
ampeg_delay = 0; |
ampeg_delay = 0; |
467 |
ampeg_vel2decay = 0; |
ampeg_vel2decay = 0; |
468 |
ampeg_vel2sustain = 0; |
ampeg_vel2sustain = 0; |
469 |
ampeg_vel2release = 0; |
ampeg_vel2release = 0; |
470 |
|
|
471 |
|
ampeg_delaycc.clear(); |
472 |
|
ampeg_startcc.clear(); |
473 |
|
ampeg_attackcc.clear(); |
474 |
|
ampeg_holdcc.clear(); |
475 |
|
ampeg_decaycc.clear(); |
476 |
|
ampeg_sustaincc.clear(); |
477 |
|
ampeg_releasecc.clear(); |
478 |
|
|
479 |
fileg_delay = 0; |
fileg_delay = 0; |
480 |
fileg_start = 0; //in percentage |
fileg_start = 0; //in percentage |
512 |
amplfo_fade = 0; |
amplfo_fade = 0; |
513 |
amplfo_freq = -1; /* -1 is used to determine whether the LFO was initialized */ |
amplfo_freq = -1; /* -1 is used to determine whether the LFO was initialized */ |
514 |
amplfo_depth = 0; |
amplfo_depth = 0; |
515 |
|
amplfo_freqcc.clear(); |
516 |
|
|
517 |
fillfo_delay = 0; |
fillfo_delay = 0; |
518 |
fillfo_fade = 0; |
fillfo_fade = 0; |
519 |
fillfo_freq = -1; /* -1 is used to determine whether the LFO was initialized */ |
fillfo_freq = -1; /* -1 is used to determine whether the LFO was initialized */ |
520 |
fillfo_depth = 0; |
fillfo_depth = 0; |
521 |
|
fillfo_freqcc.clear(); |
522 |
|
|
523 |
pitchlfo_delay = 0; |
pitchlfo_delay = 0; |
524 |
pitchlfo_fade = 0; |
pitchlfo_fade = 0; |
525 |
pitchlfo_freq = -1; /* -1 is used to determine whether the LFO was initialized */ |
pitchlfo_freq = -1; /* -1 is used to determine whether the LFO was initialized */ |
526 |
pitchlfo_depth = 0; |
pitchlfo_depth = 0; |
527 |
|
pitchlfo_freqcc.clear(); |
528 |
} |
} |
529 |
|
|
530 |
Region* |
Region* |
604 |
|
|
605 |
// amplifier |
// amplifier |
606 |
region->volume = volume; |
region->volume = volume; |
607 |
|
region->volume_oncc = volume_oncc; |
608 |
|
region->volume_curvecc = volume_curvecc; |
609 |
region->pan = pan; |
region->pan = pan; |
610 |
region->width = width; |
region->width = width; |
611 |
region->position = position; |
region->position = position; |