Writing your own modules
Anterior | Capítulo 4. Extending GNU Solfege | Próxima

## Writing your own modules

### Atenção

Experimental feature. Will most likely change in the next stable branch because we need a failsafe way for exercise module to include other files like graphcis etc.

You can write your own exercise modules in Python and place them in the `modules/` directory parallell to the `lesson-files/` directory containing the lesson file. So the lesson file `USERDATA/exercises/user/lesson-files/demofile` will search for exercise modules in `USERDATA/exercises/user/modules/`.

A module below USERDATA can have the same name as one of the standard modules. The module below USERDATA will be used when the lesson file is stored in the `lesson-files/` directory parallell to the `modules/` directory. But the standard lessonfiles stored in INSTALLDIR and in other directories willuse the standard module included with Solfege.

Anterior | Acima | Próxima
The `twelvetone` module | Principal | The `mpd` module