pd23. Reading and Writing Tables in Pure Data

A array of length 5 was created, and put on the left hand side, with the name of array1.

By clicking on the message in the upper right corner, we can set the five values of the array, as 0 to 0.4 in steps of 0.1.

Further, by clicking on the bang in the lower part of the canvas, we set a counter to read the table.

We use the modulo operation to make sure the number (corresponding to index) is always between 0 and 4. Alternatively, we can put 4 on the last inlet of the counter.

Leave a Reply

Your email address will not be published. Required fields are marked *