Skip to content

Commit 7d36369

Browse files
authored
updated getPitch_doc
1 parent 6034eb4 commit 7d36369

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/soundfile.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,11 +904,12 @@ class SoundFile {
904904
}
905905

906906
/**
907-
* Returns the current pitch of a sound file in the MIDI note.
907+
* Returns the current pitch of a sound file as a MIDI note.
908908
*
909909
* @method getPitch
910910
* @for p5.SoundFile
911-
* @return {Number} Current pitch of the SoundFile.
911+
* @return {Number} Current pitch of the SoundFile.The default note is assumed to
912+
* be 60(middle C).
912913
*
913914
*/
914915
getPitch() {

0 commit comments

Comments
 (0)