Skip to content

Commit

Permalink
Init Visitors to Duodene(#49)
Browse files Browse the repository at this point in the history
...not to pythagorean. Because that's you know correct
  • Loading branch information
Andreya-Autumn authored Dec 19, 2024
1 parent 9bb0433 commit 5f79694
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
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;
}
};

0 comments on commit 5f79694

Please sign in to comment.