Skip to content

The CLI Voice Recorder is a simple Python-based tool that records audio from the microphone and saves it as a WAV file. It allows users to specify the recording duration and filename through the command line.

Notifications You must be signed in to change notification settings

Burhanali2211/VoiceRecorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎀 CLI Voice Recorder

πŸ“Œ Overview

The CLI Voice Recorder is a simple command-line tool that allows users to record audio from their microphone and save it as a WAV file. It's built using Python and makes use of the sounddevice and scipy libraries to handle recording and saving.

πŸš€ Features

  • πŸŽ™οΈ Record audio from the microphone
  • πŸ’Ύ Save audio as a .wav file
  • ⏱️ Set recording duration based on user input
  • πŸ› οΈ Simple and lightweight command-line tool

πŸ› οΈ Built With

  • Python 3.x
  • sounddevice - To record audio
  • numpy - For handling audio data
  • scipy - To save the recorded audio as a WAV file

πŸ“₯ Installation

  1. Install Python (if not installed):
    Download Python

  2. Install the required dependencies:

    pip install sounddevice numpy scipy

``

3. Clone the repository (or copy the script file)

git clone https://github.com/Burhanali2211/VoiceRecorder.git
cd VoiceRecorder

▢️ Usage

  1. Run the script:
python VoiceRecorder.py
  1. Enter the recording duration (in seconds).
  2. Enter the filename to save the audio (e.g., my_audio.wav).
  3. The recording will be saved automatically!

πŸ“ Sample Output

Enter recording duration (in seconds): 5
Recording started...
Recording finished! 5 seconds of audio recorded.
Enter the filename to save (e.g., 'recording.wav'): my_recording.wav
Audio saved to my_recording.wav

πŸ‘¨β€πŸ’» Developed By

Burhanali2211

About

The CLI Voice Recorder is a simple Python-based tool that records audio from the microphone and saves it as a WAV file. It allows users to specify the recording duration and filename through the command line.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages