OnWorks favicon

composite_sampler - Online in the Cloud

Run composite_sampler in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command composite_sampler that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



composite_sampler - audio sampler/synth plugin (LV2)


The Composite sampler is an audio plugin (LV2) that provides a simple sampling engine. It
is identified by the URI “http://gabe.is-a-geek.org/composite/plugins/sampler/1


The sampler includes the following ports:

NameLV2 PortTypeFlowDescription
│Left │ out_left │ AudioPort │ Output │ Left stereo │
│ │ │ │ │ channel output │
│Right │ out_right │ AudioPort │ Output │ Right stereo │
│ │ │ │ │ channel output │
│MIDI │ midi │ EventPort │ Input │ Main MIDI Input │
│Volume │ volume │ ControlPort │ Input │ Master volume │
│ │ │ │ │ [0.0-1.0] │


The primary way to control the sampler is over MIDI. See composite_midi(7) for complete
documentation on the MIDI implementation.


The drumkits for Composite are the same as for Hydrogen. To reuse your Hydrogen drumkits,
copy or symlink them to $HOME/.composite/data/drumkits/. You can create and edit drumkits
with composite-gui (or Hydrogen).


The sampler responds to MIDI Program Change events. Based on the event that it receives,
it will load up another file (e.g. a drumkit). This is how you can select the drumkit that
you wish to use.

The presets are defined in a file $HOME/.composite/data/presets/default.xml. For the
sampler plugin, you can override this by using default-presets.xml, but at the current
time there is no need to. When you first load the sampler, it will check for this file. If
it doesn´t exist, it will create one based on all your user drumkits.

The presets file is a simple XML file that allows you to define MIDI banks, and assign
different resources for each program change. An example file is as follows:

<?xml version="1.0"?>
<T:tritium xmlns:T="http://gabe.is-a-geek.org/tritium/xml/1/">
<T:bank coarse="0" fine="0">

You can define several <bank> elements for the MIDI banks. The attributes coarse and fine
correspond to the MIDI CC´s 0 and 32. Each <program> section is a preset. The
<midi_number> corresponds to the number in the PC message.

The <resource> element holds a URI/URL to the thing you want loaded. This will typically
be a drum kit, but can be any kind of file that Composite supports (like a .h2song,
.h2pattern, etc.). The sampler will do the Right Thing. (For example, when loading an
.h2song, the drumkit stored in the song will be loaded.) The URL´s supported are file://,
tritium:, and file names.

The tritium: scheme is designed to create portable URL´s to things like drum kits. For
example, the URL “tritium:drumkits/GMkit” will load the drumkit “GMkit”, whether it´s
installed in the user directory ($HOME/.composite/data/drumkits/GMkit/drumkit.xml) or in
the system directory (/usr/share/composite/data/drumkits/GMkit/drumkit.xml).

The XML namespace declaration “http://gabe.is-a-geek.org/tritium/xml/1/” is not


This plugin uses the following extensions, and they must be supported by any program
(host) that wishes to use this plugin. If the host does not support them, the plugin will
fail to load.

· Events <http://lv2plug.in/ns/ext/event#>

· Midi Events <http://lv2plug.in/ns/ext/midi#MidiEvent>

Use composite_sampler online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    A Kotlin script that nukes all build
    caches from Gradle/Android projects.
    Useful when Gradle or the IDE let you
    down. The script has been tested on
    macOS, but ...
    Download deep-clean
  • 2
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 3
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    Download AstrOrzPlayer
  • 4
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 5
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    Download Code::Blocks
  • 6
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • More »

Linux commands