[LAD] Re: Admissable clock inaccuracy for MIDI

"Jeanette C." <julien-3g/[email protected]>
Newsgroups gmane.linux.audio.devel
Message-ID <[email protected]>
Hi Fons!
Feb 22 2023, Fons Adriaensen has written:
...
> This is very strange:
>
>   miss_time = now - wakeup;
>   wakeup = now + (delta - miss_time);
>
> Which just means:
>
>   wakeup += delta;
>
> So it's not wrong, just confusing by suggesting this
> somehow compensates for the previous tick being late.
> It doesn't, nor should that be done.
...
Thanks Fons! I was really confused about that myself. Mixing up the
mechanism of sleeping for a specified duration and sleeping until a
specified point in time.

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

With you I get so high
Lost in the crystal sky
You are this melody
That's where you take me <3
(Britney Spears)
_______________________________________________
Linux-audio-dev mailing list -- linux-audio-dev-cunTk1MwBs/[email protected]
To unsubscribe send an email to linux-audio-dev-leave-cunTk1MwBs/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.