Sforzando make Key Switches work like other Sample Players ?

Sampler and Sampling discussion (techniques, tips and tricks, etc.)
Post Reply New Topic
RELATED
PRODUCTS

Post

I just need to find a way to make it work the same as Kontakt etc..
when no key switches are down it will play the default samples, when a keys switch is held down "sw_down" it will play the articulation key switch sample only.

Here Sforzando is playing both notes on the bends using sw_last for the default key switch C1 in group 0:
https://www.dropbox.com/s/qzugrlai6sunh ... s.mp4?dl=0 < Right click open in new tab.
(Click No Thanks Continue at the bottom to skip login)


By adding "off_by=[group number]" it works but I have 8 articulation groups and adding another "off_by=" it don't work, it plays the normal and bend at the same time as above"
https://www.dropbox.com/s/f7ml11xgh9568 ... 3.mp4?dl=0 < Right click open in new tab.
(Click No Thanks Continue at the bottom to skip login)




Code: Select all

<group> group=0  //Normal

off_by=3  //Group 3 bends D#1

sw_lokey=C1

sw_hikey=A1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<group> group=3  //Bends

sw_lokey=C1

sw_hikey=A1

sw_down=D#1

sw_label=D#1 Bend Full


Post

Here's one I fudged together for Sforzando from five separate SFZ, which I combined into one SFZ that uses keyswitching to select individual samples. I was unable to set the sample triggers by <group> so used sw_last= in each <region>, and I'd love to see a neater way of doing this.

You can read more about the samples here: viewtopic.php?f=42&t=300766&start=90

The 'code' shouldn't be too hard to follow - I commented all the keyswitchy stuff.

Code: Select all

<global>
ampeg_attack=0.005
ampeg_release=0.5

<group>

sw_lokey=00 //Sets C0 aka 00 as the A Keyswitch, select in a region below using sw_last=00
sw_hikey=02 //Sets D0 aka 02 as the E Keyswitch, select in a region below using sw_last=02
sw_hikey=04 //Sets E0aka 04 as the I Keyswitch, select in a region below using sw_last=04
sw_hikey=05 //Sets F0 aka 05 as the O Keyswitch, select in a region below using sw_last=05
sw_hikey=07 //Sets G0aka 07 as the U Keyswitch, select in a region below using sw_last=07



/////// A
//Keyswitched with sw_last=00

<region>
sample=\choir Ah samples\Ah_A3_loud.wav
 sw_last=00
lokey=56
hikey=57
pitch_keycenter=57

<region>
sample=\choir Ah samples\Ah_A4_loud.wav
 sw_last=00
lokey=68
hikey=69
pitch_keycenter=69

<region>
sample=\choir Ah samples\Ah_A5_loud.wav
 sw_last=00
lokey=80
hikey=81
pitch_keycenter=81

<region>
sample=\choir Ah samples\Ah_B3_loud.wav
 sw_last=00
lokey=58
hikey=59
pitch_keycenter=59

<region>
sample=\choir Ah samples\Ah_B4_loud.wav
 sw_last=00
lokey=70
hikey=71
pitch_keycenter=71

<region>
sample=\choir Ah samples\Ah_B5_loud.wav
 sw_last=00
lokey=82
hikey=83
pitch_keycenter=83

<region>
sample=\choir Ah samples\Ah_C3_loud.wav
 sw_last=00
lokey=48
hikey=48
pitch_keycenter=48

<region>
sample=\choir Ah samples\Ah_C4_loud.wav
 sw_last=00
lokey=60
hikey=60
pitch_keycenter=60

<region>
sample=\choir Ah samples\Ah_C5_loud.wav
 sw_last=00
lokey=72
hikey=72
pitch_keycenter=72

<region>
sample=\choir Ah samples\Ah_C6_loud.wav
 sw_last=00
lokey=84
hikey=84
pitch_keycenter=84

<region>
sample=\choir Ah samples\Ah_D3_loud.wav
 sw_last=00
lokey=49
hikey=50
pitch_keycenter=50

<region>
sample=\choir Ah samples\Ah_D4_loud.wav
 sw_last=00
lokey=61
hikey=62
pitch_keycenter=62

<region>
sample=\choir Ah samples\Ah_D5_loud.wav
 sw_last=00
lokey=73
hikey=74
pitch_keycenter=74

