@mcc a third option is I don't use ALSA for playing MIDI files and instead build that functionality into mollytime directly, and just treat ALSA as a means of connecting to MIDI hardware.
This is probably the best option, for also being the most portable :/
@mcc my best guess on how to solve this is to turn off timestamps on the input port's queue (which preserves the timestamps written by sequencer applications, and then figure out how to translate the two different disjoint timestamp formats into relative time offsets so I can use the audio thread's cadence to regulate playback.
Or see if there's some way for me to tell ALSA when to advance the input queue and by how much (so far as I can tell there is no such mechanism)
@mcc My other theory is that this might be a consequence of having the jack audio thread crank the synthesizer, which in turn reads events off the ALSA input port, which means an intermittent batched processing thing is periodically polling a real time event source. However, I am under the impression that the audio thread wakes at a fixed cadence, and this wouldn't ever cause the song to get faster just compressed in weird ways, which is not what it sounds like.
@ma_se_mo_la do you need just the text or do you need to keep the formatting? If you only care for the text, pdftotext and then open that in LibreOffice Writer for clean up and formatting. If you want to keep the formatting and only need to do small changes to the text, the drawing program does a pretty decent job with opening PDF directly
@mcc so, I'm not totally sure this isn't just my imagination, but I think switching my laptop's power mode from "balanced" to "performance" while running on battery causes the problem to get worse, which is how I arrived that at my current theory which is that ALSA is not using a stable clock for the MIDI sequencer.
@migbox@shumann78@d10c4n3@alex_ch@steek_hutzee@attualita l’obiezione di coscienza è un diritto umano universale. Se in coscienza non sento di votare in elezioni dove quelli più a sinistra candidano gente che stava a Bruxelles in gruppo coi neonazisti e si avvalgono della prescrizione in un processo contro un ecomostro direi che sono fatti miei e della mia coscienza. Puoi votare tappando il tuo naso, non il mio.
Today, October 9, in 1944, Nazi occultists attempt to open a portal to release the Seven Gods of Chaos. Their attempt fails, but a small, red demon makes it through the portal; he is dubbed “Hellboy” and adopted by Professor Trevor Broom (Hellboy, 2004, dir. Guillermo del Toro)#Movies #Film #Cinemastodon #Letterboxd #Hellboy
Night dancers are those strange figures people whisper about moving in the dark, unclothed and feared for their rituals. #sisi #film #filmmaking #movies #art