mercury-playground
mercury-playground copied to clipboard
Mapping incoming osc values to new range
When inputting osc messages as arguments it is nice if their is a way to remap the range of numbers. Eg:
new synth saw note('/osc/value{-1:1:7:24}')
This will scale incoming values between a range from -1 to 1 to a new range of 7-24
Or maybe it is possible to keep using the Total-Serialism list functions in a form of:
new synth saw note(map('/osc/value' -1 1 7 24))