//==============================================================
// All Brass Solo : Performance + Panned
//
//   This is a combination of:
//
//     tuba-SOLO-PERF.sfz
//     trombone-SOLO-PERF.sfz
//     french-horn-SOLO-PERF.sfz
//     trumpet-SOLO-PERF.sfz
//
//   ... where high key velocity reduces the sample attack time
//       and the mod wheel increases the volume
//       and the instruments are panned to their proper
//       orchestra seating positions
//
//   by Paul Battersby - http://virtualplaying.com
//
//==============================================================

//==============================================================
// Tuba Solo : Performance
//
//   This is a combination of
//
//     Tuba-SOLO-sustain.sfz
//     Tuba-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
//
//==============================================================


//==============================================================
// Tuba Solo : Sustain
//
//   Brass - Tuba Sustain.sfz from Sonatina Symphonic Orchestra - http://sso.mattiaswestlund.net
//
//   samples and .sfz modified by Paul Battersby - http://virtualplaying.com
//
//==============================================================

// ------------------------------
//  Sonatina Symphonic Orchestra
// ------------------------------
//         Tuba Sustain
// ------------------------------

<group>
pan=50
xfout_lokey=b1
xfout_hikey=d2
volume=-28

// cc1 controls gain after lowering volume of all samples (PB)
gain_cc1=24
// 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.03

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




ampeg_release=0.645
fil_veltrack=11000
fil_type=lpf_2p
cutoff=120

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-sus-e1-PB-loop.wav
volume=-23

lokey=d1
hikey=f1
pitch_keycenter=e1
tune=-3

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-sus-g1-PB-loop.wav
volume=-22

lokey=f#1
hikey=g#1
pitch_keycenter=g1
tune=5

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-sus-a#1-PB-loop.wav
volume=-24

lokey=a1
hikey=b1
pitch_keycenter=a#1

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-sus-c#2-PB-loop.wav
volume=-21

lokey=c2
hikey=d2
pitch_keycenter=c#2
tune=-14

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-sus-e2-PB-loop.wav
volume=-23

lokey=d#2
hikey=e2
pitch_keycenter=e2
tune=-17

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-sus-g2-PB-loop.wav
volume=-21

lokey=f2
hikey=g#2
pitch_keycenter=g2

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-sus-a#2-PB-loop.wav

delay_cc1=0.0
volume=-21

lokey=a2
hikey=b2
pitch_keycenter=a#2

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-sus-c#3-PB-loop.wav

delay_cc1=0.0
volume=-21

lokey=c3
hikey=d3
pitch_keycenter=c#3
tune=10

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-sus-e3-PB-loop.wav
volume=-20

lokey=d#3
hikey=d4
pitch_keycenter=e3

// removed g3-c#4, sounded bad (PB)




//==============================================================
// Tuba Solo : Staccato
//
//   Brass - Tuba Staccato.sfz from Sonatina Symphonic Orchestra - http://sso.mattiaswestlund.net
//
//   samples and .sfz modified by Paul Battersby - http://virtualplaying.com
//
//==============================================================

// ------------------------------
//  Sonatina Symphonic Orchestra
// ------------------------------
//         Tuba Staccato
// ------------------------------

<group>
pan=50
xfout_lokey=b1
xfout_hikey=d2
volume=-29

// cc1 controls gain after lowering volume of all samples (PB)
gain_cc1=24
// 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



ampeg_attack=0.03

loop_mode=one_shot


fil_veltrack=11000
fil_type=lpf_2p
cutoff=120

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-stc-rr1-e1-PB.wav
lokey=d1
hikey=f1
pitch_keycenter=e1
tune=-50

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-stc-rr1-g1-PB.wav
lokey=f#1
hikey=g#1
pitch_keycenter=g1

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-stc-rr1-a#1-PB.wav
lokey=a1
hikey=b1
pitch_keycenter=a#1

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-stc-rr1-c#2-PB.wav
volume=-30

lokey=c2
hikey=d2
pitch_keycenter=c#2

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-stc-rr2-e2-PB.wav
tune=-90

lokey=d#2
hikey=f2
pitch_keycenter=e2

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-stc-rr1-g2-PB.wav
tune=10

lokey=f#2
hikey=g#2
pitch_keycenter=g2

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-stc-rr2-a#2-PB.wav
tune=-100

lokey=a2
hikey=b2
pitch_keycenter=a#2

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-stc-rr1-c#3-PB.wav
lokey=c3
hikey=d3
pitch_keycenter=c#3

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-stc-rr1-e3-PB.wav
tune=15

lokey=d#3
hikey=f3
pitch_keycenter=e3

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-stc-rr2-g3-PB.wav
tune=-100

lokey=f#3
hikey=g#3
pitch_keycenter=g3

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-stc-rr2-a#3-PB.wav
tune=-100

lokey=a3
hikey=b3
pitch_keycenter=a#3

<region>
sample=..\libs\SSO\Samples\Tuba\tuba-stc-rr2-c#4-PB.wav
tune=-100

lokey=c4
hikey=d4
pitch_keycenter=c#4



// removed RR samples (PB)




//==============================================================
// French Horn Solo : Performance
//
//   This is combination of:
//
//     french-horn-SOLO-sustain-DXF.sfz
//     french-horn-SOLO-staccato-DXF.sfz
//
//   ... where high key velocity reduces the sample attack time
//       and the mod wheel increases the volume
//
//   by Paul Battersby - http://virtualplaying.com
//
//==============================================================


//==============================================================
// French Horn Solo : Sustain + Dynamic Cross Fade
//
// mapped by Paul Battersby - http://virtualplaying.com
//
// The samples from University of Iowa Electronic Music Studios - http://theremin.music.uiowa.edu/index.html
// are "freely available"
//
// 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/
//
//==============================================================

//
// ---------------- high vel --------------------

