I'm trying to build a spectrogram. I did this using a picturebox and it worked out but it flickered a lot so I had to try something else. I now have a panel in which I display bitmapdata and that works fine.
Now, whenever the bitmap has to be updated, for example 25/sec, then I need to have the bitmap shifted one pixel (to the right in this case) and I need help how to do this efficiently. When I have done the shifting of the bitmap then I can insert my FFT
magnitude data in the first column of the bitmap.
I was thinking about handling each row of my bitmap at a time using marshall copy (copy columns 0:N-2 to 1:N-1) but that would not work out since the each pxel copy would overwrite the next pixel to be moved and I don't think mashall copy can copy backwards.
Hope this makes sense!
I've been dealing with this problem for a few days and I'm gradually loosing patience :)
Hope to hear from you
View Complete Post