//==============================================================
// Solo English Horn : Performance
//
//   This is a combination of
//
//     english-horn-SOLO-sustain.sfz
//     english-horn-SOLO-staccato.sfz
//
//   ... where high key velocity reduces the sample attack time
//       and 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

//==============================================================
//  Solo English Horn : Sustain
//
//   Woodwinds - Cor Anglais Solo.sfz from Sonatina Symphonic Orchestra - http://sso.mattiaswestlund.net
//
//   modified by Paul Battersby - http://virtualplaying.com
//
//==============================================================

// ------------------------------
//  Sonatina Symphonic Orchestra
// ------------------------------
//          Cor Anglais
// ------------------------------

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

// reduce attack with increased key velocity (PB)
ampeg_attack=1
ampeg_vel2attack=-2

// simulate accent by delaying sustain at higher velocity (PB)
delay_cc1=0.06


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




ampeg_release=0.442

<region>
sample=..\libs\SSO\Samples\Cor Anglais\cor_anglais-f3-PB-loop.wav
volume=-24
lokey=e3 // extend range (PB)
hikey=f#3
pitch_keycenter=f3

<region>
sample=..\libs\SSO\Samples\Cor Anglais\cor_anglais-g#3-PB-loop.wav
tune=-5
volume=-26
pitchlfo_freq=5.531 // PB
pitchlfo_depth=10
pitchlfo_delay=1
pitchlfo_fade=2
lokey=g3
hikey=a3
pitch_keycenter=g#3

<region>
sample=..\libs\SSO\Samples\Cor Anglais\cor_anglais-b3-PB-loop.wav
volume=-26
lokey=a#3
hikey=c4
pitch_keycenter=b3
tune=0

<region>
sample=..\libs\SSO\Samples\Cor Anglais\cor_anglais-d4-PB-loop.wav
volume=-26
lokey=c#4
hikey=d#4
pitch_keycenter=d4
tune=-9
pitchlfo_freq=6.531 // PB
pitchlfo_depth=10
pitchlfo_delay=1
pitchlfo_fade=1

<region>
sample=..\libs\SSO\Samples\Cor Anglais\cor_anglais-f4-PB-loop.wav
volume=-24.5
lokey=e4
hikey=f#4
pitch_keycenter=f4
tune=-12

<region>
sample=..\libs\SSO\Samples\Cor Anglais\cor_anglais-g#4-PB-loop.wav
volume=-24
lokey=g4
hikey=a4
pitch_keycenter=g#4

<region>
sample=..\libs\SSO\Samples\Cor Anglais\cor_anglais-b4-PB-loop.wav
volume=-24
lokey=a#4
hikey=c5
pitch_keycenter=b4
pitchlfo_freq=6.531 // PB
pitchlfo_depth=10
pitchlfo_delay=1
pitchlfo_fade=1

<region>
sample=..\libs\SSO\Samples\Cor Anglais\cor_anglais-d5-PB-loop.wav
volume=-24
lokey=c#5
hikey=d#5
pitch_keycenter=d5

<region>
sample=..\libs\SSO\Samples\Cor Anglais\cor_anglais-f5-PB-loop.wav
volume=-21
lokey=e5
hikey=a#5 // extend range (PB)
pitch_keycenter=f5
tune=-8



//==============================================================
// English Horn Solo : Staccato
//
// modified and mapped by Paul Battersby - http://virtualplaying.com
//
// The samples from Philharmonia Orchestra - http://www.philharmonia.co.uk/explore/make_music
//
// Licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
// https://creativecommons.org/licenses/by-sa/3.0/deed.en_GB
//
// This file by Paul Battersby - http://virtualplaying.com
// is licensed under:
//
// Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
// https://creativecommons.org/licenses/by-sa/4.0/
//
//==============================================================

<group>
volume=-35

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

// fade in the staccato samples with key velocity (PB)
xfin_lovel=63
xfin_hivel=127


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



// get rid of any leading or trailing clicks
ampeg_attack=0.03
ampeg_decay=0.06

ampeg_release=0.6

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/E3-stac-PB.wav
pitch_keycenter=e3
lokey=e3
hikey=f#3

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/G#3-stac-PB.wav
pitch_keycenter=g#3
lokey=g3
hikey=a3
volume=-34

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/A#3-stac-PB.wav
pitch_keycenter=a#3
lokey=a#3
hikey=d4
volume=-34

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/F4-stac-PB.wav
pitch_keycenter=f4
lokey=d#4
hikey=f4
volume=-33

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/F#4-stac-PB.wav
pitch_keycenter=f#4
lokey=f#4
hikey=f#4
volume=-32

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/G4-stac-PB.wav
pitch_keycenter=g4
lokey=g4
hikey=a4
volume=-34

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/A#4-stac-PB.wav
pitch_keycenter=a#4
lokey=a#4
hikey=c5
volume=-34.5

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/D5-stac-PB.wav
pitch_keycenter=d5
lokey=c#5
hikey=d5
volume=-33.5

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/D#5-stac-PB.wav
pitch_keycenter=d#5
lokey=d#5
hikey=e5
volume=-34

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/F5-stac-PB.wav
pitch_keycenter=f5
lokey=f5
hikey=f5
volume=-34

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/F#5-stac-PB.wav
pitch_keycenter=f#5
lokey=f#5
hikey=f#5
volume=-34

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/G5-stac-PB.wav
pitch_keycenter=g5
lokey=g5
hikey=g#5
volume=-34

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/A5-stac-PB.wav
pitch_keycenter=a5
lokey=a5
hikey=a5

<region>
sample=..\libs\Philharmonia\Samples/English-Horn/B5-stac-PB.wav
pitch_keycenter=b5
lokey=a#5
hikey=a#5
volume=-33


