I want to make a beep sound which volume is adjustable and save it as a wavefile.
If I use this code below, I can adjust volume but I don't know how to save as wav.
%Beep
Beeper(400, [0.3], [0.5]); (↑function Beeper(frequency, [fVolume], [durationSec]);)
Then if I use this code below, I don't know how to set the volume and save.
% generate a beep
beepWaveform = MakeBeep(1000,.300,44100);
Thank you for your help.
Best Answer