On the Mixolydian Mode pt II

If you’re in a composition rut, have you tried writing a song in the Mixolydian mode?  You retain the major qualities of an Ionian song, but with a different twist: the lowered seventh.  If you haven’t read my previous entry on the mixolydian mode, you can find it right here.  There’s a couple of angles you can go, so read on!

Background:

Let’s harmonize the mixolydian mode in both the keys of G and C.  If you play a fretted instrument (like the guitar), the rules of transposition apply.  If you decide that a song sounds better on A Mixolydian vs. G Mixolydian (low G on the third fret), simply move all the chords two frets higher.  If you play an instrument like the piano, simply play the major scale, except lower the 7th interval by one half step.

  • G Mixolydian: G 7th  – A min7th – B dim or (B min7thFlat5th) – C maj7th – D min7th – E min7th – F maj7th – G 7th
  • C Mixolydian: C 7th  – D min7th – E dim or (E min7thFlat5th)  – F maj7th – G min7th – A min7th – Bb maj7th – C 7th

Following a pattern of:

  • I 7th – ii min7th – iii dim or (iii min7thFlat5th) – IV maj7th – v min7th – vi min 7th – VII maj7th – I 7th

Application:

So the first thing we notice is that the first chord is is a dominant chord.  In standard or traditional applications, the dominant chord precedes the resolution chord in what we know as a standard or authentic resolution.  By that rational, the first chord naturally wants to “go” to it’s fourth chord, which naturally has the I-V7 relationship in the Ionian mode.  So it’s only fitting that the I7 to IV maj7th would be a strong progression in the mixolydian mode.  Try it:

  • G7 to C maj7 or
  • C7 to F maj7

Try it various forms, ie: a C to F progression will resemble the I – IV part of the progression in a blues pattern.  It also resembles a plagal cadence found in hymns.  Although this is a strong progression, it’s nothing too new under the sun.  This progression does not differntiate itself from an Ionian I-IV.  However, a I7-IV, I7-IV maj7th mildly interesting, since you have a chord progression starting in a dominant chord progressing to a major 7th IVth.

The next application is the relationship between the I7 to v min7th.  This is super interesting for a couple of reasons.  One, with respect to the ionian mode, the mixolydian mode does not retain such a strong resolution as the ionian’s V7 to I (called the authentic) resolution.  In fact, with respect to the ionian mode and its resolution, this is called the half open resolution (where a ii resolves to a V7), which leads to the second point of interest.

Using the IVth, the ii (min7) can be effective.  Instead of a ii-V-I, or a IV-V-I progression (from an inonian mode),  how about we use the  v-IV-I progression and/or resolution?  Try it, it sounds kind of cool:

  • G7 – D min – C
  • C7 – G min – F

Not as interesting is the mixolydian’s ii-v-I7 resolution.  In the ionian mode, you have the dominant in a ii-V7-I.  So the mixolydian’s v-I7 resolution isn’t as strong, while the I-ii progression in both modes are the same.  If you want to differentiate between the modes, you can add the 7th in the I (in the mixolydian, as oposed to the I maj7th for the ionian).

One thing cool is the relationship between the third chord and the six chord.  The ionian’s relationship is iii-vi while the mixolydian’s is iii dim – vi.  This could make for an interesting bridge.  Diminished chords can act as a sub for a dominant (like B dim subing for G7 in the key of C, read it here, or the appendix notes below).

Last thing, try a vii dim – I (not I7) or a ii-vii dim-I progression.  Sound familiar?  It should, if you believe that the diminished chord can sub for a dominant, then it’s a ii-V7-I transposed to the mixolydian’s ii-vii dim-I.

References:

  • http://koolaborate.wordpress.com/2009/07/23/on-the-mixolydian-mode/
  • http://www.guitarnoise.com/lesson/chord-substitution/

Appendix A: Diminished Chord Substituion:

The easiest way to explain this is to look at two chords in the key of C major (or ionian).  A G7 chord is GBDF.  A B diminished chord is BDF.  See the commonality?  The most important notes in a G7 are B and D because they are the third and seventh degree, which determines the G’s major quality and its seventh quality.  Both are present in the B diminished.

Firefox Tip #1: Web Of Trust (WOT)

