I reworked the live_adsr.rs example so that it handles MIDI pitch-bend messages. I implemented pitch bends by using the newly created Var node (#16, #18), and I thought this might be a nice demonstration of the Var node's capabilities, as well as how to use it in practice in a live multithreaded program. I placed references to this example in the documentation comments for adsr_live() and var(), so as to help those learning how to use the library see in a realistic program how they are used.
I reworked the
live_adsr.rs
example so that it handles MIDI pitch-bend messages. I implemented pitch bends by using the newly createdVar
node (#16, #18), and I thought this might be a nice demonstration of theVar
node's capabilities, as well as how to use it in practice in a live multithreaded program. I placed references to this example in the documentation comments foradsr_live()
andvar()
, so as to help those learning how to use the library see in a realistic program how they are used.