AudioThumbnail and non-destructive reprensentations

It seems AudioThumbnail is very straight forward.
But is there any way to use it for drawing non-destructive edit actions?
Here is an example:

  • Upper waveform (non-destructively edited), Lower waveform original.

Many Sequences/CD-Burning apps/DJ-tools allows you to manipulate the following non-destructive:

  • Gain
  • Fades (In/Out)
  • Cross-Fades

How can this be applied with AudioThumbnail?

It’ll draw whatever data you give it!

If you’re looking for a way to visually fake the effects, I’d advise against that. I’ve found it’s generally a much better idea to render some hidden audio using the real audio algorithm and just let the thumbnail draw it, rather than trying to implement a graphical version of an effect.

I thought it might be more efficient to “fake” on thumbnail which is fraction of samples rather then actually calculate the audio it self.

Yes, but it’s a lot more trouble to implement and maintain, except in the simplest of cases. Originally Tracktion was done like that, but learned the hard way that it’s better to just do it properly!

1 Like