setNote

public void setNote(Note note)

Overrides the Note to be played.

Parameters

note

the Note. Has no effect if null.