<group>
pan=-30
xfin_lokey=b1
xfin_hikey=d2
xfout_lokey=e2
xfout_hikey=f3
// 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.08

volume=-26
// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)
amp_random=1.5
// delay_random removed to prevent phasing (PB)




// shorter attack for FF (PB)

ampeg_decay=0.06
ampeg_release=0.6

// fade in

// cc1 (mod wheel) adjusts crossfade and volume (PB)
xfin_locc1=64
xfin_hicc1=127
// this provides a smoother x-fade transition
xf_cccurve=gain
// cc1 controls gain after lowering volume of all samples by 24db (PB)
gain_cc1=24
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60

// add a little low end boost (PB)
eq1_freq=189.7
eq1_bw=3.03
eq1_gain=5.9

// vary the amplitude for added realism (PB)
amplfo_freq=0.37
amplfo_depth=0.7
amplfo_delay=2.7
amplfo_fade=0.5

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.E2-PB-loop.wav
volume=-30

pitch_keycenter=e2
lokey=b1
hikey=e2

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.G#2-PB-loop.wav
volume=-28

pitch_keycenter=g#2
lokey=f2
hikey=g#2

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.A2-PB-loop.wav
volume=-30

pitch_keycenter=a2
lokey=a2
hikey=a2

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.A#2-PB-loop.wav
pitch_keycenter=a#2
lokey=a#2
hikey=c#3

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.D#3-PB-loop.wav
volume=-31

pitch_keycenter=d#3
lokey=d3
hikey=f3

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.F#3-PB-loop.wav
pitch_keycenter=f#3
lokey=f#3
hikey=f#3

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.G3-PB-loop.wav
volume=-28

pitch_keycenter=g3
lokey=g3
hikey=a3

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.A#3-PB-loop.wav
delay_cc1=0.04

pitch_keycenter=a#3
lokey=a#3
hikey=a#3

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.B3-PB-loop.wav
volume=-29

pitch_keycenter=b3
lokey=b3
hikey=b3

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.C4-PB-loop.wav
volume=-34

pitch_keycenter=c4
lokey=c4
hikey=c4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.C#4-PB-loop.wav
volume=-28

pitch_keycenter=c#4
lokey=c#4
hikey=d4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.D#4-PB-loop.wav
pitch_keycenter=d#4
lokey=d#4
hikey=d#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.E4-PB-loop.wav
volume=-29

pitch_keycenter=e4
lokey=e4
hikey=e4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.F4-PB-loop.wav
volume=-29

pitch_keycenter=f4
lokey=f4
hikey=f4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.F#4-PB-loop.wav
volume=-29

pitch_keycenter=f#4
lokey=f#4
hikey=f#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.G4-PB-loop.wav
volume=-30

pitch_keycenter=g4
lokey=g4
hikey=g4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.G#4-PB-loop.wav
volume=-30

pitch_keycenter=g#4
lokey=g#4
hikey=g#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.A4-PB-loop.wav

delay_cc1=0.06
volume=-29

pitch_keycenter=a4
lokey=a4
hikey=a#4
tune=-5

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.B4-PB-loop.wav
volume=-29

pitch_keycenter=b4
lokey=b4
hikey=b4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.C5-PB-loop.wav
volume=-34

pitch_keycenter=c5
lokey=c5
hikey=d#5

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.E5-PB-loop.wav
volume=-32

pitch_keycenter=e5
lokey=e5
hikey=f5
tune=10

// ---------------- low vel --------------------

<group>
pan=-30
xfin_lokey=b1
xfin_hikey=d2
xfout_lokey=e2
xfout_hikey=f3
// 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.08

volume=-26
// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)
amp_random=1.5
// delay_random removed to prevent phasing (PB)





ampeg_decay=0.06
ampeg_release=0.6

// fade out

// cc1 (mod wheel) adjusts crossfade and volume (PB)
xfout_locc1=64
xfout_hicc1=127
// this provides a smoother x-fade transition
xf_cccurve=gain
// cc1 controls gain after lowering volume of all samples by 24db (PB)
gain_cc1=24
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60

// add a little low end boost (PB)
eq1_freq=189.7
eq1_bw=3.03
eq1_gain=5.9

// vary the amplitude for added realism (PB)
amplfo_freq=0.37
amplfo_depth=0.7
amplfo_delay=2.7
amplfo_fade=0.5

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.E2-PB-loop.wav
volume=-30

pitch_keycenter=e2
lokey=b1
hikey=e2

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.G#2-PB-loop.wav
volume=-28

pitch_keycenter=g#2
lokey=f2
hikey=g#2

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.A2-PB-loop.wav
volume=-30

pitch_keycenter=a2
lokey=a2
hikey=a2

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.A#2-PB-loop.wav
pitch_keycenter=a#2
lokey=a#2
hikey=c#3

// use SSO to fill in for missing IOWA samples

<region>
sample=../libs/SSO/Samples/Horn/horn-e3-PB-loop.wav

volume=-31
lokey=d3
hikey=f#3
pitch_keycenter=e3


<region>
sample=../libs/SSO/Samples/Horn/horn-a#3-PB-loop.wav

delay_cc1=0.04
lokey=g3
hikey=b3
pitch_keycenter=a#3


<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.C4-PB-loop.wav
volume=-34

pitch_keycenter=c4
lokey=c4
hikey=c4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.C#4-PB-loop.wav
volume=-28

pitch_keycenter=c#4
lokey=c#4
hikey=d4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.D#4-PB-loop.wav
pitch_keycenter=d#4
lokey=d#4
hikey=d#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.E4-PB-loop.wav
volume=-29

pitch_keycenter=e4
lokey=e4
hikey=e4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.F4-PB-loop.wav
volume=-29

pitch_keycenter=f4
lokey=f4
hikey=f4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.F#4-PB-loop.wav
volume=-29

pitch_keycenter=f#4
lokey=f#4
hikey=f#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.G4-PB-loop.wav
volume=-30

