Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oofq #49

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Oofq #49

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/LatticesProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ LatticesProcessor::LatticesProcessor()
originalRefFreq = defaultRefFreq;
originalRefNote = defaultRefNote;
returnToOrigin();
startTimer(1, 50);
startTimer(1, 5);
}
}

Expand Down Expand Up @@ -301,7 +301,7 @@ void LatticesProcessor::timerCallback(int timerID)
newVisitorGroup();
returnToOrigin();
stopTimer(0);
startTimer(1, 50);
startTimer(1, 5);
}
MTStryAgain = false;
}
Expand All @@ -322,7 +322,7 @@ void LatticesProcessor::timerCallback(int timerID)
newVisitorGroup();
returnToOrigin();
stopTimer(0);
startTimer(1, 50);
startTimer(1, 5);
}
}

Expand Down
19 changes: 10 additions & 9 deletions src/Visitors.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ struct Visitors

std::string name = "";
int vis[12] = {0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1};
double tuning[12] = {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0};
double tuning[12] = {1.0, 81.0 / 80.0, 1.0, 81.0 / 80.0, 80.0 / 81.0, 1.0, 80.0 / 81.0,
1.0, 81.0 / 80.0, 80.0 / 81.0, 81.0 / 80.0, 80.0 / 81.0};
const JIMath *j;

void setTuning(int d, int v)
Expand Down Expand Up @@ -93,16 +94,16 @@ struct Visitors
vis[11] = 1;

tuning[0] = 1.0;
tuning[1] = 1.0;
tuning[1] = 81.0 / 80.0;
tuning[2] = 1.0;
tuning[3] = 1.0;
tuning[4] = 1.0;
tuning[3] = 81.0 / 80.0;
tuning[4] = 80.0 / 81.0;
tuning[5] = 1.0;
tuning[6] = 1.0;
tuning[6] = 80.0 / 81.0;
tuning[7] = 1.0;
tuning[8] = 1.0;
tuning[9] = 1.0;
tuning[10] = 1.0;
tuning[11] = 1.0;
tuning[8] = 81.0 / 80.0;
tuning[9] = 80.0 / 81.0;
tuning[10] = 81.0 / 80.0;
tuning[11] = 80.0 / 81.0;
}
};
Loading