15 Music

 

This chapter covers

  • Music project structure
  • Arpeggios
  • Instruments
  • Generating music data for our game
  • Using music in our game

We have used sound effects to bring our game alive with zap and explosion sounds, but to bring more atmosphere to any games it is also good to add some music. Music can be played on the title screen or during the game, and change depending on the location or scenario.

The author does not proport to having the ability to create original sounding music, and usually relies on others to supply such things. But what we will focus on in this chapter is how to use the Famistudio tool to create or adapt music. We will work with one of the included music examples included with Famistudio.

We will use the file called “Tetris (Tutorial Song).fms” during this chapter. It is located in the “Demo Songs” folder of your FamiStudio’s installation directory.

15.1 Music Project Structure

A FamiStudio project consists of four main components:

  • A list of Songs
  • A list of Instruments (used to define different sounding notes)
  • A list of DPCM (1-bit digital) samples
  • A list of Arpeggios (multi-chord notes)
Figure 15.1 Tetris music project structure

Each Song is made up of one or more patterns.

15.1.1 Sequencer

15.1.2 Piano Roll

15.2 Arpeggios

15.3 Instruments

15.3.1 Envelopes

15.3.2 DPCM Samples

15.4 Generating music data

15.5 Using music in our game

15.6 Summary

sitemap