Problem: The web is a dirty, dirty place… filled with thieves, pornographers and non eatable spam.

Solution: Use the Web Of Trust (WOT) Firefox addon

Of all the Firefox addon, the Web of Trust addon is my favorite.  Sure, Firebug is the most useful for the development side in me.  Speed dial is nifty and improves my browsing efficiency…  but WOT?  Badda bing!  It’s internet magic at its best.

It’s easy enough to install.  So you have an ring-like icon beside your address bar after installation.  Whatever site you go into, the icon will tell you the relative safety of the site.  A skinny ring is excellent and a dark circle is bad.  For instance, mail.google.com registers as excellent.  However, when you click on one of google’s ad-sense ad, if it’s unsafe, notifies me as poor, giving me an option of entering the site or not.

When I click on a ring, it takes me to a new tab in WOT rating for that page.  It tells me why it’s poor.  It ranks on the following criteria:

  • Trustworthiness
  • Vendor reliability
  • Privacy
  • Child Safety

Then if you register, you can add your own rating.   Moreover, if an href appears on the page, it has a mini ring right beside it.  It’s pretty light weight as far as addons go, but you can customize, edit or disable it on the fly.  Just go to Tools->WOT.

Pretty cool, yes?  Then what are you waiting for?

On the Mixolydian Mode

Note: Before reading the blog below, you should know a little about music theory.  I’m not claiming to be a music theorist, but check out the references for a couple of definitions and concepts.

I had the great pleasure of studying with the great David Bloom for about six months.  He formally introduced me to modes in a manner in which I could understand.  It’s my second favorite (Dorian being my number one non synthetic mode).  You can look at modes in one of two ways:

  1. From an interval stand point, the mixolydian mode’s intervals is as follows, one to two is a whole step, two to three is a whole step, three to four is a half step, four to five is a whole step, five to six is a whole step, six to seven is a half step, and lastly, seven back to the tonic is a whole step.  You can mimic this naturally (no sharps or flats) by playing G-A-B-C-D-E-F-G on your instrument.
  2. From a relative stand point, you can look at a mixolydian mode as an ionian mode (major scale) except that the seventh degree is lowered by a half step.  So a C Ionian scale is CDEFGABC.  The C Mixolydian Mode is CDEFGABbC.

So let’s look at a couple of properties.  The most obvious is the lowered seventh.  This creates the following diatonic progression (please excuse the formatting):

  • I-ii-iii (dim)-IV-v-vi-VII.
  • With the seventh it is: I7-ii(min7)-iii(min7flat5)-IV(maj7)-v(min7)-vi(min-7)-VII(maj7)

So I was jamming with a friend using a couple simple progressions, like

  • I7-ii
  • I7-ii(min7)-v
  • I7-IV-v

So we made a couple observations.  He said that “empty space” between the subtonic and the tonic created a sound that infers “victory” or “royalty”.  I kind of agree.  It definately didn’t sound Ionian, while being part of the “major” family.  To me, the Ionian scale sounds kind of blase any way.  I interpret the “space” as something between “happy” and “exotically happy”.

Another property and observation is that the relationship between the tonic and the dominant isn’t as strong as the Ionian’s.  Analyzing the relationship wrt to Ionian, my sophomoric understanding is that the reason why the relationship is so strong between the Ionian’s tonic and dominant is that the notes in the dominant chord wants to resolve to the tonic or root (if my terminology is correct).  Let’s examine using the C Ionian (Major) dominant chord to the tonic, GBDF to CEGB:

  • G to C, or V to I, is called the Authentic or Standard Cadence.  This has the “strongest” resolution in Western Music.  Alot of the songs from classical to blues to rock to jazz end this way.
  • B to C, or VII to I, naturally wants to resolve to I.  Like playing the Ionic scale to the 7th or subtonic and holding it there.  You can tell that the subtonic “wants” to resolve to the tonic.  Moreover, diatonically, vii (dim or min7 flat 5) to I (or I maj 7th) is called the Leading Tone Imperfect Authentic Cadence, based on the vii diminished (or min7 flat 5).
  • F to C is called the plagel cadence, or the “Amen Cadence”, often found at the end of hymns.  This is a very strong cadence (albeit not as strong as the authentic cadence).
  • D to C doesn’t really want to resolve.  Although, diatonically, if a song resolves in a V, preceded by a ii, it is called a half cadence (which is relatively weak).

