SamplerBox is a sampler based on RaspberryPi.
Switch branches/tags
Nothing to show
Clone or download


An open-source audio sampler project based on RaspberryPi.



SamplerBox works with the RaspberryPi's built-in soundcard, but it is recommended to use a USB DAC (such as this 6€ one) for better sound quality.

  1. Install the required dependencies (Python-related packages and audio libraries):
sudo apt-get update ; sudo apt-get -y install git python-dev python-pip python-numpy cython python-smbus portaudio19-dev libportaudio2 libffi-dev
sudo pip install rtmidi-python pyaudio cffi sounddevice
  1. Download SamplerBox and build it with:
git clone
cd SamplerBox ; sudo python build_ext --inplace
  1. Run the soft with python

  2. Play some notes on the connected MIDI keyboard, you'll hear some sound!

(Optional) Modify's first lines if you want to change root directory for sample-sets, default soundcard, etc.

How to use it

See the FAQ on

ISO image

The ready-to-use ISO images available on are built with the help of a script that can be found in isoimage/


Author : Joseph Ernest (twitter: @JosephErnest, mail:


Creative Commons BY-SA 3.0