How stephenwong1991/web-player-music works
Project type and purpose
• This is a single-page React application (TypeScript) that runs entirely in the browser. Its purpose is to be a web-based music player with waveform visualizations, lyric display, and audio effects. It’s deployed as a static site (e.g., GitHub Pages).
File structure
• Top-level:
• package.json / tsconfig.json → build and dependency configuration
• public/ → static entry point (index.html), manifest, robots.txt, and music assets under public/static/music
• src/ → application source
– App.tsx, index.tsx, styles, tests
– components/AudioPlayer/ → core audio logic: audioAnalyser.ts, effect.ts, lyric.tsx, media.tsx, UI index.tsx
– utils/ → helper functions
– mock.json → sample data for lyrics or metadata
README for additional insights
• Confirms it’s a “web-player-music” demo with waveform visualization (screenshot) and live URL.