Sunday, October 16, 2011

seeing the chords on top of scale patterns

The image below is showing the major scale pattern in the key of G.
If you want to try to play the 7 possible triads within G major, this chart makes it easy to see which chords fit in where!


The I, IV, and V chords are all major, and the II, III, and VI chords are minor.  The VII chord is a minor, but with a flatted fifth - since F# minor would have a C# in it.  G major doesn't have C# at all, so the chord gets a diminished kind of sound.

So far, looking at the chords this way on top of the major scale has really helped to pick out the arpeggios when I'm in a scale.  The chart helps to see where to aim in the scale when you're in a major key that matches a chord progression (for example, if the song has a part with the chord pattern: G D Am C, you could focus your lead guitar's soloing to the I, V, II, and IV notes shown in the image above).

These patterns aren't just restricted to the key of G - you can slide this left or right by any amount of frets, and the patterns remain the same - it is just the key of the major scale that changes. 

Many songs don't stay in the same key signature for long, but knowing where to play when the key signature is well-defined is critical if you want to clean up your soloing and improvisation while jamming.

Enjoy!

TIPS: 

- Try to fill in the names of the notes on the above image - each chord is only 3 notes, repeated over and over again in the patterns.  By doing this, you'll be learning the next level of detail (which note is which, and where octaves of each note can be found) - and once you are comfortable with that, playing scales along with any chord progression can be mastered!

- Practice these same patterns in key signatures other than G major.  Just slide the whole major scale pattern to match the fret you wish to be your root note - everything else stays the same!

Tuesday, September 6, 2011

My Recording/Jamming Setup

Here's a quick post to show off my "studio".

The picture is a little rough, but shows the basic idea.


So each of my 4 tracks (piano/synth, guitar, bass, and vocals) all go directly to the mixer.
From there I can adjust their "send" levels for how much of each track's sound is to be processed with effects.
I can also adjust the main levels for each track from the mixer too.
Then from the mixer, all tracks are sent to the amplifier depending on their FX Send Level.
The amplifier lets me add reverb, chorus, or overdrive/distortion at the press of a built-in foot pedal.
With these effects applied, I can then sample any of my four tracks either at the same time or independently, and have the effects included on the loop!

Finally, the loop pedal returns the FX mix signal back to the mixer for final levels, and from there it can be sent out to a recording device, or to a PA if not recording.

The only problem I've run into with this setup is if I want to record and listen at the same time.  There is a slight delay (just a millisecond), but it adds up when trying to sample multiple tracks.

If I choose not to record, and just loop directly to speakers, this results in no delay between live and loop.

So I still need to find a way to listen to what I'm playing/sampling/looping while I'm recording that avoids this annoying millisecond delay.  Until then, it's a great setup for practice, but still not quite ready to deploy on-stage... working on it...  :)

Friday, July 29, 2011

Quadrilateral Integration

The integral can be defined as the area between a curve (continuous and differentiable function) and the axis on some given interval.

If you want to find the area between two curves that lie on the same interval, it turns out you can subtract one from the other.  So the area in the picture here is abF(x) - G(x) dx.
But what if the curves are on different intervals?  How can one determine a function to calculate the area?
A paper I wrote 2/24/2008 explores the area between curves that lie on different intervals.
It does require that for every point in the intervals on which the functions lie, the functions are able to have a line drawn between each other without intersecting.  So each point on curve F essentially must be "in view" of another point on the curve G.  The area between F (on [α,β]) and G (on [a,b]) is:

?AREA? = αβf(x)dx – abg(x)dx + (1/2) * [(α – a)*(f(α) + g(a)) + (b – β)*(f(β) + g(b))]

I have the intervals switched in the picture, but the formula is correct for what I've typed in the line just above... (just put F on (alpha,beta), and G on (a,b) instead of what the picture shows...)

I was going to post the whole paper, proofs and all, but the formatting is weird transferring from MSWord to blog.  So I've taken screen shots of the main points of the 11 page doc.  I've cut out most of the proofs, but leave a comment if you'd like to see them. 

There is a lot of weird notation, but I tried to make it easy to follow.


*** Anything preceded by *** is extra notes outside the paper screen shots...

 *** The proof of this first theorem in mirrors the proof provided at the website: http://www.geometryalgorithms.com/ but they have deleted the original link since this paper was written.

*** Here are the terms I defined to try to explain the quadrilateral integration process.


 *** So the rest of the paper goes on to prove that the limit of this quad sum can be determined... but it does rely on this following theorem.


*** This next theorem is finding the area between a curve on one interval and another interval on the axis, and there is an example to illustrate.



 

*** Next, I find formulas to describe the lines that would form the boundary of the area between F and G.




 *** The picture for example two is a little tough to make out, but I wanted to show the lines C and D intersecting with the X axis. 

*** Theorem 5 is the main point of the paper.  This is the formula shown at the ?AREA? = part...




*** Look at this part of that formula...  (1/2) * [(α – a)*(f(α) + g(a)) + (b – β)*(f(β) + g(b))]
*** split it up...                                      (1/2)[(α – a)*(f(α) + g(a))] + (1/2)[(b – β)*(f(β) + g(b))]
*** a litle more...             (1/2)(α – a)*f(α) + 
***                                  (1/2)(α – a)*g(a) +
***                                 (1/2)(b – β)*f(β)  +
***                                 (1/2)(b – β)*g(b)
*** each of these segments is half the area of the green highlighted rectangles in this picture...

***  Using these rectangles, this would be the quick way to determine the area geometrically if the integrals of F and G were known already.  I found it pretty amazing that adding up infinitely many quadrilaterals and taking the limit gives a formula that is essentially identical to the geometrical method.




*** The following corollaries can be derived from the above theorems. 
*** There are a couple examples to illustrate what a few of the corollaries are saying.





 ***  I thought it was interesting that the quadrilateral integration can be done with regards to either axis (X or Y), so long as each F and G have inverses...


 

*** this last corollary is just to point out the connection to an existing discovery...



 *** Well that's the end of the paper....  Pretty much the whole thing now that I've gone back and looked at it, just missing the proofs (comment if you want to see them).

If you have MATLAB, below is the code I wrote to draw examples/compute values
Before you run the code, you have to input the missing values for alpha, beta, a, b; the functions F and G; and then an additional 4 values depending on which functions F and G you choose (in the second FOR loop).


The code will plot the graphs, show the partitions, and then calculate the area based on the partition size chosen.  It is the limit of this value as N reaches infinity that is the actual area between the curves.Quadrilateral Integration (DSB 2008):


alpha = %  the value desired for alpha;
beta = %
  the value desired for beta;
a = %
  the value desired for a;
b = %
  the value desired for b;
     delta = beta - alpha;
     DELTA = b - a;
     x = 0:.1:max(b,beta)+1;

y = %
 This is f(x);
y(2,:) = %
 This is g(x);

plot(x,y);

n = input('partition size n = ');
     inc = delta/n;
%          this first for loop draws the partition lines%          on the plotted functions.

for i=0:n
     xfi = alpha + i*inc;
     xgi = (DELTA/delta)*(xfi - alpha) + a;
     line([xfi,xgi],[,]);
     i=i+1;
     end
area = 0; %  initialize to zero at the start
%    this second for loop calculates the area.
for i=1:n
xfi = alpha + i*inc;
xfj = alpha + (i-1)*inc;
xgi = (DELTA/delta)*(xfi - alpha) + a;
xgj = (DELTA/delta)*(xfj - alpha) + a;

x1 = xgi;
x2 = xfi;
x3 = xfj;
x4 = xgj;

y1 = %
set equal to g(x1) with the actual formula...example, if G(x1) = x1, y1 = x1;
y2 = %
 set equal to f(x2)   actual formula... example, if F(x2) = x2+1, y2 = x2+1;  y3 = % set equal to f(x3);
y4 = %
set equal to g(x4);

A = (x1*y2-x2*y1)+(x2*y3-x3*y2)+      (x3*y4-x4*y3)+(x4*y1-x1*y4);

area = area + A/2
i=i+1;
end

Friday, July 22, 2011

One, Four, Five!

Here's a way to find out what key a song is in while playing along (and a little music theory)...

Just remember that for any Major key, the first (I), fourth (IV), and fifth (V) notes are always going to be major.  So consider the key of C.

C Scale:     C    D    E     F    G    A    B
Number:     I     ii     iii     IV   V   vi    vii

So we have the One, Four, Five for C major:  C F G

Lets say you're listening to a song, and you can tell it has an A major chord in it.
Using this method, you can quickly find out which key the song is in, and then you'll know which scale to play to fit in.

There are three places this A major chord could fit into the scale, either the first, fourth or fifth position...

1 4 5                   I   ii     iii      IV  V   vi      vii                1 4 5
A _ _   A major (A  Bm  C#m  D  E   F#m  G#m) ==> A D E   is the 1,4,5 for A major
_ A _   E major (E  F#m G#m  A  B  C#m  D#m) ==> E A B  " " " " " " " " " " " E major
_ _ A   D major (D  Em   F#m  G  A  Bm    C#m) ==> D G A " " " " " " " " " " " D major

So from here, you'd want to try to find more chords in the song's progression, and you can narrow down this short list.

Similarly, if all you can find is a minor chord in the song, there will be 4 places in the scale the chord could fit.

Let's say Dm, now we're dealing with 2nd, 3rd, 6th, and 7th positions in the scale (takes a little more time and memorization than the major chord/scale).

2    3 6 7                            I    ii       iii      IV  V   vi      vii                 1  4  5
Dm _ _ _  ==> C major   (C   Dm   Em   F    G   Am   Bm)   ==>    C F G
_ Dm _ _  ==> Bb major  (Bb Cm   Dm   Eb  F   Gm   Am)   ==>   Bb Eb F
_ _ Dm _  ==> F major    (F   Gm   Am   Bb  C   Dm   Em)   ==>  F Bb C
_ _ _ Dm  ==> E major    (E   F#m G#m  A   B   C#m Dm)   ==>    E A B


Practice Tips: 
Try to do the exercise above for another chord other than A major or Dm. 
Try to figure out the chords to a song by ear.

Also,
Play the scale of the key you want.
Then, try to play the chords at each note of the scale. 
Try to mix up which chords are major or minor as you go up the scale, and see how it sounds if you change from the 1,4,5 pattern shown above.  (MAJOR minor minor MAJOR MAJOR minor minor)

Example:
play first the notes: C D E F G A B
then play the chords: C Dm Em F G Am Bm
now see how it sounds to play these chords: C D E F G A B (all major)
or try any other variation from 1,4,5 being major.

Wednesday, July 13, 2011

The Goldbach Conjecture (an unsolved problem)

The Goldbach conjecture (GBC) has been around in one form or another since the mid-1700s. 
It is easily stated, but has yet to be proven...

The statement:
"Every even number is the sum of two prime numbers"

Is what is known as the "strong Goldbach conjecture".  This was noted in correspondence between two very well known mathematicians of the time, Leonhard Euler and Christian Goldbach.

I am always drawn to study unsolved problems in mathematics because in the past, solutions to such problems have given insight to many other fields, and even require invention of new techniques and models to solve, which advances the science of mathematics even further. 

So here is an introduction to my research on the unsolved Goldbach Conjecture.

From the beginning,
"Every even number is the sum of two prime numbers"

So letting each even number be represented by 2n, we can rewrite this statement as:

2n = p + q    (where p and q are prime numbers less than 2n)

now, it turns out that you can do a little algebraic manipulation to this equation to obtain:

n + n = p + q

which then yields:

n - p = q - n

Now, closely consider this equation...  What this means is that if GBC is true, there is an underlying "symmetry" in the primes.  How?

This arrangement of the equation lets one see that p and q are equidistant from N (which is half of 2n, obviously).  This picture makes it easy to imagine:

So now, what's the big deal?  Why should somebody try rearranging 2n = p + q at all?

IF the GBC is true, this means that for every N, there exist 2 primes, p and q, such that:

1. p < n
2. n < q < 2n    ------>  (see below how this can be n < q < 2n-2 by Bertrand's postulate)
3. neither p or q divide 2n
4. d(p,n) = d(q,n)  (distance function d(x,y)...)

So my goal is to try to force a contradiction in the following manner:

We know that p exists, (any arbitrary prime less than N).
According to Bertrand's postulate,
(if n > 3 is an integer, then there always exists at least one prime p with n < p < 2n − 2)
We know that there must exist some prime q such that n < q < 2n-2
So we can close our bounds on condition 2 above just a little further as indicated above.

It is only left to prove that there exists one prime Q greater than n, less than 2n-2, such that Q-N = N-P, and P does not divide 2n.

IF it can be shown that no such Q can exist, we have contradicted Bertrand's postulate, and therefore GBC must be correct.

But that's the hard part.  I still have yet to find a successful route of attack to force this contradiction. 

Some things to consider if you're going to try to attack it:

1.  Non-prime numbers can be equidistant from prime numbers too...  i.e. 20 = 11+9   but 9 is not prime... How can one guarantee that at least one prime Q (where n < Q < 2n-2) is the same distance from N as a prime less than N?

2.  For each prime P < N, there exists a number N + (N - p) = 2N - P = Q' 
Is there an effective way to check primality of this Q' in each case where P is prime and P < N?  We know that at least one prime number Q must exist in (n, 2n-2), but how do we know which P' < N it is associated with?

From this line of attack I can see two possible ways of proving GBC:
Firstly, by proving the existence of Q for every N and 2N (induction? pigeon-hole principle?).
Or secondly, by assuming Q does not exist and forcing a contradiction to Bertrand's postulate saying that there must be a prime in (n, 2n-2). 

So that's a good introduction so far.  Still no solution as of yet, but I'll keep working on it and see where it goes!

Thursday, June 23, 2011

Easy Octaves on Guitar

In standard tuning, there are easy locations to jump up an octave for whatever you wish to play.

This picture shows where notes can jump up an octave:

The red/blue dots represent octaves of each other as you move left to right going up in pitch.  So for example, 2nd fret on low E string is an octave below 4th fret on D string, which is an octave below 7th fret on B string...

The significance of this layout is that any pattern you wish to play on two strings that are next to each other (string pairs low E & A, D & G, then B and high E), can also be played one or two octaves higher using the exact same pattern, but just by shifting over a few frets and down 2 strings.  I've tried to show this in the following picture:

So the green box is around each of these 2-string pairs, and the pattern repeats at each level. 

Try it out!  Doesn't matter which fret you start on so long as the spacing is the same as shown on the chart.

I've been playing around with different patterns and switching from octave to octave rapidly, makes for some good effects/sounds.

Have fun!

Monday, June 13, 2011

Martial Arts Styles - What's The Difference?

This is in no way intended to be a comprehensive list, but rather a short list of the styles I have spent some time researching and studying:


Tang Soo Do - This Korean form of martial arts literally translates to the "China Hand Way" where the "Tang" part is actually referring to the Tang dynasty.  Although very similar to taekwondo, there are differences in how the practice has been passed down from generation to generation.  The curriculum is built upon forms (called Hyeong), one-step sparring (specially choreographed self-defense situations following step by step detail/design), and free-sparring (many variations).

Tae Kwon Do - Also a Korean form of martial arts.  Literally translates as "the art of striking/breaking with hand or foot".  This practice is based on the rationale that the most effective weapon on the human body is the leg, with greater range and power.  Therefore, taekwondo has a significant emphasis on these attacks.  This curruculum is made up of self defense techniques, patterns (or forms/hyeong), sparring, meditation/relaxation exercises, throwing/fall-breaking techniques, and breaking (testing power, speed, and also special techniques)

Shotokan - A Japanese style of martial arts which translates roughly to "house of pine-waves" where "Shoto" describes the movement of pine needles as the wind passes through them.  Shoto was the pen-name of poet/martial arts master Funakoshi, who founded the first academy teaching this style, and his students named the dojo Shotokan, or house/hall of Shoto, in his honor.  Shotokan's studies can be split into three sections; kata (forms), kumite (sparring, or meeting of hands), and kihon (basic techniques).

Wado Ryu - Another Japanese style, which shares history with Shotokan as Hironori Otsuka, the founder of Wado Ryu, studied under Funakoshi of Shotokan.  The name translates to "the way/style of harmony" and relies on the notion that sometimes it's more effective to yield than to use brute force.  The kata of this style have very many similarities to Shotokan, but there are key differences in the execution of the movements that make Wado Ryu completely different in practice.  (YET TO POST:  I intend to create a list of the small differences/tweaks that Wado Ryu makes to Shotokan forms, and I'll link this back to here whenever I do!  Also, there are some interesting anecdotes about the development of these two styles in relation to each other.)  Wado Ryu also incorporates the idea of a "paired kata" which are similar to the self defence techniques and one-step sparring of the korean forms of martial arts. 


I still can't decide which style is my "favorite" yet; however, I do enjoy studying the strengths and weaknesses of each in comparison or in conjunction with each other. 


Some additional styles which I hope to learn more about soon:

Wing Chun
Chinese Kung Fu
Aikido
Judo
Brazilian Jujitsu
Krav Maga (Hebrew Contact Combat)
Japanese Jujutsu (also known as Ju-Jitsu)

Friday, June 10, 2011

Scales on Complete Fretboard

Here is a work in progress.  I am trying to find a comprehensive way to map out scales for the entire fretboard. 


fretboard scale diagrams
 
I created this by smushing all of the individual patterns for each scale onto one fretboard layout.  The root notes are marked by boxes around the dots.  Some of the notes for Harmonic and Melodic minor actually get used by two patterns, so these are marked as unfilled dots. 

So then for whatever key you want to play a scale in, just line up the frets on the guitar to the boxes and dots on the diagrams.  If you run out of room, no need to worry, the patterns for these scales repeat every 12 frets, so just pick up back at the beginning when you can't go any further on the fretboard.

This is a great tool for jamming and practicing.  Just pick a key, pick a scale, and go nuts!

Wednesday, June 8, 2011

First Post

Hello,

Thanks for coming across my blog!  I've never blogged before, but I hope to create a great archive of my favorite discoveries...  I will be posting my findings related to Music, Math, and Martial Arts.

I've been playing music all my life.  Started learning piano at the age of 4 from my mother, who is a piano teacher in Tega Cay, South Carolina.  I had listened to my father play various styles of guitar all my life as well, and when he got me a Fender Squire electric in high school, I started to learn every scale, chord, and "lick" I could wrap my head around.  My father also has a few guitar students in Tega Cay.  Now I am always striving to learn new technique and styles.  I used to perform in a band called Juniper Spring playing piano and singing.  We would cover songs from Phish, Talking Heads, The Beatles, the Grateful Dead, and many more...

I've had a lifelong interest in mathematics, and am always looking for new areas of research to discover and learn new, amazing truths.  My main interests are numerical analysis, number theory, and mathematical applications to physics.  I received my degree, Bachelor of Science in Mathematics, from the University of Florida in 2008.

By far, martial arts is my favorite sport and activity.  Very few practices help you gain such incredible levels of physical fitness, self discipline, and medidation.  I have obtained second degree black belt in Tae Kwon Do (or Tang Soo Do), and have also spent years studying other styles including Shotokan and Wado Ryu.  I am always eager to learn new techniques and styles from any source possible.

So this blog will be my outlet for anything I come across as I continue my education and discoveries in these fields. 

Thanks for reading!  I hope to start posting very soon...