selcal/README.md

40 lines
837 B
Markdown

# SELCAL Tone Generator
## Building
Assumes that the fluidsynth sources are in the fluidsynth/ directory.
```
git clone https://github.com/FluidSynth/fluidsynth.git
git clone https://github.com/Neargye/magic_enum.git
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.
## Build with system packages?
Requires the following packages (debian)
```
sudo apt install libfluidsynth2 libfluidsynth-dev
```
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)
```