A simple audio recording application built with Python and Tkinter.
- Python 3.x (Important: Download and install from python.org)
- During installation, make sure to check "Add Python to PATH"
- Required Python packages:
- sounddevice
- scipy
- tkinter (usually comes with Python)
- numpy
-
Install Python:
- Download Python from python.org
- Run the installer
- ✅ Check "Add Python to PATH" during installation
- Click "Install Now"
-
Verify Python installation by opening Command Prompt and typing:
py --version- Install the required packages:
py -m pip install sounddevice scipy numpy- Navigate to the application directory:
cd /path/to/MyRecorder- Create a logs directory:
mkdir logs- Run the main script:
py main.py- Click "Start Recording" to begin recording audio
- Click "Stop Recording" to stop and save the recording
- The recorded file will be saved in the same directory as 'recorded_audio.wav'
- Use "Play" to listen to the last recorded audio
- Use "Stop" to stop the playback
Make sure your microphone is properly connected and selected as the default input device in your system settings.
If you get "Python was not found" error, try these steps:
-
Remove Microsoft Store Python Alias:
- Open Windows Settings
- Search for "Manage app execution aliases"
- Turn OFF "App Installer Python" and "App Installer Python3"
-
Reinstall Python:
- Uninstall any existing Python versions
- Download Python 3.x from python.org
- Run installer as Administrator
- ✅ IMPORTANT: Check both boxes:
- "Add Python to PATH"
- "Install for all users"
- Choose "Customize installation"
- On next screen, keep all options checked
- On "Advanced Options" screen, check:
- Install for all users
- Associate files with Python
- Add Python to environment variables
- Customize install location to:
C:\Python3x(where x is version number)
-
Verify Installation:
- Open a new Command Prompt
- Use this command:
py --versionNote: On Windows, using py is the recommended way to run Python.
If still not working, add Python manually to PATH:
- Search for "Edit system environment variables"
- Click "Environment Variables"
- Under "System Variables", find and select "Path"
- Click "Edit" and "New"
- Add:
C:\Python3xandC:\Python3x\Scripts