| Role | Name | Institution |
|---|---|---|
| Team Lead | Daniel Suresh | CUSAT |
| Member | Sreeram P | CUSAT |
| Member | Niju Roy | CUSAT |
A voice-controlled application that turns your music up or down based on how loudly you yell at it! The app uses real-time audio processing to detect voice intensity and adjusts system volume accordingly.
Control your volume by yellingโbecause who needs buttons when you have lungs? In a world where touching volume controls is just too mainstream, we bring you the solution nobody knew they needed!
An app that adjusts your device's volume based on how loudly you yellโperfect for those moments when your voice needs to be heard... by your speakers!
- ๐ค Real-time voice intensity detection
- ๐๏ธ Dynamic volume adjustment with smoothing
- ๐ Multiple visualization modes with live graphs
- ๐ง Smart calibration system for any environment
- ๐ป Cross-platform compatibility (Windows/Mac/Linux)
- โก Low-latency performance optimization
- ๐ต Optional audio feedback
- ๐ Auto-recovery from audio stream failures
- โจ๏ธ Convenient keyboard shortcuts
- Python 3.8 or higher
- Operating System: Windows 10+, macOS 10.15+, or Linux (with PulseAudio)
- Microphone access
- Admin privileges (for system volume control)
python >= 3.8
tkinter >= 8.6
sounddevice >= 0.4.4
numpy >= 1.21.0
matplotlib >= 3.4.0
pygame >= 2.1.0
pycaw >= 20181226 (Windows only)
comtypes >= 1.1.10 (Windows only)
voice-controlled-volume-adjuster/
โโโ Screenshots/ # Application screenshots
โโโ venv/ # Virtual environment (auto-generated)
โโโ .gitignore # Git ignore rules
โโโ LICENSE # MIT License
โโโ main.py # Application entry point
โโโ README.md # Project documentation
โโโ requirements.txt # Python dependencies
โโโ volume_control_config.json # Configuration file
โโโ volume_control.log # Application logs
# Clone the repository
git clone https://github.com/iamdanielsuresh/useless_project.git
# Navigate to project directory
cd useless_project
# Create virtual environment (recommended)
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
# Install required packages
pip install -r requirements.txt# Install Windows-specific dependencies
pip install pycaw comtypes# Install PulseAudio development files
sudo apt-get install libpulse-dev python3-dev# No additional steps requiredThe project uses JSON configuration files:
volume_control_config.json- Contains user settings and calibration data
Default configuration:
{
"sensitivity": 1.0,
"max_history": 100,
"update_interval": 100,
"audio_feedback": true,
"visualization_mode": "Line Graph",
"calibration": {
"min": 0,
"max": 100
}
}- Launch the application:
python main.py
- Click "Start Calibration" and follow the prompts
- Make some noise to calibrate
- Click "Start Monitoring" to begin voice control
Space: Toggle monitoringC: Start calibrationEsc: Exit applicationโ: Increase sensitivityโ: Decrease sensitivity
-
Environment Setup
- Find a quiet space
- Keep consistent distance from microphone
- Close other audio applications
-
Calibration Process
- Click "Start Calibration"
- Make noise at different volumes
- Wait for 15 seconds
- Check calibration results
-
Fine-tuning
- Adjust sensitivity slider
- Test with different volumes
- Recalibrate if environment changes
-
No Audio Input
- Check microphone permissions
- Verify default input device
- Run audio diagnostics
-
High Latency
# Adjust these values in config "update_interval": 50, # Decrease for faster response "max_history": 50 # Decrease for better performance
-
Calibration Problems
- Ensure quiet environment
- Check microphone sensitivity
- Verify audio input levels
The application includes automatic recovery for:
- Audio stream failures
- Volume control errors
- System integration issues
- Daniel Suresh:
- Project architecture
- Core audio processing implementation
- Performance optimization
- Sreeram P:
- GUI development
- Visualization components
- Documentation
- Niju Roy:
- Cross-platform compatibility
- Testing and debugging
- Windows volume control integration
- May require recalibration in different noise environments
- Brief latency during initial startup
- System volume control requires appropriate permissions
- Performance may vary based on system specifications
- Machine learning-based noise detection
- Mobile app version
- Network-based remote control
- Custom visualization plugins
- Voice command integration
- Multi-device support
This project is licensed under the MIT License - see the LICENSE file for details.
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open Pull Request
Made with โค๏ธ at TinkerHub Useless Projects