Var not iterating problem • Use all row values to iterate CSV column with for loop to playNote()

Thank you Chrisir, it worked, but I do not know why, do not understand, what was it that made the MAIN difference for the timing of the class method to work in the main prog? could you please explain?

I saw the main 3 things is that you did in your post

:

  1. In setup you seisData.timer = millis();
  2. In draw you put the if (seisData.seisCsv==null) return;
  3. in class you initialized long timer=0;

In your latest post questions:

That is the way that instruments are constructed in minim Instrument example, you are patching them out and then stopping them.

It stands for frequency modulated, I am modulating 2 waves, a sine and a triangle.

In your most recent posting I see you included the initializing of the ToneInstrument inside the void iterate method inside of the class Seisdata could I ask why? as I am trying to keep things separate, data, instrument, playing that data, etc… That is why I was playing the note from the main prog, while having the iteration of the data within the object… I am just trying to understand…