Skip to content
SamplerBox is a sampler based on RaspberryPi.
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
0 Saw
isoimage Uses sounddevice instead of pyadio, added iso making script Nov 12, 2016 Removed latency="low" (finally caused lag with RPi built-in soundcard) Jul 10, 2017
samplerbox_audio.pyx first commit May 21, 2015


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

You can’t perform that action at this time.