Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • seelook/nootka
  • lucas-marques/nootka
2 results
Show changes
Commits on Source (2)
......@@ -118,7 +118,7 @@ void TmelGenItem::generate()
int meter = MAIN_SCORE->meter();
TrhythmList rhythms = getRandomRhythm(meter, m_barNumber, m_rtmSelector->basicMask(), m_rtmSelector->dotsMask(), m_rtmDiversity);
if (meter > 0 && rhythms.isEmpty()) {
qDebug() << "[TmelGenItem] no rhythms from current parameters. Skipping melody generate!";
qDebug() << "[TmelGenItem]" << "no rhythms from current parameters. Skipping melody generate!";
return;
}
......
......@@ -525,6 +525,7 @@ void TnoteItem::setBowing(EbowDirection bowDir)
m_bowing->setX((width() - m_bowing->width()) / 2.0);
m_bowing->setY(bowY);
m_bowing->setVisible(true);
m_bowing->setProperty("color", qApp->palette().text().color());
} else {
if (m_bowing)
m_bowing->setVisible(false);
......
......@@ -189,11 +189,11 @@ TrhythmList getRandomRhythm(int meter, int barCount, quint32 basicMask, quint32
}
if (meterHasDuple && dupleList.isEmpty()) {
qDebug() << "[getRandomRhythm] FIXME! Melody rhythm needs rhythm group which is not set! Added quarter to save the situation.";
qDebug() << "[getRandomRhythm]" << "FIXME! Melody rhythm needs rhythm group which is not set! Added quarter to save the situation.";
dupleList << TrtmGroup(TrtmGroup::Gr_4);
}
if (meterHasTriple && tripleList.isEmpty()) {
qDebug() << "[getRandomRhythm] FIXME! Melody rhythm needs rhythm group which is not set! Added quarter with dot to save the situation.";
qDebug() << "[getRandomRhythm]" << "FIXME! Melody rhythm needs rhythm group which is not set! Added quarter with dot to save the situation.";
tripleList << TrtmGroup(TrtmGroup::Gr_4dot);
}
......@@ -272,6 +272,6 @@ bool mergeRhythmAndMelody(const TrhythmList &rList, Tmelody *melody)
}
return true;
} else
qDebug() << "[Random melody] Can't merge melody and rhythm due to mismatch note numbers.";
qDebug() << "[Random melody]" << "Can't merge melody and rhythm due to mismatch note number!";
return false;
}