FoscPlaybackCommand

Returns a FoscPlaybackCommand.


Description

Playback command.

!!!TODO

Specifies a name for the playback command.

Specifies if and how the playback command appears on the score (e.g. as Markup text or graphic, as LilypondComment, etc.)


Attributes Summary

Instance Properties

name


Usage

  1. Is used when mapping a FoscStaff or FoscVoice to a MIDI or scsynth action, e.g.:

    FIXME ERROR: Class not defined

    a = FoscScoreSegment(Hakon, 'A');
    m = FoscLeafMaker().((60..67), [1/8]);
    m.leafAt(0).attach(FoscMetronomeMark(1/4, 60));
    m.leafAt(0).attach(FoscPlaybackCommand('OR48'));
    m.leafAt(2).attach(FoscPlaybackCommand('TRI'));
    m.leafAt(4).attach(FoscPlaybackCommand('M4'));
    m.leafAt(0).attach(FoscDynamic('pppp'));
    a['A'].add(m);
    
    a.play;


Instance Properties


name