Time signature style with note in the denominator (extracted automatically from the \time call)

To write a time signature as e.g. 3/(quarter note) instead of 3/4, you can simply use the format-time-sig-note function defined in the snippet for the TimeSignature's stencil property, and it will automatically extract the time signature and format it with a note in the denominator instead of a number.