Wave File Generator

Additional

Language
Java
Version
N/A
Created
Jan 25, 2017
Updated
Feb 9, 2017 (Retired)
Owner
Ayush Bansal (bansalayush)
Contributor
Ayush Bansal (bansalayush)
1
Activity
Badge
Generate
Download
Source code

WaveFileGenerator

WaveFileGenerator class generates a .wav file in main dirctory for a given frequency.

I have set the WaveFileGenerator class variables after going through these few links .

  1. http://wavefilegem.com/how_wave_files_work.html
    2 .http://www.topherlee.com/software/pcm-tut-wavformat.html
    3 .http://soundfile.sapp.org/doc/WaveFormat/

You could change the variables as per your need.

There's just 1 function in the WaveFileGenerator class i.e

public File getWavFile() //This returns the File object of the generated wave file.

If you run the app please look for "pathcheck" in your log to see the path of the generated wave file.