20.12.2013 Views

Hearing Trig Functions - Henderson State University

Hearing Trig Functions - Henderson State University

Hearing Trig Functions - Henderson State University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

I made an animation of the frequency spectrum evolving over time, but the sample size was only<br />

large enough to make 4 time frames. Each frame pictured here is 0.37 seconds apart.<br />

The waterfall plot is another way to visualize the frequencies evolving over time. The row axis is<br />

time (slice 1, 2, 3, and 4); the column axis is frequency (Hz).<br />

If the waterfall plot is turned on end, then the Looking at the other end, you can see how the<br />

graph is almost the same as the original wav is getting quieter over time. (Increasing<br />

frequency spectrum.<br />

time is right to left.)<br />

Appendix: Maple Function for Generating Chord<br />

Frequencies<br />

Author: Michael Lloyd Date: August 2001<br />

Description<br />

This function takes a sequence of notes and corresponding octaves and returns a frequency list to<br />

be used by the functions in the SigGen Maple package. The 0th octave corresponds to the lowest<br />

notes on a piano, and the 4th octave is middle C up to and including the B on the treble clef.<br />

(This is the octave identification system recommended by the International Acoustical Society<br />

and also used in Braille music notation.) For example, a command for generating the frequencies<br />

for a C chord is chord(["C","E","G"],[4,4,4]); This will return the list [261.6255653,<br />

329.6275568, 391.9954358] where each frequency is in Hertz.<br />

This function can be improved by adding enharmonic notes that require double sharps or double<br />

flats such as “FX” or “Ebb”. This would accommodate musically correct spellings of the chords<br />

in unusual keys or chords such as Ab diminished which should be spelled as Ab Cb Ebb.<br />

Program Listing<br />

chord := proc(notes, octaves)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!