A Multiband Compressor I made on JUCE and my first taste with C++

Z Matin
1 min readMay 18, 2021

So this was my first project where I got to try C++.

At the time (Jan 2020) the notion of IDE, debugging and polymorphism were all very new to me. During my Masters I often had to learn the tools first before I could apply the theory that was covered in the lectures.
And it was no different this time round.

Since 90% of my effort was to solve crashes and compile failures in my program it turned out that C++ can be a very tedious language to learn especially if you are new to programming.
There are a lot of good practices to adhere to and should you not know this when building a complex application you are very likely to run into trouble.

For example you need to learn and use the standard libraries that are available within the language.
The idea of a ‘memory leak’ was so new to me it made me realise that I needed to learn the mechanics of low level coding before I could really embrace C++ as a language.

Anyway it worked really well after overcoming these hiccups and my compressor followed the schematics of DSP theory without any problems.

The heart of the code was to implement a DSP algorithm for a compressor and apply this over 3 filter bands. If you’re interested, read my review here.

SAM’s Teach Yourself C++ One Hour a Day was a huge help of a book.

--

--