About

These are running code samples for Ricky Han's blog article on guitar effects

Example 1: Playback

  1. Connect your input (guitar bass)
  2. Ensure you do not hear audio output from playing your instrument
  3. Boot up a Jack server
  4. Ensure you do not hear audio output from playing
  5. In the 01-playback directory, do $ cargo run
  6. In jack (e.g. qjackctl Connect dialog), connect your capture output to the "rasta" application guitar sink, and connect the two "rasta" outputs to your system playback's
  7. Play your input. You should now hear your instrument playing while the application is running
  8. Hit enter when finished and ensure playback ceases on application close

This means you're successfully plugged into jack through Rust's bindings. Congrats!

Example 2: Overdrive

Same steps as above, but now the output's all dirty 'n stuff.

Example 3: Delay

Same steps, but now you'll hear an echo... you'll hear an echo... ar an echo... cho...

License

Unknown. Contact rickyhan+blog@rickyhan.com