Hi all, I am writing an application that needs to display an audio thumbnail that is comprised of three frequency bands. Rather than write my own thumbnail class I though I could use a customized AudioThumbnail subclass. My plan was to create a subclass of AudioThumbnail and include some IIRFilters in it then process the samples before they get stored, probably before the for loop in generateSection().
I know I will have to hack away quite a bit to get it to create and store three different thumbnails but at the moment I am just trying to apply a single filter. (I think I could layer up three separately filtered AudioThumbnails in my waveform view components anyway).
The problem that I am having is that generateSection() is private so can not be overridden . Would it be possible to make this public so we can change what gets passed to the drawing code?
I may have missed something major here to do with inheritance, bare with me as I have only been doing this a while. If anyone can think of any better methods your ideas are welcome.