-
Notifications
You must be signed in to change notification settings - Fork 103
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
Expand some note and note expression doc #381
Conversation
The comments in free-audio#380 showed some places where our note and note expression doc had too much implicit knowledge. Try to address that with a few short paragraphs explainign the protocol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@baconpaul would you mind adding the changelog entry? |
Oh sure. Hold on. |
OK done! |
Thank you :) |
enum { | ||
// with 0 < x <= 4, plain = 20 * log(x) | ||
CLAP_NOTE_EXPRESSION_VOLUME = 0, | ||
|
||
// pan, 0 left, 0.5 center, 1 right | ||
CLAP_NOTE_EXPRESSION_PAN = 1, | ||
|
||
// relative tuning in semitone, from -120 to +120 | ||
// relative tuning in semitone, from -120 to +120, in equal temperament |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would change "semitone" to "semitones". In English "in" + unit usually has the unit in plural. For example "in kilos", "in dollars".
The "in equal temperament" could be read to imply that only integer values are expected. Perhaps just note something like: "delta_in_cents = 100 * x". That should be clear enough, since a 12EDO semitone is 100 cents.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see it has already been merged. You can discard this comment then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comments in #380 showed some places where our note and note expression doc had too much implicit knowledge. Try to address that with a few short paragraphs explainign the protocol