Linux Studio Plugins Project

# Multi-Sampler x48 Stereo

Detailed: LSP Multi-Sampler x48 Stereo (SZ48)

Formats: CLAP, JACK, LV2, VST2

Categories: Instrument

Developer: Vladimir Sadovnikov

Description:

This plugin implements 1-instrument MIDI sample player with stereo input and stereo output. For each instrument there are up to eight samples available to play for different note velocities.

## Import SFZ files feature

The plugin allows to import the limited SFZ files..

All regions are sorted and grouped by the group label and the note number taken from the SFZ file as a single instrument. If the number of instruments is more than 1 then all instruments above this count are ignored.

The import of embedded into SFZ audio files is also supported.

The supported list of opcodes:

- #define - variable definitions;
- #include - file includes;
- default_path - the default path the samples are located;
- note_offset, octave_offset;
- sample, including the built-in samples specified with <sample> command;
- group_label - can be used to group instruments into a single instrument;
- key - specifies the MIDI note assigned to the instrument;
- lokey, hikey, pitch_keycenter - used to determine the MIDI note if the 'key' is not specified;
- lovel, hivel - for velocity;
- lorand, hirand - used as a velocity if lovel and hivel is not specified;
- tune - fine tuning;
- pan - panning;
- volume - volume correction.

## Import Hydrogen kits feature

The plugin allows to import Hydrogen drumkit files by selecting 'Import' → 'Hydrogen drumkit file...' menu item. The file dialog allows to select the desired Hydrogen kit and import.

Additional to this feature, the Override Hydrogen kits feature is also provided and can be enabled via the 'User paths...' menu item or the 'UI behavior' → 'Override Hydrogen kits' menu item.

The main idea of the feature is following.

Additionally to the usual Hydrogen drumkit installation paths, user can specify additional drumkit installation path in the 'User paths' dialog. This will trigger automatic rescan of Hydrogen drumkits on each change of this parameter. All found drumkits will be available in the 'Import' → 'Installed Hydrogen drumkits' menu.

User also can specify the 'Hydrogen drumkit override path' that will be used to search for configuration files that will override the original Hydrogen drumkits.

If the 'Override Hydrogen kits' option is set, the behaviour of the plugin is the following.

When loading hydrogen drumkit via the 'Import' → 'Hydrogen drumkit file...' menu item or selecting one of the drumkits listed in the 'Import' → 'Installed Hydrogen drumkits' menu, the plugin removes the base path of the selected file if it matches one of the following paths:

- Typical hydrogen drumkit system installation paths (only when importing from the list of installed drumkits):

- /usr/share/hydrogen
- /usr/local/share/hydrogen
- /opt/hydrogen
- /share/hydrogen

- Typical hydrogen drumkit user paths in user's home directory (only when importing from the list of installed drumkits):

- .hydrogen
- .h2
- .config/hydrogen
- .config/h2

- The 'User Hydrogen kits path' if it is specified.
- The 'Override user Hydrogen kits path' if it is specified.

If the base path has been successfully removed, the plugin tries to search the file with the same relative path but the different extension ('*.cfg') in the following directories:

- The 'Override user Hydrogen kits' path if it is specified.
- The 'User Hydrogen kits' path if it is specified.

If the corresponding configuration file was found, the plugin uses this file for loading drumkit settings instead of the original Hydrogen drumkit file.

Also note that 'User Hydrogen kits path' and 'Override user Hydrogen kits path' allow to use system environment variables for path substitutions. For example, the following value:

    /path/to/kit/${KIT_NAME}

Will be interpreted as:

    /path/to/kit/my_drumkit

If the system environment variable 'KIT_NAME' is set to 'my_drumkit'.

## Configuration

Controls:

- Bypass - hot bypass switch, when turned on (led indicator is shining), the plugin does not affect the input signal.
- Working area - combo box that allows to switch between instrument setup and instrument mixer.

'Instrument mixer' section:

- Enabled - enables the corresponding instrument.
- Mix gain - the volume of the instrument in the output mix.
- Pan Left - the panorama of the left channel of the corresponding instrument.
- Pan Right - the panorama of the right channel of the corresponding instrument.
- MIDI # - the MIDI number of the note associated with the corresponding instrument. Allows to change the number with mouse scroll or mouse double click.
- Note on - indicates that the corresponding instrument has triggered the MIDI Note On event.
- Listen - forces the corresponding instrument to trigger the Note On event.

'Instrument' section:

- Channel - the MIDI channel to trigger notes by the selected instrument.
- Note - the note and the octave of the note to trigger for the selected instrument.
- MIDI # - the MIDI number of the note for the selected instrument.
- Group - The group assigned to the instrument. The sample playback will be stopped for all instruments in the same group except the one's that has triggered the Note On event.
- Muting - when enabled, turns off sample playback for selected instrument when the Channel Control MIDI message is received.
- Note off - when enabled, turns off sample playback for selected channel when the Note Off MIDI message is received. The sample fade-out time can be controlled by the corresponding knob. The behaviour is different, depending on the loop settings and muting settings. If the loop is enabled for the sample, then receiving MIDI Note OFF event will just break the loop and play the rest of the sample if muting is not set. If the instrument muting is set, then it will fade-out the sample.
- Dynamics - allows to randomize the output gain of the selected instrument.
- Time drifting - allows to randomize the time delay between the MIDI Note On event and the start of the sample's playback for the selected instrument.

