I Built Peel Studio, an Open Source DAW
I set out to clone FL Studio. I ended up with a DAW of my own.
It’s called Peel Studio. It’s free, it’s written in Rust and the whole thing is open source. You can program a beat, record audio over it, mix it and export a song. It comes with built-in synths, sampled instruments, effects and four demo songs, so there’s something to play when you open it. All the code is on GitHub.
Afterglow, one of the demo songs. The blocks up top are the arrangement and the buttons underneath are one of the drum patterns. Click any screenshot to see it full size.
Old habits
I spent years making synthwave and trap in FL Studio. When I reviewed the MPC Live II, half the story was me knowing exactly what I wanted to do and spending most of my first beat hunting for the button that did it.
So Peel starts where FL starts for me. I click a few squares in the Channel Rack to get a kick and snare going, then open those same notes in the Piano Roll to add a hat roll or push a note a little late because it’s sitting too neatly on the grid. A pattern can hold several instruments, so the bass can stay with the drums while I work out how the two parts fit together. Once I’ve got a groove I like, it goes into the Playlist and I start chopping the song into sections. That’s the bit of FL Studio I wanted to bring across.
Every copy of a pattern in the Playlist points at the same notes. Move a snare in one and it moves everywhere, which is usually what I want. Then there’s the last chorus, where I want the drums to drop out for half a bar and leave every other chorus alone. Right-click that clip, choose Make unique and it becomes its own copy I can mess with.
There’s also a Performance view that lays clips out in a grid. You can launch them one at a time or bring in a whole scene on the next bar, and Peel can record what you launched and turn it into an arrangement. I like working out whether the bass should come back in by playing the change and listening to it.
Performance view. Each row can launch several clips together.
The 808
If you make trap, this is the bit I’d show you first. On the 808’s Slide preset, when two notes overlap, the second one bends the first to its pitch without retriggering the sound. The Piano Roll draws a little line where the bend happens. Say I want a bass note to climb an octave just before the snare. I grab the end of one note, stretch it under the next, and the line slopes up to the new pitch.
The 808 part in Night Shift. The diagonal lines are the pitch slides.
This is about 29 seconds of Night Shift at 142 BPM, starting just before the first hook. The high notes at the start are bells. Listen low once the drums come in and you’ll hear the 808 moving around underneath them.
Download the Night Shift excerpt (MP3).
The other three demos are Afterglow (progressive house), Neon Coast (synthwave) and Corner Store (boom bap). They open as full projects, so you can solo a part, pull an effect off or go looking for the note that makes something sound the way it does. I reckon that’s a better way to get a feel for a new DAW than staring at an empty arrangement.
The instruments go beyond electronic drums. The acoustic kit has four recorded strike strengths per piece and three alternate hits at each strength, so two snares at the same velocity don’t have to be the same recording. You hear the difference most in fills. There are recorded guitars and basses as well, plus synths, keys and a sampler for your own sounds. The instrument guide has the full rundown.
Mixing and recording
The mixer is where this got out of hand. Once you call something a DAW, people expect to feed the drums into a bus, send the snare to a reverb and have the kick duck the 808 every time it hits. Then they hit Solo and expect all of that routing to keep working.
Peel has inserts, buses, sends and sidechain compression, and you can draw automation curves for effect parameters straight into the Playlist.
Afterglow at the mixer. The drum channels feed a Drum Bus, so you can turn the whole kit up or down together.
You can also arm a lane, monitor the input and record audio directly onto the arrangement. When I’m adding guitar to a pattern I want to plug in, pick the input and play while the song runs. For the take to land where I actually played it, Peel has to work out how long the audio spent getting in, going through the mixer and coming back out to my headphones. Sitting there with a guitar, all I want to notice is that the part ended up where I played it.
The stock effects include EQ, compression, limiting, delay and reverb, and Peel hosts CLAP plugins if you’ve got your own. When the song’s done you can export WAV, MP3, FLAC or AIFF, or export stems and finish the mix somewhere else. There’s a command-line renderer too, which is what made the Night Shift clip above. The export guide covers the lot.
The engine keeps musical positions as fractions of a beat. A triplet stays exactly a third of a beat until it has to land on a specific audio sample. If the timing drifts a little further every time the loop comes round, it doesn’t matter how good the synth sounds. There’s also a test that makes sure the audio callback never allocates memory, because every block of samples has a deadline and you hear it when one gets missed. The timing notes and realtime rules go into more detail.
On my machine
A few things are working in my local build but aren’t on the public main branch yet.
Pitch shifts audio, like a drum loop or a chord, up to two octaves. Its Voice mode is for a single voice and tries to preserve formants, the resonances that give a voice a lot of its character. Pitch a vocal up a few notes and it keeps more of what makes it sound like the same person. Turn the feedback up in Classic mode and each repeat climbs in pitch, which is a good way to make a perfectly sensible synth sound a bit unwell.
Tune pulls a sung or played note towards a key and scale. Set Speed to zero for that hard, stepped sound. Give it more time and you can keep the scoop into a note or the vibrato at the end of it. Breaths and consonants pass straight through. I like that the same effect can save one dodgy note or be the most obvious sound on the whole damn track.
I’ve added a recording count-in, which gives me a bar to get both hands back on the guitar. Punch recording is in my local build too. Set a range for the two bars you want to redo and Peel keeps that section. If you came in early, you can drag out the edge of the clip to get the rest of the take back.
Still to come
I’m working on loop recording that stacks takes, so I can play a section a few times and pick the best pass. More EQ options and new compressor, reverb and delay types are on the list as well.
The bigger job is a note-by-note editor for recorded clips, inspired by Melodyne. I want to open a clip, see the detected notes as little blobs and drag one into tune or nudge it slightly in time. Say a singer lands flat on the last note of an otherwise good take. I’d want to grab that one note, fix it by ear and hear it back in context, with the rest of the take intact.
Try it
Peel Studio targets macOS, Windows and Linux. All of it is open source under GPL-3.0-or-later, including the Rust audio engine and the desktop UI. It’s early days and there’s no packaged download yet, so trying it means building it from source. Clone the repo and follow the build instructions for your platform.
Once it’s running, open Night Shift from the welcome screen and find the 808 in the Piano Roll. Pull one note back so it stops overlapping the next and listen to the slide disappear while the pattern loops. Then stretch it back under and listen to the difference.




Comments