pitch_keycenter=g4
lokey=g4
hikey=g4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.G#4-PB-loop.wav
volume=-30

pitch_keycenter=g#4
lokey=g#4
hikey=g#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.A4-PB-loop.wav

delay_cc1=0.06
volume=-29

pitch_keycenter=a4
lokey=a4
hikey=a#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.B4-PB-loop.wav
volume=-29

pitch_keycenter=b4
lokey=b4
hikey=b4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.C5-PB-loop.wav
volume=-34

pitch_keycenter=c5
lokey=c5
hikey=d#5

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.E5-PB-loop.wav
volume=-32

pitch_keycenter=e5
lokey=e5
hikey=f5




//==============================================================
// French Horn Solo : Staccato + Dynamic Cross Fade
//
// mapped by Paul Battersby - http://virtualplaying.com
//
// The samples from University of Iowa Electronic Music Studios - http://theremin.music.uiowa.edu/index.html
// are "freely available"
//
// 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/
//
//==============================================================

//
// ---------------- high vel --------------------

<group>
pan=-30
xfin_lokey=b1
xfin_hikey=d2
xfout_lokey=e2
xfout_hikey=f3
// fade in the staccato samples with key velocity (PB)
xfin_lovel=63
xfin_hivel=127

volume=-24
// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)

// delay_random removed to prevent phasing (PB)




// shorter attack for FF (PB)
// create staccato from sustain (PB)
ampeg_attack=0.03
ampeg_sustain=0
ampeg_hold=0.15
ampeg_decay=0.6
ampeg_release=0.6



// fade in

// cc1 (mod wheel) adjusts crossfade and volume (PB)
xfin_locc1=64
xfin_hicc1=127
// this provides a smoother x-fade transition
xf_cccurve=gain
// cc1 controls gain after lowering volume of all samples by 24db (PB)
gain_cc1=24
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60

// add a little low end boost (PB)
eq1_freq=189.7
eq1_bw=3.03
eq1_gain=5.9

// vary the amplitude for added realism (PB)
amplfo_freq=0.37
amplfo_depth=0.7
amplfo_delay=2.7
amplfo_fade=0.5

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.E2-PB-loop.wav
volume=-28

pitch_keycenter=e2
lokey=b1
hikey=e2

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.G#2-PB-loop.wav
volume=-26

pitch_keycenter=g#2
lokey=f2
hikey=g#2

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.A2-PB-loop.wav
volume=-28

pitch_keycenter=a2
lokey=a2
hikey=a2

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.A#2-PB-loop.wav
pitch_keycenter=a#2
lokey=a#2
hikey=c#3

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.D#3-PB-loop.wav
volume=-29

pitch_keycenter=d#3
lokey=d3
hikey=f3

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.F#3-PB-loop.wav
pitch_keycenter=f#3
lokey=f#3
hikey=f#3

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.G3-PB-loop.wav
volume=-26

pitch_keycenter=g3
lokey=g3
hikey=a3

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.A#3-PB-loop.wav
pitch_keycenter=a#3
lokey=a#3
hikey=a#3

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.B3-PB-loop.wav
volume=-27

pitch_keycenter=b3
lokey=b3
hikey=b3

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.C4-PB-loop.wav
volume=-32

pitch_keycenter=c4
lokey=c4
hikey=c4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.C#4-PB-loop.wav
volume=-26

pitch_keycenter=c#4
lokey=c#4
hikey=d4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.D#4-PB-loop.wav
pitch_keycenter=d#4
lokey=d#4
hikey=d#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.E4-PB-loop.wav
volume=-27

pitch_keycenter=e4
lokey=e4
hikey=e4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.F4-PB-loop.wav
volume=-27

pitch_keycenter=f4
lokey=f4
hikey=f4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.F#4-PB-loop.wav
volume=-27

pitch_keycenter=f#4
lokey=f#4
hikey=f#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.G4-PB-loop.wav
volume=-28

pitch_keycenter=g4
lokey=g4
hikey=g4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.G#4-PB-loop.wav
volume=-28

pitch_keycenter=g#4
lokey=g#4
hikey=g#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.A4-PB-loop.wav
volume=-27

pitch_keycenter=a4
lokey=a4
hikey=a#4
tune=-5

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.B4-PB-loop.wav
volume=-27

pitch_keycenter=b4
lokey=b4
hikey=b4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.C5-PB-loop.wav
volume=-32

pitch_keycenter=c5
lokey=c5
hikey=d#5

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.ff.E5-PB-loop.wav
volume=-30

pitch_keycenter=e5
lokey=e5
hikey=f5
tune=10

// ---------------- low vel --------------------

<group>
pan=-30
xfin_lokey=b1
xfin_hikey=d2
xfout_lokey=e2
xfout_hikey=f3
// fade in the staccato samples with key velocity (PB)
xfin_lovel=63
xfin_hivel=127

volume=-24
// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)

// delay_random removed to prevent phasing (PB)




// create staccato from sustain (PB)
ampeg_attack=0.03
ampeg_sustain=0
ampeg_hold=0.15
ampeg_decay=0.6
ampeg_release=0.6



// fade out

// cc1 (mod wheel) adjusts crossfade and volume (PB)
xfout_locc1=64
xfout_hicc1=127
// this provides a smoother x-fade transition
xf_cccurve=gain
// cc1 controls gain after lowering volume of all samples by 24db (PB)
gain_cc1=24
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60

// add a little low end boost (PB)
eq1_freq=189.7
eq1_bw=3.03
eq1_gain=5.9

// vary the amplitude for added realism (PB)
amplfo_freq=0.37
amplfo_depth=0.7
amplfo_delay=2.7
amplfo_fade=0.5

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.E2-PB-loop.wav
volume=-28

pitch_keycenter=e2
lokey=b1
hikey=e2

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.G#2-PB-loop.wav
volume=-26

pitch_keycenter=g#2
lokey=f2
hikey=g#2

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.A2-PB-loop.wav
volume=-28

