Feature Request #1148

jcom.parameter & dataspace: OSC messages with unit should reset @dataspace/unit/active temporarily only

Added by Trond Lossius almost 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:2012-05-19
Priority:NormalDue date:
Assignee:Trond Lossius% Done:


Category:-Spent time:-
Target version:core-maintenance-sprint


If I have an object jcom.parameter foo @type decimal @dataspace gain @dataspace/unit/active midi @dataspace/unit/native midi and send the following messages to the hub of the module:

/foo 100
/foo -6 db ramp 100
/foo 0

The last message should be interpreted as using the midi unit, not the db. That is: When the second message contains a unit, that unit should be used for this message only, not for the messages succeeding it. This would make behavior of the parameter adhere to "convention over configuration". The convention would be to specify values as midi, and only if one diverts from the convention the unit need to be explicitly stated.


#1 Updated by Trond Lossius almost 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:9bae9cba7ad1928ca80f6ed5b9230c88dac9b9aa.

Also available in: Atom PDF