annotate platform-dataquay.pri @ 1231:b4fd38b40712 spectrogram-minor-refactor

Fix threshold in spectrogram -- it wasn't working in the last release. There is a new protocol for this. Formerly the threshold parameter had a range from -50dB to 0 with the default at -50, and -50 treated internally as "no threshold". However, there was a hardcoded, hidden internal threshold for spectrogram colour mapping at -80dB with anything below this being rounded to zero. Now the threshold parameter has range -81 to -1 with the default at -80, -81 is treated internally as "no threshold", and there is no hidden internal threshold. So the default behaviour is the same as before, an effective -80dB threshold, but it is now possible to change this in both directions. Sessions reloaded from prior versions may look slightly different because, if the session says there should be no threshold, there will now actually be no threshold instead of having the hidden internal one. Still need to do something in the UI to make it apparent that the -81dB setting removes the threshold entirely. This is at least no worse than the previous, also obscured, magic -50dB setting.
author Chris Cannam
date Mon, 01 Aug 2016 16:21:01 +0100
parents 68e3d89a88c8
children 65b8c009a9f2
rev   line source
Chris@530 1
Chris@638 2 exists(config.pri) {
Chris@638 3 include(./config.pri)
Chris@638 4 }
Chris@530 5
Chris@930 6 CONFIG += staticlib c++11
Chris@530 7
Chris@530 8 DEFINES -= USE_REDLAND
Chris@530 9 QMAKE_CXXFLAGS -= -I/usr/include/rasqal -I/usr/include/raptor2
Chris@914 10 QMAKE_CXXFLAGS -= -Werror
Chris@530 11 EXTRALIBS -= -lrdf
Chris@530 12
Chris@530 13 DEFINES += USE_SORD
Chris@572 14 # Libraries and paths should be added by config.pri
Chris@638 15
Chris@742 16 win32-g++ {
Chris@638 17 INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include
Chris@638 18 LIBS += -L../../sv-dependency-builds/win32-mingw/lib
Chris@638 19 }
Chris@742 20 win32-msvc* {
Chris@742 21 INCLUDEPATH += ../sv-dependency-builds/win32-msvc/include
Chris@742 22 LIBS += -L../../sv-dependency-builds/win32-msvc/lib
Chris@742 23 }
Chris@742 24 mac* {
Chris@742 25 INCLUDEPATH += ../sv-dependency-builds/osx/include
Chris@742 26 LIBS += -L../sv-dependency-builds/osx/lib
Chris@742 27 }