Arraycopy deprecated, is there an alternative method?

I’m doing some work with Minim and I found a few samples for visualizing waveforms that are using arraycopy. The samples seem to work as expected in the code, except I’m getting warnings that the method is deprecated. the method arraycopy(object object) from the type PApplet is deprecated. Code sample was from this post: https://forum.processing.org/one/topic/how-to-generate-a-simple-waveform-of-an-entire-sound-file.html

Is there another method I should be using instead of arraycopy? Should I update it or just let the warning run and just ignore it?

Thanks.

1 Like

Yes, use arrayCopy() in place of arraycopy(), even though they’re exactly the same thing: :crazy_face:

1 Like

Thanks, should have noticed that! :upside_down_face: