dwhinham / mt32-pi

🎹🎶 A baremetal kernel that turns your Raspberry Pi 3 or later into a Roland MT-32 emulator and SoundFont synthesizer based on Circle, Munt, and FluidSynth.
https://twitter.com/d0pefish
GNU General Public License v3.0
1.28k stars 81 forks source link

Configuration file #8

Closed dwhinham closed 4 years ago

dwhinham commented 4 years ago

Ideally we want a user-editable configuration file so that things like audio device, sample rate, buffer size, and peripheral options (like LCD) can be configured.

Currently, all options are hard-coded into the build, which isn't very flexible.

I will probably go with a simple INI format, and use https://github.com/benhoyt/inih as a lightweight parser.