Compare commits
4 Commits
b569c47d40
...
004d9970c8
| Author | SHA1 | Date |
|---|---|---|
|
|
004d9970c8 | |
|
|
0a309ef8cd | |
|
|
28a8bd31f8 | |
|
|
ad2a70a8d6 |
|
|
@ -33,7 +33,7 @@ sound_items::sound_item &sound_items::add(QVBoxLayout *container, const string &
|
|||
sound_item si;
|
||||
si.m_filename = name;
|
||||
si.m_id = m_current_sound_id++;
|
||||
QString style("background-color:lightgrey;");
|
||||
QString style("color:black;background-color:lightgrey;");
|
||||
|
||||
si.m_container = new QHBoxLayout();
|
||||
si.m_container->setSpacing(10);
|
||||
|
|
@ -89,8 +89,8 @@ void sound_items::clear() {
|
|||
void sound_items::recolour() {
|
||||
u32 c=0;
|
||||
for (auto &si:m_sound_items) {
|
||||
QString style("background-color:lightblue;");
|
||||
if (c%2==0) style="background-color:pink;";
|
||||
QString style("color:black;background-color:lightblue;");
|
||||
if (c%2==0) style="color:black;background-color:pink;";
|
||||
si.m_enable->setStyleSheet(style);
|
||||
si.m_del->setStyleSheet(style);
|
||||
si.m_label->setStyleSheet(style);
|
||||
|
|
@ -101,7 +101,7 @@ void sound_items::recolour() {
|
|||
void sound_items::change_colour(const std::string &name, const std::string &colour) {
|
||||
for (auto &si:m_sound_items) {
|
||||
if (si.m_filename==name) {
|
||||
QString style("background-color:"+QString::fromStdString(colour)+";");
|
||||
QString style("color:black;background-color:"+QString::fromStdString(colour)+";");
|
||||
si.m_enable->setStyleSheet(style);
|
||||
si.m_del->setStyleSheet(style);
|
||||
si.m_label->setStyleSheet(style);
|
||||
|
|
|
|||
|
|
@ -96,6 +96,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>plain fft match vs mfcc values </string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
|
|
@ -156,6 +159,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>match original or normalised blocks</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
|
|
@ -298,6 +304,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>use new blocks rather than similar ones</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
|
|
@ -361,6 +370,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>how long it takes for the novelty to wear off</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
|
|
@ -424,6 +436,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>likelihood of playing the next block rather than the closest</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
|
|
@ -491,7 +506,7 @@
|
|||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>how many connections to search (ordered in closeness)</string>
|
||||
<string>repeat search (set novelty to 0 for dodgy jungle timessssstretch)</string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>1</number>
|
||||
|
|
@ -666,7 +681,7 @@
|
|||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>how many connections to search (ordered in closeness)</string>
|
||||
<string>block difference higher than this causes a new search, skipping the target</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>10000</number>
|
||||
|
|
@ -944,6 +959,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>amount to match the frequency</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
|
|
@ -1001,6 +1019,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>mix in the normalised blocks</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
|
|
@ -1061,6 +1082,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>mix in the original blocks</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
|
|
|
|||
Loading…
Reference in New Issue