Discovering the world of Pico-8, a fantasy console that brings back the nostalgia of 8-bit gaming, often leads to exploring its vast library of games and tools. One such tool that has garnered significant attention is Sonolus, a music tracker designed specifically for Pico-8. If you're curious about how to create and manipulate music in Pico-8 using Sonolus, you've come to the right place.

In this comprehensive guide, we'll delve into the intricacies of Sonolus, its charts, and how they can help you create captivating soundtracks for your Pico-8 games. Whether you're a seasoned musician looking to expand your horizons or a budding composer eager to learn, this guide will provide you with the insights you need to harness the power of Sonolus.

Understanding Sonolus and Its Charts
Sonolus is a music tracker that allows you to create and edit music directly in the Pico-8 fantasy console. It uses a unique chart system to represent musical notes, instruments, and effects. Understanding these charts is crucial for composing music in Pico-8.

At its core, a Sonolus chart consists of rows representing individual channels and columns representing the timing of notes. Each cell in the chart can contain a note, an instrument, an effect, or a combination of these. By manipulating these charts, you can create complex and engaging musical pieces.
Notes and Instruments

In Sonolus, notes are represented by numbers, with higher numbers corresponding to higher pitches. Each note can be assigned an instrument, which determines its timbre. Pico-8 comes with a variety of instruments built-in, ranging from classic 8-bit sounds to more modern tones. You can also create your own instruments using the Pico-8's sound synthesis capabilities.
To assign an instrument to a note, simply enter the instrument's number in the same cell as the note. For example, to play a middle C on the piano (instrument 0), you would enter "0 60" in the chart. To change the instrument, simply change the number before the note. For instance, "1 60" would play the same note on the square wave instrument.
Effects and Arpeggios

Sonolus also allows you to add effects to your music, such as vibrato, portamento, and arpeggios. Effects are added to the chart using special commands. For example, to add vibrato to a note, you would enter "v" followed by the vibrato speed in the same cell as the note. To create an arpeggio, you would use the "a" command followed by the arpeggio pattern and speed.
Effects can greatly enhance the complexity and richness of your music. By experimenting with different effects and arpeggio patterns, you can create unique and captivating sounds that set your Pico-8 games apart.
Working with Sonolus Charts

Now that you have a basic understanding of Sonolus charts, let's delve into some practical aspects of working with them. In this section, we'll discuss editing charts, playing back your compositions, and exporting your music for use in your games.
Sonolus provides a user-friendly interface for editing charts. You can enter notes, instruments, and effects directly into the chart using the keyboard or the Pico-8's built-in editor. The editor also includes tools for selecting, copying, and pasting sections of the chart, making it easy to create and manipulate complex musical patterns.


















Playing Back Your Compositions
Once you've created a musical piece in Sonolus, you can play it back to hear how it sounds. To do this, simply press the play button in the Sonolus interface. The music will play back using the instruments and effects you've specified in the chart.
Playing back your compositions is an essential part of the creative process. It allows you to hear how your music sounds and make adjustments as needed. You can also use the play function to test different instruments, effects, and arpeggio patterns to find the sounds that work best for your game.
Exporting Your Music for Use in Pico-8
Once you're satisfied with your musical composition, you'll want to export it for use in your Pico-8 games. Sonolus makes this easy by providing a built-in export function. To export your music, simply select "Export" from the Sonolus menu and choose the format you want to use.
Sonolus can export music in several formats, including Pico-8's native music data format. Once you've exported your music, you can load it into your Pico-8 games using the appropriate function. For example, to load a music track from a file called "music.bin", you would use the following code in your game:
load("music.bin")
music(1)
This will load the music track into channel 1, which you can then play back using the "play" function.
As you continue to explore the world of Pico-8 and Sonolus, you'll find that the possibilities for creating and manipulating music are nearly endless. Whether you're a seasoned musician or a budding composer, there's always more to learn and discover in the realm of fantasy console music creation.
So, what are you waiting for? Dive into the world of Sonolus charts and start creating the captivating soundtracks that will bring your Pico-8 games to life. Who knows? You might just become the next big thing in fantasy console music composition.