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 read66
![Rust Audio Programming: Oscillator – Handle frequency changes smoothly [PART 2]](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1767809100433%2F1c4c9926-7385-48b2-b5ff-5045a8e8d0eb.png&w=3840&q=75)


![Rust Audio Programming: Oscillator – Build a sine wave [PART 1]](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1750511628093%2Fbd609b42-1241-4509-8bfa-83e55786595f.png&w=3840&q=75)