Closed rubenphilipp closed 8 months ago
I'm sorry Ruben: I missed this :/ Feel free to reach out if something goes ignored. Anyway, I've added some methods to take care of this and other cases. Let me know if something still doesn't work otherwise feel free to close.
Ah, thanks Michael. I think, this was an issue we discussed in class. I am happy with your solution.
There appears to be an issue with the method
pitch-or-chord=
in the case one of the arguments is an event which holds a rest. Since, in this case, the pitch slot holds the valuenil
, the comparison does not succeed. It seems reasonable, at least to me, to include a test which handles this case.(pitch-or-chord= (make-pitch 'b5) (make-rest 16))