Neither Flutter nor the app asked Android for a display mode, and
several phone makers hold such an app at 60 Hz. The activity now asks
for the fastest mode at the resolution in use (not on a television),
and the app log notes the refresh rate the device gives it.
Closing felt cut short next to opening. Three things hid the motion:
- Material's shrink ran on a spring more than twice as stiff as the
entrance's; it now runs on the entrance's slow spatial spring.
- Material's own content (title, controls) faded on the route's value,
which a closing spring covers early, and was gone in about 0.1 s. It
now holds from the moment the route is popped; the page fades as a
whole.
- In both styles the shrinking page had faded out at 85 percent of the
way. It now fades over the last 70 percent and is gone as it arrives.
Mornye closed on its standard spring and now closes on the full-screen
one it opens on.
Material's track details header takes its colours from the cover. The
first time a cover was seen, the page opened in the app's colours and
changed to the cover's one frame after it was up. The step that readies
the backdrop before the page is pushed now readies those colours too,
for at most 300 ms.
Track details prefers the picture inside the file over the Library's
cover. Local songs opened without reading it first, so the first time a
song was opened the cover and backdrop changed once after the page was
up. Every Library opener now waits up to 300 ms for that read, as the
downloaded-song openers on Material already did, and Mornye's
downloaded-song openers wait the same bounded time.
A song opened on its library cover changes to the file's own picture
while the cover is still flying in, so the cover landed on a picture
that was not decoded yet and blinked empty for a frame. The new picture
is decoded before the change, and the header keeps its colours until
the new cover's own arrive.
Edit and Add to queue waited for the file check and appeared during
the page's entrance. The song is now taken to be there until the check
answers. The cover's flight also reads the desktop Mornye header's
continuous corners.
The loading header drew the cover's shadow while its picture was still
on the way, which left a grey blur where the cover belongs. The cover
now shows the skeleton placeholder until the picture is there, and the
loading header leaves the shadow to the loaded page.
A switcher runs its leaving curve backwards. Given a spring, that held
the leaving child in place for most of the time and dropped it at the
end, so closing the lyrics faded the background before the words.
AppMotionSpec.leaving flips the curve, and every switcher fed by a
motion spec uses it.
The rebuilt header rounds the cover outside its Hero, so the cover flew
from a list row with square corners and got them back on landing. The
flight now clips the cover itself, from the row thumbnail's corner to
the header's.
Four sites chose the same pair by hand (Material's standard spatial
spring, Mornye's standard spring, nothing with reduced motion) for a
section, a card or a scroll that moves other content. AppMotion.surface
names it.
Home sections, the download header and the listening rewind banner open
on springs (Home's, which can move a screen of content, on ones that
stop at their size), and reduced motion resizes them at once instead of
running a size animation of no length or ignoring the setting. The track
details switcher slides on the spatial spring and fades on the effects
springs, leaving in the shorter time, and keeps only the dissolve with
reduced motion. Setup steps turn on the slow spatial spring and jump with
reduced motion. Selection and drop tints, the equalizer recolor, the
quick picks page dots and the Library tab indicator use the presets. The
rewind reveal splits its rise and fade across the spatial and effects
springs, and its month bars grow on the slow spatial spring.
Fades in the detail and artist headers, the fast scroller thumb, the
scroll edge fade, the swipe-to-delete fill, the service chip and the
motion header video now use the effects springs, so Mornye gets its own
springs instead of fixed linear lengths. The Mornye landscape player's
page, actions and lyrics mask fades use Mornye's effects springs. The
null test explanation and the metadata editor section cards unfold on
springs; the editor cards, which move the sections below, use springs
that stop at their height. Reduced motion now resizes those at once.
The cover and collapsing title tests expect Mornye's effects springs.
AnimatedBadge restarted its bump from 1.15 (Material) or ran a linear
1.3 tween (Mornye) on every count increase. It is now a push on a spring
at rest: it rises to about 1.15 and settles, on Material's fast spatial
spring or Mornye's fast spring, and a count that grows mid-bump pushes
from the scale and speed on screen.
AnimatedLibrarySliverGrid's discrete extent change uses springs that stop
at the extent (Material's standard spatial spring, Mornye's fast spring),
since an overshoot would flip the column count twice; it already went on
from the extent on screen. SkeletonCrossfade and the selection check's
glyph fade use the effects springs instead of fixed linear lengths.
The tutorial page dots, demo frame and page icon, and the lyrics card
background swatches, line rows and line checks used easeOutBack. They now
run on the AppMotion springs: Material's expressive spatial springs, which
overshoot by themselves, and Mornye's springs without a bounce. The
tutorial pages turn on the slow spatial spring, its tips rise through the
shared staggered reveal, and its fades use the effects springs. Reduced
motion is honoured where the tutorial ignored it: pages jump and the demo
frame resizes at once.
The press highlight and the capsule's disc ran fixed curves; they now
move on Mornye's springs from where they are: the touch highlight comes
in on the fast effects spring and lingers out on the slower one, and
the disc grows and shrinks on the fast spring. The glyph's press scale
uses the fast spring and its dim the fast effects spring.
A skip pressed during the glyph's advance restarted it from its first
frame, so the moving triangle jumped back. The advance now runs on and
one more follows it.
Opening lyrics or the queue moved the cover and panels, faded the
background cover, tilted the gradient, dimmed the shade and faded the
moving artwork's glow over a hand-picked 380 ms curve. They now share
Mornye's standard spring, without bounce, and change at once under
reduced motion. The lyrics viewport mask follows the controls' fade.
The Material player's cover and lyrics crossfades, its backdrop fade and
the lyrics controls' fade ran hand-picked curves; they now use the
effects spring of each style. Turning pronunciation or translation on
resizes the lyrics on Material's slow spatial spring and Mornye's
standard one, and the lyrics editor scrolls to a line on the same
springs, which stop at the line. The paused cover's bounce curve was
only a fallback for reduced motion, where it never ran; it is now a cut.
A released drag on the full player settled open over a fixed 220 ms
curve and closed from rest; the Mornye shrink ran an eased curve that
started from rest. Both now finish on a spring that starts from the
finger's velocity: Material's standard spatial spring back to open and
its exit spring to close, Mornye's standard spring for both. Mornye also
opens on its full-screen spring instead of Material's decelerate curve.
Reduced motion settles a let-go drag at once.
The titles under the cover and in the mini player ran a fixed 280 ms
curve on release. They now keep the speed they had, through the swipe's
resistance, on a critically damped spring that never shows the
neighbour on the other side of rest, and a new swipe takes titles that
are returning to rest over where they are drawn.
A song row's queue swipe returns to rest from its own speed, on
Mornye's spring in Mornye, with a flick back capped so the row never
passes rest. The Material strip's fill deepens on the fast effects
spring.
Switching between Lyrics and Up Next in the inspector cross-faded on a
fixed linear 180 ms in both styles. It now uses the effects spring of the
style; reduced motion still cuts.
Reversing the inspector mid-move swapped its curve and jumped. Its value
is now the pane's openness on screen: opening runs on the style's spring
from the current velocity, closing eases back from wherever the pane is,
and the pane beside the content still stops at its width.
Mornye's desktop Now Playing fade ends with the fade instead of waiting
for a movement it does not make. The sidebar tint and artwork, the
artwork hover, the volume popover, row actions, hover scrims, the header
title, the mini player lines and the Now Playing panel cross-fade use the
style's effects springs, and the scroll arrows page on a spring that stops
at its target. A closed Now Playing panel drops its queue at once.
The selection panel collapsed, expanded and returned to its place on a
fixed curve from rest. It now runs on the style's slow spatial spring
from the drag's velocity, and from its own velocity when the handle is
tapped mid-move; it stops at its place instead of rising past it. The
dismissal keeps its short eased exit. The bar's entrance gives the slide
and the fade their own lengths, and reduced motion keeps the fade alone.
The Mornye dialog grows on the fast spring. The orientation fade, the
settings search reveal and the log follow move on the style's presets;
the reveal and the log follow now honour reduced motion.
The three selected destination icons bounced on elasticOut and
easeOutBack, also with reduced motion and in Mornye. They now play on the
fast expressive spatial spring in Material, which overshoots by itself,
with the fade on the fast effects spring; Mornye's tab icons and reduced
motion stay at rest.
The Mornye selection pill and switch thumb moved on a fixed ease that
started from rest. Both now run on the snappy spring from where they are:
a released pill or thumb keeps the finger's velocity, and a new selection
mid-move goes on from the current velocity. The spring starts in build,
after the parent applied the change, so it never heads for the old slot
first. The pill's lens swell moves on the fast spring.
Mornye had no motion presets: each call site chose its own eased curve.
MornyeMotion now names springs the way SwiftUI does (duration and
bounce), and AppMotion hands a Mornye site the spring of the same role
wherever that site animates. Reduced motion keeps the site's fallback.
Material destinations now fade through as Material describes it: the
page shown fades out, then the new one fades in from 92 percent. A
change made mid-fade continues from the opacity on screen instead of
starting again from nothing.
Track details kept a hand-built hero for Material and a separate page for
Mornye, with Play and Delete as a bottom bar and one long card of facts.
- Both styles and desktop now use the collection header: cover, title,
artist with the album below, and the meta row (quality, length, explicit
badge, source). The header takes its colours from the artwork.
- Play is the one wide filled button in the header, between a round Edit
metadata and a round Add to queue. Delete stays in the More menu only.
- The facts are split into Metadata, Release, Audio and File Info, built
once for both styles, on tokens and text roles instead of literals.
Identifiers copy on a tap; a long press still offers the copy sheet.
- A missing file shows the shared error card above the sections.
- The song change transition follows the app's motion settings.
- The service pill and its per-service icons are gone; the service is a
row of File Info.
Tests follow the new layout. The sidecar export test also scrolls the
desktop menu to its row, which sat below the menu's fold.
Portable players often do not read the cover inside a song and look for a
folder.jpg beside it. A new Files setting, Save Album Covers (off by
default), saves the cover a download carries into the album's own folder,
with a size choice from the sizes of Embedded Cover Size. The rule of the
animated cover applies: only folders that hold one album get the file, and
one already there stays. A PNG cover is saved as folder.png; other image
formats are not saved.
The folder writing of the animated cover moved to SongFolderFile, which
both covers use for local folders, Android documents and network storage.
While the setting is on, Remove Empty Folders counts folder.jpg and
folder.png as leftovers of a deleted album. While it is off they keep
their folder, as before.
Issue #913
A failed read of an embedded cover was remembered for the whole run for
plain files, so a song read once before the desktop backend had started
showed no cover until the app was restarted. Playing or opening the
song now asks again after 30 seconds; lists still skip a failed file, so
files without a cover are not read at every scroll.
Library was told whether its tab is shown through a constructor
parameter, so entering and leaving the tab built the whole Library:
6 to 7 ms on a profile build on the emulator with a list of songs open.
All it does with the answer is apply the default view when the tab
appears.
The tab now takes a listenable and the shell keeps one Library for the
life of the tab.
With its controls hidden, the Mornye lyrics view still drew about twelve
frames each second: the two time labels kept rolling their digits
unseen. Hidden controls now turn their animations off, so the view
draws when a lyric line changes.
The list keeps its scroll offset between openings. Without fixed row
heights it then built and laid out every row above that offset: 30 ms
for a place 150 songs down on a profile build on the emulator, growing
with the depth.
The list now remembers the first row it held and a row's height. On the
frame that opens it there, the rows above are empty boxes of that
height, as the Material queue does for its jump to the playing song.
A Navigator that is built again builds the page of every route on it
again. The shell built its tab navigators anew on every build, so each
switch of tab rebuilt Home, Library and every page pushed on them: one
frame of 8 to 16 ms on a profile build on the emulator, at each switch.
The tab navigator now hands back the Navigator it built until its page,
key, observers or hero setting change. Library learns whether its tab is
shown from above its navigator instead of as a parameter.
The state of a song that ran out still carries the last position read
while it played, which can lie well before the listed length. A phone
that followed then took its own move to the next song for one picked by
hand and ended the session (seen on a real run with the computer
leading). The report now places a finished song at its end, and a phone
that ran out of its song is no longer logged as paused by itself.
Between a song's end and the start of the next one a player reads as
neither playing nor paused. The phone took that for a pause, so at each
song end the follower was paused and rejoined about three seconds into
the next song (seen on a real run with the phone leading). A device that
reads as stopped within the last moments of its song is now given the
transition wait before a cue goes out.
With reduced motion the rows under Share with other phones grew through
a size animation of no length, which finishes inside its own layout and
which the framework rejects. They now change size at once.
The computer gave no sign that it played together with a phone, and its
Devices sheet still offered the usual choices, which would have moved
the queue under a running session.
While a session runs, the sheet shows a checked Play together row naming
the phone, no device is checked, and choosing this computer or that
phone ends the session there: the computer tells the phone, which stops
the device that was not chosen. This works whichever device owns the
queue. The player bar's Devices button names Play together and, in the
Material style, draws primary.
The row opens and closes with the reveal the phone's timing group uses,
now one widget. With reduced motion it no longer runs a size animation
of no length, which failed inside its own layout.
The phone's Link entry, page, switches, Add by address dialog and pairing
errors still named a computer although a phone can share too. They now
say the other device or paired devices, the Settings entry reads Mornye
on other devices with a devices icon, and Settings search finds it by
phone and device. Indonesian text is added for the five Link strings
that had none.
While the computer owns the queue in Play together, the phone's screens
and media session show the computer, so the volume keys and the player's
volume slider set the computer's volume although the phone sounds too.
Both now set the phone's own volume for as long as the two play together
and return to the computer afterwards.
Continue listening showed the saved session whatever it held, so a song on
a NAS stayed on Home, and played from the NAS, after Local Library was
switched off. The saved session is now left out while it is on a song of
the scanned Library and that Library is off, as Recently Played and the
mixes already do. Downloads and songs the Library does not know stay.
Three check lines a second filled the 500 entry log within three
minutes and pushed everything else out of it. A line is written once a
second while a nudge runs or the players settle, and every five seconds
otherwise.
The simulated players can now lose time on each rate change (the plain
and pinned AVPlayer changes measured on macOS, and an uneven one), sound
230 ms after a play while their report runs ahead until the next engine
read, and only count as heard once they sound. New tests run five
minutes on five seeds each and bound the error and the rate changes.
The computer lost about 24 ms on every AVPlayer rate change, so a nudge
for 49 ms ended near 48 ms again and the aligner nudged every 4 s for
the whole session. The aligner now measures what each nudge's two rate
changes cost and plans the next one with it, lets a nudge run its course
(replanned once from a settled check, at the same rate), ignores checks
for 1 s after a rate change, and leaves errors inside the band alone
where the cost is larger than the band. When planned nudges keep
missing, it holds: no nudge until the drift passes 80 ms.
After a cue the lead now takes the whole settled offset, from two checks
that agree, instead of 60 % of the first one.
Each check logs the follower's reported and expected position, drift,
rate and nudge state at debug level, and each nudge's end logs the drift
before, expected and measured at info level.
A nudge at the rate already in force only moves its end, and one nudge
rate goes straight to the other. Each rate change costs some engines
time, so going through 1 in between cost it twice.
A report now carries the player's rate, so a nudged follower's position
is advanced at 1.02 or 0.98 rather than at 1 between its reading and the
check. A device that does not send it is read at 1, as before.
A paused load leaves audioplayers and media3 decks reporting stopped, so
the next play loaded the song again from the start. Play together's first
cue on the computer began near 0 instead of the cue position. Remember a
source held paused, report it ready, and resume it on play.
A plain AVPlayer rate change holds the item's clock while the audio
restarts, so every change left the song 21 to 26 ms behind (measured on
macOS, every time pitch algorithm). Play together nudges then never
closed a gap. Pin the item time at the current host instant instead,
except for items with the tap, where neither way is steady. Adds a host
test that fails on the plain change.
The message that another phone's songs cannot be changed from here
appeared under the selection sheet, so nothing seemed to happen until
the sheet was closed. No other selection would work on that host, so
the selection ends and the message is seen.
A kept playlist only knew the copies it had saved from the same device.
With a second device sharing the same songs, every one was copied again
beside the first copy. A download of the same song, or a copy saved
from another device, now counts as kept while its file exists.
When a track had both a file on this device and the same song on
network storage or a Link device, the lookup that playlists and
playback use took whichever row came first in the table. The file on
this device answers first now, so it plays without the network.