Hey! Is there a way how I can delete a sample that is recorded in to a table? I am using the table/record, table/play and the table/alloc 16b sdram objects.
How to delete a sample that is recorded in to a table?
Can't seem to find an object that resets the table to its initial value.
But you could save a table with zeroes on your SD card and then use table/load to clear the current value of the table.
found a work around with a click hold object, delay pulses and a flipflop to overwrite the table with silence after holding a button for 1,5 sec =)
i think this might be a great chance for you to dive a tiny little bit deeper into axoloti programming. it is really easy to create a new object that references the table and has, let's say a trigger input.
then you just need to write a very simple loop that starts running on an incoming trigger signal, iterates through the table and sets every value to 0. it's really not complicated and will be instant as opposed to your 1.5sec workaround.
i haven't opened axoloti patcher in months so i am not sure about the syntax, but it would roughly be something like this:
if (input.trigger > 0) {
for (i=0; i< size(this.table); i++){
this.table[i]=0;
}
}
the table reference syntax is definately a bit different, also i just made up the size function. but trust me, you'll get there within 10minutes and will have learned a lot.