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