Learn music theory by creating a code model

14
Fundamentals of western music theory Can we learn by creating a code model?

Transcript of Learn music theory by creating a code model

Page 1: Learn music theory by creating a code model

Fundamentals  of  western  music  theory

Can  we  learn  by  creating  a  code  model?

Page 2: Learn music theory by creating a code model

Note

• Name  (C,  D,  E,  F,  G,  A,  B)  

• Pitch  (1,  2,  3,  4,  5,  6,  7)

Page 3: Learn music theory by creating a code model

Note  Model

• Return  Note  properties  based  on  name  – Input  • Name:  “C”  

– Output  • Name  :  “C”  

• Pitch:  1

Page 4: Learn music theory by creating a code model

Note  (Accidentals)

• Name    

• (C,  C#/Db,  D,  D#/Eb,  E,  F,  F#/Gb,  G,  G#/Ab,  A,  A#/Bb,  B,  C)  

• Pitch    

• (1,  2,  3,  4,  5,  6,  7,  8,  9,  10,  11,  12,  1)  

• Sharp  (increase  pitch  by  1)  

• Flat  (decrease  pitch  by  1)

Page 5: Learn music theory by creating a code model

Note  Model

• Return  Note  properties  after  applying  accidental  – Input  • Note:  C3  

• Action:  Sharp  

– Output  • Name  :  C#

5

Page 6: Learn music theory by creating a code model

Note  Model

• Return  Note  properties  after  applying  accidental  – Input  • Note:  E3  

• Action:  Sharp  

– Output  • Note  :  F3

6

Page 7: Learn music theory by creating a code model

Interval

• Distance  between  two  notes

Page 8: Learn music theory by creating a code model

Interval  Exercise

• Return  interval  name  given  two  notes  – Input  

• First  Note:  “C”  • Second  Note:  “E”  

– Output  • “Major  3”  

– Input  • First  Note:  “E”  • Second  Note:  “G”  

– Output  • Minor  3

Page 9: Learn music theory by creating a code model

Interval

• Melodies  (single  note)  

• Power  chords  (interval  played  simultaneously)

Page 10: Learn music theory by creating a code model

Scales

• Major  Scale  

• Tone  

• Tone  

• Semitone  

• Tone  

• Tone  

• Tone  

• Semitone10

Page 11: Learn music theory by creating a code model

Scales

• Major  Scale  

• 1  C  

• 2  D  

• 3  E  

• 4  F  

• 5  G  

• 6  A  

• 7  B  

• 1  C 11

Page 12: Learn music theory by creating a code model

SCALES  EXERCISE

• Create  a  scale  from    a  root  note  

• Ex  C  

• C,  D,  E,  F,  G,  A,  B

12

Page 13: Learn music theory by creating a code model

Chord

• Three  or  more  notes  played  simultaneously  • Traditional  western  harmony  – Chords  are  constructed  on  intervals  of  thirds  • C  E  G  (Major  chord)  • C  E  G#  (Augmented  chord)  • C  E  Gb  (Diminished  chord)  • C  Eb  G  (Minor  chord)  • C  E  G  B  (Major  Seventh  chord)  • C  E  G  Bb  (Dominant  Seventh  chord)  • C  Eb  G  Bb  (Minor  Seventh  chord)

Page 14: Learn music theory by creating a code model

Chord  Exercise

• Return  chord  quality  name  given  three  notes  – Input  • First  Note:  “C”  

• Second  Note:  “E”  

• Third  Note:  “G”  

– Output  • “Major”