Changeset 0cbe9d7 in Lumiera

Timestamp:
2026-09-17T21:38:02Z (3 weeks ago)
Author:
Ichthyostega <prg@…>
Branches:
dev/play
Children:
a1b80c2
Parents:
9221fbe
git-author:
Ichthyostega <prg@…> (17/09/26 19:14:30)
git-committer:
Ichthyostega <prg@…> (17/09/26 21:38:02)
Message:

Parameters: prepare for a generic Scale-join operation

The join()-operation allows to combine a value pulled from automation
to be combined with a local base value stored in the parameter.

When both the source and the target parameter use the same Scale,
this operation is simple; it becomes more tricky once they don't --
because then linear / logarithmic and type conversions must be handled.

I now decided to provide a generic implementation in the Scale (descriptor),
while the enclosing parameter shall handle the dispatch when connecting
to a opaque source with another Scale. And this generic implementation
relies on the same technique as was used for the parameter type conversions,
thus it should be factored out into a library header.

(No files)

Note: See TracChangeset for help on using the changeset viewer.