Skip to content

Timbre v1.8-2

Choose a tag to compare

@github-actions github-actions released this 14 Oct 11:27

Timbre Banner

Timbre v1.8-2

Bit-Perfect High-Resolution Audio Streaming for Android
Streamlined audiophile player built upon the foundation of BitChord v1.8-2.


πŸŽ›οΈ Timbre Studio: Source Health & Persistent Resolution (v1.8-2)

Welcome to Timbre v1.8-2, bringing major audiophile infrastructure upgrades, full Source Edge Health diagnostics across all upstream providers, persistent disk-backed FLAC stream resolution across app restarts, and upstream migration to the official KATx-dev/qobuz-addon Cloudflare edge infrastructure.


🌟 New Features & Architectural Enhancements in v1.8-2

1. 🌐 Interactive Source Edge Health Diagnostics

  • Multi-Provider Health Inspector: Replaced the static single ping with a dedicated Source Edge Health popup dialog matching Timbre's dark and light Material 3 design system.
  • Simultaneous Provider Probing: Automatically measures live network latency across all active audio streaming providers simultaneously:
    • YouTube Music: Core audio provider (AAC / Opus 160 kbps).
    • Lossless Bridge: Dedicated dual-engine resolver on Fly.io (LastWave + Qobuz 24-bit Hi-Res FLAC).
    • Timbre Cloudflare Edge: Public Cloudflare worker resolver (timbre-lossless-worker) powered by Cloudflare D1.
    • JioSaavn: Indian music catalog provider (when enabled).
  • Color-Coded Status Badges:
    • 🟒 Ultra-Low Latency (<150ms): Optimal response for instant playback start.
    • 🟑 Optimal (150ms – 400ms): Fast resolution within the Priority Resolution Window.
    • πŸ”΄ High Latency (>400ms) / Offline: Network congestion or upstream down.
  • Persistent Connection Pooling: Features a live "Re-test" button utilizing a persistent OkHttpClient connection pool to reuse negotiated HTTP/2 TCP/TLS sessions, dropping diagnostic re-test latencies down to <50ms.

2. πŸ’Ύ Persistent Stream URL Resolution (StreamChoice)

  • Disk-Backed State: Previously, resolved FLAC URLs were stored strictly in RAM, meaning closing the app from recent apps caused Timbre to forget the stream URL and fall back to Opus on cold restart.
  • Instant Cold Start Playback: StreamChoice now persists resolved FLAC stream URLs to disk storage via encrypted SharedPreferences with JSON serialization and a 12-hour validity window.
  • Zero Hot-Swaps on Replay: Replaying a previously resolved studio FLAC track streams bit-perfect 24-bit audio directly from 0:00 instantly without waiting for resolution or executing a jarring mid-song transition.

3. πŸ›‘οΈ AudioCache Opus Contamination Purge

  • Byte-Signature Inspection: Updated AudioCache.kt key factory to inspect #hifi and #alt cache slots before serving cached audio chunks.
  • Automatic Purge: If an #alt cache slot contains contaminated lossy YouTube Opus audio bytes (e.g. from an earlier playback prior to FLAC resolution), Timbre automatically purges the tainted chunks immediately.
  • Prevents False Cache Hits: Completely eliminates 65ms false lossy cache hits that previously bypassed the Priority Resolution Window.

4. ⚑ Ultra-Fast Cloudflare Edge Manifest Fast-Path

  • Zero Database Overhead: Added an ultra-low latency fast-path to Timbre-addon-worker. Manifest requests (/manifest.json) are now served directly from Cloudflare Edge memory in <5ms without executing cross-continental Cloudflare D1 database roundtrips.
  • In-Memory Token Cache: Validated user tokens are cached in worker memory for 15 minutes, slashing manifest ping times from 600ms+ down to under 100ms.

5. πŸš€ Official Qobuz Upstream Migration (KATx-dev/qobuz-addon)

  • Migrated to Official Upstream: Updated all resolvers in both Timbre-addon-worker and lossless-bridge-fly from deprecated third-party mirrors to the official, verified https://qobuz-dll.foreyou.workers.dev upstream.
  • 100% Resolution Availability: Direct integration with official Akamai CDN streaming endpoints (streaming-qobuz-std.akamaized.net), guaranteeing zero 402/502 errors and instant delivery of bit-perfect 24-bit Hi-Res FLAC masters.

6. 🏎️ Dual-Engine Parallel Racing & Quality Ranking

  • In lossless-bridge-fly (v1.1.0), the engine races LastWave (lastwaveaddons.clashprojects.qd.je) and Qobuz (qobuz-dll.foreyou.workers.dev) simultaneously in parallel.
  • Candidate tracks are ranked by a strict mathematical quality formula:
    $$\text{score} = (\text{bit_depth} \times 1,000,000) + \text{sample_rate} + \text{cdn_bonus}$$
    • 24-bit / 192 kHz beats 24-bit / 96 kHz
    • 24-bit / 96 kHz beats 24-bit / 44.1 kHz
    • 24-bit beats 16-bit Lossless
    • Direct Akamai CDN streams receive a +1 bonus tie-breaker to preserve Fly.io bandwidth.
  • Clean Query Normalization: Automatically strips YouTube noise tags ((Official Music Video), [Lyric Video], etc.) before querying catalogs, cutting resolution time in half.

7. 🏷️ Quality Upgrade Toggle Fix

  • Fixed format detection in QualityUpgrade.kt so tracks that were previously substituted or cached display "Upgrade quality" instead of "Revert to original" when lossy audio is playing.

πŸ“¦ Available Release Packages

Package Architecture Description
Timbre-v1.8-2-arm64.apk arm64-v8a Recommended for 99% of modern phones (fastest, optimized native 64-bit binaries).
Timbre-v1.8-2.apk Universal Universal package compatible with all Android devices.
Timbre-v1.8-2-armeabi-v7a.apk armeabi-v7a Legacy 32-bit ARM devices.
Timbre-v1.8-2-x86_64.apk x86_64 Android emulators, ChromeOS, and x86 devices.

πŸ’– Upstream Foundation & Lineage

Timbre is an audiophile Android mobile fork built upon BitChord by Kushagra Singh.

  • Desktop & TV Builds: If you need Windows, Linux, macOS, Android TV, or Fire TV builds, please download upstream BitChord Releases.

πŸ’¬ Community & Support

Join our official Telegram Community for discussions, updates, and setup assistance.


πŸ“² Install & Update

  • ARM64 (Recommended for most phones): Download Timbre-v1.8-2-arm64.apk
  • Universal (All devices): Download Timbre-v1.8-2.apk

πŸ’‘ Desktop or TV user? Timbre is engineered specifically for Android mobile devices. If you need Windows, Linux, macOS, or Android TV builds, please check upstream BitChord v1.8-2.