function addNote($note) {
        if (!$note instanceof Note) {
            $note = new Note($note);
        }

        $this->notes[] = clone $note;

    }
function addNote($note) {
        if (!$note instanceof Note) {
            $note = new Note($note);
        }

        $this->notes[] = clone $note;

    }
function addNote ( $ note ) { if ( ! $ note instanceof Note ) { $ note = new Note ( $ note ) ; } $ this -> notes [ ] = clone $ note ; }
adds a note to this chord

@param array|Note $note
adds a note to this chord