FoscNoteHeadList

Returns a FoscNoteHeadList.


Description

Note-head list.


Attributes Summary

Instance Properties

client

Instance Methods

addAll
getByPitch (abjad: get)
pop
remove


Instance Properties


client


Instance Methods


addAll

  1. Example

    a = FoscNoteHeadList((60..63).collect { |p| FoscNoteHead(p) });
    a.addAll((64..67).collect { |p| FoscNoteHead(p) });
    a.items.collect { |e| e.writtenPitch.ps }.join(" ");
    "C4" "C#4" "D4" "Eb4" "E4" "F4" "F#4" "G4"


getByPitch

(abjad: get)

  1. Example

    a = FoscNoteHeadList((60..63).collect { |p| FoscNoteHead(p) });
    a.getByPitch("C#4").writtenPitch.ps;
    "C#4"


pop


remove