So 3.25 out of 4 notes in an authentic or a standard cadence truely wants to resolve to the tonic.  Let’s look at the v-I resolution on the mixolydian mode in G, DFAC to GBDF.

  • D to G is an authentic cadence.
  • F to G is not a leading tone resolving to the tonic (because of the whole step interval)
  • A to G is similar to ionic scale’s II to I but does not retain the half cadence property.
  • C to G is a plagel cadence.

So only 2 out of 4 notes in a mixolydian v(or v min 7th) to I resolution “wants” to resolve to the tonic.  Although one note may not seem like a lot, it is when it comes to music.  Balance and harmony is very fragle in music.  For instance, dissonance and harmony is separated by one whole step degree (playing C and the adjacent D versus playing C and E provides a distinct difference in sound).

Like I wrote before, I’m not a music theorist, just an admirer of certain mathematical (and mystical) properties of music.  Please feel to correct any ideas I may have incorrect.  Thanks!

References:

  • http://en.wikipedia.org/wiki/Mixolydian_mode
  • http://www.bloomschoolofjazz.com/
  • http://en.wikipedia.org/wiki/Tonic_(music)
  • http://en.wikipedia.org/wiki/Cadence_(music)

Plus, check out some songs written using the mixolydian mode like “Dear Prudence” by the Beatles or “Star Trek: Next Generation” theme song.

Firefox Tip #0

Problem: viewing one pic at a time sucks

Solution: install the cooliris firefox addon

Where: https://addons.mozilla.org/en-US/firefox/addon/5579

Cooliris has been out for a while now.  Its purpose is to let you view an aggregate of photos in a modern web 2.0 fashion.  Say you have a facebook account and you view your friend’s albums.  Facebook shows you one pic at a time.  For most people, this is fine.  However, there are a few of us which this is insufficient.  After installing cooliris, where ever  an aggregate of pics are available (say facebook or myspace), you can click on the lower left portion of the picture and a cooliris icon appears.  Upon clicking on it, with will take you to a new page where you can view the album in a rather cool way.

I can’t explain it to you.  You have to see it.  Its essentially a 3D view of the picture collection that’s super easy to navigate.  Cooliris is compatible with:

  • Facebook
  • Myspace
  • Flickr
  • Google Images
  • And much, much more!

In conclusion, cooliris is killer, as more and more interfaces are migrating to 3D.

On Virtualization

So we’re finally to the point in technology where virtualization is mainstream. I’m going to suggest that most of you reading this blog knows what virtualization is. For those who do not, click on this.  I first came in contact with vmware back at a project in 2003/2004.  The development manager set up a virtual server to host our production application servers for this one java based webapp.  At the time, the notion of virtualization was pretty cool but the hardware requirements and the cost of the product didn’t exactly appeal to my price point.

Now, virtualization is cheap.  As in dirt cheap.  The options are great on the host, guest and hardware requirement side.  On the host software, administrators have the choice among VMWare’s vmware server, Sun’s Virtual Box and xen.  Of these three, the hypervisors I’ve evaluated were vmware server and VirtualBox.  Both have their strength and weaknesses.  Both are production ready as well as mature.  Most importantly, both are free (some versions of the respective product are free as in speech).

Rather than buying one server, for every tech stack I want to deploy, experiment with, develop on, why not utilize one server to host multiple apps.  Sure, you can download JBoss or Apache Tomcat (in the Java world) and host multiple applications in one server that way, but why not utilize one server to separate or host your apps at the server level?  Well that’s what I did and the notes below are from my experience with the configuration of both Sun’s Virtual Box and VMWare Server.  I did not experiment with Xen’s hypervisor.

Sun’s Virtual Box

The first hypervisor I experimented with was Sun’s Virtual Box.  The official documentation and the third party documentation was pretty good.  I was able to read it over just once and install it on one of my Ubuntu desktops and set up two guests rather easily.  The networking was probably the most time consuming (google kung fu resolved my issues in a timely manner).  What I liked most about Virtual Box was its interface on the desktop.   Configuration was also breazy.  I liked the option to create an expanding storage device or create one big allocation at once.  What I wanted to do was install it on a server without a desktop.  I think I will do that in the future.

