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