I wrote to Paul Rosen and he replied this
«interesting but it uses “canvas” for drawing and abcjs uses “svg”. So the question to ask on their forum is whether svg images can be inserted and dynamically manipulated.
It looks like you could create a div with createDiv. You could do that and if you could reference that div you can use that to draw in. I tried to add an id with div.id = “paper” but that didn’t work.
For using the library with the min version use capital letters: ABCJS instead of abcjs.»
But if I were you, I would first try getting each library working separately. It looks like you’re having trouble loading the ABCjs library, so I’d first try to get that working without p5.js.
From there you can try to integrate the two, but your first step is loading each library separately.