Dynamic graphical output? (Appending to image)
in
Programming Questions
•
2 years ago
Hi Everyone,
I have a program that draws waveforms of sound files and I'd like to make it capable of saving the drawed waveforms below each other, thus creating a "picture" of the given song. A requirement is that it can do it quite fast, in a manner that would not make the program lag.
My problem is that the only solution that I can think of would be saving an image file, then reloading it, appending the new waveform, then saving it again at each loop, but this image file would grow unbearably large for Processing to handle as the song proceeds. Is there a good way to do this?
Thanks in advance,
Ben
I have a program that draws waveforms of sound files and I'd like to make it capable of saving the drawed waveforms below each other, thus creating a "picture" of the given song. A requirement is that it can do it quite fast, in a manner that would not make the program lag.
My problem is that the only solution that I can think of would be saving an image file, then reloading it, appending the new waveform, then saving it again at each loop, but this image file would grow unbearably large for Processing to handle as the song proceeds. Is there a good way to do this?
Thanks in advance,
Ben
1