Saving waveform data to a file (standard version)Purpose. Generates waveform data (sine, square, ...) and saves them to a file. This program uses AudioSystem.write() to write the file. Usage. java OscillatorFile [ -t waveformtype ] [ -f signalfrequency ] [ -r samplerate ] [ -a amplitude ] audiofile Parameters.
Bugs, limitations. Full-scale waves can lead to clipping. It currently not known which component is responsible for this. Source code. OscillatorFile.java, Oscillator.java, gnu.getopt.Getopt | |