SELCAL Tone Generator and Tone Detector
Go to file
2024-05-24 21:24:31 +09:30
python Added tone samples generator (and convesion to midi key) 2024-05-24 18:00:07 +09:30
soundfonts Added some more soundfonts, general faffery getting their instruments 2024-05-24 16:15:55 +09:30
src Take SELCAL code as command arg 2024-05-24 21:24:31 +09:30
.gitignore Initial commit; building against libfluidsynth 2024-05-24 15:16:50 +09:30
CMakeLists.txt C++-ified everything 2024-05-24 20:12:20 +09:30
README.md C++-ified everything 2024-05-24 20:12:20 +09:30

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)