This Python script records audio from the microphone and saves it as a WAV file. The script uses the sounddevice and scipy.io.wavfile libraries to record and save the audio.
- Python 3.x
- sounddevice library
- scipy library
- Run the script in a Python environment.
- Enter the recording time in seconds when prompted.
- The script will record audio for the specified duration and save it as a WAV file named “My Recording.wav” in the current directory.