<region>
sample=\choir Ah samples\Ah_E3_loud.wav
 sw_last=00
lokey=51
hikey=52
pitch_keycenter=52

<region>
sample=\choir Ah samples\Ah_E4_loud.wav
 sw_last=00
lokey=63
hikey=64
pitch_keycenter=64

<region>
sample=\choir Ah samples\Ah_E5_loud.wav
 sw_last=00
lokey=75
hikey=76
pitch_keycenter=76

<region>
sample=\choir Ah samples\Ah_F3_loud.wav
 sw_last=00
lokey=53
hikey=53
pitch_keycenter=53

<region>
sample=\choir Ah samples\Ah_F4_loud.wav
 sw_last=00
lokey=65
hikey=65
pitch_keycenter=65

<region>
sample=\choir Ah samples\Ah_F5_loud.wav
 sw_last=00
lokey=77
hikey=77
pitch_keycenter=77

<region>
sample=\choir Ah samples\Ah_G3_loud.wav
 sw_last=00
lokey=54
hikey=55
pitch_keycenter=55

<region>
sample=\choir Ah samples\Ah_G4_loud.wav
 sw_last=00
lokey=66
hikey=67
pitch_keycenter=67

<region>
sample=\choir Ah samples\Ah_G5_loud.wav
 sw_last=00
lokey=78
hikey=79
pitch_keycenter=79








/////// E
//Keyswitched with sw_last=02

<region>
sample=\choir E Samples\Ee_A3_loud.wav
 sw_last=02
lokey=56
hikey=57
pitch_keycenter=57

<region>
sample=\choir E Samples\Ee_A4_loud.wav
 sw_last=02
lokey=68
hikey=69
pitch_keycenter=69

<region>
sample=\choir E Samples\Ee_A5_loud.wav
 sw_last=02
lokey=80
hikey=81
pitch_keycenter=81

<region>
sample=\choir E Samples\Ee_B3_loud.wav
 sw_last=02
lokey=58
hikey=59
pitch_keycenter=59

<region>
sample=\choir E Samples\Ee_B4_loud.wav
 sw_last=02
lokey=70
hikey=71
pitch_keycenter=71

<region>
sample=\choir E Samples\Ee_B5_loud.wav
 sw_last=02
lokey=82
hikey=83
pitch_keycenter=83

<region>
sample=\choir E Samples\Ee_C3_loud.wav
 sw_last=02
lokey=48
hikey=48
pitch_keycenter=48

<region>
sample=\choir E Samples\Ee_C4_loud.wav
 sw_last=02
lokey=60
hikey=60
pitch_keycenter=60

<region>
sample=\choir E Samples\Ee_C5_loud.wav
 sw_last=02
lokey=72
hikey=72
pitch_keycenter=72

<region>
sample=\choir E Samples\Ee_C6_loud.wav
 sw_last=02
lokey=84
hikey=84
pitch_keycenter=84

<region>
sample=\choir E Samples\Ee_D3_loud.wav
 sw_last=02
lokey=49
hikey=50
pitch_keycenter=50

<region>
sample=\choir E Samples\Ee_D4_loud.wav
 sw_last=02
lokey=61
hikey=62
pitch_keycenter=62

<region>
sample=\choir E Samples\Ee_D5_loud.wav
 sw_last=02
lokey=73
hikey=74
pitch_keycenter=74

<region>
sample=\choir E Samples\Ee_E3_loud.wav
 sw_last=02
lokey=51
hikey=52
pitch_keycenter=52

<region>
sample=\choir E Samples\Ee_E4_loud.wav
 sw_last=02
lokey=63
hikey=64
pitch_keycenter=64

<region>
sample=\choir E Samples\Ee_E5_loud.wav
 sw_last=02
lokey=75
hikey=76
pitch_keycenter=76

<region>
sample=\choir E Samples\Ee_F3_loud.wav
 sw_last=02
lokey=53
hikey=53
pitch_keycenter=53

<region>
sample=\choir E Samples\Ee_F4_loud.wav
 sw_last=02
lokey=65
hikey=65
pitch_keycenter=65

<region>
sample=\choir E Samples\Ee_F5_loud.wav
 sw_last=02
lokey=77
hikey=77
pitch_keycenter=77

<region>
sample=\choir E Samples\Ee_G3_loud.wav
 sw_last=02
lokey=54
hikey=55
pitch_keycenter=55

