π€ Coding in Mercury
Now that you got everything setup and are ready to start coding you're probably wondering: "How does this actually work?"
This short introduction will help you to get started with coding your first sounds and music. The guide will explain the Mercury syntax, some basics in (western) music theory, the concept of serialism in music and algorithmic composition.
First we will look briefly at what Live Coding is and how this works in Mercury. Then we will make a sampler to play a basic sound, changing the timing, changing the tempo, play more samples together and make a rhythm. We'll look at how we can create these rhythms with functions too to make the compisition algorithmic. After that we will focus on creating a synthesizer that allows us to play melodies. We'll see how we can make a melody with a list of numbers and apply a scale. We can also play chords and adjust the sound to our liking by changing the waveform, changing the length of the sound and applying different effects such as a filter, a echo and a reverb. If you run into an issue please see the Troubleshooting page.
You can find many more bite-sized tutorials in the Mercury Playground in the bottom left corner drop down menu.