reverse waveshaping ?

    Jan 22 2014 | 6:17 pm
    Hello, I can't find out how to find the function (waveshape ?) to transform a sine to another given shape like in the picture enclosed.
    How to ?

    • Jan 23 2014 | 1:38 am
      Your pics didn't post.
    • Jan 23 2014 | 10:39 am
      strange. I can see it here.
      here it is once again :
    • Jan 23 2014 | 2:12 pm
      Finding a function to perform a specific mapping is an extremely difficult mathematical problem. There are lots of mappings that are quite easy to do (look up, for instance, Chebychev functions). But there are an infinite number of possible functions (aleph-one infinity, I think), that leaves plenty of mappings that aren't so easy.
      If you've got the data that generated your images, you could just poke~ the numbers into a waveform and use that for your mapping. But presumably life isn't that convenient for what you want to do. You could approximate by drawing into a table object. That won't be super accurate, but might be, as they say, good enough for jazz.
    • Jan 23 2014 | 4:38 pm
      Thx a lot.
      I did the poke~ option with ramps from 1. & then separate into 2 [lookup~], one for ascending and one for descending ramp. It's not really accurate but ok for now...
      I'll have a look at chebychev asap.
      I tried an IR option too without success because it's not linear I suppose...
      Anyway, thx for your answer.