pitch_keycenter=a2
lokey=a2
hikey=a2

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.A#2-PB-loop.wav
pitch_keycenter=a#2
lokey=a#2
hikey=c#3

// use SSO to fill in for missing IOWA samples

<region>
sample=../libs/SSO/Samples/Horn/horn-e3-PB-loop.wav

volume=-29
lokey=d3
hikey=f#3
pitch_keycenter=e3


<region>
sample=../libs/SSO/Samples/Horn/horn-a#3-PB-loop.wav
lokey=g3
hikey=b3
pitch_keycenter=a#3


<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.C4-PB-loop.wav
volume=-32

pitch_keycenter=c4
lokey=c4
hikey=c4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.C#4-PB-loop.wav
volume=-26

pitch_keycenter=c#4
lokey=c#4
hikey=d4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.D#4-PB-loop.wav
pitch_keycenter=d#4
lokey=d#4
hikey=d#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.E4-PB-loop.wav
volume=-27

pitch_keycenter=e4
lokey=e4
hikey=e4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.F4-PB-loop.wav
volume=-27

pitch_keycenter=f4
lokey=f4
hikey=f4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.F#4-PB-loop.wav
volume=-27

pitch_keycenter=f#4
lokey=f#4
hikey=f#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.G4-PB-loop.wav
volume=-28

pitch_keycenter=g4
lokey=g4
hikey=g4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.G#4-PB-loop.wav
volume=-28

pitch_keycenter=g#4
lokey=g#4
hikey=g#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.A4-PB-loop.wav
volume=-27

pitch_keycenter=a4
lokey=a4
hikey=a#4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.B4-PB-loop.wav
volume=-27

pitch_keycenter=b4
lokey=b4
hikey=b4

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.C5-PB-loop.wav
volume=-32

pitch_keycenter=c5
lokey=c5
hikey=d#5

<region>
sample=../libs/Iowa/samples/Horn-solo/Horn.mf.E5-PB-loop.wav
volume=-30

pitch_keycenter=e5
lokey=e5
hikey=f5






//==============================================================
// Trombone Solo : Performance
//
//   This is:
//
//     trombone-SOLO-sustain-DXF.sfz
//
//   ... where high key velocity reduces the sample attack time
//       and the mod wheel increases the volume
//
//   by Paul Battersby - http://virtualplaying.com
//
//==============================================================


//==============================================================
// Trombone Solo : Sustain + Dynamic Cross Fade
//
// mapped by Paul Battersby - http://virtualplaying.com
//
// The samples from University of Iowa Electronic Music Studios - http://theremin.music.uiowa.edu/index.html
// are "freely available"
//
// 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/
//
//==============================================================


// -------------- high vel --------------
<group>
pan=40
xfin_lokey=e2
xfin_hikey=f3
xfout_lokey=f#3
xfout_hikey=c5
// 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.05

// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)
amp_random=1.5
// delay_random removed to prevent phasing (PB)




// cc1 (mod wheel) adjusts crossfade and volume (PB)
xfin_locc1=64
xfin_hicc1=127
// this provides a smoother x-fade transition
xf_cccurve=gain
// cc1 controls gain after lowering volume of all samples by 24db (PB)
gain_cc1=24
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60


ampeg_release=0.6
volume=-26

// add some vibrato (PB)
pitchlfo_freq=4.531
pitchlfo_depth=10
pitchlfo_delay=1
pitchlfo_fade=1.0

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.F#2-PB-loop.wav
pitch_keycenter=f#2
lokey=e2
hikey=a2
volume=-29

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.C#3-PB-loop.wav
pitch_keycenter=c#3
lokey=a#2
hikey=c#3
volume=-24.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.D3-PB-loop.wav
pitch_keycenter=d3
lokey=d3
hikey=e3
volume=-24

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.F#3-PB-loop.wav
pitch_keycenter=g3
lokey=f3
hikey=a3
volume=-21

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.C#4-PB-loop.wav
pitch_keycenter=c#4
lokey=a#3
hikey=d4
volume=-21

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.E4-PB-loop.wav
pitch_keycenter=e4
lokey=d#4
hikey=e4
volume=-19.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.F#4-PB-loop.wav
pitch_keycenter=f#4
lokey=f4
hikey=f#4
volume=-20.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.G4-PB-loop.wav
pitch_keycenter=g4
lokey=g4
hikey=g4
volume=-21

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.G#4-PB-loop.wav
pitch_keycenter=g#4
lokey=g#4
hikey=a#4
volume=-24.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.C5-PB-loop.wav
pitch_keycenter=c5
lokey=b4
hikey=f5
volume=-30

// -------------- low vel --------------
<group>
pan=40
xfin_lokey=e2
xfin_hikey=f3
xfout_lokey=f#3
xfout_hikey=c5
// 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.05

// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)
amp_random=1.5
// delay_random removed to prevent phasing (PB)




// fade out

// cc1 (mod wheel) adjusts crossfade and volume (PB)
xfout_locc1=64
xfout_hicc1=127
// this provides a smoother x-fade transition
xf_cccurve=gain
// cc1 controls gain after lowering volume of all samples by 24db (PB)
gain_cc1=24
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60


ampeg_release=0.6
volume=-26

