Rust Audio Programming: Oscillator – Handle frequency changes smoothly [PART 2]
In Part 1, we built a simple sine wave generator and saved it as a .wav file. Now it’s time to make it sing — or at least play a short melody. We’ll modify our existing code to switch between different notes over time, building up something that feel...
Jan 7, 20269 min read94
![Rust Audio Programming: Oscillator – Handle frequency changes smoothly [PART 2]](https://cdn.hashnode.com/res/hashnode/image/upload/v1767809100433/1c4c9926-7385-48b2-b5ff-5045a8e8d0eb.png)


![Rust Audio Programming: Oscillator – Build a sine wave [PART 1]](https://cdn.hashnode.com/res/hashnode/image/upload/v1750511628093/bd609b42-1241-4509-8bfa-83e55786595f.png)