I am using a footswitch to record audio to a table. That table is 524288 samples long. Then I would like to use the slicer to cut pieces of it out. The slicer would cut pieces from the entire table length, not just the part I recorded into it.
Using timer, I can get the length of my footswitch press in ticks. Multiplied by 16, that gives me the number of samples I have recorded to the table.
Then I am lost. Without a division object I have no way to calculate what percentage of the table is filled with my sound, so I cannot get slices only from that part.
What other options would I have to do this? Thanks!