Make a song
Add another live loop for your bass. Compose a solid and simple bass groove. If it helps, you can use the piano on your browser to choose notes that you like. Here’s an example:
It’s time to make your tune sound more interesting! We can do this by changing the synthesizer sounds it is using. The default Sonic Pi synth is called beep
. To use a different synth, you need to add the code use_synth :name_of_synth
above the sequence of code you want to use it in.
In this example, fm is the name of the synth:
There are lots of cool-sounding synths included with Sonic Pi. To find the names of them, click on the help icon at the top of the screen so that the help documents window appears. Then select Synths from the tabs along the left hand side of the help window. Click on any of the synth names to get more information on how to use it.
On occasion, you might like to make sounds play for a longer time or at a different rate. This can be achieved by modifying the optional parameters of the code you are using. attack
and release
control the amplitude of a note over time:
Using attack and release looks like the following. Now the note would be 4 beats long.
You could make a short staccato note by setting attack to zero and release to a very short value:
Explore different synths and note lengths and get your bass track rolling.
Now the song could be something like this: