Developing for the minilogue is super fun since the complexity is low and development cycles are short. However, you would still need to use the Librarian to push stuff to your synth. In this part I am showing how to utilize the now working logue-cli from VSCode directly, enabling us to hear the changes almost immediately on the synth (except when you crash it :).
In this episode I am deep-diving into the square.cpp source code. It's one of the simplest oscillators, returning just an alternating sequence of 0s and 1s (or alternatively -1 or 1, whereby -1 is the lowest possible output and +1 is the highest) at the desired frequency. For a square wave 50% of the samples will be returned as 1s, whereas with PWM you can set this percentage (called duty) freely. Keep in mind that such waveforms have sharp edges (the jump from the low to high output is steep) and this will result in distorted waveforms. Play the square oscillator (the one in the test folder) at a high note and you'll understand. We'll need more knowledge to get a nice PWM waveform. If you can't wait, google for BLIT and BLEP (poly BLEP).
In this episode I am showing you how to start creating your own oscillators. Following a discussion on GitHub I have decided to delay describing the "waves" oscillator to part 4. In the next part we will go through the "square" oscillator that is included in the SDK. In the meantime, when waiting on the new episode to get cut and published, have a look at that gist: gist.github.com/gekart/b187d3c16e6160571ccfcf6c597fea3f Its a first draft of a sound "program printer". If you ever wanted to understand how those professional patches got made by the pros, use that tool to get the individual parameters "visualized" on one page. The tool reads in the binary program and I have done my first try to get all parameters read out. Still some way to go (some unknown parameters still exist and I didn't tackle the sequencer yet).
Do you want a quick and easy start into C/C++ minilogue XD and prologue Multi Engine SDK development? In this tutorial series I am showing you how you can program a user synth and FX using the SDK. Creating a user oscillator is easy and will make these successful KORGs even more attractive. The possibilities are only limited only by our creativity (and the specs of course). 5:18 Download Librarian 7:38 Download SDK 10:08 Download submodule and tools 13:06 Compile waves demo oscillator 14:06 Upload "waves" oscillator to minilogue xd Of course, the series can also be used to program the Multi Engine of the prologue. In the preparation of the next part, I have created a pull request on GitHub with a commented version of the waves oscillator: github.com/korginc/logue-sdk/pull/10 Disclaimer: I have no affiliation to KORG.