Skip to content

How do you find the actual song time of a note? #155

Answered by melanchall
dreammixgames asked this question in Q&A
Discussion options

You must be logged in to vote

You can get time and length in many different formats. Please see overview article of the documentation. For example, to get a note's time in terms of microseconds, use this code:

var metricTimeSpan = note.TimeAs<MetricTimeSpan>(tempoMap);

Just use documentation to learn more about API.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dreammixgames
Comment options

Answer selected by dreammixgames
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Just question about the library
2 participants