# \[Pipe Request\] scale and offset

**URL:** <https://community.blokas.io/t/pipe-request-scale-and-offset/734>\
**Category:** Feature Requests\
**Created:** [September 14, 2018, 12:34pm UTC](https://community.blokas.io/t/pipe-request-scale-and-offset/734 "2018-09-14T12:34:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thetechnobear](https://community.blokas.io/user_avatar/community.blokas.io/thetechnobear/32/73_2.png) [@thetechnobear](https://community.blokas.io/u/thetechnobear)\
**Post date:** [September 14, 2018, 12:34pm UTC](https://community.blokas.io/t/pipe-request-scale-and-offset/734/1 "2018-09-14T12:34:55Z")

</div>

**value** = MX + Y

(value = data2)  
even better would be to allow a curve to be specified, ie. is there a linear or exp relationship)

(result is clipped to 0…127)

use cases  
midi in -\> cc remap (4,4) -\> scaleoffset (0.5x +0) : used to 'attenuate a cc 4  
midi in -\> velocity -\> scaleoffset(exp) : remap velocity values

it could perhaps be generalised more, to allow either scaleoffset on data1 or data 2.  
this would mean it could be a more generalised for of transpose. (as this is 1x+N) (when N can be negative)

(that’s said, perhaps this is more a bread n butter, primitive, so transpose is kept as its got a musical meaning)

---

<div class="post-metadata">

**Author:** ![tob\_har](https://community.blokas.io/letter_avatar_proxy/v4/letter/t/9e8a1a/32.png) [@tob\_har](https://community.blokas.io/u/tob_har)\
**Post date:** [October 26, 2018, 4:15pm UTC](https://community.blokas.io/t/pipe-request-scale-and-offset/734/2 "2018-10-26T16:15:03Z")

</div>

Just found that suggestion again and didn’t find it in the Trello.  
This would be really a great feature!  
I think of also realizing sth. like a master morph control, were on controller inputs CC  
value 0-127 but can be put out to several other CCs (even spread to different MIDI ports) with different ranges.
