- Open this project in VSCode
- Press
F5to launch a new Extension Development Host window - The CodeBeat extension will automatically activate
- Look for the CodeBeat control in the bottom-left status bar 🎛️
- Open any code file in the Extension Development Host
- Check the CodeBeat - Suno API Mock output channel to see music generation
- Edit the code and watch for real-time analysis
- Open the integrated terminal
- Run any build command:
npm run build,tsc,webpack, etc. - Watch for success celebrations when tasks complete successfully
- Introduce syntax errors in your code
- Watch the diagnostic feedback in the output channel
- Fix the errors and see improvement celebrations
- Use Command Palette (
Cmd+Shift+P) - Run "CodeBeat: Trigger Celebration"
- See celebration music generation
- Look at the bottom-left of VS Code for the CodeBeat status bar item
- Playing State: Shows
🔊 CodeBeatwith normal background - Stopped State: Shows
🔇 CodeBeatwith warning background - Click the status bar item to toggle between play/stop
- Watch for notification messages when state changes
- Press
Cmd+Shift+M(Mac) orCtrl+Shift+M(Windows/Linux) - This toggles CodeBeat on/off instantly
- Works from any editor window
- Use
Cmd+Shift+Pto open Command Palette - Try these new commands:
- CodeBeat: Play - Start music generation
- CodeBeat: Stop - Stop music generation
- CodeBeat: Toggle CodeBeat - Switch between states
Access CodeBeat settings:
codebeat.enabled- Enable/disable the extension (also controlled by status bar)codebeat.volume- Music volume (0-100%)codebeat.celebrationDrops- Enable success celebrationscodebeat.analysisSensitivity- Analysis frequency (ms)
Quick Control Options:
- Status Bar: Click the CodeBeat item in bottom-left
- Keyboard:
Cmd+Shift+MorCtrl+Shift+M - Commands: Use Command Palette for play/stop/toggle
Watch the CodeBeat - Suno API Mock output channel to see:
- Real-time music parameter generation
- Tandemn API code analysis results
- Success pattern detection
- What would be sent to Suno API
When you edit code, you'll see output like:
🎵 SUNO API CALL - codebeat_abc123_001
Timestamp: 2025-09-14T10:30:00.000Z
Trigger: CODE_ANALYSIS
Context: code_analysis
📋 REQUEST PAYLOAD:
{
"prompt": "Create progressive electronic music at 105 BPM with energetic mood for algorithm code...",
"bpm": 105,
"genre": "progressive electronic",
"mood": "energetic",
"energy": 7,
"instruments": ["synth", "strings", "percussion", "bass"],
"duration": 60,
"tags": ["algorithm", "complex", "energetic"],
"structure": "layered composition with dynamic changes",
"make_instrumental": true,
"model_version": "v3.5",
"wait_audio": false
}
- JavaScript/TypeScript: Upbeat electronic music (110-125 BPM)
- Python: Algorithmic ambient music (90-95 BPM)
- C++/Rust: Intense technical music (100-105 BPM)
- HTML/CSS: Design-focused ambient (100-110 BPM)
- SQL: Data-focused calm music (80 BPM)
- Compilation Success: Epic orchestral with brass (130 BPM)
- Bug Fix: Uplifting electronic with tension release (110 BPM)
- Test Pass: Confident electronic celebration (120 BPM)
- Deployment: Full orchestral finale (140 BPM)
The extension intelligently detects your coding context and generates appropriate music parameters that would create the perfect soundtrack for your development workflow!
v1.1.0 Updates:
- 🎮 Status Bar Control: Instant play/stop button in VS Code's bottom-left corner
- ⌨️ Keyboard Shortcut:
Cmd+Shift+M(Mac) orCtrl+Shift+M(Windows/Linux) for quick toggle - 🎯 Visual Feedback: Status bar shows current state with icons and color changes
- 📱 User-Friendly: No more hunting through menus - control music with a single click
- 🔄 Smart State: Remembers your preference and updates all controls in sync
Easy Testing:
- Launch the extension development host (
F5) - Look for
🔊 CodeBeatin the bottom-left status bar - Click it to toggle between play (
🔊) and stop (🔇) states - Try the keyboard shortcut for instant control
- Watch the notification messages and status bar color changes