// add some vibrato (PB)
pitchlfo_freq=4.531
pitchlfo_depth=10
pitchlfo_delay=1
pitchlfo_fade=1.0

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.F#2-PB-loop.wav
pitch_keycenter=f#2
lokey=e2
hikey=a2
volume=-30

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.C#3-PB-loop.wav
pitch_keycenter=c#3
lokey=a#2
hikey=c#3
volume=-23.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.D3-PB-loop.wav
pitch_keycenter=d3
lokey=d3
hikey=e3
volume=-20

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.F#3-PB-loop.wav
pitch_keycenter=f#3
lokey=f3
hikey=a3
volume=-20

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.C#4-PB-loop.wav
pitch_keycenter=c#4
lokey=a#3
hikey=d4
volume=-23.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.E4-PB-loop.wav
pitch_keycenter=e4
lokey=d#4
hikey=e4
volume=-24

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.F#4-PB-loop.wav
pitch_keycenter=f#4
lokey=f4
hikey=f#4
volume=-25.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.G4-PB-loop.wav
pitch_keycenter=g4
lokey=g4
hikey=g4
volume=-19.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.G#4-PB-loop.wav
pitch_keycenter=g#4
lokey=g#4
hikey=a#4
volume=-27

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.C5-PB-loop.wav
pitch_keycenter=c5
lokey=b4
hikey=f5
volume=-31.5





//==============================================================
// Trombone Solo : Staccato + Dynamic Cross Fade
//
// mapped by Paul Battersby - http://virtualplaying.com
//
// The samples from University of Iowa Electronic Music Studios - http://theremin.music.uiowa.edu/index.html
// are "freely available"
//
// 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/
//
//==============================================================


// -------------- high vel --------------
<group>
pan=40
xfin_lokey=e2
xfin_hikey=f3
xfout_lokey=f#3
xfout_hikey=c5
// fade in the staccato samples with key velocity (PB)
xfin_lovel=63
xfin_hivel=127


// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)
amp_random=1.5
// delay_random removed to prevent phasing (PB)



// create staccato from sustain (PB)
ampeg_attack=0.03
ampeg_sustain=0
ampeg_hold=0.12
ampeg_decay=0.3
ampeg_release=0.3
// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)
amp_random=1.5
// delay_random removed to prevent phasing (PB)




// cc1 (mod wheel) adjusts crossfade and volume (PB)
xfin_locc1=64
xfin_hicc1=127
// this provides a smoother x-fade transition
xf_cccurve=gain
// cc1 controls gain after lowering volume of all samples by 24db (PB)
gain_cc1=24
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60



volume=-24



<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.F#2-PB-loop.wav
pitch_keycenter=f#2
lokey=e2
hikey=a2
volume=-21

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.C#3-PB-loop.wav
ampeg_attack=0.01
// shorten waveform by skipping early part of the attack phase (PB)
offset=1000

pitch_keycenter=c#3
lokey=a#2
hikey=c#3
volume=-16.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.D3-PB-loop.wav
pitch_keycenter=d3
lokey=d3
hikey=e3
volume=-16

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.F#3-PB-loop.wav
pitch_keycenter=g3
lokey=f3
hikey=a3
volume=-12

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.C#4-PB-loop.wav
pitch_keycenter=c#4
lokey=a#3
hikey=d4
volume=-15

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.E4-PB-loop.wav
pitch_keycenter=e4
lokey=d#4
hikey=e4
volume=-11.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.F#4-PB-loop.wav
pitch_keycenter=f#4
lokey=f4
hikey=f#4
volume=-13.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.G4-PB-loop.wav
pitch_keycenter=g4
lokey=g4
hikey=g4
volume=-12

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.G#4-PB-loop.wav
pitch_keycenter=g#4
lokey=g#4
hikey=a#4
volume=-13.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.ff.C5-PB-loop.wav
pitch_keycenter=c5
lokey=b4
hikey=f5
volume=-16

// -------------- low vel --------------
<group>
pan=40
xfin_lokey=e2
xfin_hikey=f3
xfout_lokey=f#3
xfout_hikey=c5
// fade in the staccato samples with key velocity (PB)
xfin_lovel=63
xfin_hivel=127


// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)
amp_random=1.5
// delay_random removed to prevent phasing (PB)



// create staccato from sustain (PB)
ampeg_attack=0.03
ampeg_sustain=0
ampeg_hold=0.12
ampeg_decay=0.3
ampeg_release=0.3
// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)
amp_random=1.5
// delay_random removed to prevent phasing (PB)




// fade out

// cc1 (mod wheel) adjusts crossfade and volume (PB)
xfout_locc1=64
xfout_hicc1=127
// this provides a smoother x-fade transition
xf_cccurve=gain
// cc1 controls gain after lowering volume of all samples by 24db (PB)
gain_cc1=24
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60



volume=-24



<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.F#2-PB-loop.wav
pitch_keycenter=f#2
lokey=e2
hikey=a2
volume=-22

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.C#3-PB-loop.wav
ampeg_attack=0.01
// shorten waveform by skipping early part of the attack phase (PB)
offset=1000

pitch_keycenter=c#3
lokey=a#2
hikey=c#3
volume=-15.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.D3-PB-loop.wav
pitch_keycenter=d3
lokey=d3
hikey=e3
volume=-12

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.F#3-PB-loop.wav
pitch_keycenter=f#3
lokey=f3
hikey=a3
volume=-11

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.C#4-PB-loop.wav
pitch_keycenter=c#4
lokey=a#3
hikey=d4
volume=-17.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.E4-PB-loop.wav
pitch_keycenter=e4
lokey=d#4
hikey=e4
volume=-16

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.F#4-PB-loop.wav
pitch_keycenter=f#4
lokey=f4
hikey=f#4
volume=-18.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.G4-PB-loop.wav
pitch_keycenter=g4
lokey=g4
hikey=g4
volume=-10.5

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.G#4-PB-loop.wav
pitch_keycenter=g#4
lokey=g#4
hikey=a#4
volume=-16

<region>
sample=../libs/Iowa/samples/Trombone-solo/Trombone-sus.mf.C5-PB-loop.wav
pitch_keycenter=c5
lokey=b4
hikey=f5
volume=-17.5







//==============================================================
// Trumpet : Performance
//
//   This is combination of:
//
//     trumpet-SOLO-sustain-DXF.sfz
//     trumpet-SOLO-staccato-DXF.sfz
//
//   ... where high key velocity reduces the sample attack time
//       and the mod wheel increases the volume
//
//   by Paul Battersby - http://virtualplaying.com
//
//==============================================================