<region>
sample=\choir E Samples\Ee_G4_loud.wav
 sw_last=02
lokey=66
hikey=67
pitch_keycenter=67

<region>
sample=\choir E Samples\Ee_G5_loud.wav
 sw_last=02
lokey=78
hikey=79
pitch_keycenter=79






/////// I
//Keyswitched with sw_last=04

<region>
sample=\choir I Samples\Ie_A3_loud.wav
 sw_last=04
lokey=56
hikey=57
pitch_keycenter=57

<region>
sample=\choir I Samples\Ie_A4_loud.wav
 sw_last=04
lokey=68
hikey=69
pitch_keycenter=69

<region>
sample=\choir I Samples\Ie_A5_loud.wav
 sw_last=04
lokey=80
hikey=81
pitch_keycenter=81

<region>
sample=\choir I Samples\Ie_B3_loud.wav
 sw_last=04
lokey=58
hikey=59
pitch_keycenter=59

<region>
sample=\choir I Samples\Ie_B4_loud.wav
 sw_last=04
lokey=70
hikey=71
pitch_keycenter=71

<region>
sample=\choir I Samples\Ie_B5_loud.wav
 sw_last=04
lokey=82
hikey=83
pitch_keycenter=83

<region>
sample=\choir I Samples\Ie_C3_loud.wav
 sw_last=04
 sw_last=04
lokey=48
hikey=48
pitch_keycenter=48

<region>
sample=\choir I Samples\Ie_C4_loud.wav
 sw_last=04
lokey=60
hikey=60
pitch_keycenter=60

<region>
sample=\choir I Samples\Ie_C5_loud.wav
 sw_last=04
lokey=72
hikey=72
pitch_keycenter=72

<region>
sample=\choir I Samples\Ie_C6_loud.wav
 sw_last=04
lokey=84
hikey=84
pitch_keycenter=84

<region>
sample=\choir I Samples\Ie_D3_loud.wav
 sw_last=04
lokey=49
hikey=50
pitch_keycenter=50

<region>
sample=\choir I Samples\Ie_D4_loud.wav
 sw_last=04
lokey=61
hikey=62
pitch_keycenter=62

<region>
sample=\choir I Samples\Ie_D5_loud.wav
 sw_last=04
lokey=73
hikey=74
pitch_keycenter=74

<region>
sample=\choir I Samples\Ie_E3_loud.wav
 sw_last=04
lokey=51
hikey=52
pitch_keycenter=52

<region>
sample=\choir I Samples\Ie_E4_loud.wav
 sw_last=04
lokey=63
hikey=64
pitch_keycenter=64

<region>
sample=\choir I Samples\Ie_E5_loud.wav
 sw_last=04
lokey=75
hikey=76
pitch_keycenter=76

<region>
sample=\choir I Samples\Ie_F3_loud.wav
 sw_last=04
lokey=53
hikey=53
pitch_keycenter=53

<region>
sample=\choir I Samples\Ie_F4_loud.wav
 sw_last=04
lokey=65
hikey=65
pitch_keycenter=65

<region>
sample=\choir I Samples\Ie_F5_loud.wav
 sw_last=04
lokey=77
hikey=77
pitch_keycenter=77

<region>
sample=\choir I Samples\Ie_G3_loud.wav
 sw_last=04
lokey=54
hikey=55
pitch_keycenter=55

<region>
sample=\choir I Samples\Ie_G4_loud.wav
 sw_last=04
lokey=66
hikey=67
pitch_keycenter=67

<region>
sample=\choir I Samples\Ie_G5_loud.wav
 sw_last=04
lokey=78
hikey=79
pitch_keycenter=79





///////choir O Samples
//Keyswitched with sw_last=05

<region>
sample=\choir Oh samples\Oh_A3_loud.wav
 sw_last=05
lokey=56
hikey=57
pitch_keycenter=57

<region>
sample=\choir Oh samples\Oh_A4_loud.wav
 sw_last=05
lokey=68
hikey=69
pitch_keycenter=69

<region>
sample=\choir Oh samples\Oh_A5_loud.wav
 sw_last=05
lokey=80
hikey=81
pitch_keycenter=81

<region>
sample=\choir Oh samples\Oh_B3_loud.wav
 sw_last=05
lokey=58
hikey=59
pitch_keycenter=59

<region>
sample=\choir Oh samples\Oh_B4_loud.wav
 sw_last=05
