Code for a sine sweep
I have been testing various sine sweeps for use in impulse reverbs. I thought it would be useful to show the Java code for creating a short wave file with a sine sweep. The code is simple, but also interesting. It is interesting not only because it creates a sine sweep, but also because it shows the structure of simple wave files. Beginner DSP designers, who want to create or read wave files, may find it useful.