A MINI PROJECT REPORT OF BIG DATA ANALYTICS
ON
“VOICE RECORDER”
Submitted in partial fulfillment of the
BE in Computer Engineering
(Semester - IV)
By
Yukta Paranjape (10)
Department of Computer Engineering
Atharva College of Engineering
Malad West Mumbai
1. Aim:
The primary aim of this project is to develop a simple yet efficient voice recording system using
Python. This system allows users to capture audio from their microphone, process it, and save it
in the widely used WAV file format. The project demonstrates the use of Python libraries such as
sounddevice, scipy.io.wavfile, and wavio to facilitate real-time recording and storage of
audio data.
This project can serve as a foundation for various applications, including voice notes, speech
recognition systems, and multimedia projects. By implementing this voice recorder, users gain
hands-on experience in handling audio files and working with sound processing in Python.
2. Objectives: The key objectives of this project are:
• To record audio using Python: Utilize the sounddevice library to capture
sound input from the microphone efficiently.
• To process and store recorded audio: Convert the recorded sound into a
standard WAV file format for easy playback and analysis.
• To ensure optimal audio quality: Implement appropriate settings such as
sample rate (44100 Hz) and single-channel (mono) recording for clear voice
capture.
• To explore different methods for saving audio: Use scipy.io.wavfile.write()
and wavio.write() to store audio in different ways and understand their
differences.
• To introduce fundamental concepts of digital audio processing: Gain
knowledge about digital sound representation, sampling rates, and data storage
techniques.
• To provide a simple yet effective solution for personal or professional voice
recording needs: This program can be used for basic audio note-taking, voice
logging, or even as part of larger projects such as speech-to-text applications.
3. Outcomes:
CODE:
OUTPUT:
4. References:
To complete this project, the following references and resources were used:
• Python sounddevice documentation: https://pythonsounddevice.readthedocs.io/
o This documentation provides details about the sounddevice library, its
functions, and examples for recording audio.
• SciPy library documentation: https://docs.scipy.org/doc/scipy/ o SciPy's wavfile
module was used for handling WAV file storage. This documentation helped in
understanding how to save NumPy arrays as audio files.
• Wavio library: https://github.com/WarrenWeckesser/wavio o The wavio module
offers additional functionality for saving audio files. The reference material
helped in implementing an alternative method for storing recorded sound.
• Various online tutorials and forums:
o Stack Overflow discussions and Python-related blogs were helpful in
troubleshooting and optimizing the code.
Conclusion
This project successfully demonstrates the implementation of a simple voice recorder
using Python. By leveraging Python’s sounddevice, scipy.io.wavfile, and wavio
libraries, we were able to record, process, and save audio efficiently. The project
provides a basic framework that can be enhanced with additional features such as
GUI integration, noise reduction, longer recording durations, or even real-time voice
analysis.
This project serves as a stepping stone for anyone interested in exploring audio
processing, speech recognition, and multimedia applications using Python.