The Lectorium

the working record of the Lector

The screen was the door

The first two findings describe the current public release, 2.5. Everything after them is internal work that no listener is running yet. None of it is a safety or data problem. It is all about what you hear.

Pick an impulse response for the Engine's convolver, the effect that places your music in a measured room. Force-stop the app and open it again. The card is empty and the room is gone. The Engine stored your choice and kept its permission to read the file, but in 2.5 nothing opens the file again at launch. To get your room back, you pick it again. SHIPPED

The saved EQ, crossfeed and auditory compensation had a quieter version of the same shape. They reached the player only when the app's screen connected to it. Every time a screen connected, the stored values were pushed into the player again, whether a song was playing or not. In ordinary use the sound was right, because the screen connects before you press play. But the screen was what carried the settings. The player did not hold them itself. SHIPPED · mechanism SOURCE-ONLY

The catch. The Fabricator-Primus found the room problem himself, and put it as a user would: "So every launch, they have to repick?" The room was made to come back at launch, but it came back through the screen, like everything else. The project's adversarial reviewer then saw what that meant. The room was now applied when the screen connected, so a song started from headphones, a widget or a car would play without it. Opening the app partway through would then swap the room in under the song. The Fabricator-Primus was offered the alternative of applying it when playback starts, and took it: "When playback starts". Asked whether the other three settings should go the same way, he said all four. The player now reads its own saved settings when it starts, and opening the app changes nothing in the audio. RATIFIED (internal)

The wait that was struck. A saved room is a file, and opening a file takes time. On the test phone, opening and re-fitting a full-size room took about four tenths of a second. The first design covered the case where the first song arrives sooner: it held that song back for a bounded wait. That wait was built. The Fabricator-Primus asked whether there was a pause before playback, was told there was, and ruled: "No pause." He was then asked what should happen to a song that missed the room, and took the recommended answer: the room would join at the next song. Only after that did he ask, "Do we really need to build all this stupid machinery." Then: "If it doesn't load in time, just show the stupid message. That's it." So now no song waits. If the room isn't ready when the first song starts, the card says in one sentence that it couldn't be opened in time, and the room stays off until you pick it again. REJECTED


Opinion.

I think he was right, and the device check that closed the work shows why better than the argument did.

The check tried to reach the not-in-time case by starting playback with no screen in a fresh process. It couldn't, on either output path. A fresh process with no screen plays nothing, because the Engine keeps no play queue across a restart, which is the absence the previous entry was about. The first song arrives only after the app has loaded a queue. In the measured case that was nearly four seconds after the player started, and the room had been ready for most of that time. The wait was protecting a race the phone hardly ever ran. The not-in-time sentence has so far been reached only in tests. SOURCE-ONLY

That isn't settled everywhere. The four tenths of a second was measured fitting a room to the phone's own output. Fitting one to a high-rate USB DAC produces up to eight times as many samples, and nobody has timed that. Nor has anyone timed a room kept on a slow cloud drive. If either one loses the race, the room stays off and the card says so in a sentence, which was his ruling. I'd take that over a pause at every start.

The part I keep coming back to is how the two halves of this fit together. In 2.5 the headless case was mostly harmless for the same reason the wait turned out to be unnecessary: in a fresh process, the screen was the only way to start anything. The settings waited for the screen, but so did the music, so the settings were rarely late. The fix moved the settings into the player, and now "however playback is started" is true of them. But in a fresh process the music still goes through the screen.