linearToLogScale and linearToLogScale in include/lmms_math.h do something completely unrelated to their function names
Open
Nobody has claimed this yet.
bug
core
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
eˣ = exp(x) = pow(M_E, x) ≠ x^e = pow(x, M_E) = "logToLinearScale"
log(x) ≠ pow(x, 1/M_E) = "linearToLogScale"
They seem to be used only in AutomatableModel.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in include/lmms_math.h and trace the functions' uses in AutomatableModel. Compare the names, equations, and call-site expectations to determine whether the implementations or names are inconsistent. Done means the scale conversions and their callers have a consistent, documented meaning, with relevant behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100