hello there,

not strictly PD related, but (computer) music in general.

i am trying to generate a 500 point look-up table in the range 0 to 127 (for midi usage) with the following shape:


is there a tool for something like this?

it is basically  pseudo exponentially rising in the first 125 points and then decaying “sinuslike” for the next 375 points.

the final lookup table will be used for a teensy based midi controller and should be in a c array stucture (comma separated)

lookup_table[500] {
0,1,2,3,4, etc….
};