Skip to content
Snippets Groups Projects
Commit 4ae9c098 authored by SeeLook's avatar SeeLook :musical_note:
Browse files

[Nootini] Show Tartini note ID in chunk status tip

- bold note name there
parent ebe03ed1
No related branches found
No related tags found
No related merge requests found
Pipeline #3358 skipped
......@@ -56,7 +56,8 @@ void TaudioAnalyzeItem::volumeSlot() {
if (m_sniffer->finder()->chunkPitch() > 0.0)
n.fromMidi(qRound(m_sniffer->finder()->chunkPitch()));
emit dataReady(m_sniffer->pcmVolume(), m_sniffer->finder()->energy(), m_sniffer->finder()->isOnSet(),
n.isValid() ? QString("%1 [%2]").arg(m_sniffer->finder()->chunkPitch()).arg(n.toText()) : QString());
(n.isValid() ? QString("%1 <b>[%2]</b>").arg(m_sniffer->finder()->chunkPitch()).arg(n.toText()) : QString())
+ QString(" ID: %1").arg(m_sniffer->finder()->currentNoteId()));
}
......
......@@ -110,8 +110,8 @@ TaudioAnalyzeItem {
Text {
id: contText
anchors.centerIn: parent
color: activPal.text
text: tip.mD ? tip.nr + "\nnote: " + tip.mD.note + "\nvolume: " + tip.mD.vol + "\ndynamic: " + tip.mD.energy : ""
color: activPal.text; textFormat: Text.StyledText
text: tip.mD ? tip.nr + "<br>note: " + tip.mD.note + "<br>volume: " + tip.mD.vol + "<br>dynamic: " + tip.mD.energy : ""
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment