Im not sure what is going wrong. I followed the instructions from this site near the bottom it details moving a point using the y coordinate I made some modifications to read from tabread which works to an extent. Now for some reason when I count through the x points it dose not move to the next x coordinate in the array1. I am using tabread to get the y coordinate from each x in array1 which is the loaded wave sample.

I should mention when I currently load a sample the only point that can be seen which is the short blue line moves up and down as if it was a needle. so it is getting the y data from tabread but not incrementing over each x to create the line.

I will be saving this in its current state it could be used as a volume "needle" external. :) there is a upside to this I guess.

Any insight is appreciated.