//==============================================================
// Trumpet Solo : Sustain + Dynamic Cross Fade
//
// mapped by Paul Battersby - http://virtualplaying.com
//
// The samples from University of Iowa Electronic Music Studios - http://theremin.music.uiowa.edu/index.html
// are "freely available"
//
// 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/
//
//==============================================================


// -------------- high vol --------------
<group>
pan=30
xfin_lokey=f#3
xfin_hikey=c5
// 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.05

// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)
amp_random=1.5
// delay_random removed to prevent phasing (PB)



// add vibrato (PB)
pitchlfo_freq=4.531
pitchlfo_depth=10
pitchlfo_delay=1
pitchlfo_fade=2.0







// boost the low end a little, sounds weak otherwise (PB)
eq1_freq=339.0
eq1_bw=2
eq1_gain=6.2


// cc1 (mod wheel) adjusts crossfade and volume (PB)
xfin_locc1=64
xfin_hicc1=127
// this provides a smoother x-fade transition
xf_cccurve=gain
// cc1 controls gain after lowering volume of all samples by 24db (PB)
gain_cc1=24
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60


ampeg_decay=0.06

ampeg_release=0.6
volume=-28

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.G#3-PB-loop.wav
volume=-26
pitch_keycenter=g#3
lokey=f#3
hikey=g#3

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.A3-PB-loop.wav
volume=-27
pitch_keycenter=a3
lokey=a3
hikey=a3

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.A#3-PB-loop.wav
pitch_keycenter=a#3
lokey=a#3
hikey=a#3
volume=-24

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.B3-PB-loop.wav
pitch_keycenter=b3
lokey=b3
hikey=c4
volume=-26.5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.C#4-PB-loop.wav
pitch_keycenter=c#4
lokey=c#4
hikey=c#4
volume=-26

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.D4-PB-loop.wav
volume=-27
pitch_keycenter=d4
lokey=d4
hikey=d#4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.E4-PB-loop.wav
volume=-27
pitch_keycenter=e4
lokey=e4
hikey=e4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.F4-PB-loop.wav
volume=-27
pitch_keycenter=f4
lokey=f4
hikey=f4


<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.F#4-PB-loop.wav
pitch_keycenter=f#4
lokey=f#4
hikey=f#4
volume=-26.5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.G4-PB-loop.wav
pitch_keycenter=g4
lokey=g4
hikey=g4
volume=-26.5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.G#4-PB-loop.wav
volume=-26.5
pitch_keycenter=g#4
lokey=g#4
hikey=g#4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.A4-PB-loop.wav
volume=-27
pitch_keycenter=a4
lokey=a4
hikey=a4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.A#4-PB-loop.wav
volume=-25.5
pitch_keycenter=a#4
lokey=a#4
hikey=a#4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.B4-PB-loop.wav
volume=-28
pitch_keycenter=b4
lokey=b4
hikey=b4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.C5-PB-loop.wav
volume=-29
pitch_keycenter=c5
lokey=c5
hikey=c5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.C#5-PB-loop.wav
volume=-26
pitch_keycenter=c#5
lokey=c#5
hikey=c#5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.D5-PB-loop.wav
volume=-28
pitch_keycenter=d5
lokey=d5
hikey=d5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.D#5-PB-loop.wav
volume=-27
pitch_keycenter=d#5
lokey=d#5
hikey=d#5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.E5-PB-loop.wav
volume=-27.5
pitch_keycenter=e5
lokey=e5
hikey=e5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.F5-PB-loop.wav
volume=-28
pitch_keycenter=f5
lokey=f5
hikey=f5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.F#5-PB-loop.wav
volume=-25.5
pitch_keycenter=f#5
lokey=f#5
hikey=f#5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.G5-PB-loop.wav
pitch_keycenter=g5
lokey=g5
hikey=g5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.G#5-PB-loop.wav
volume=-25
pitch_keycenter=g#5
lokey=g#5
hikey=g#5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.A5-PB-loop.wav
pitch_keycenter=a5
lokey=a5
hikey=a5
volume=-27

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.A#5-PB-loop.wav
pitch_keycenter=a#5
lokey=a#5
hikey=a#5
volume=-24

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.B5-PB-loop.wav
pitch_keycenter=b5
lokey=b5
hikey=b5
volume=-27

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.C6-PB-loop.wav

delay_cc1=.03
volume=-29
pitch_keycenter=c6
lokey=c6
hikey=c6


// -------------- low vol --------------
<group>
pan=30
xfin_lokey=f#3
xfin_hikey=c5
// 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.05

// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)
amp_random=1.5
// delay_random removed to prevent phasing (PB)



// add vibrato (PB)
pitchlfo_freq=4.531
pitchlfo_depth=10
pitchlfo_delay=1
pitchlfo_fade=2.0







// boost the low end a little, sounds weak otherwise (PB)
eq1_freq=339.0
eq1_bw=2
eq1_gain=6.2


// cc1 (mod wheel) adjusts crossfade and volume (PB)
xfout_locc1=64
xfout_hicc1=127
// this provides a smoother x-fade transition
xf_cccurve=gain
// cc1 controls gain after lowering volume of all samples by 24db (PB)
gain_cc1=24
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60


ampeg_decay=0.06
ampeg_release=0.6

