Kapittel 4. Extending GNU Solfege

Innholdsfortegnelse

Introduction
Lesson files
File encoding
Comments
Types
Global variables
Lesson file contents
Header block
Question block
music objects
Functions
Operators
The harmonicinterval module
The melodicinterval module
The singinterval module
The compareintervals module
The idbyname module
The singanswer module
The rhythm module
The rhythmtapping module
The rhythmtapping2 module
The idtone module
The chord module
The dictation module
The singchord module
The nameinterval module
The elembuilder module
The element block
The header block
The question block
Midi instrument names
Percussion instrument names

Introduction

GNU Solfege is written so that it can easily be extended, even if you do not know any computer programming. The steps are:

  • Create a lesson file.

  • Create a learning tree for your own lesson file. You do this only once.

  • Add the lesson file to the learning tree.

Read “Lesson files” for details on creating lesson files. The easiest way to get started is to take one of the existing lesson files, and modify it. Select File locations on the Help menu to find out where the included lesson files are stored, and where you should save the additional files you create. It is important to store the lesson files you create in the directory intended for user created lesson files, and not in the applications directory. This to avoid loosing files when you upgrade the program.

The file paths is not written here in the user manual because the file path depends on which operating system you run.

You create a learning tree by opening the learning tree editor. Select Learning tree from the Edit menu. Then click the New button and enter a file name. Solfege will suggest a directory to save learning trees, and unless you a good reason to do so, I suggest you save the file there. You can find the location of this directory in the File locations dialog.

Then you create a menu and a submenu with the learning tree editor, and finally adds the lesson file to the selected submenu by clicking the Add lesson button.