//==============================================================
// Viola Section : Performance Staccato
//
// ... where the mod wheel increases the volume
//
//   by Paul Battersby - http://virtualplaying.com
//
//==============================================================

<control>
// set some sfz 2.0 default values
// mod wheel
set_cc1=64
// pan (not used but Sforzando will default to 0 = 100%L when
//  other CC settings are present)
set_cc10=64

//==============================================================
// Viola Section : Staccato
//
//   ViolaEnsSpic.sfz from Versilian Studios - http://vis.versilstudios.net/vsco-2.html
//
//   modified by Paul Battersby - http://virtualplaying.com
//
//==============================================================

// remove control and global opcodes - not good when merging with other files

<group>
volume=-44.5

// cc1 controls gain after lowering volume of all samples (PB)
gain_cc1=34
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60


// randomize like a real player(PB)
pitch_random=12
amp_random=1.5
delay_random=0.012



ampeg_attack=0.03
ampeg_release=4
ampeg_dynamic=1
 //Begin Group 1




seq_length=2


seq_position=1


group_label=gr_1


// removed low vel samples - seems unnecessary (PB)


<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_A3_v2_rr1-PB.wav
lokey=67
hikey=70
pitch_keycenter=69
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_B2_v2_rr1-PB.wav
lokey=57
hikey=60
pitch_keycenter=59
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_B4_v2_rr1-PB.wav
lokey=81
hikey=84
pitch_keycenter=83
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_C2_v2_rr1-PB.wav
lokey=48
hikey=51
pitch_keycenter=48
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_C4_v2_rr1-PB.wav
lokey=71
hikey=73
pitch_keycenter=72
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_D3_v2_rr1-PB.wav
lokey=61
hikey=63
pitch_keycenter=62
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_D5_v2_rr1-PB.wav
lokey=85
hikey=93
pitch_keycenter=86
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_E2_v2_rr1-PB.wav
lokey=52
hikey=53
pitch_keycenter=52
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_E4_v2_rr1-PB.wav
lokey=74
hikey=77
pitch_keycenter=76
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_F3_v2_rr1-PB.wav
lokey=64
hikey=66
pitch_keycenter=65
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_G2_v2_rr1-PB.wav
lokey=54
hikey=56
pitch_keycenter=55
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_G4_v2_rr1-PB.wav
lokey=78
hikey=80
pitch_keycenter=79
lovel=0
hivel=127



<group>
volume=-44.5

// cc1 controls gain after lowering volume of all samples (PB)
gain_cc1=34
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60


// randomize like a real player(PB)
pitch_random=12
amp_random=1.5
delay_random=0.012



ampeg_attack=0.03
ampeg_release=4
ampeg_dynamic=1
 //Begin Group 2




seq_length=2


seq_position=2


group_label=gr_2


<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_A3_v2_rr2-PB.wav
lokey=67
hikey=70
pitch_keycenter=69
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_B2_v2_rr2-PB.wav
lokey=57
hikey=60
pitch_keycenter=59
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_B4_v2_rr2-PB.wav
lokey=81
hikey=84
pitch_keycenter=83
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_C2_v2_rr2-PB.wav
pan=-10

lokey=48
hikey=51
pitch_keycenter=48
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_C4_v2_rr2-PB.wav
lokey=71
hikey=73
pitch_keycenter=72
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_D3_v2_rr2-PB.wav
lokey=61
hikey=63
pitch_keycenter=62
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_D5_v2_rr2-PB.wav
lokey=85
hikey=93
pitch_keycenter=86
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_E2_v2_rr2-PB.wav
lokey=52
hikey=53
pitch_keycenter=52
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_E4_v2_rr2-PB.wav
lokey=74
hikey=77
pitch_keycenter=76
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_F3_v2_rr2-PB.wav
lokey=64
hikey=66
pitch_keycenter=65
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_G2_v2_rr2-PB.wav
lokey=54
hikey=56
pitch_keycenter=55
lovel=0
hivel=127



<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\spic\Violas_spic_G4_v2_rr2-PB.wav
lokey=78
hikey=80
pitch_keycenter=79
lovel=0
hivel=127






//==============================================================
// Viola Section : Sustain
//
//   Violas Sus.sfz     from Mattias Westlund - http://mattiaswestlund.net
//   ViolaEnsSusVib.sfz from Versilian Studios - http://vis.versilstudios.net/vsco-2.html
//
//   modified by Paul Battersby - http://virtualplaying.com
//
//==============================================================

<group>
// manufacture staccato from sustain (PB)
ampeg_attack=0.03
ampeg_sustain=0
ampeg_hold=0.08
ampeg_decay=0.2
ampeg_release=0.2

// cc1 controls gain after lowering volume of all samples (PB)
gain_cc1=34
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60


// randomize like a real player(PB)
pitch_random=12
amp_random=1.5
delay_random=0.012




volume=-38.68







<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_c3.wav
lokey=c3
hikey=c#3
pitch_keycenter=c3

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_d#3.wav
lokey=d3
hikey=e3
pitch_keycenter=d#3
volume=-41.5

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_f#3.wav
lokey=f3
hikey=g3
pitch_keycenter=f#3
volume=-41.5

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_a3.wav
lokey=g#3
hikey=a#3
pitch_keycenter=a3
volume=-41

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_c4.wav
lokey=b3
hikey=c#4
volume=-41

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_d#4.wav
lokey=d4
hikey=e4
pitch_keycenter=d#4
volume=-41

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_f#4.wav
lokey=f4
hikey=g4
pitch_keycenter=f#4
volume=-42

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_a4.wav
lokey=g#4
hikey=a#4
pitch_keycenter=a4
volume=-42

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_c5.wav
lokey=b4
hikey=c#5
pitch_keycenter=c5

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_d#5.wav
lokey=d5
hikey=e5
pitch_keycenter=d#5
volume=-42

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_f#5.wav
lokey=f5
hikey=g5
pitch_keycenter=f#5
volume=-39