VMWare Server

A couple weeks later, I bought a server off of desktop components.  It was an AMD, Phenom II quadcore with 1 TB or storage and 8 gigs or RAM.  I added it to my network using basic network configuration and installed proceeded to install the the host remotely.  The experience was slightly more challenging than Sun’s Virtual Box, but it was worth it.  The host didn’t have a desktop so all the installation was done via the command line.

Right away, I was able to access the web interface via port 8222 on the host (which redirected me to an https port on 8333).  This web interface (which didn’t work well on Opera 9, but works great on Firefox 3) allowed me to create hosts rather easily.  You can edit/delete hosts equally as easy via this web interface.  The only thing I have to check out is the number of process it allocates to a host.  On my quad core, I can assign only 2 processors per host.  Is this correct with the version of vmware server I downloaded?  I made sure that virtualization in my bios is set correctly.  I’ll have to go through the documentation again and verify.

On the administration front, the web interface seemed sufficient.  I installed the vmware addon for Firefox and it allowed me to create a link on my desktop that is a front end to a specific host.  I installed a host as a desktop and this addon seemed more than sufficient as well as responsive.  The desktops that I tested were gnome and xfce on Ubuntu.  At the time of writing, I have a six guests in this host.  2 lamp stacks, 2 java stacks (one is tomcat6 and the other is used for the Alfresco CRM), 1 is my desktop and the last is my Oracle XE server.

My only complaint is that sometimes I have to restart the server.  This is because the web interface sometimes doesn’t work.  I haven’t explored the solution but an acceptable (at the development level) work around is just to restart the server.

Virtual Appliances

My next evaluation will be how virtual appliances work on both the Virtual Box and VMWare Server host.  There are a ton of virtual appliance sites out there, included in the references below.  I think it would be cool to have these virtual appliances as guests “templates”.  Stay tuned for the review or recipe on virtual appliances.  I’ll you through how to create and configure a virtual appliance in the context of server administration.

References:

  • http://en.wikipedia.org/wiki/Virtualization
  • http://www.vmware.com/products/server/
  • http://www.virtualbox.org/
  • http://en.wikipedia.org/wiki/Virtual_appliance
  • http://www.vmware.com/appliances/directory/
  • http://virtualappliances.net/

Ubuntu Jaunty Lamp Recipe using tasksel

These are my notes for installing the lamp stack on Ubuntu server, Jaunty.

Ingredients:

  • 64 bit AMD phenom II quad core machine
  • Ubuntu v. 9.04 (Jaunty Jackalope)
  • ability to invoke the tasksel application via the command line

1. Set up your environment:
This will update/upgrade your environment w. the latest libraries, restart server if prompted

  • sudo apt-get update
  • sudo apt-get upgrade

2. Use tasksel to install the stack
Note: tasksel is probably the easiest way to install the stack, in the future, I may publish an a la carte version of this recipe

  • sudo tasksel install lamp-server
  • tasksel will make you choose a password

3. Configure the extensions dir

  • find the mysql.so file (I did it via cd / then sudo find | grep mysql.so)
  • write this folder down
  • sudo vi /etc/php5/apache2/php.ini
  • look for the extension_dir and put the location of the mysql.so file there

4. Configure my.cnf

  • change line: bind-address = localhost
  • to: bind-address = whatever_your_ip_address_is

5. Install phpmyadmin (optional)
Note: phpmyadmin is a useful tool for configuring/debugging your lamp stack. I don’t use it personally, but a lot of developers do.

  • sudo apt-get install phpmyadmin
  • phpmyadmin will make you choose a password

6. Test phpmyadmin

  • goto: http://WHAT_EVER_YOUR_SERVER_NAME_IS/phpmyadmin

7. Changes to the DocumentRoot (optional)

  • Find the line that is DocumentRoot, it should be defaulted to /var/www.  Change it whatever you want.  The DocumentRoot setting can be found below:
  • sudo pico /etc/apache2/sites-available/default

That’s all there’s really to it.  My next revision to this recipe will include finding the index.html/index.php and modifying it to complete the installation.

References:

  • https://help.ubuntu.com/community/ApacheMySQLPHP#Installing%20Apache%202

Follow

Get every new post delivered to your Inbox.