- Download Python from https://python.org
- IMPORTANT: Check "Add Python to PATH" during installation
- Recommended: Python 3.8 or later
- Working microphone or audio input device
- Windows audio drivers installed
- Microphone permissions enabled
-
Download Musico: Extract all files to a folder (e.g.,
C:\Musico) -
Run Setup: Double-click
setup_windows.bat- This will create a virtual environment
- Install all required Python packages
- Test your audio devices
-
Test Installation: Double-click
test_windows.bat- Verifies all components are working
- Tests audio recording
- Tests GUI functionality
-
Run Musico: Double-click
run_windows.bat- Starts the full-screen music identification app
-
Open Command Prompt as Administrator
- Press
Win + R, typecmd, pressCtrl + Shift + Enter
- Press
-
Navigate to Musico folder
cd C:\Musico -
Create virtual environment
python -m venv music_env
-
Activate virtual environment
music_env\Scripts\activate.bat
-
Install requirements
pip install -r requirements.txt
-
Test audio devices
python select_input_windows.py
-
Run Musico
python Musico_windows.py
- Solution: Reinstall Python and check "Add Python to PATH"
- Alternative: Add Python to PATH manually in System Environment Variables
- Solution 1: Install Microsoft Visual C++ Build Tools
- Solution 2: Use pipwin:
pip install pipwin pipwin install pyaudio
- Solution 3: Download PyAudio wheel from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio
- Solution 1: Check microphone is connected and enabled
- Solution 2: Run Windows Audio Troubleshooter
- Solution 3: Check microphone permissions in Windows Settings > Privacy > Microphone
- Solution 1: Test GUI:
python -c "import tkinter; print('OK')" - Solution 2: Update graphics drivers
- Solution 3: Try running in windowed mode first
- Solution 1: Check internet connection
- Solution 2: Play music louder
- Solution 3: Try different music (some songs may not be in Shazam database)
python --version
python -c "import sys; print(sys.executable)"python -c "import pyaudio; p = pyaudio.PyAudio(); [print(f'{i}: {p.get_device_info_by_index(i)['name']}') for i in range(p.get_device_count()) if p.get_device_info_by_index(i)['maxInputChannels'] > 0]; p.terminate()"python -c "import pyaudio, numpy, shazamio, PIL, requests, tkinter; print('All dependencies OK')"python -c "import pyaudio, numpy; p = pyaudio.PyAudio(); stream = p.open(format=pyaudio.paInt16, channels=1, rate=44100, input=True, frames_per_buffer=1024); data = stream.read(1024); stream.close(); p.terminate(); print('Audio recording OK')"Musico/
├── Musico_windows.py # Main Windows application
├── setup_windows.bat # Windows setup script
├── run_windows.bat # Windows run script
├── test_windows.bat # Windows test script
├── select_input_windows.py # Audio device selector
├── requirements.txt # Cross-platform requirements
├── requirements_windows.txt # Windows-specific requirements
├── README_Windows.md # Windows documentation
├── INSTALL_Windows.md # This installation guide
└── music_env/ # Virtual environment (created by setup)
- Full Screen: Double-click
run_windows.bat - Command Line:
python Musico_windows.py
Escape: Exit full-screen modeF11: Enter full-screen modeQ: Quit application
- Black Screen: No music detected (silence)
- White Screen: Music detected but not identified
- Full-Screen Album Art: Music successfully identified
If you encounter issues:
- Check the
musico.logfile for detailed error messages - Run
test_windows.batto verify all components - Ensure all prerequisites are met
- Check Windows audio and microphone settings
To remove Musico:
- Delete the Musico folder
- The virtual environment will be removed with the folder
- No system files are modified during installation