Uploaded November 2025 | Updated September 2026, 2 weeks ago
Learn how to add sample playback to your JUCE plugin using the Synthesiser, SamplerVoice and SamplerSound classes. We go from silent gray rectangle to actually playing sounds.
β° Timestamps:
0:00 Intro
0:43 GitHub Overview
2:19 Getting Sounds into Your Project with BinaryData
3:52 Creating MIDI Playback Engine
11:30 Loading and Playing One Sample
26:16 Using BigInteger
29:40 Creating a Function for Loading Samples
39:35 Summary
πΎ Download the code:
github.com/TheAudioProgrammer/JuceSamplerAudioPlugin/tree/2-loading-and-playing-samples
π― What You'll Learn:
- How JUCE's Synthesiser architecture works
- Loading audio files using BinaryData
- Creating SamplerSound and SamplerVoice objects
- Mapping samples across MIDI notes with BigInteger
- Building a reusable sample loading function
πΊ Watch Part 1 first:
youtu.be/XkRVCiaRFEA?si=akoXN4fwcNCYLbJk
====
π Learn Audio Programming
theaudioprogrammer.com/books
π€ Join our Community
theaudioprogrammer.com/community
πΌ Hire Audio Programmers & Music Tech Professionals
theaudioprogrammer.com/recruitment
π Create Your Own Audio Plug-in with Our Experienced Team
theaudioprogrammer.com/development
Stay connected with us
Instagram: instagram.com/theaudioprogrammer
Facebook: facebook.com/theaudioprogrammer
Twitter: twitter.com/audioprogrammer
Learn how to add sample playback to your JUCE plugin using the Synthesiser, SamplerVoice and SamplerSound classes. We go from silent gray rectangle to actually playing sounds.
β° Timestamps:
0:00 Intro
0:43 GitHub Overview
2:19 Getting Sounds into Your Project with BinaryData
3:52 Creating MIDI Playback Engine
11:30 Loading and Playing One Sample
26:16 Using BigInteger
29:40 Creating a Function for Loading Samples
39:35 Summary
πΎ Download the code:
github.com/TheAudioProgrammer/JuceSamplerAudioPlugin/tree/2-loading-and-playing-samples
π― What You'll Learn:
- How JUCE's Synthesiser architecture works
- Loading audio files using BinaryData
- Creating SamplerSound and SamplerVoice objects
- Mapping samples across MIDI notes with BigInteger
- Building a reusable sample loading function
πΊ Watch Part 1 first:
youtu.be/XkRVCiaRFEA?si=akoXN4fwcNCYLbJk
====
π Learn Audio Programming
theaudioprogrammer.com/books
π€ Join our Community
theaudioprogrammer.com/community
πΌ Hire Audio Programmers & Music Tech Professionals
theaudioprogrammer.com/recruitment
π Create Your Own Audio Plug-in with Our Experienced Team
theaudioprogrammer.com/development
Stay connected with us
Instagram: instagram.com/theaudioprogrammer
Facebook: facebook.com/theaudioprogrammer
Twitter: twitter.com/audioprogrammer










