Skip to content

Commit

Permalink
completed eyes&ears library data entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Matthys committed Aug 3, 2015
1 parent fbc42f1 commit b5aaacc
Show file tree
Hide file tree
Showing 23 changed files with 270 additions and 231 deletions.
2 changes: 1 addition & 1 deletion Latido.pde
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void setup()
music.setText(library.getText());
tempo.set(map(library.getTempo(), TEMPO_LOW, TEMPO_HIGH, 0, 1));
tempoLabel.set(library.getTempo()+" bpm");
metro = new MetroButton( SIDEBAR_WIDTH+(width-SIDEBAR_WIDTH)/2-250, height-150, 500, 100, 2);
metro = new MetroButton( SIDEBAR_WIDTH+(width-SIDEBAR_WIDTH)/2-250, height-110, 500, 100, 2);
scorecard = new Scorecard (SIDEBAR_WIDTH + 2*PADDING, TOPBAR_HEIGHT+PADDING, width-SIDEBAR_WIDTH-4*PADDING, height-TOPBAR_HEIGHT-4*PADDING);

userProgress = new UserProgress(System.getProperty("user.name"), libName);
Expand Down
Binary file added data/eyes_and_ears/image/minor1.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/eyes_and_ears/image/minor2.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/eyes_and_ears/image/minor3.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/eyes_and_ears/image/minor4.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/eyes_and_ears/image/minor5.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/eyes_and_ears/image/minor6.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
454 changes: 229 additions & 225 deletions data/eyes_and_ears/latido.xml

Large diffs are not rendered by default.

Binary file added data/eyes_and_ears/midi/minor1.midi
Binary file not shown.
Binary file added data/eyes_and_ears/midi/minor2.midi
Binary file not shown.
Binary file added data/eyes_and_ears/midi/minor3.midi
Binary file not shown.
Binary file added data/eyes_and_ears/midi/minor4.midi
Binary file not shown.
Binary file added data/eyes_and_ears/midi/minor5.midi
Binary file not shown.
Binary file added data/eyes_and_ears/midi/minor6.midi
Binary file not shown.
4 changes: 4 additions & 0 deletions data/eyes_and_ears/text/175.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Eyes & Ears Anthology

Exercise 175

All four of the common minor
mode patterns occur in this
example. Can you find them?
6 changes: 6 additions & 0 deletions data/eyes_and_ears/text/minor1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
You're doing great! Now let's
try some melodies in minor mode.

The Tonicizer in minor mode is
almost the same, but with a
lowered 3rd scale degree (mi->me).
3 changes: 3 additions & 0 deletions data/eyes_and_ears/text/minor2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
There are four common patterns
in minor mode. The first is the
lower neighbor of the tonic.
6 changes: 6 additions & 0 deletions data/eyes_and_ears/text/minor3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The second common pattern in
minor is the upper neighbor of
the dominant.

Remember, this is just a half
step!
7 changes: 7 additions & 0 deletions data/eyes_and_ears/text/minor4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
The third important pattern is
the ascending tetrachord*. This
sounds exactly the same as in
major mode!

* Tetrachord is the name for a
collection of four notes.
7 changes: 7 additions & 0 deletions data/eyes_and_ears/text/minor5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
The fourth important pattern is
the descending tetrachord. This
is usually the trickiest one.

(This pattern occurs in the bass
line of "Hit the Road, Jack" by
Ray Charles!)
4 changes: 4 additions & 0 deletions data/eyes_and_ears/text/minor6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Now let's try putting them all
together. This next example has
all four of the common patterns
we just practiced.
6 changes: 1 addition & 5 deletions data/pd/latido_externals/latido_midiplayer.pd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#N canvas 113 205 1110 669 10;
#N canvas 110 210 1110 669 10;
#X declare -path .;
#X obj 311 294 midifile;
#X msg 736 218 verbose 0;
Expand Down Expand Up @@ -199,8 +199,6 @@
#X obj 406 213 *;
#X obj 632 257 j-gate2;
#X obj 398 281 t f f f;
#X obj 627 155 print dm;
#X obj 649 134 random 10;
#X connect 0 0 64 0;
#X connect 0 1 73 0;
#X connect 0 2 65 0;
Expand Down Expand Up @@ -246,7 +244,6 @@
#X connect 35 0 3 0;
#X connect 35 1 15 0;
#X connect 39 0 0 0;
#X connect 39 0 76 0;
#X connect 40 0 29 0;
#X connect 40 0 45 1;
#X connect 44 0 47 0;
Expand Down Expand Up @@ -287,4 +284,3 @@
#X connect 74 0 64 1;
#X connect 74 1 65 1;
#X connect 74 2 73 1;
#X connect 76 0 75 0;
2 changes: 2 additions & 0 deletions showmusic.pde
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ public class ShowMusic
} else
{
float rescale = (width-SIDEBAR_WIDTH-(2*PADDING))*1.0/music.width;
float rescale2 = (height-TOPBAR_HEIGHT-(2*PADDING))*1.0/music.height;
rescale = min(rescale,rescale2);
image (music, SIDEBAR_WIDTH+PADDING, TOPBAR_HEIGHT+PADDING, music.width*rescale, music.height*rescale);
}
}
Expand Down

0 comments on commit b5aaacc

Please sign in to comment.