Wednesday, October 22, 2008

All 12 Major Scales -- created with PHP

All 12 major scales, created with PHP



include('chord_variables.php');
include('output_fns.php');
do_html_header('All 12 Major Scales');
$piano_chord_type = 'major';
$current_root_name = "C";

$scale_degree_name[1] = "root";
$scale_degree_name[2] = "second";
$scale_degree_name[3] = "third";
$scale_degree_name[4] = "fourth";
$scale_degree_name[5] = "fifth";
$scale_degree_name[6] = "sixth";
$scale_degree_name[7] = "seventh";
$scale_degree_name[8] = "octave";

$adjustment["major"] = array(0,2,4,5,7,9,11,12);
$adjustment["minor"] = array(0,2,3,5,7,8,10,12);
$adjustment["minor 7th"] = array(0,2,3,5,7,8,10,12);
$adjustment["major 7th"] = array(0,2,4,5,7,9,11,12);
$adjustment["dominant 7th"] = array(0,2,4,5,7,9,10,12);
$adjustment["diminished 7th"] = array(0,2,3,5,6,8,11,12);

$scale_name["major"] = 'major';
$scale_name["minor"] = 'minor';
$scale_name["minor 7th"] = 'minor';
$scale_name["major 7th"] = 'major';
$scale_name["dominant 7th"] = 'mixolydian';
$scale_name["diminished 7th"] = '';


$temparray = $adjustment[$piano_chord_type];


if ($piano_chord_type != "diminished 7th"){

echo '
';

for ($scale=1; $scale<13; $scale++){
$current_root_number = $scale + 11;
$current_root_name = $Roots[$scale];
init_default_names();
changeKeyNames($Roots[$scale]);



// MAKE ROW OF 8 COLUMNS


// MAKE ROW OF 8 COLUMNS

for ($i=1; $i<9; $i++){


include('show_scale_v2.php');



}

// END ROW OF 8 COLUMNS

echo "
";


} // end if



} // end if
echo '
';
?>

Sunday, October 19, 2008

Sight Reading help -- a new angle

Here's a new flash trainer I created that focuses on recognizing interval shapes when you sight-read.

Interval Shapes Trainer

Very handy.

Sunday, October 12, 2008

Chord Progessions added to my list of chords site

Hi,

I've been having a lot of fun with php and flash. My latest creation is the website List-of-Chords.com.

I just added a section that shows chord progressions for each chord. It's pretty exciting what you can do with php!

Thursday, October 09, 2008

Goog stock plummets

Wouldn't you know it. I'm out of work right now. (I start a new part-time gig next week, bringing in the exorbitant sum of $300 a week) And I thought maybe I would:

sell all my Goog stock and pay my rent


But then, I can't in good conscience sell Goog stock when Goog has dropped like 80% over the last year.

What is this, the great depression?

I know I'm feeling depressed.

Plus, my book sales are down, because everybody's spending twice the amount on gas and energy.

So in the meantime, I've been teaching myself Flash actionscript 3.0, and working on my music websites.

Check out my latest version of my List of piano chords website.

Also, I created a new tutorial that teaches half-steps and whole steps that I'm very proud of.

If you need some flash work, send it my way. :(

OK, enough pathetic-ation.

Sunday, October 05, 2008

Tina Fey does Sarah Palin on SNL (Saturday Night Live)

Here's Tina Fey's hilarious parody of Sarah Palin on Saturday Night Live last night, October 4th, 2008

The new bond song!

So this is the new bond theme "Another Way to Die". I think it's definitely better than the last couple of forgettable themes. It's got the eyebrow raising pairing of Alicia Keys and Jack White of the White Stripes.

I like that it sounds a little improvised and it surprises you. It's not just verse chorus verse chord bride chorus. It's got a cool section where Jack's guitar and Alicia's voice trade riffs -- very cool.