What software could I use to create a WAV file from a function of sample number?
I am building an implementation of Group Additive Synthesis in a modular softsynth and I just need a simple way of creating the wavetables.
Sound Design Stack Exchange is a question and answer site for sound engineers, producers, editors, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityThe first thing that comes to mind is a tool like Matlab (from the Matthworks). You can download a free trial, but you would have to learn some prograsmming (or Matlabs language). But I believe it can create a .wav or .aiff file from a function that synthesizes a waveform or a complex signal.
If simple waveforms are enough, Audacity is a (free and) convenient tool to go for. In the version I use (2.1.2), the following are creatable per default (please see below for plugin add-on):
Simple waveforms (you can specify frequency, amplitude and duration):
Chirps (amplitude and frequency changes over time (additionally, interpolation curve is selectable here ("linear" vs. "logarithmic"))
DTMF tones
Noise (you can specify amplitude and duration):
Simple risset drums (editable frequency, decay, center frequency of noise, width of noise band, amount of moise in mix, amplitude).
Simple pluck strings (editable duration, fade out type and midi note height).
Furthermore, there are plugins that might be of interest in your case. See this one for example.
You can export your generated waveform in many audio formats, including several .wav
formats with different bit depth.