Skip to content

lukesnc/laythe-synth

Repository files navigation

Laythe Synthesizer

Laythe is a dual oscillator standalone polyphonic synthesizer, up to 8 voices.

Screenshot

Features

Layhte uses a simple UI to control paramaters such as enabling/disabling oscillators, selecting wavetables, changing oscillator volume, and more. Layhte can be controlled with a USB MIDI controller or your computer's keyboard (by passing the --keyboard option).

Recording

Laythe can toggle recording the current session by pressing R or pressing the red recording button. Files are saved in WAV format to recordings/ in this directory.

Build and Run

Clone this repository and build raylib with:

git clone --recurse-submodules https://github.com/lukesnc/laythe-synth.git
cd laythe-synth/thirdparty/raylib/src/
make
cd ../../../

Now build and run Laythe with:

make && ./laythe

Usage

./laythe -h
usage: ./laythe [--dev /dev/<midi_controller>] [--keyboard]

The default MIDI device that is checked for is /dev/snd/seq. This can be overridden by passing a device with --dev.

TODO

  • Add envelope generators so notes aren't just 100% on or off.
  • Fix oscillator fine tuning behavior.
  • Change octave shift to be oscillator specific.

References

About

Laythe is a standalone polyphonic synthesizer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published