Hi, I’m new to this community and p5 so forgive me if I ask something silly, but here is my problem.
I have a part with a phrase and I’m now trying to add the part to a score because I want to be able to play more parts later on. When I play the part by itself it works, but playing the score with that part does not work and triggers
Uncaught TypeError: Cannot read property 'start' of undefined (sketch: line 34)
I’m not sure what I do wrong, I initiate a new score with my part “preroll”:
score = new p5.Score(preroll);
and start it with:
My whole code can be viewed at: https://editor.p5js.org/m4rinos/sketches/HFYqbDM2b
any help would be greatly appreciated