You can use Python (specifically pydub) to create, merge, and extract information of audio files.
Some common wave sound types are Sine Wave, Square Wave, and Noise:
Create various types of sounds using Python:
sine_wave = Sine(440).to_audio_segment(duration=2000) # 440Hz, 2s
square_wave = Square(330).to_audio_segment(duration=2000) # 330Hz, 2s
noise = WhiteNoise().to_audio_segment(duration=2000) # White noise, 2s
print("Playing Sine Wave...")
play(sine_wave)
print("Playing Square Wave...")
play(square_wave)
print("Playing Noise...")
play(noise)
Output:
Playing Sine Wave...
Input #0, wav, from '/var/folders/gc/49grx5f90nv3f12yh4jhhf740000gn/T/tmp76t_6hr8.wav':
Duration: 00:00:02.00, bitrate: 705 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 1 channels, s16, 705 kb/s
1.90 M-A: -0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B
Playing Square Wave...
Input #0, wav, from '/var/folders/gc/49grx5f90nv3f12yh4jhhf740000gn/T/tmprs_ia1oz.wav':
Duration: 00:00:02.00, bitrate: 705 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 1 channels, s16, 705 kb/s
1.91 M-A: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B
Playing Noise...
Input #0, wav, from '/var/folders/gc/49grx5f90nv3f12yh4jhhf740000gn/T/tmpcyas1t8j.wav':
Duration: 00:00:02.00, bitrate: 705 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 1 channels, s16, 705 kb/s
1.90 M-A: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B