06-19-2021, 09:49 PM
(06-19-2021, 07:51 PM)pseudoname Wrote: how would i go about creating an array out of a graph in google sheets
Google sheets is just to help design the curves. You can take a look at my spreadsheet for ideas. I basically just have one column that goes from -1 to 1 (I'm using 0.02 step size, but you can do whatever), and a second column that calculates the value based on whatever formula I want. I make a graph to make sure it looks right, then the second column becomes my array for the wave shaper.
https://docs.google.com/spreadsheets/d/1...sp=sharing
The main hassle of this approach is that when you copy the numbers from the second column, each number is on its own line. But you have to change it so it's all 1 line and has commas in between the numbers, so you can paste it in that code. I have a text editor that makes this easy. If you're having trouble with that bit I can probably write a bit of JS to do it.