volume=-28

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.G#3-PB-loop.wav
volume=-26
pitch_keycenter=g#3
lokey=f#3
hikey=g#3

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.A3-PB-loop.wav
volume=-26
pitch_keycenter=a3
lokey=a3
hikey=a3
volume=-25

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.A#3-PB-loop.wav
pitch_keycenter=a#3
lokey=a#3
hikey=a#3
volume=-28

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.B3-PB-loop.wav
pitch_keycenter=b3
lokey=b3
hikey=c4
volume=-23

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.C#4-PB-loop.wav
pitch_keycenter=c#4
lokey=c#4
hikey=c#4
volume=-23

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.D4-PB-loop.wav
volume=-27
pitch_keycenter=d4
lokey=d4
hikey=d#4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.E4-PB-loop.wav
volume=-27
pitch_keycenter=e4
lokey=e4
hikey=e4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.F4-PB-loop.wav
volume=-27
pitch_keycenter=f4
lokey=f4
hikey=f4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.F#4-PB-loop.wav
pitch_keycenter=f#4
lokey=f#4
hikey=f#4
volume=-25

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.G4-PB-loop.wav
pitch_keycenter=g4
lokey=g4
hikey=g4
volume=-23

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.G#4-PB-loop.wav
volume=-27
pitch_keycenter=g#4
lokey=g#4
hikey=g#4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.A4-PB-loop.wav
volume=-27
pitch_keycenter=a4
lokey=a4
hikey=a4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.A#4-PB-loop.wav
pitch_keycenter=a#4
lokey=a#4
hikey=a#4
volume=-23.5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.B4-PB-loop.wav
volume=-26
pitch_keycenter=b4
lokey=b4
hikey=b4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.C5-PB-loop.wav
volume=-27
pitch_keycenter=c5
lokey=c5
hikey=c5


<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.C#5-PB-loop.wav
pitch_keycenter=c#5
lokey=c#5
hikey=c#5
volume=-21

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.D5-PB-loop.wav
volume=-26
pitch_keycenter=d5
lokey=d5
hikey=d5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.D#5-PB-loop.wav
volume=-25
pitch_keycenter=d#5
lokey=d#5
hikey=d#5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.E5-PB-loop.wav
pitch_keycenter=e5
lokey=e5
hikey=e5
volume=-24

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.F5-PB-loop.wav
volume=-26
pitch_keycenter=f5
lokey=f5
hikey=f5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.F#5-PB-loop.wav
pitch_keycenter=f#5
lokey=f#5
hikey=f#5
volume=-23

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.G5-PB-loop.wav
pitch_keycenter=g5
lokey=g5
hikey=g5
volume=-25.5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.G#5-PB-loop.wav
volume=-25
pitch_keycenter=g#5
lokey=g#5
hikey=g#5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.A5-PB-loop.wav
pitch_keycenter=a5
lokey=a5
hikey=a5
volume=-26.5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.A#5-PB-loop.wav
pitch_keycenter=a#5
lokey=a#5
hikey=a#5
volume=-23

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.B5-PB-loop.wav
pitch_keycenter=b5
lokey=b5
hikey=b5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.C6-PB-loop.wav
delay_cc1=.03

pitch_keycenter=c6
lokey=c6
hikey=c6
volume=-25



//==============================================================
// Trumpet Solo : Staccato + Dynamic Cross Fade
//
// mapped by Paul Battersby - http://virtualplaying.com
//
// The samples from University of Iowa Electronic Music Studios - http://theremin.music.uiowa.edu/index.html
// are "freely available"
//
// 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/
//
//==============================================================


// -------------- high vol --------------
<group>
pan=30
xfin_lokey=f#3
xfin_hikey=c5
// fade in the staccato samples with key velocity (PB)
xfin_lovel=63
xfin_hivel=127

// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)
amp_random=1.5
// delay_random removed to prevent phasing (PB)



// add vibrato (PB)
pitchlfo_freq=4.531
pitchlfo_depth=10
pitchlfo_delay=1
pitchlfo_fade=2.0







// boost the low end a little, sounds weak otherwise (PB)
eq1_freq=339.0
eq1_bw=2
eq1_gain=6.2


// cc1 (mod wheel) adjusts crossfade and volume (PB)
xfin_locc1=64
xfin_hicc1=127
// this provides a smoother x-fade transition
xf_cccurve=gain
// cc1 controls gain after lowering volume of all samples by 24db (PB)
gain_cc1=24
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60

// manufacture staccato from sustain
ampeg_attack=0.03
ampeg_sustain=0
ampeg_hold=0.15
ampeg_decay=0.4
ampeg_release=0.4




volume=-30

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.G#3-PB-loop.wav
volume=-31
pitch_keycenter=g#3
lokey=f#3
hikey=g#3

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.A3-PB-loop.wav
volume=-29
pitch_keycenter=a3
lokey=a3
hikey=a3

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.A#3-PB-loop.wav
pitch_keycenter=a#3
lokey=a#3
hikey=a#3
volume=-26

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.B3-PB-loop.wav
pitch_keycenter=b3
lokey=b3
hikey=c4
volume=-30.5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.C#4-PB-loop.wav
pitch_keycenter=c#4
lokey=c#4
hikey=c#4
volume=-28

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.D4-PB-loop.wav
volume=-30
pitch_keycenter=d4
lokey=d4
hikey=d#4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.E4-PB-loop.wav
volume=-29
pitch_keycenter=e4
lokey=e4
hikey=e4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.F4-PB-loop.wav
volume=-29
pitch_keycenter=f4
lokey=f4
hikey=f4


