@@ -19,7 +19,7 @@ Play audio files through your microphone in multiplayer games like CS, Battlefie
1919- ** Python 3.13** or higher
2020- ** uv** or ** pip** for package management
2121
22- ### 2. Virtual Audio Cable ⚠️
22+ ### 2. Virtual Audio Cable
2323** CRITICAL** : You need a virtual audio device to route audio to your microphone.
2424
2525** Recommended: VB-Cable (Free)**
@@ -30,37 +30,18 @@ Play audio files through your microphone in multiplayer games like CS, Battlefie
3030 - ` CABLE Input ` - Where your soundboard outputs audio
3131 - ` CABLE Output ` - What your game reads as a microphone
3232
33- ### 3. System Audio Libraries
34-
35- ** Windows:**
36- The Python packages may require system audio libraries. If you encounter errors:
37- ``` powershell
38- # Using Chocolatey
39- choco install portaudio
40-
41- # Or download manually from: http://www.portaudio.com/
42- ```
43-
4433## 🚀 Installation
4534
4635### Quick Start
4736
48- 1 . ** Clone this repository :**
37+ 1 . ** Install via uv or pip :**
4938 ``` bash
50- git clone https://github.com/yourusername/mu.git
51- cd mu
39+ uv add mu
40+ # optional: with yt-dlp for downloading audio
41+ uv add mu[yt-dlp]
5242 ```
5343
54- 2 . ** Install dependencies:**
55- ``` bash
56- # Using uv (recommended)
57- uv sync
58-
59- # Or using pip
60- pip install -e .
61- ```
62-
63- 3 . ** Add your audio files:**
44+ 2 . ** Add your audio files:**
6445 - Place audio files (MP3, WAV, OGG, FLAC, M4A) in the ` sounds/ ` directory
6546 - Organize in subdirectories if desired
6647 - The app automatically scans and loads all audio files
@@ -123,7 +104,7 @@ mu listen # Start hotkey listener (press ESC to stop)
123104mu interactive # Launch full interactive menu
124105
125106# Help
126- mu --help # Show all commands with beautiful help
107+ mu --help # Show all commands
127108```
128109
129110### Quick Workflow
@@ -218,8 +199,8 @@ The app recursively scans all subdirectories.
218199### Getting Audio Files
219200
220201``` bash
221- # Download from YouTube (uses yt-dlp in dev dependencies )
222- uv run yt-dlp -x --audio-format wav " https://youtube.com/watch?v=..."
202+ # Download from YouTube (uses yt-dlp if installed )
203+ yt-dlp -x --audio-format wav " https://youtube.com/watch?v=..."
223204
224205# The file will be saved in your current directory
225206# Then move it to sounds/
@@ -248,21 +229,21 @@ mu setup
248229 mu play test-sound
249230 ```
250231
251- 2 . ** Volume Control** :
232+ 2 . ** Volume Control** :
252233 - Adjust Windows master volume
253234 - Use audio editing software to normalize clips
254235 - Set in-game voice volume appropriately
255236
256- 3 . ** Quick Access** :
237+ 3 . ** Quick Access** :
257238 - Keep a terminal with ` mu listen ` running
258239 - Alt-tab is instant with hotkeys
259240 - Or use a second monitor
260241
261- 4 . ** Push-to-Talk** :
242+ 4 . ** Push-to-Talk** :
262243 - If your game uses PTT, you'll need to hold it while playing sounds
263244 - Or configure the game to use voice activation
264245
265- 5 . ** Be Respectful** :
246+ 5 . ** Be Respectful** :
266247 - Don't spam sounds excessively
267248 - Use appropriate audio in competitive matches
268249 - Some communities have rules about soundboards
@@ -287,15 +268,6 @@ mu devices # Verify device IDs
287268mu setup # Reconfigure if needed
288269```
289270
290- ### "Import errors" or "Module not found"
291- ``` bash
292- # Reinstall dependencies
293- uv sync
294-
295- # Or with pip
296- pip install --upgrade sounddevice soundfile numpy pynput rich-click
297- ```
298-
299271### "Audio plays on my speakers, not through mic"
300272** Problem** : Wrong output device selected
301273
@@ -424,4 +396,4 @@ This is a personal project, but contributions are welcome!
424396
425397## 📄 License
426398
427- This project is provided as-is for personal and educational use.
399+ This project is provided as-is for personal and educational use only. See [ LICENSE ] ( https://github.com/Harshal6927/mu?tab=Apache-2.0-1-ov-file ) for details .
0 commit comments