<< Chapter < Page
  Speak and sing   Page 1 / 1
Chapter >> Page >
How songs were selected and input for use with the Speak and Sing.

Song interpretation

The songs to be used by the Speak and Sing were predetermined and preprogrammed. For simplicity, the songs feature a one-to-one format. That means every syllable of the lyrics is associated with one duration and one pitch, there are no rests and no slurs. The song interpretation is done in two vectors, one contains all of the durations (in seconds) to be used by the duration matching, and the other contains all of the note frequencies (in hertz) to be used by the pitch matching.

Here is an example of a measure of sheet music that has been turned into a useable vector.

Mary had a little lamb

notes = ([246.94; 220;196; 220; 246.94; 246.94; 246.94;]);duration = ([.5; .5; .5; .5; .5; .5; .5;]);

Three songs were made available for use:

1. Christina Aguilera - Genie in a Bottle

2. Mary Had a Little Lamb

3. Row, Row, Row Your Boat

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Speak and sing. OpenStax CNX. Dec 21, 2009 Download for free at http://cnx.org/content/col11151/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Speak and sing' conversation and receive update notifications?

Ask