Does java have built in libraries for audio _synthesis_?

audio, java

Solution

This Sun forum post has some interesting code for generating sin tones. Also, given that the WAV file format is not overly complicated, you could create a table representing the desired waveform and then write it to a file. There are a few examples around, e.g. a raw audio converter and how to write a wav file.

Problem

Note: I do NOT want to "read audio file foo.bar and play it." I want to programmatically generate audio files on the fly and play them. Does Java have built in libraries for this, or does this fall into the system-dependent libraries? Thanks!

Original source

Related problems