From dc4b9868444ca83608164851b4549aaf88df0452 Mon Sep 17 00:00:00 2001 From: Andreya-Autumn Date: Fri, 20 Dec 2024 00:23:48 +0100 Subject: [PATCH] oooooof --- src/LatticesProcessor.cpp | 6 +++--- src/Visitors.h | 19 ++++++++++--------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/LatticesProcessor.cpp b/src/LatticesProcessor.cpp index 907f6a7..193fac6 100644 --- a/src/LatticesProcessor.cpp +++ b/src/LatticesProcessor.cpp @@ -54,7 +54,7 @@ LatticesProcessor::LatticesProcessor() originalRefFreq = defaultRefFreq; originalRefNote = defaultRefNote; returnToOrigin(); - startTimer(1, 50); + startTimer(1, 5); } } @@ -301,7 +301,7 @@ void LatticesProcessor::timerCallback(int timerID) newVisitorGroup(); returnToOrigin(); stopTimer(0); - startTimer(1, 50); + startTimer(1, 5); } MTStryAgain = false; } @@ -322,7 +322,7 @@ void LatticesProcessor::timerCallback(int timerID) newVisitorGroup(); returnToOrigin(); stopTimer(0); - startTimer(1, 50); + startTimer(1, 5); } } diff --git a/src/Visitors.h b/src/Visitors.h index 8a7b682..899d54d 100644 --- a/src/Visitors.h +++ b/src/Visitors.h @@ -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) @@ -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; } };