lokey=70
hikey=71
pitch_keycenter=71

<region>
sample=\choir Oh samples\Oh_B5_loud.wav
 sw_last=05
lokey=82
hikey=83
pitch_keycenter=83

<region>
sample=\choir Oh samples\Oh_C3_loud.wav
 sw_last=05
lokey=48
hikey=48
pitch_keycenter=48

<region>
sample=\choir Oh samples\Oh_C4_loud.wav
 sw_last=05
lokey=60
hikey=60
pitch_keycenter=60

<region>
sample=\choir Oh samples\Oh_C5_loud.wav
 sw_last=05
lokey=72
hikey=72
pitch_keycenter=72

<region>
sample=\choir Oh samples\Oh_C6_loud.wav
 sw_last=05
lokey=84
hikey=84
pitch_keycenter=84

<region>
sample=\choir Oh samples\Oh_D3_loud.wav
 sw_last=05
lokey=49
hikey=50
pitch_keycenter=50

<region>
sample=\choir Oh samples\Oh_D4_loud.wav
 sw_last=05
lokey=61
hikey=62
pitch_keycenter=62

<region>
sample=\choir Oh samples\Oh_D5_loud.wav
 sw_last=05
lokey=73
hikey=74
pitch_keycenter=74

<region>
sample=\choir Oh samples\Oh_E3_loud.wav
 sw_last=05
lokey=51
hikey=52
pitch_keycenter=52

<region>
sample=\choir Oh samples\Oh_E4_loud.wav
 sw_last=05
lokey=63
hikey=64
pitch_keycenter=64

<region>
sample=\choir Oh samples\Oh_E5_loud.wav
 sw_last=05
lokey=75
hikey=76
pitch_keycenter=76

<region>
sample=\choir Oh samples\Oh_F3_loud.wav
 sw_last=05
lokey=53
hikey=53
pitch_keycenter=53

<region>
sample=\choir Oh samples\Oh_F4_loud.wav
 sw_last=05
lokey=65
hikey=65
pitch_keycenter=65

<region>
sample=\choir Oh samples\Oh_F5_loud.wav
 sw_last=05
lokey=77
hikey=77
pitch_keycenter=77

<region>
sample=\choir Oh samples\Oh_G3_loud.wav
 sw_last=05
lokey=54
hikey=55
pitch_keycenter=55

<region>
sample=\choir Oh samples\Oh_G4_loud.wav
 sw_last=05
lokey=66
hikey=67
pitch_keycenter=67

<region>
sample=\choir Oh samples\Oh_G5_loud.wav
 sw_last=05
lokey=78
hikey=79
pitch_keycenter=79







///////choir U Samples
//Keyswitched with sw_last=07

<region>
sample=\choir U samples\U_A3_loud.wav
 sw_last=07
lokey=56
hikey=57
pitch_keycenter=57

<region>
sample=\choir U samples\U_A4_loud.wav
 sw_last=07
lokey=68
hikey=69
pitch_keycenter=69

<region>
sample=\choir U samples\U_A5_loud.wav
 sw_last=07
lokey=80
hikey=81
pitch_keycenter=81

<region>
sample=\choir U samples\U_B3_loud.wav
 sw_last=07
lokey=58
hikey=59
pitch_keycenter=59

<region>
sample=\choir U samples\U_B4_loud.wav
 sw_last=07
lokey=70
hikey=71
pitch_keycenter=71

<region>
sample=\choir U samples\U_B5_loud.wav
 sw_last=07
lokey=82
hikey=83
pitch_keycenter=83

<region>
sample=\choir U samples\U_C3_loud.wav
 sw_last=07
lokey=48
hikey=48
pitch_keycenter=48

<region>
sample=\choir U samples\U_C4_loud.wav
 sw_last=07
lokey=60
hikey=60
pitch_keycenter=60

<region>
sample=\choir U samples\U_C5_loud.wav
 sw_last=07
lokey=72
hikey=72
pitch_keycenter=72

<region>
sample=\choir U samples\U_C6_loud.wav
 sw_last=07
lokey=84
hikey=84
pitch_keycenter=84

<region>
sample=\choir U samples\U_D3_loud.wav
 sw_last=07
lokey=49
hikey=50
pitch_keycenter=50

<region>
sample=\choir U samples\U_D4_loud.wav
 sw_last=07
lokey=61
hikey=62
pitch_keycenter=62

<region>
sample=\choir U samples\U_D5_loud.wav
 sw_last=07
lokey=73
hikey=74
pitch_keycenter=74

<region>
sample=\choir U samples\U_E3_loud.wav
 sw_last=07
lokey=51
hikey=52
pitch_keycenter=52

<region>
sample=\choir U samples\U_E4_loud.wav
 sw_last=07
lokey=63
hikey=64
pitch_keycenter=64

<region>
sample=\choir U samples\U_E5_loud.wav
 sw_last=07
lokey=75
hikey=76
pitch_keycenter=76

<region>
sample=\choir U samples\U_F3_loud.wav
 sw_last=07
lokey=53
hikey=53
pitch_keycenter=53

<region>
sample=\choir U samples\U_F4_loud.wav
 sw_last=07
lokey=65
hikey=65
pitch_keycenter=65

<region>
sample=\choir U samples\U_F5_loud.wav
 sw_last=07
lokey=77
hikey=77
pitch_keycenter=77

<region>
sample=\choir U samples\U_G3_loud.wav
 sw_last=07
lokey=54
hikey=55
pitch_keycenter=55

<region>
sample=\choir U samples\U_G4_loud.wav
 sw_last=07
lokey=66
hikey=67
pitch_keycenter=67

<region>
sample=\choir U samples\U_G5_loud.wav
 sw_last=07
lokey=78
hikey=79
pitch_keycenter=79

Post

Edit, sorry I don't know. I misunderstood you first.

Post

Using this method I can still use key switches for different defaults, like neck pickup for rhythm or bridge for lead.
Each group was made with Folder to SFZ
<group> group=0 off_by=2 //Begin Group for Telecaster DI Bridge normal


sw_default=C1

sw_lokey=C1

sw_hikey=A1

sw_last=C1

sw_label=C1 Bridge Normal


<region>
sample=A#2_normTBLow_46.wav
lokey=46
hikey=46
pitch_keycenter=46
lovel=0
hivel=127
volume=6
~~~~~~~~~~~~~~~~~~~~~~
(All other <region> notes)
~~~~~~~~~~~~~~~~~~~~~~


<group> group=1 off_by=2 //Begin Group for Telecaster DI Neck normal

sw_default=C1

sw_lokey=C1

sw_hikey=A1

sw_last=A1

sw_label=A1 Neck


<region>
sample=A#2_normTNLow_46.wav
lokey=46
hikey=46
pitch_keycenter=46
lovel=0
hivel=127
volume=6
~~~~~~~~~~~~~~~~~~~~~~
(All other <region> notes)
~~~~~~~~~~~~~~~~~~~~~~


<group> group=2 // Begin Group for Telecaster DI Bridge Articulations

// Slide Up

<region> sw_down=C#1 sw_label=C#1 Slide Up
sample=A#2_slide_upTBLow_46.wav
lokey=46
hikey=46
pitch_keycenter=46
lovel=0
hivel=127
volume=6
~~~~~~~~~~~~~~~~~~~~~~
(All other <region> slide up articulations)
~~~~~~~~~~~~~~~~~~~~~~

// Slide Down

<region> sw_down=D1 sw_label=D1 Slide Down
sample=A#2_slide_downTBLow_46.wav
lokey=46
hikey=46
pitch_keycenter=46
lovel=0
hivel=127
volume=6
~~~~~~~~~~~~~~~~~~~~~~
(All other <region> slide down articulation)
~~~~~~~~~~~~~~~~~~~~~~

// Bend Full

<region> sw_down=D#1 sw_label=D#1 Bend Full
sample=A#2_bend_fullTBLow_46.wav
lokey=46
hikey=46
pitch_keycenter=46
lovel=0
hivel=127
volume=6
~~~~~~~~~~~~~~~~~~~~~~
(All other <region> bend full articulation)
~~~~~~~~~~~~~~~~~~~~~~

// Pre Bend

<region> sw_down=E1 sw_label=E1 Pre Bend
sample=A#2_pre_bendTBLow_46.wav
lokey=46
hikey=46
pitch_keycenter=46
lovel=0
hivel=127
volume=6
~~~~~~~~~~~~~~~~~~~~~~
(All other <region> pre bend articulation)
~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~
etc...

Post Reply

Return to “Samplers, Sampling & Sample Libraries”