// less measures less repitition between new melody,
//. e.g. less measures, faster time
// the more notes, the less immediately repititious
//. e.g. more notes, slower time
//.the faster the bpm the faster time perceived at an inverse gradient to # notes
// more notes, have less of an impact on time perception if faster bpm
//. e.g. higher bpm, may have an inverse impact on notes per measure for time perception
// effects of volume?
// how often do we need to change the bpm? song time? distraction limit?
//. is distraction limit guesseable if we record settings changes and try using those?
//.can we produce not super noticible changes in pink or brown noise, with a non-placebo effect?
const measuresP = (measures / 12) * 1.2
const bpmP = (bpm / 300)
const notesP = (numNotes / 16)
const timeP = measuresP * notesP * bpmP + (numNotes / measures * bpmP)
howFastText.html("Perception of Time (lower is slower): " + timeP ) // GENTLEMEN!?
// todo: science! is this real? i think it's real. (!) what type of music produces the slowest time?
//. what type of music produces the fastest time?
//. tests? trials? data?
try to tune for brown or pink noise
demo, generates new melodies per a given set of measures (right term?) to prevent or promote time loss:
https://editor.p5js.org/john-holland/sketches/PdOfzKzQT