Hi Holleyanne,
please always try to provide a complete (minimal) example which is ready
to try it out.
It is more likely then that somebody will respond to your question.
An adapted version of your snippet is attached.
First few remarks for providing optional arguments.
In a simple (lambda)
Hi - I've been working to adapt Colored Noteheads/Outlines (
http://lsr.di.unimi.it/LSR/Item?id=890) to highlight tonic notes, and also
be able to color a given voice. I've adjusted the variables to let me
specify tonic-color and part-color when I call the function, and I've
narrowed the note