Repository navigation
YoungLion Music Player v0.3.0
A feature release introducing dedicated playlist management, six built-in visualizers, configurable visual smoothing, dual-deck audio transitions, and a categorized settings interface. Includes playback, catalog, and Linux installation fixes accumulated since v0.2.0.
Playlist improvements
-
Dedicated Playlists navigation on desktop and mobile; browse and search saved lists independently of the active queue.
-
Create empty playlists and add, reorder or remove tracks directly; saved list edits leave the current playback session intact.
-
Play from any playlist or library track without manually enqueueing it; add individual files to the persistent library.
-
Persist custom global theme colors with preset swatches, RGB picker and original Gold reset.
-
Apply the selected color to the complete light/dark palette, including surfaces, controls, borders and spectrum/orbit gradients; repaint visualizers immediately when theme colors change.
-
Add regression tests for live palette updates, contrast and restoration of Gold.
-
Create named playlists from entire local music folders, optionally including subfolders, without replacing the active queue.
-
Enumerate folders on a background thread, filter common audio formats, and preserve deterministic path order.
-
Preview saved playlist tracks, play or load a list, append, rename, update, and delete playlists with confirmation for destructive actions.
-
Import M3U, M3U8 and PLS; export UTF-8 M3U/M3U8 with relative paths and stream URLs.
-
Preserve existing saved playlist settings and add regression coverage for folder scans, management and format round trips.
Visualizer and navigation polish
- Animate the desktop visualizer and playlist workspace over 320 ms, with an immediate transition when Reduce motion is enabled.
- Rework Orbit with 64 mirrored/interpolated radial bars based on the existing 32 mono frequency bands, attack/release smoothing, decaying peak caps, bass-driven center pulse and a lightweight radial halo.
- Derive three coordinated gradient stops from the selected theme hue for Spectrum, Waveform, Orbit, Waterfall and the bundled Radial example; Gold retains a gold-family palette.
- Extend the theme UI test to check distinct gradient stops and both playlist layout endpoints.
Live waveform oscilloscope
- Use a bounded PCM history and a roughly 24 ms time window with up to 384 min/max/mean buckets; preserve short transients rather than skipping samples.
- Align recurring signals with a rising zero-crossing trigger and fall back to the latest samples when no suitable trigger exists.
- Draw a theme-aware three-color trace, peak envelope, subtle scope grid and optional time-window, gain, peak/RMS dBFS and trigger readouts.
- Apply adaptive visual gain with fast peak protection and slow recovery; coalesce scope paints to approximately 30 FPS (20 FPS with Reduce motion) and avoid a continuous idle render loop.
- Preserve the existing 96-value waveform plugin API and 32-band spectrum algorithm. The oscilloscope displays a mono downmix of the current decoded PCM, not a precomputed whole-track waveform or post-volume loudness meter.
- Add a standalone C++ signal-analysis test and verify both waveform interfaces during decoded-audio playback tests.
Waterfall and Vectorscope
- Replace the previous 32-band waterfall with a streaming 4096-point Hann-window FFT spectrogram, 96 logarithmic display bands (40 Hz up to 16 kHz or the sample-rate limit), approximately 25 time slices per second and a 128-slice rolling history.
- Display a -80 to 0 dBFS spectral-amplitude scale, frequency and time axes, and a theme-aware 64-step heatmap. The small data-resolution Canvas is scaled to the viewport.
- Add Vectorscope with real left/right PCM pairs, mid/side axes, up to 512 plotted points per frame, four-frame persistence, sample peak readings and stereo phase correlation. Mono input draws a vertical line; silence and undefined correlation are not reported as valid correlation measurements.
- Run additional FFT or stereo analysis only when its view is visible; pause history on paused playback and reset on source, seek, format or view changes. Reduce motion limits persistence and repaint rate.
- Add numerical regression tests and exercise both visualizers during decoded-audio playback. The spectrogram uses a mono downmix and FFT-bin peak amplitudes; it is not a calibrated SPL or loudness meter. Vectorscope uses front left/right channels when available.
Nebula Sphere
- Add a sixth built-in visualizer with a rotating, audio-deformed spherical mesh, depth-aware wireframe and luminous surface particles.
- Drive radial deformation with the existing 32 frequency bands and overall intensity with decoded PCM RMS; no additional FFT, external 3D library or shader dependency.
- Render perspective-projected 3D geometry with Qt Quick Canvas. Use 914 vertices in the detailed mesh and 310 in the compact/reduced-motion mesh, with batched drawing and the current three-color theme gradient.
- Smooth frequency changes with separate attack and release rates, stop rotation when paused, suspend hidden/minimized rendering, and disable rotation and reduce deformation under Reduce motion.
- Extend the real-audio playback regression test to verify that the Nebula Sphere loads and reacts to decoded sound.
Smooth visual motion
- Enable visual smoothing by default. Settings → Appearance → Visualizer motion controls smoothing, attack (15–300 ms, default 65), release (50–1200 ms, default 280) and crossfade duration (0–1200 ms, default 320). Settings persist, Reset restores defaults, and Reduce motion overrides them.
- Spectrum, Orbit, Nebula Sphere and the bundled Radial example ease displayed amplitudes toward incoming real audio targets. Brief decoder gaps hold the previous visual state before releasing to silence; raw PCM/FFT state still resets correctly.
- Waveform crossfades measured traces rather than inventing intermediate samples. Vectorscope retains a bounded persistence trail and smooths visual correlation-marker movement while displaying the actual measured correlation.
- Waterfall preserves measured history across track and sample-rate changes using a common log-frequency axis, marks discontinuities with an empty column, and smoothly scrolls newly measured FFT columns. Lower sample-rate input has no invented high-frequency content.
- Crossfade all selectable visualizer layers, freeze outgoing built-in renderers, and release them after fading. Only the selected live-analysis mode requests extra FFT or stereo processing.
- Add motion-setting, loader-transition and real track-switch regression checks. The smoothing affects visual presentation, not audio playback, gapless audio or DSP. Third-party visualizers control their own internal motion.
Nebula and waveform rendering improvements
- Enrich Nebula Sphere with a luminous audio-reactive core, organic triangular surface deformation, layered procedural haze, orbiting dust and treble-driven sparkles, all derived from the current theme palette.
- Reuse projected vertex and edge buffers, precompute spatial harmonics, classify mesh edges in a single pass and batch draw calls. Replace the latitude grid with a closed geodesic icosphere: compact (162 vertices, 480 edges, 320 triangles, 32 dust particles), standard (642 vertices, 1,920 edges, 1,280 triangles, 96 particles), detailed (2,562 vertices, 7,680 edges, 5,120 triangles, 192 particles). Select detail by viewport size and Reduce motion; sustained CPU-side Canvas submission overruns lower the detail tier. Target approximately 30 FPS (20 FPS with Reduce motion), without a new rendering dependency.
- Use coherent Cartesian deformation fields, luminous rim and fold strokes, diffuse elliptical gas layers, flowing filaments and independently inclined particle orbits. The bright shell is the focus, rather than a regular globe surrounding an opaque center. Colors follow the active theme.
- Replace waveform history shifting with a bounded mirrored PCM ring, reuse scope extraction storage, eliminate temporary PCM downmix allocation and throttle scope frame publication to approximately 30 Hz while retaining continuous PCM history.
- Cache width-adaptive min/max/mean display buckets and their projected coordinates; reuse typed arrays across crossfades, share the theme gradient, and simplify outgoing trace drawing. Avoid converting unchanged scope frames and expose a scalar RMS reading for Nebula.
- Limit waveform drawing to approximately 30 FPS (20 FPS with Reduce motion). Preserve measured extrema, track-change crossfades, legacy waveform API and existing smoothing controls.
- Extend regression coverage for wrapped history, reusable scope storage, and QML visualizer quality budgets. Actual performance varies by device; these are frame-rate targets rather than measured benchmarks.
Nebula luminous shell refinement
- Balance center and rim luminance using eight light classes per hemisphere, thin theme-tinted mesh strokes, and a restrained emissive underlay instead of thick white rim patches.
- Combine four continuous spatial wave fields with bounded radial displacement and transient-sensitive bass pulse. Preserve a rounded silhouette at high audio levels and retain the shared visual smoothing settings.
- Project and classify dust once per frame, draw batched circular particles and sparse soft halos, and preserve the adaptive detail budget without additional rendering dependencies.
- Validate projected radii and complete, nonduplicated mesh-edge and particle draw buckets in the QML smoke test.
Audio transitions and settings
- Add opt-in dual-deck transitions for seekable local tracks: sequential fade-out/fade-in, linear crossfade and equal-power mixing. Both overlap modes use independent Qt multimedia audio outputs, not simulated visual fades.
- Configure a 0.5–12 second transition window, automatic end-of-track transitions and manual track changes separately. Settings persist; defaults are Off, five seconds, automatic/manual enabled. Short tracks use a reduced automatic window.
- Preserve the master volume during transitions and reserve overlap headroom at high volume. Equal-power mixing is not beat matching, time stretching, a DJ remix generator or a DSP limiter.
- Keep the selected track's metadata, playback position and decoded audio analysis synchronized with the active deck. Cancel obsolete transitions on queue edits, seek, pause, stop or configuration changes. Streams, unsupported media, repeat-one boundaries and failed incoming decks use normal playback when necessary.
- Separate Settings into Playback, Appearance, Visualizers and Extensions, with a volume curve preview, duration slider, transition toggles and reset action.
- Add gain-curve and persistence regressions, and extend the existing decoded-audio playback smoke test to require a real manual crossfade. Platform multimedia timing and output behavior still require real-device verification.
Fixed
-
Preserve the correct saved track when unsupported URLs are filtered during queue restoration; do not reuse a removed track's seek offset on another track.
-
Enumerate library folders on a worker thread, report scan progress and failures, and keep database updates on the application thread. Prevent duplicate scan requests and add regression coverage.
-
Bound incoming audio transitions by short-track duration, clear stale errors on successful handoff, and persist explicit track changes, pauses and stops immediately.
-
Replace animated workspace layout negotiation with explicit panel geometry to avoid recursive rearrangement.
-
Break implicit-height feedback in playlist confirmation and stream-entry dialogs.
-
Use class-scoped FFT constants for MSVC compatibility and strengthen visualizer discovery in UI regression tests.
-
Reject invalid URLs, hostless URLs and unsupported stream schemes before changing the playback queue.
-
Restrict the stream input to HTTP and HTTPS; local files remain available through the file picker.
-
Clear outdated input errors when a valid queue entry is accepted.
-
Restart playback from the beginning when selecting a different queue entry with the same source URL.
-
Publish duration changes to media integrations, clear pending position restoration on stop or explicit seek, and ignore non-finite volume input.
-
Ignore MPRIS absolute seek requests for invalid tracks or out-of-range positions.
-
Distinguish macOS from Linux when filtering catalog entries, ignore unpublished entries, and prefer architecture-specific compatible releases when versions match.
Distribution and verification
- Use shared YoungLion repository URLs in installation instructions instead of app-specific workflow paths.
- Make multi-line installation commands directly pasteable into Fish, Bash and Zsh.
- Add CI checks for shell snippets and a clean Arch installation smoke test.
- Add a desktop queue regression test.
Existing user playlists, settings and plugin manifests remain compatible. Plugin updates to loaded plugins still require restarting the application.
The release workflow builds and verifies artifacts before publication. Availability in external stores depends on their individual publication and acceptance results. The common repository aliases must be advanced only after signed indexes are verified; automatic multi-application index merging remains a separate infrastructure task.