Music Generator

REM ******************************************************
REM Here is a sample using Select statement and Play statement
REM *****************************************************

CLS

PRINT “SELECT ONE OF THE AWESOME SONGS BELOW ”
PRINT “RECOMMEND 1 OR 5”
PRINT “1. ON THE FLOOR”
PRINT “2. MARY HAD A LITTLE LAMB”
PRINT “3. FROM INTERNET”
PRINT “4. ROW ROW”
PRINT “5. ELEPHANT Rock”

INPUT “ENTER A NUMBER BETWEEN 1 – 5 “; CHOICE%

SELECT CASE CHOICE%
CASE 1
PRINT “ON THE FLOOR”
PLAY “T120A4G8F8E8D4D8F8E8D8C8D8<A8G8A4”

CASE 2
PRINT “MARY HAD A LITTLE LAMB”
PLAY “T120e8e8f8g8g8f8e8d8c8c8d8e8e8d12d4”

CASE 3
PRINT “FROM INTERNET”
PLAY “T120e8d8c8d8e8e8e4d8d8d4e8e8e4e8d8c8d8e8e8e8e8d8d8e8d8c4”

CASE 4
PRINT “ROW ROW”
PLAY “T80c8c8c8d8e4e8d8e8f8g4a8a8C8g8g8g8g4f8f8f4e8e8e4d8d8d4g8f8e4d4c2”

CASE 5
PRINT “ELEPHANT Rock”
PLAY “T80O0P8C8C8C8P8>C8C8C8P8>C8C8C8P8>C8C8C8P8>C8C8C8P8>C8C8C8”
END SELECT

PRINT “GREAT CHOICE”

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s