<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.F#4-PB-loop.wav
pitch_keycenter=f#4
lokey=f#4
hikey=f#4
volume=-27.5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.G4-PB-loop.wav
pitch_keycenter=g4
lokey=g4
hikey=g4
volume=-28.5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.G#4-PB-loop.wav
volume=-28.5
pitch_keycenter=g#4
lokey=g#4
hikey=g#4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.A4-PB-loop.wav
volume=-29
pitch_keycenter=a4
lokey=a4
hikey=a4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.A#4-PB-loop.wav
volume=-30.5
pitch_keycenter=a#4
lokey=a#4
hikey=a#4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.B4-PB-loop.wav
volume=-29
pitch_keycenter=b4
lokey=b4
hikey=b4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.C5-PB-loop.wav
volume=-30
pitch_keycenter=c5
lokey=c5
hikey=c5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.C#5-PB-loop.wav
volume=-28
pitch_keycenter=c#5
lokey=c#5
hikey=c#5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.D5-PB-loop.wav
volume=-30
pitch_keycenter=d5
lokey=d5
hikey=d5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.D#5-PB-loop.wav
volume=-28
pitch_keycenter=d#5
lokey=d#5
hikey=d#5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.E5-PB-loop.wav
volume=-31.5
pitch_keycenter=e5
lokey=e5
hikey=e5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.F5-PB-loop.wav
volume=-32
pitch_keycenter=f5
lokey=f5
hikey=f5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.F#5-PB-loop.wav
volume=-27.5
pitch_keycenter=f#5
lokey=f#5
hikey=f#5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.G5-PB-loop.wav
pitch_keycenter=g5
lokey=g5
hikey=g5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.G#5-PB-loop.wav
volume=-27
pitch_keycenter=g#5
lokey=g#5
hikey=g#5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.A5-PB-loop.wav
pitch_keycenter=a5
lokey=a5
hikey=a5
volume=-32

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.A#5-PB-loop.wav
pitch_keycenter=a#5
lokey=a#5
hikey=a#5
volume=-29

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.B5-PB-loop.wav
pitch_keycenter=b5
lokey=b5
hikey=b5
volume=-28

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.ff.C6-PB-loop.wav
volume=-32
pitch_keycenter=c6
lokey=c6
hikey=c6


// -------------- low vol --------------
<group>
pan=30
xfin_lokey=f#3
xfin_hikey=c5
// fade in the staccato samples with key velocity (PB)
xfin_lovel=63
xfin_hivel=127

// randomize like a real player(PB)
// pitch_random removed to prevent phasing (PB)
amp_random=1.5
// delay_random removed to prevent phasing (PB)



// add vibrato (PB)
pitchlfo_freq=4.531
pitchlfo_depth=10
pitchlfo_delay=1
pitchlfo_fade=2.0







// boost the low end a little, sounds weak otherwise (PB)
eq1_freq=339.0
eq1_bw=2
eq1_gain=6.2


// cc1 (mod wheel) adjusts crossfade and volume (PB)
xfout_locc1=64
xfout_hicc1=127
// this provides a smoother x-fade transition
xf_cccurve=gain
// cc1 controls gain after lowering volume of all samples by 24db (PB)
gain_cc1=24
// reduce velocity tracking, use cc1 for volume (PB)
amp_veltrack=60

// manufacture staccato from sustain
ampeg_attack=0.03
ampeg_sustain=0
ampeg_hold=0.15
ampeg_decay=0.4
ampeg_release=0.4




volume=-30

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.G#3-PB-loop.wav
volume=-31
pitch_keycenter=g#3
lokey=f#3
hikey=g#3

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.A3-PB-loop.wav
volume=-28
pitch_keycenter=a3
lokey=a3
hikey=a3
volume=-27

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.A#3-PB-loop.wav
pitch_keycenter=a#3
lokey=a#3
hikey=a#3
volume=-30

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.B3-PB-loop.wav
pitch_keycenter=b3
lokey=b3
hikey=c4
volume=-27

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.C#4-PB-loop.wav
pitch_keycenter=c#4
lokey=c#4
hikey=c#4
volume=-25

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.D4-PB-loop.wav
volume=-30
pitch_keycenter=d4
lokey=d4
hikey=d#4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.E4-PB-loop.wav
volume=-29
pitch_keycenter=e4
lokey=e4
hikey=e4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.F4-PB-loop.wav
volume=-29
pitch_keycenter=f4
lokey=f4
hikey=f4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.F#4-PB-loop.wav
pitch_keycenter=f#4
lokey=f#4
hikey=f#4
volume=-26

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.G4-PB-loop.wav
pitch_keycenter=g4
lokey=g4
hikey=g4
volume=-25

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.G#4-PB-loop.wav
volume=-29
pitch_keycenter=g#4
lokey=g#4
hikey=g#4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.A4-PB-loop.wav
volume=-29
pitch_keycenter=a4
lokey=a4
hikey=a4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.A#4-PB-loop.wav
pitch_keycenter=a#4
lokey=a#4
hikey=a#4
volume=-28.5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.B4-PB-loop.wav
volume=-27
pitch_keycenter=b4
lokey=b4
hikey=b4

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.C5-PB-loop.wav
volume=-28
pitch_keycenter=c5
lokey=c5
hikey=c5


<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.C#5-PB-loop.wav
pitch_keycenter=c#5
lokey=c#5
hikey=c#5
volume=-23

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.D5-PB-loop.wav
volume=-28
pitch_keycenter=d5
lokey=d5
hikey=d5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.D#5-PB-loop.wav
volume=-26
pitch_keycenter=d#5
lokey=d#5
hikey=d#5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.E5-PB-loop.wav
pitch_keycenter=e5
lokey=e5
hikey=e5
volume=-28

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.F5-PB-loop.wav
volume=-30
pitch_keycenter=f5
lokey=f5
hikey=f5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.F#5-PB-loop.wav
pitch_keycenter=f#5
lokey=f#5
hikey=f#5
volume=-25

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.G5-PB-loop.wav
pitch_keycenter=g5
lokey=g5
hikey=g5
volume=-27.5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.G#5-PB-loop.wav
volume=-27
pitch_keycenter=g#5
lokey=g#5
hikey=g#5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.A5-PB-loop.wav
pitch_keycenter=a5
lokey=a5
hikey=a5
volume=-31.5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.A#5-PB-loop.wav
pitch_keycenter=a#5
lokey=a#5
hikey=a#5
volume=-28

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.B5-PB-loop.wav
pitch_keycenter=b5
lokey=b5
hikey=b5

<region>
sample=../libs/Iowa/samples/Trumpet-solo/Trumpet.novib.mf.C6-PB-loop.wav
pitch_keycenter=c6
lokey=c6
hikey=c6
volume=-27