// noise reduction (PB)
eq1_freq=58.9
eq1_bw=4
eq1_gain=-12.4

eq2_freq=249.2
eq2_bw=2.29
eq2_gain=-12.0

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_a5.wav
lokey=g#5
hikey=a#5
pitch_keycenter=a5
volume=-39

// noise reduction (PB)
eq1_freq=58.9
eq1_bw=4
eq1_gain=-12.4

eq2_freq=249.2
eq2_bw=2.29
eq2_gain=-12.0

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_c6.wav
lokey=b5
hikey=c#6
pitch_keycenter=c6
volume=-38

// noise reduction (PB)
eq1_freq=58.9
eq1_bw=4
eq1_gain=-12.4

eq2_freq=379.5
eq2_bw=2.29
eq2_gain=-10.6

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_d#6.wav
lokey=d6
hikey=e6
pitch_keycenter=d#6
volume=-39

// noise reduction (PB)
eq1_freq=55.0
eq1_bw=4
eq1_gain=-12.2

eq2_freq=422.5
eq2_bw=1.86
eq2_gain=-12.8

<region>
sample=..\libs\Mattias-Westlund\ViolaSect\Samples\Violas_f#6.wav
lokey=f6
hikey=g6
pitch_keycenter=f#6
volume=-38

// noise reduction (PB)
eq1_freq=58.9
eq1_bw=4
eq1_gain=-12.4

eq2_freq=543.3
eq2_bw=2.29
eq2_gain=-12.6

// remove control and global opcodes - not good when merging with other files

<group>
// manufacture staccato from sustain (PB)
ampeg_attack=0.03
ampeg_sustain=0
ampeg_hold=0.08
ampeg_decay=0.2
ampeg_release=0.2

// cc1 controls gain after lowering volume of all samples (PB)
gain_cc1=34
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60


// longer attack (PB)





volume=-37.25

// randomize like a real player(PB)
pitch_random=12
amp_random=1.5
delay_random=0.012



 //Begin Group for entire instrument



// removed low velocity samples - many didn't sound right (PB)


<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\susvib\ViolaEns_susvib_A3_v2_1-PB-loop.wav
lokey=67
hikey=70
pitch_keycenter=69
lovel=0
hivel=127
volume=-29.25


<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\susvib\ViolaEns_susvib_B2_v2_1-PB-loop.wav
lokey=57
hikey=60
pitch_keycenter=59
lovel=0
hivel=127
volume=-29.25


<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\susvib\ViolaEns_susvib_B4_v2_1-PB-loop.wav
offset=2198
lokey=81
hikey=84
pitch_keycenter=83
lovel=0
hivel=127
volume=-24.25
// noise reduction (PB)
eq1_freq=130
eq1_bw=4
eq1_gain=-20.8

eq2_freq=582.4
eq2_bw=0.41
eq2_gain=-11.2


// removed ViolaEns_susvib_C2 (PB)

<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\susvib\ViolaEns_susvib_C4_v2_1-PB-loop.wav
lokey=71
hikey=73
pitch_keycenter=72
lovel=0
hivel=127
volume=-28.25


<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\susvib\ViolaEns_susvib_D2_v2_1-PB-loop.wav
lokey=48
hikey=50
pitch_keycenter=50
lovel=0
hivel=127
volume=-28.25


<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\susvib\ViolaEns_susvib_D3_v2_1-PB-loop.wav
lokey=61
hikey=63
pitch_keycenter=62
lovel=0
hivel=127
volume=-27.25


<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\susvib\ViolaEns_susvib_D5_v2_1-PB-loop.wav
lokey=85
hikey=93
pitch_keycenter=86
lovel=0
hivel=127
volume=-26.25
// noise reduction (PB)
eq1_freq=130
eq1_bw=4
eq1_gain=-20.8

eq2_freq=667.8
eq2_bw=0.64
eq2_gain=-10.8


<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\susvib\ViolaEns_susvib_E2_v2_1-PB-loop.wav
lokey=51
hikey=53
pitch_keycenter=52
lovel=0
hivel=127
volume=-25.25


<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\susvib\ViolaEns_susvib_E4_v2_1-PB-loop.wav
pan=7

lokey=74
hikey=77
pitch_keycenter=76
lovel=0
hivel=127
volume=-29.25


<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\susvib\ViolaEns_susvib_F3_v2_1-PB-loop.wav
lokey=64
hikey=66
pitch_keycenter=65
lovel=0
hivel=127
volume=-27.25


<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\susvib\ViolaEns_susvib_G2_v2_1-PB-loop.wav
lokey=54
hikey=56
pitch_keycenter=55
lovel=0
hivel=127
volume=-28.25


<region>
sample=..\libs\VSCO2-CE\Strings\Viola Section\susvib\ViolaEns_susvib_G4_v2_1-PB-loop.wav
lokey=78
hikey=80
pitch_keycenter=79
lovel=0
hivel=127
volume=-26.25
// noise reduction (PB)
eq1_freq=130
eq1_bw=4
eq1_gain=-20.8

eq2_freq=399.4
eq2_bw=0.41
eq2_gain=-11.0






