Skip to content

Commit 132fac5

Browse files
committed
updated setPitch documentation
1 parent 5dd8670 commit 132fac5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/soundfile.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -885,13 +885,12 @@ class SoundFile {
885885
return this.playbackRate;
886886
}
887887

888-
// TO DO: document this
889888
/**
890-
* Pitch rate of a sound file can be changed by providing a MIDI note number.
889+
* Pitch of a sound file can be changed by providing a MIDI note number.
891890
* It will change the pitch and also the speed.
892891
* If the input note is 60 (middle C), then frequency and speed is normal.
893892
* If we increase the note input, then frequency and speed increases,
894-
* and If we decrease the note input, then frequency and speed decreases.
893+
* and if we decrease the note input, then frequency and speed decreases.
895894
*
896895
* @method setPitch
897896
* @for p5.SoundFile

0 commit comments

Comments
 (0)