No BSD License  

Highlights from
PitchWatch

5.0

5.0 | 5 ratings Rate this file 17 Downloads (last 30 days) File Size: 97.19 KB File ID: #14828
image thumbnail

PitchWatch

by Alan Tan

 

28 Apr 2007 (Updated 03 May 2007)

Get your pitch right with pitchwatch!

| Watch this File

File Information
Description

Hear me hum the G major (offkey!) and use pitchwatch to view the pitch keys displayed from the lowest key A0 to the highest key C8. Check out the link at http://www.bookrags.com/wiki/Piano_key_frequencies for more information about pitch keys. By the way, G major is a major scale based on G, consisting of the pitches G, A, B, C, D, E, F# and G (http://en.wikipedia.org/wiki/G_major).

The pitch calculation is based on the AMDF-fractional pitch period determination. The function is designed to operate optimally at the sampling rate of 8000Hz; nevertheless, you may adjust the window size (wlen) to suit your pitch watching needs.

Pitchwatch is best used with spsnip_gui available http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=11002&objectType=FILE. Have a fun time getting your pitch right! :)

Essential files: pitchwatch.m
Accompanying files: Hum.wav

MATLAB release MATLAB 5.3.1 (R11.1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
01 May 2007 John D'Errico

(I don't have perfect pitch. Clearly its not inherited.)

This does have entirely adequate help to be used, but I'd love to have seen a few extra pieces of information in the comments. For example, add the bookrags link to the function help. I wanted to see a bit more information for those people who have lesser knowledge of audio, pitch, .wav files, etc.

A function like this is a great addition to the FEX, that someone with relatively little knowledge of the subject will find intriguing. This is a teaching tool that makes the FEX better. I'll tip my hat to Alan for providing this function.

29 May 2008 Ekaterinoslav Sirakov

OK

30 Jul 2011 Jiraphorn  
30 Jul 2011 Jiraphorn  
30 Jul 2011 Jiraphorn

very helpful

Please login to add a comment or rating.
Updates
01 May 2007

The html didn't turn out right; edited the description.

02 May 2007

Added the link on pitch keys and the how-tos of making wavefiles into the function help as suggested by John.

03 May 2007

Very minor (and final) changes in the m-file.

Tag Activity for this File
Tag Applied By Date/Time
audio processing Alan Tan 22 Oct 2008 09:11:08
video processing Alan Tan 22 Oct 2008 09:11:08
pitch Alan Tan 22 Oct 2008 09:11:08
music Alan Tan 22 Oct 2008 09:11:08
frequency Alan Tan 22 Oct 2008 09:11:08
pitch xu 16 Aug 2011 03:29:00

Contact us at files@mathworks.com