SamplerBox Uses Raspberry Pi 2 To Make Music

[JosephErnest] wanted a cost-effective alternative to the commercially available MIDI samplers and expanders on the market. He also wanted to avoid being tethered to a computer all the time. His solution is the SamplerBox, a standalone drop-and-play sampler that costs less than 100 euros to make. Simply insert an SD card with your sample set in WAV format, boot it up, and play it through your keyboard or MIDI controller to your heart’s content!

[JosephErnest] used a Raspberry Pi 2 in the SamplerBox because it provided higher performance. He wasn’t thrilled with the sound quality of its built-in soundcard, so he installed a USB DAC PCM2704 (an older model, but any USB DAC will do) to output the audio. He also installed a USB card reader to make switching SD cards containing sampler sets easier while keeping the Pi 2’s own microUSB card exclusively for the OS and software. Both a DIN MIDI connector and USB are included as MIDI inputs in the design. If you only plan to use a USB, the MIDI connector can be omitted from the build. The software is written in Python and cython which allows the Pi 2 to have over 128-voice polyphony. Users can also create their own sample sets to use with the SamplerBox. Preset changes can be made on the fly. All we need to rock out are some music lessons!

[via Reddit]

 

16 thoughts on “SamplerBox Uses Raspberry Pi 2 To Make Music

  1. Well, i am sorry, but i think this is only a game… What is the delay time ?? it is the key. Real time is the most important issue for a musician. Besides, this project is only a raspberry with an enclosure and something more. Sorry

    1. A game? Lol you probably haven’t tested it :)

      The code is optimized for low latency : the latency is lower than when I use a PC + DAW + piano VST with a profesionnal audio interface.
      Look at this video (thanks @huskypop for this video), it shows the low latency better than all our words :)

      1. You can clearly hear the delay on the video, between the noise of the key and the sound of the piano. So I am septic… Have you a reel value of the time latency ? (key detection + sound generation + driver latency). For a musicien you need less than 10 ms.

Leave a Reply to Justin Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.