Hi
This is my first plugin, and I’m trying to wrap my head around how the ARA classes interact with each other and the usual classes.
I found that I can access the tempo map from the ARADocumentController (the classe inheriting ARADocumentControllerSpecialisation) with:
const ARA::PlugIn::HostContentReader<ARA::kARAContentTypeTempoEntries> tempoReader (selectedMusicalContext);
const ARA::PlugIn::HostContentReader<ARA::kARAContentTypeBarSignatures> barSignaturesReader (selectedMusicalContext);
with selectedMusicalContext from getDocument< ARADocument>().getMusicalContexts().front()
My questions:
- How do I send/access that information in the ARAPlaybackRenderer?
- Can I print that info somewhere for debugging (ideally in a DAW)?
- I’m still confused about the structure of MusicalContexts - is it one per document?
- How to make sure my class gets notified when the tempo map is changed? (I guess it’s one of the Listeners, I am just not sure which one)
Thank you so much!
Simon