'Samples' section:

- Listen - the button that forces the playback of the selected sample for the selected instrument
- Main tab - the main control of the sample

- Reverse - reverse the playback order of the sample (play sample from the end up to the beginning).
- Head cut - the time to be cut from the beginning of the current sample for the selected instrument.
- Tail cut - the time to be cut from the end of the current sample for the selected instrument.
- Fade in - the time to be faded from the beginning of the current sample for the selected instrument.
- Fade out - the time to be faded from the end of the current sample for the selected instrument.
- Makeup - the makeup gain of the sample volume for the selected instrument.
- Pre-delay - the time delay between the MIDI note has triggered and the start of the sample's playback for the selected instrument

- Pitch tab: - control over pitch of the sample

- Pitch - the relative sample pitch in semitones.
- Compensate - enables the time compensation of the pitched sample to match the length of the original sample.

- Linear - linear crossfade between chunks.
- Constant power - constant power crossfade between chunks.

- Fade length - the relative to the chunk size cross-fade length between sample chunks.
- Chunk size - the maximum chunk size to use for pitch compensation.

- Stretch tab: - control over stretching of the sample

- Stretch knob - the additional time to stretch or collapse the selected region of the audio sample.
- Stretch button - enables the stretching algorithm.

- Linear - linear crossfade between chunks.
- Constant power - constant power crossfade between chunks.

- Start - the start position of the stretch region.
- End - the end position of the stretch region.
- Fade length - the relative to the chunk size cross-fade length between sample chunks.
- Chunk size - the maximum chunk size to use for stretching.

- Loop tab: - control over loop over the sample

- Loop button - enables the loop feature.
- Loop mode - combo box that allows to select loop mode:

- Simple: Direct - the loop is always played in the direction from the beginning of the sample up to it's end.
- Simple: Reverse - the loop is always played in the direction from the end of the sample up to it's beginning.
- PP: Half Direct - ping-pong, the alternation of the direction playback. The loop starts to play in the direction from the start of the sample up to it's start. It is allowed to leave the playback loop at any time.
- PP: Half Reverse - ping-pong, the alternation of the direction playback. The loop starts to play in the direction from the end of the sample up to it's beginning. It is allowed to leave the playback loop at any time.
- PP: Full Direct - ping-pong, the alternation of the direction playback. The loop starts to play in the direction from the start of the sample up to it's start. It is allowed to leave the playback loop only when the playback is performed in the opposite to the initial direction.
- PP: Full Reverse - ping-pong, the alternation of the direction playback. The loop starts to play in the direction from the end of the sample up to it's beginning. It is allowed to leave the playback loop only when the playback is performed in the opposite to the initial direction.
- PP: Smart Direct - ping-pong, the alternation of the direction playback. The loop starts to play in the direction from the start of the sample up to it's start. It is allowed to leave the playback loop only when the playback is performed in direction from the beginning of the sample up to it's end.
- PP: Smart Reverse - ping-pong, the alternation of the direction playback. The loop starts to play in the direction from the end of the sample up to it's beginning. It is allowed to leave the playback loop only when the playback is performed in direction from the beginning of the sample up to it's end.

- Crossfade selection - allows to switch the cross-fade type between consequent parts of the sample.

- Linear - linear crossfade between parts.
- Constant power - constant power crossfade between parts.

- Start - the start position of the loop region.
- End - the end position of the loop region.
- Fade length - the maximum length of the crossfade between consequent parts of the sample.

'Sample matrix' section:

- Enabled - enables/disables the playback of the corresponding sample for the selected instrument.
- Active - indicates that the sample is loaded, enabled and ready for playback.
- Velocity - the maximum velocity of the note the sample can trigger. Allows to set up velocity layers between different samples.
- Pan Left - the panorama of the left audio channel of the corresponding sample.
- Pan Right - the panorama of the right audio channel of the corresponding sample.
- Listen - the button that forces the playback of the corresponding sample.
- Note on - indicates that the playback event of the correponding sample has triggered.

'Audio channel' section:

- Muting - when enabled, turns off any sample playback when the Channel Control MIDI message is received.
- Note off - when enabled, turns off any sample playback when the Note Off MIDI message is received. The sample fade-out time can be controlled by the corresponding knob.
- Dry amount - the gain of the input signal passed to the audio inputs of the plugin.
- Wet amount - the gain of the processed signal.
- Output gain - the overall output gain of the plugin.
- Mute - the button that forces any sample playback to turn off.