# HG changeset patch # User Chris Cannam # Date 1143471782 0 # Node ID 7f608ec9a06118c094b0cafb71b0c9711da4eea0 # Parent 10bcd53ddc71af74d15227ab7a98e63c5a311aff * More structural work on feature extraction plugin C <-> C++ adapter * Allow use of LADSPA/DSSI plugins with control outputs as feature extraction plugins (DSSI with MIDI output still to come) * Reorder labels on spectrogram status box * Minor tweaks in doc etc. diff -r 10bcd53ddc71 -r 7f608ec9a061 layer/SpectrogramLayer.cpp --- a/layer/SpectrogramLayer.cpp Thu Mar 23 18:42:17 2006 +0000 +++ b/layer/SpectrogramLayer.cpp Mon Mar 27 15:03:02 2006 +0000 @@ -2119,10 +2119,10 @@ } if (adjFreqMin != adjFreqMax) { - adjFreqText = tr("Adjusted Frequency:\t%1 - %2 Hz\n") + adjFreqText = tr("Peak Frequency:\t%1 - %2 Hz\n") .arg(adjFreqMin).arg(adjFreqMax); } else { - adjFreqText = tr("Adjusted Frequency:\t%1 Hz\n") + adjFreqText = tr("Peak Frequency:\t%1 Hz\n") .arg(adjFreqMin); } @@ -2130,9 +2130,9 @@ QString pmax = Pitch::getPitchLabelForFrequency(adjFreqMax); if (pmin != pmax) { - adjPitchText = tr("Adjusted Pitch:\t%3 - %4\n").arg(pmin).arg(pmax); + adjPitchText = tr("Peak Pitch:\t%3 - %4\n").arg(pmin).arg(pmax); } else { - adjPitchText = tr("Adjusted Pitch:\t%2\n").arg(pmin); + adjPitchText = tr("Peak Pitch:\t%2\n").arg(pmin); } } else { @@ -2152,19 +2152,19 @@ } if (freqMin != freqMax) { - text += tr("Frequency:\t%1 - %2 Hz\n%3Pitch:\t%4 - %5\n%6") + text += tr("%1Bin Frequency:\t%2 - %3 Hz\n%4Bin Pitch:\t%5 - %6\n") + .arg(adjFreqText) .arg(freqMin) .arg(freqMax) + .arg(adjPitchText) + .arg(Pitch::getPitchLabelForFrequency(freqMin)) + .arg(Pitch::getPitchLabelForFrequency(freqMax)); + } else { + text += tr("%1Bin Frequency:\t%2 Hz\n%3Bin Pitch:\t%4\n") .arg(adjFreqText) - .arg(Pitch::getPitchLabelForFrequency(freqMin)) - .arg(Pitch::getPitchLabelForFrequency(freqMax)) - .arg(adjPitchText); - } else { - text += tr("Frequency:\t%1 Hz\n%2Pitch:\t%3\n%4") .arg(freqMin) - .arg(adjFreqText) - .arg(Pitch::getPitchLabelForFrequency(freqMin)) - .arg(adjPitchText); + .arg(adjPitchText) + .arg(Pitch::getPitchLabelForFrequency(freqMin)); } if (haveValues) { diff -r 10bcd53ddc71 -r 7f608ec9a061 widgets/PluginParameterDialog.cpp --- a/widgets/PluginParameterDialog.cpp Thu Mar 23 18:42:17 2006 +0000 +++ b/widgets/PluginParameterDialog.cpp Mon Mar 27 15:03:02 2006 +0000 @@ -49,14 +49,14 @@ nameLabel->setFont(font); QLabel *makerLabel = new QLabel(plugin->getMaker().c_str()); - makerLabel->setFont(font); +// makerLabel->setFont(font); QLabel *versionLabel = new QLabel(QString("%1") .arg(plugin->getPluginVersion())); - versionLabel->setFont(font); +// versionLabel->setFont(font); QLabel *copyrightLabel = new QLabel(plugin->getCopyright().c_str()); - copyrightLabel->setFont(font); +// copyrightLabel->setFont(font); QLabel *typeLabel = new QLabel(plugin->getType().c_str()); typeLabel->setFont(font);