
# SELCAL Tone Generator

## Building

Assumes that the fluidsynth sources are in the fluidsynth/ directory.

```
mkdir build
cd build
cmake ..
make tone-generator
```

## Rules of SELCAL Codes
- Letters must not be duplicated across the whole code
- Within each of the two groups, letters must be sorted alphabetically
- AB-CD and CD-AB are valid.
- AA-CD and BA-CD are not valid.

## System packages
Requires the following packages (debian)

```
sudo apt install libfluidsynth2 libfluidsynth-dev
```
```
liblog4cxx-dev/focal 0.10.0-15ubuntu2 amd64
  Logging library for C++ (development files)

liblog4cxx-doc/focal,focal 0.10.0-15ubuntu2 all
  Documentation for log4cxx
```

May also need some soundfonts from:

```
fluid-soundfont-gm/focal,focal 3.1-5.1 all
  Fluid (R3) General MIDI SoundFont (GM)

fluid-soundfont-gs/focal,focal 3.1-5.1 all
  Fluid (R3) General MIDI SoundFont (GS)
```
