I've made a sample display object!
It's by no means perfect (the display gets weird with longer samples and different zoom levels) and needs some work but it will display a sample stored on a table.
It has a 'sample accurate' mode that displays 128 samples of the recording, or can zoom in and out (gets a bit weird, needs some kind of averaging to display the waveform more accurately I think).
You can scroll when sample accurate or zoomed in using a blue inlet which is the range of the recording, or by a green inlet where 1=1 sample.
2 sizes, and can work with oled screens. The bigger one will only display the first quarter of the display on the oled.
Here's some pics of a short recording displayed zoomed out, zoomed in halfway, and sample accurate. And a help patch with objects embedded.
sample display upload.axp (15.6 KB)