Class SongPhrase

java.lang.Object
  extended by SongPhrase

public class SongPhrase
extends Object

Class that holds phrases that can be used

Author:
Mark Guzdial, Barb Ericson

Constructor Summary
SongPhrase()
           
 
Method Summary
static jm.music.data.Phrase AG1()
          Class method that returns the first phrase of Amazing Grace
static jm.music.data.Phrase AG2()
          Class method that returns the second phrase of Amazing Grace
static jm.music.data.Phrase house()
          Class method that returns a phrase from The House of the Rising Sun
static jm.music.data.Phrase pattern1()
          Class method that returns a pattern
static jm.music.data.Phrase pattern2()
          Class method that returns a phrase with a second pattern
static jm.music.data.Phrase random()
          Class method that returns a phrase with random notes in it
static jm.music.data.Phrase randomAboveC()
          Class method that returns a phrase with random notes in it which are above middle C
static jm.music.data.Phrase rhythm1()
          Class method that returns a phrase with a rhythm in it
static jm.music.data.Phrase riff1()
          Class method that returns a little riff
static jm.music.data.Phrase riff2()
          Class method that returns a second little riff
static jm.music.data.Phrase riff3()
          Class method that returns a third little riff
static jm.music.data.Phrase riff4()
          Class method that returns a fourth little riff
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SongPhrase

public SongPhrase()
Method Detail

AG1

public static jm.music.data.Phrase AG1()
Class method that returns the first phrase of Amazing Grace

Returns:
the first phrase of Amazing Grace

AG2

public static jm.music.data.Phrase AG2()
Class method that returns the second phrase of Amazing Grace

Returns:
the second phrase of Amazing Grace

house

public static jm.music.data.Phrase house()
Class method that returns a phrase from The House of the Rising Sun

Returns:
a phrase from The House of the Rising Sun

riff1

public static jm.music.data.Phrase riff1()
Class method that returns a little riff

Returns:
a phrase with a little riff in it

riff2

public static jm.music.data.Phrase riff2()
Class method that returns a second little riff

Returns:
a phrase with a second little riff in it

riff3

public static jm.music.data.Phrase riff3()
Class method that returns a third little riff

Returns:
a phrase with a third little riff in it

riff4

public static jm.music.data.Phrase riff4()
Class method that returns a fourth little riff

Returns:
a phrase with a fourth little riff in it

pattern1

public static jm.music.data.Phrase pattern1()
Class method that returns a pattern

Returns:
a phrase with a pattern in it

pattern2

public static jm.music.data.Phrase pattern2()
Class method that returns a phrase with a second pattern

Returns:
a phrase with a second pattern

rhythm1

public static jm.music.data.Phrase rhythm1()
Class method that returns a phrase with a rhythm in it

Returns:
a phrase with a rhythm in it

random

public static jm.music.data.Phrase random()
Class method that returns a phrase with random notes in it

Returns:
a phrase with 10 random notes

randomAboveC

public static jm.music.data.Phrase randomAboveC()
Class method that returns a phrase with random notes in it which are above middle C

Returns:
a phrase with 10 random notes above middle C