How premsai626/vibe_tune works
VibeTune is a browser-based mood-matching music and procedural-audio studio. A user enters through the login/guest experience, submits a vibe prompt or chooses a mood, and the app selects a mood and curated tracks before presenting a playback studio with synthesis, mixing, and visualization. Separate capabilities include camera-based emotion detection, Spotify playback, weather effects, and mindfulness tools. The graph reflects documented features and shown imports/calls; some component wiring and unexcerpted implementations remain uncertain, so those links are omitted.
Main entry points: App.jsx App coordinator · VibeMatcher.js Vibe matching · AudioEngine.js Web Audio engine · NowPlayingStage.jsx Now-playing stage
Components 28
App experience
- App coordinator
src/App.jsx - Login and guest entry
src/components/LoginPage.jsx - Landing and mood choices
src/components/LandingPage.jsx - Navigation
src/components/Navbar.jsx
Mood discovery
- Mood results
src/components/MoodResultsView.jsx - Vibe prompt search
src/components/VibeSearchHero.jsx - Vibe matching
src/audio/VibeMatcher.js - Vibe profiles
src/data/vibes.js - Mood and language catalog
src/data/moods.js - Procedural track catalog
src/data/tracks.js
Audio studio
- Now-playing stage
src/components/NowPlayingStage.jsx - Web Audio engine
src/audio/AudioEngine.js - Playback controls
src/components/PlayerControls.jsx - Stem and ambient mixers
src/components/StemMixer.jsx - Graphic equalizer
src/components/EqualizerModal.jsx - Audio visualizer
src/components/VisualizerCanvas.jsx - Audio import
src/components/AudioDropZone.jsx - Weather atmosphere
src/components/WeatherCanvas.jsx
Wellness features
- Face emotion scanner
src/components/FaceDetectorModal.jsx - Guided breathwork
src/components/BreatheModal.jsx - Mood journal
src/components/JournalModal.jsx - Mood analytics
src/components/TrackerModal.jsx
Accounts and integrations
- Auth interface
src/components/SupabaseAuthModal.jsx - Supabase client and local fallback
src/lib/supabase.js - Spotify player dock
src/components/SpotifyPlayerBar.jsx
Other components
- Listener
- Supabase service
- Camera device
Connections 25
- Listener → Login and guest entry: opens
- App coordinator → Login and guest entry: shows before entry
src/App.jsx - Listener → Vibe prompt search: submits prompt
README.md - App coordinator → Vibe matching: matches prompt
src/App.jsx - Landing and mood choices → Vibe matching: matches prompt
src/components/LandingPage.jsx - Vibe matching → Vibe profiles: scores profiles
src/audio/VibeMatcher.js - Vibe matching → Procedural track catalog: curates tracks
src/audio/VibeMatcher.js - App coordinator → Mood and language catalog: maps mood
src/App.jsx - App coordinator → Mood results: renders results
src/App.jsx - App coordinator → Now-playing stage: renders studio
src/App.jsx - Now-playing stage → Audio visualizer: renders
src/components/NowPlayingStage.jsx - Now-playing stage → Stem and ambient mixers: renders
src/components/NowPlayingStage.jsx - Playback controls → Web Audio engine: controls playback
src/components/PlayerControls.jsx - Audio visualizer → Web Audio engine: reads audio analysis
src/components/VisualizerCanvas.jsx - Audio import → Web Audio engine: loads imported audio
src/components/AudioDropZone.jsx - Graphic equalizer → Web Audio engine: adjusts DSP
src/components/EqualizerModal.jsx - Listener → Face emotion scanner: starts scan
README.md - Camera device → Face emotion scanner: provides frames
- Listener → Guided breathwork: starts breathwork
README.md - Listener → Mood journal: writes reflection
README.md - Listener → Mood analytics: views trends
README.md - Auth interface → Supabase client and local fallback: uses client
src/components/SupabaseAuthModal.jsx - Supabase client and local fallback → Supabase service: auth and data requests
- App coordinator → Weather atmosphere: sets atmosphere
src/App.jsx - App coordinator → Spotify player dock: renders dock
src/App.jsx