I’m working on an application that displays an audio file as a waveform using the AudioThumbnail class. To implement zooming we resize the component that draws the thumbnail using setSize(). This works fine until you try to zoom in too far at which point the waveform begins to look choppy and discontinuous. See the images below. I’m wondering if the AudioThumbnail class is not the right choice for this, or if there is a better way. Does anyone have any tips for allowing zooming down to the sample level?