PixelMusic
Pixel Music is an open-source Android music player. Stream YouTube Music & Telegram, play Hi-Res lossless FLAC, with synced lyrics & 10-band EQ.
原始仓库简介 · 中文摘要待补充 · android / innertube / material-3-expressive / music / pixel-music / pixelmusic
README / 项目原文
仓库未提供中文 README,当前显示作者提供的原文。
PixelMusic is an open-source Android music player that plays music from multiple sources in one place. You can listen to files stored on your device, stream from YouTube Music, play audio from your Telegram channels and chats, or build smart playlists using AI within the same app.
It supports high-resolution local audio formats including FLAC, ALAC, WAV, APE, and MP3. The interface automatically picks its color scheme from the album art of the track that is currently playing. There are no ads and no subscriptions.
| Quick facts | Details |
|---|---|
| App name | PixelMusic (Pixel Music) |
| Platform | Android 11 and above (API 30+) |
| Price | Free and 100% ad-free |
| Audio | Hi-Res lossless (FLAC, ALAC, WAV, APE, OPUS, OGG, MP3) with 10-band EQ |
| Sources | Local files, YouTube Music, Telegram, Spotify & YouTube playlist import, Google Drive (WIP) |
| Lyrics | LRCLIB synced lyrics with timing offset, translation and romanization |
| Design | Jetpack Compose, Material 3 Expressive and dynamic color |
| Ecosystem | Android Auto, Chromecast, Wear OS, Last.fm & ListenBrainz scrobbling |
| License | GNU GPL v3.0 |
| Action | Link |
|---|---|
| Download APK | GitHub Releases |
| Telegram Channel | t.me/pixelmusicapp |
| Report an Issue | GitHub Issues |
| Contribute | GitHub Pull Requests |
| Support / Donate | Ko-fi · UPI |
| License | GPL-3.0 |
PixelMusic is built with Jetpack Compose and follows the Material 3 Expressive design system. Containers change shape as you interact with them, navigation uses a floating pill bar, and the color palette updates to match your current album artwork or your Android wallpaper.
How PixelMusic compares to other music apps
- Sources: Plays local music, YouTube Music, and Telegram audio. Google Drive support is in progress.
- Interface: Built with Material 3 Expressive. It has shape transitions and smooth spring motion.
- Colors: Extracts dynamic colors from both album covers and system wallpapers.
- Audio: Uses Media3 ExoPlayer with FFmpeg decoding and a 10 band equalizer.
- Lyrics: Loads synchronized lyrics with time sync, offline storage, and manual search.
- AI Playlists: Creates smart playlists using Gemini, DeepSeek, or OpenAI prompts.
- Ecosystem: Works with Android Auto, Chromecast, Wear OS, Last.fm, and ListenBrainz.
- License: Fully free and open source under GPL 3.0.
| Feature | Details |
|---|---|
| Playback Engine | Media3 ExoPlayer with FFmpeg extension for reliable decoding across complex codecs. |
| Lossless Formats | FLAC · ALAC · WAV · APE (bit-perfect playback up to 24-bit/192kHz resolution). |
| Lossy Formats | AAC · OPUS · OGG · MP3 with high-efficiency streaming decoders. |
| Equalizer | 10-band EQ · Bass Boost · Virtualizer · Loudness Enhancer for fine-tuned audio control. |
| Presets | Bass Booster · Vocal · Treble · Classical & custom user profiles. |
| Normalization | EBU R128 loudness normalization applied across both local and streaming tracks. |
| Crossfade & Gapless | 0 – 15 s custom crossfade duration with true seamless gapless playback transitions. |
| Source | Status | Capabilities & Notes |
|---|---|---|
| YouTube Music | Available | Search, full audio playback, liked tracks & playlists via secure WebView authentication. Personal use only. |
| Telegram | Available | Stream audio from connected public channels, private group chats, and your saved messages. |
| Spotify / YouTube Import | Available | One-tap quick import of public playlists directly by sharing or pasting playlist URLs. |
| Google Drive | In Progress | Personal cloud storage integration for streaming directly from private Drive directories. |
| Deezer Artwork | Available | Automated high-resolution artist and album cover metadata fetching. |
| Feature | Details |
|---|---|
| Source | LRCLIB synced lyrics engine with automatic fallback and local Room database caching. |
| Timing Offset | Millisecond-level real-time offset adjustment controls when lyrics are out of sync with audio. |
| Language Tools | Instant live translation and phonetic romanization for Japanese (Romaji), Chinese (Pinyin), and Korean. |
| Story Cards | Create custom lyrics quote cards with frosted glass styling for Instagram & Snapchat stories. |
| Feature | Details |
|---|---|
| AI Music Assistant | Generates tailored listening queues and curated tracklists based on natural language prompts. |
| Supported Models | Gemini · DeepSeek · OpenAI · Custom OpenAI-compatible proxy endpoints. |
| Smart Mix | Last.fm-powered smart playlist recommendation engine with 8 distinct curated modes. |
| Retention Rules | Custom expiration settings: keep mixes for 24 hours, 7 days, 30 days, or permanently. |
| Overwrite Mode | Easily refresh and overwrite existing AI queues in place without cluttering your library. |
| Autoplay | Continuously queues similar tracks when your playlist ends so the music never stops. |
| Feature | Details |
|---|---|
| Dynamic Color | Extracts harmonious dynamic palettes from album artwork or Android 12+ system wallpapers. |
| Share Cards | Export beautiful song and lyrics story cards with wavy seekbars and frosted glass effects. |
| Landing Tab | Set your preferred startup screen: Home, Explore, Search, or Library. |
| Theme Modes | Full support for Light, Dark, Pure Black (AMOLED), and System Default themes. |
| Platform | Integration |
|---|---|
| Android Auto | Fully compliant Media3 MediaLibraryService interface for automotive touchscreens and steering controls. |
| Chromecast | Stream audio seamlessly to Smart TVs, Google Cast dongles, and Nest smart speakers. |
| Wear OS | Standalone companion app supporting wrist playback controls, queue management, and offline sync. |
| Scrobbling | Automatic background track scrobbling to Last.fm and ListenBrainz profiles. |
| Optimization | Details |
|---|---|
| Phased Loading | Heavy Explore queries and playlist sync tasks are deferred to background coroutines for instant screen opens. |
| MIUI / HyperOS Fix | Lockscreen artwork displayed reliably via a dedicated custom content provider. |
| Thread Safety & R8 | Concurrent database queries with tuned R8 ProGuard rules for fast startup and minimal memory footprint. |
| Layer | Library / Tool | Role |
|---|---|---|
| Language | Kotlin 2.x · JVM 21 | Modern, expressive 100% Kotlin codebase. |
| UI Framework | Jetpack Compose · Compose BOM | Modern declarative user interface with hardware-accelerated rendering. |
| Design System | Material 3 Expressive | Fluid adaptive components, dynamic coloring, and spring motion. |
| Media Player | Media3 ExoPlayer · Session · UI | Robust foreground/background playback and platform media controls. |
| Audio Processing | FFmpeg extension · EBU R128 | Advanced lossless codec decoding and cross-source volume normalization. |
| Database | Room + KSP | Thread-safe SQLite storage for library index, playback history, and lyrics cache. |
| Dependency Injection | Dagger Hilt | Modular dependency injection for Android lifecycle components and WorkManager. |
| Networking | Ktor Client · OkHttp | High-performance HTTP networking with Brotli compression support. |
| Serialization | Retrofit · Gson · Kotlinx Serialization | Efficient JSON parsing for third-party streaming API responses. |
| Image Loading | Coil 3 | Asynchronous Compose image loader with multi-tier memory and disk LRU caching. |
| Async Processing | Coroutines · StateFlow · SharedFlow | Reactive state management and non-blocking background concurrency. |
| Background Tasks | WorkManager | Scheduled library indexing, playlist updates, and cache cleanup. |
| Metadata Extraction | JAudioTagger | High-performance local ID3, Vorbis, and FLAC tag extraction. |
| Widgets | Glance | Material 3 interactive home screen widgets. |
| Min SDK | Android 11 (API 30) | Wide device compatibility covering modern Android devices. |
| Target SDK | Android 37 | Compiled against the latest Android platform release. |
Requirements
| Requirement | Version |
|---|---|
| Android Studio | Ladybug (2024.2.1) or newer |
| Android SDK | 34+ (target 37) |
| JDK | 21 |
Build
git clone https://github.com/ianshulyadav/PixelMusicApp.git
cd PixelMusicApp
./gradlew :app:assembleDebug
Add your Gemini or DeepSeek keys to
local.propertiesto enable the AI playlist features.
What is PixelMusic? PixelMusic (Pixel Music) is a free, open-source Android music player for local files, YouTube Music, and Telegram audio.
Does PixelMusic have ads? No. The app is 100% ad-free with zero subscriptions.
Which Android versions work? Android 11 (API 30) and above.
Can it play FLAC, ALAC, AAC, OPUS and Dolby files? Yes. See the audio formats section. Dolby playback depends on device decoders.
Can I stream YouTube Music and Telegram? Yes. Sign in to YouTube Music via WebView or connect Telegram, then stream and sync directly.
Where do the lyrics come from? Synced lyrics are fetched from LRCLIB with offset adjustment, live translation and romanization.
Where can I get help? Join the Telegram channel or open an issue.
PixelMusic is free and ad-free. If it makes your day better, you can help with development and testing through a small donation. Using the app, sharing it, and sending feedback helps just as much!
| Method | Link / Details |
|---|---|
| Ko-fi | ko-fi.com/H2K222J1ME |
| UPI ID | anshulyadavv@fam |
| UPI Intent | upi://pay?pa=anshulyadavv@fam&pn=PixelMusic&cu=INR |
PixelMusic is an independent, community-driven audio player. It is not associated with Google LLC, YouTube Music, Deezer, Telegram, Snapchat, Last.fm, ListenBrainz or their parent companies. It does not host or store copyrighted music, and users are responsible for complying with applicable laws and platform terms. All third-party integrations are unofficial unless stated otherwise.
PixelMusic is licensed under the GNU General Public License v3.0. See LICENSE. Portions are based on PixelPlayerOSS by Theo Vilardo and Duhan Yağmur Delikkulak.
PixelMusic is an independent, unofficial fork of PixelPlayerOSS by Theo Vilardo and Duhan Yağmur Delikkulak. Not affiliated with or endorsed by the upstream project. Upstream notice kept in LICENSE and PROVENANCE.md.
Search terms: Pixel Music, PixelMusic, Android music player, ad-free music player, open-source music player, Hi-Res lossless player, FLAC player, ALAC player, YouTube Music client, Telegram music player, LRCLIB lyrics, Material 3 Expressive.