]> git.sesse.net Git - kdenlive/blobdiff - src/audioscopes/ffttools.h
Reorganize and cleanup build structure
[kdenlive] / src / audioscopes / ffttools.h
index 65a4b2ca215fbe05c8d5a18a2d9b82e984e1ae6d..26cee848288bfcca5015de29da86389d50bc8182 100644 (file)
@@ -13,7 +13,7 @@
 
 #include <QVector>
 #include <QHash>
-#include <tools/kiss_fftr.h>
+#include "kiss_fft/tools/kiss_fftr.h"
 
 class FFTTools
 {
@@ -58,7 +58,8 @@ public:
 
 
     /** This is linear interpolation with the special property that it preserves peaks, which is required
-        for e.g. showing correct Decibel values (where the peak values are of interest).
+        for e.g. showing correct Decibel values (where the peak values are of interest because of clipping which
+        may occur for too strong frequencies; The lower values are smeared by the window function anyway).
         Consider f = {0, 100, 0}
                  x = {0.5,  1.5}: With default linear interpolation x0 and x1 would both be mapped to 50.
         This function maps x1 (the first position after the peak) to 100.