Media · Audio and controls: player, waveform, spectrum, volume, speed, transport and playlist

AudioPlayer sets a song's cover, title and artist over a scrubber with
the time played and left, the transport and the volume. AudioWaveform
draws peaks gathered to the bars that fit, dark as far as it has played,
and seeks by press, drag and keys, with the time tip the scrubber shares.
AudioSpectrum shows levels by pitch. VolumeControl mutes from its speaker,
and moving its slider while muted unmutes. PlaybackSpeedControl picks from
a menu. MediaControls holds shuffle, back, play, forward and repeat.
Playlist builds on SelectableList: the song under way is lit with moving
bars, and Enter or a double press plays another.

The video player's bar now rests while the stage itself holds focus, a
key it takes wakes the bar, and a press on a resting bar only wakes it.
This commit is contained in:
ZacharyZhang-NY committed 2026-09-26 18:32:45 -04:00
1 parent 1ac50e4002
commit 04f88812dc
24 files changed
+1824 -81

No files matched your search

+5
View File
@@ -203,6 +203,7 @@ icons! {
Moon => "moon",
MousePointer2 => "mouse-pointer-2",
Move => "move",
Music => "music",
Network => "network",
NotebookPen => "notebook-pen",
Package => "package",
@@ -231,6 +232,8 @@ icons! {
RedoDot => "redo-dot",
RefreshCw => "refresh-cw",
Regex => "regex",
Repeat => "repeat",
Repeat1 => "repeat-1",
Reply => "reply",
Rocket => "rocket",
RotateCcw => "rotate-ccw",
@@ -284,6 +287,8 @@ icons! {
Variable => "variable",
VideoOff => "video-off",
Video => "video",
Volume => "volume",
Volume1 => "volume-1",
Volume2 => "volume-2",
VolumeX => "volume-x",
Wallet => "wallet",