FoscLilypondComment

Returns a FoscLilypondComment.


Description

A LilyPond code comment


Attributes Summary

Instance Properties

formatSlot Format slot of LilyPond comment.
string Gets string.

Instance Methods: Special Methods

str Gets string representation of LilyPond comment.


Usage

  1. Example

    a = FoscNote(60, 1/4);
    m = FoscLilypondComment("a comment");
    a.attach(m);
    a.format;
    % a comment
    c'4


Instance Properties


formatSlot

Format slot of LilyPond comment.

  1. Example

    m = FoscLilypondComment("a comment");
    m.formatSlot.postln;
    'before'


string

Gets string.

  1. Example

    m = FoscLilypondComment("a comment");
    m.string.postln;
    a comment


Instance Methods: Special Methods


str

Gets string representation of LilyPond comment.

  1. Example

    m = FoscLilypondComment("a comment");
    m.str;
    % a comment