From: Simon A. Eugster Date: Sat, 25 Dec 2010 14:18:10 +0000 (+0000) Subject: Effect comments added X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=33190ca3920db3fee3ded2f606649ff9c88eb239;p=kdenlive Effect comments added svn path=/trunk/kdenlive/; revision=5198 --- diff --git a/effects/frei0r_lightgraffiti.xml b/effects/frei0r_lightgraffiti.xml index 12eaf7d3..f836de22 100644 --- a/effects/frei0r_lightgraffiti.xml +++ b/effects/frei0r_lightgraffiti.xml @@ -4,9 +4,11 @@ Light Graffiti effect. Simon A. Eugster (Granjow) - α for moving average + α + Determines how the effect tries to adapt to background changes. If the background does not change, then try to use 0. - Basic opacity for a light source. Added to sum in each frame. + Opacity + diff --git a/effects/frei0r_sopsat.xml b/effects/frei0r_sopsat.xml index 92e03999..c4e63215 100644 --- a/effects/frei0r_sopsat.xml +++ b/effects/frei0r_sopsat.xml @@ -5,6 +5,7 @@ Simon A. Eugster (Granjow) Slope Red + Changing the slope means multiplying the pixel value with a constant value. Slope Green @@ -18,6 +19,7 @@ Offset Red + Changing the offset lifts (or lowers) the brightness of each pixel by the makes the given value. Offset Green @@ -30,20 +32,23 @@ - Power (Gamma) Red + Power Red + + Mathematically, what happens is an exponentiation of the pixel brightness on [0,1] by the gamma value.]]> - Power (Gamma) Green + Power Green - Power (Gamma) Blue + Power Blue - Power (Gamma) Alpha + Power Alpha Overall Saturation + The overall saturation will be changed after all previous effects have been applied. diff --git a/src/audioscopes/ffttools.h b/src/audioscopes/ffttools.h index 65a4b2ca..f71d04aa 100644 --- a/src/audioscopes/ffttools.h +++ b/src/audioscopes/ffttools.h @@ -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. diff --git a/src/audioscopes/spectrogram.cpp b/src/audioscopes/spectrogram.cpp index c1d87c20..a8457b28 100644 --- a/src/audioscopes/spectrogram.cpp +++ b/src/audioscopes/spectrogram.cpp @@ -295,6 +295,8 @@ QImage Spectrogram::renderAudioScope(uint, const QVector audioFrame, co } bool newDataAvailable = newData > 0; + //TODO highlight data above certain limit (-6 dB) + #ifdef DEBUG_SPECTROGRAM qDebug() << "New data for " << widgetName() << ": " << newDataAvailable << " (" << newData << " units)"; #endif