Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document latency handling for events #393

Open
Trinitou opened this issue Feb 7, 2024 · 0 comments
Open

document latency handling for events #393

Trinitou opened this issue Feb 7, 2024 · 0 comments

Comments

@Trinitou
Copy link
Contributor

Trinitou commented Feb 7, 2024

on Dischord someone had questions concerning latency handling for automation. At least I and @defiantnerd think we should document this better:

  • put the full explanation in latency.h. Some thoughts:
    • quoted from @defiantnerd's comment on Dischord: "Sending an event at timestamp n will result in audio at timestamp n+latency. [...] Latency is pre-delay-compensated. As every host does it (except FL Studio before version 9 or Magix Something (i forgot the name)) The host has to send the events that early so the plugin has time to apply it early enough for the announced latency."
    • I would add something like: the overall plugin latency applies to both audio and events together.
  • put some hint in all relevant places (like e.g. events.h, process.h, ...)
    • e.g. // for a discussion of latency see latency.h (as @baconpaul suggested)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant