Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 1.96 KB

README.md

File metadata and controls

59 lines (44 loc) · 1.96 KB

Musik

Musical theory and audio signals concepts expressed in Rust. It is mostly expired by HSoM book.

Install dependencies

sudo apt install libasound2-dev   # also `qjackctl` and `qsynth` for handling audio streams

Examples

You could listen to your code examples (or included example) by compiling with the play-midi feature (included by default).

  1. Run one of the external MIDI servers, e.g.:

    • timidity -iA -Os
    • fluidsynth --audio-driver=alsa -o audio.alsa.device=pulse /usr/share/sounds/sf2/FluidR3_GM.sf2
  2. Run your code, e.g. cargo run --example hsom-exercises.

Useful Links

Similar crates