Audio samples to wave file converter

Javascript converter turning array of decimal, signed 16 bit or 24 bit audio samples (e.g. from a log) into a mono wave file.

As number of samples might be sometimes small (e.g. including only single waveform period), it can be repeated specified number of times to generate file more suitable for direct listening. Otherwise use e.g. Audacity for viewing and editing file.

Pre-filled/default form values represent single period of 1000 Hz sine with amplitude equal to 50% of full scale, at 48 ksps sampling. If repeating equal to 1000 times, generated output wave file is 1 second long.

Sampling frequency:

Sample size:

Decimal number series, can be separated with commas or white characters:

Number of times to repeat samples in file:

Name of the file to create: