Introduc)on
to
Computer
Music

           Week
One
Overview
Listening:
Poèmé
électronique
Sight
Reading:
Basic
Rhythm
Ear
Training:
Rhythm
Dicta)on
                      <break>
Synthesis:
Basic
digital
audio
Instrument:
Simple
Sine
Oscillator
Edgard
Varése

POÈMÉ
ÉLECTRONIQUE
(1958)
Edgard
Varése

POÈMÉ
ÉLECTRONIQUE
(1958)
Note
Lengths

Whole
Note:
Four
beats

                         Eighth
Note:
One‐half
beat
Half
Note:
Two
beats


                         Sixteenth
Note:
One‐quarter
beat
Quarter
Note:
One
Beat




                                                      4
Rests

Whole
Rest
                       Eighth
Rest


 Half
Rest


                       Sixteenth
Rest
Quarter
Rest




                                        5
9#0:;0-%#<1*%0*+,*-%=*2>#%$##?2'@%,*#%A#<,B
    !



     Measures
&
Time
Signatures
        !
        "$         $           $   $       $           $   $   $   $       $   $        $

    4

        !
        "$     $       $       $       $       $           $   $   $   $       %


• Measure:
a
unit
of
)me,
indicated
by
ver)cal

    5



  lines
      !
      "$ $ $   $ $ $    $ $ $ $   $ $ $


• Time
Signature:
the
number
and
dura)on
of

    6



  beats:
      #                             %!
      "$  $  $  $   %     $  $  $

  – 2/4
is
two
quarter
notes
    7


  – 3/4
is
three
quarter
notes
      #                                                                            %!
      "$ $ $ $ $ $ $ $ $ $                                     $   $       $

  – 6/8
is
six
eighth
notes
    8


                                                                                            6
        #                                                                          %!
        "$ $ $             $       $ $ %                   $ $ $ $ $ $
Clapping
Exercises
                       "##$%&'#%((%)*+,*-%./#0123#3
        9#0:;0-%#<1*%0*+,*-%=*2>#%$##?2'@%,*#%A#<,B
 !

       !
       "$        $         $      $       $           $    $   $   $    $   $        $
# !"                                                                                     (
 4                %                                                                  %
$ !"   !$
       "%         %% $ % $ & $                             % % %$
                                                           $ $         % $ '
       ! %
       !                                                  & $ % %
       "$
       "      $ % $ $ %$ % $
                     %                                        $ $       $% %
                                                                           %         %
 !#
 !#
 5
 !!    !                                                  &
       "%
       #      % % %      %
                         %
                                              % %
                                              %
                                                                % %     '
       "$
       !$
       !
       " %    $ $$%$ % $ %
              $
              %
                       $ $                    $ & $ $ $% $ %$$ $%$$ % $ ' $ $ $
                                                         $            $ $
                                                                        $
       "
 $%
 6
 !#    #       &
 !$
       "%           %            % % % % %   % &     %   '!
       #                                        $ % $ % % !% %
       "$
       !
       #$
       "%     % $ %$ $
              $                % $ %% %%
                               $
                                      %    $
                                         $ $ $$      $ $ $ $
       "
 $&

                                                                                             7
 7
 !$
       #% % % % %                     &       &   %         % % % % %           '!
&!

          !
          "$               %   %       %   %       %            %       %       %        %

     "

          !
          "%       %   %       %       %   %       %        %       %       %       $

     #

       !
       "% % % %            % % %                        %           %       %       $
Write
what
you
hear:
Exercise
One

DICTATION
   #
     $%


          "%   %       %       % % % % %                %           %       %       $!

     $$

          #                                                                         $!
          "% % % % %               $           %       % % % % %
                                                                                             8
&!

          !
          "$               %   %       %   %       %            %       %       %        %

     "

          !
          "%       %   %       %       %   %       %        %       %       %       $

     #

       !
       "% % % %            % % %                        %           %       %       $
Write
what
you
hear:
Exercise
One

DICTATION
   #
     $%


          "%   %       %       % % % % %                %           %       %       $!

     $$

          #                                                                         $!
          "% % % % %               $           %       % % % % %
                                                                                             8
&!

          !                            %   %   %       %       %        %           %%
          "$               %   %       %   %   %       %       %       %

     "

          !
          "%       %   %       %       %
                                       %   %
                                           %   %
                                               %       %
                                                       %   %
                                                           %       %
                                                                   %        $$

     #

       !                   % % %                   %       %       %         $
       "% % % %           % % %                    %       %       %        $
Write
what
you
hear:
Exercise
One

DICTATION
   #
     $%


          "%   %       %         % % % %
                               % % % % %           %
                                                   %       %
                                                           %       %
                                                                   %        $!!
                                                                            $

     $$

          #                        $       %   % % % % %                     $! !
                                                                             $
          "% % % % %               $       %   % % % % %
                                                                                         8
#
          "$   $   $       $       $ $ $ $         $ $ $           $       $       $ $ $

     !&

          #                                                                    %!
          "%       $           %           $       $   $       $       $

     !'

          !
          "%           %                   $   $       $       $       $       $     $

     ()

          !
          "%           $           $   $       $           $       $       $         $
Write
what
you
hear:
Exercise
Two

DICTATION


                                                                                           9
#
          "$   $   $       $       $ $ $ $         $ $ $           $       $       $ $ $

     !&

          #                                                                    %!
          "%       $           %           $       $   $       $       $

     !'

          !
          "%           %                   $   $       $       $       $       $     $

     ()

          !
          "%           $           $   $       $           $       $       $         $
Write
what
you
hear:
Exercise
Two

DICTATION


                                                                                           9
#
          "$   $   $       $       $ $ $ $       $ $ $
                                                 $ $ $         $
                                                               $       $
                                                                       $   $ $ $
                                                                           $ $ $

     !&

          #                                      $ $ $             $       % !!
                                                                           %
          "%       $           %       $         $ $ $             $

     !'

          !
          "%           %               $     $     $
                                                   $       $
                                                           $       $
                                                                   $       $
                                                                           $      $
                                                                                  $

     ()

       !
       "%            $ $ $                   $
                                             $         $
                                                       $       $
                                                               $       $
                                                                       $          $
                                                                                  $
Write
what
you
hear:
Exercise
Two

DICTATION


                                                                                      9
!
           "$       $           $            $       $       $       $       $               $         $

      !$

           #
           "$   $ $ $           $           $ $ $        $ $ $ $ $ $                     $           $ $ $

      !%

           #
           "$   $       $       $       $ $ $ $              $ $ $           $           $           $ $ $

      !&

           #                                                                                     %!
           "%           $           %                $       $   $       $           $
Write
what
you
hear:
Exercise
Three

DICTATION%
      !'

    !
    "%                                               $   $       $       $           $           $     $

      ()

           !
           "%               $           $        $       $           $           $       $             $
                                                                                                             10
!
           "$       $           $            $       $       $       $       $               $         $

      !$

           #
           "$   $ $ $           $           $ $ $        $ $ $ $ $ $                     $           $ $ $

      !%

           #
           "$   $       $       $       $ $ $ $              $ $ $           $           $           $ $ $

      !&

           #                                                                                     %!
           "%           $           %                $       $   $       $           $
Write
what
you
hear:
Exercise
Three

DICTATION%
      !'

    !
    "%                                               $   $       $       $           $           $     $

      ()

           !
           "%               $           $        $       $           $           $       $             $
                                                                                                             10
!                    $            $       $       $       $       $           $         $
           "$       $

      !$

           #
           "$   $ $ $           $           $ $ $        $ $ $ $ $ $ $                           $ $ $

      !%

           #
           "$   $       $       $       $ $ $ $              $ $ $           $       $       $ $ $

      !&

           #                                                                                 %!
           "%           $           %                $       $   $       $       $
Write
what
you
hear:
Exercise
Three

DICTATION%
      !'

    !
    "%                                               $   $       $       $       $           $     $

      ()

           !
           "%               $           $        $       $           $       $       $             $
                                                                                                         10
$ !"

           !                            &
           "%   %       %   %       %           %       %       %       %       %

     !!

       !                        &
       "% % % %           %                 %   %       %       %       '
Write
what
you
hear:
Exercise
Four

DICTATION %
     !#

   !% % %                       %   %                               %       %   %
           "                                    $

     !$

           #                                &                           '!
           "%   %   %       %       '               %       %
                                                                                    11
$ !"

           !                            &
           "%   %       %   %       %           %       %       %       %       %

     !!

       !                        &
       "% % % %           %                 %   %       %       %       '
Write
what
you
hear:
Exercise
Four

DICTATION %
     !#

   !% % %                       %   %                               %       %   %
           "                                    $

     !$

           #                                &                           '!
           "%   %   %       %       '               %       %
                                                                                    11
$ !"

           !                            &
           "%   %       %   %       %           %       %       %       %       %

     !!

       !                        &
       "% % % %           %                 %   %       %       %       '
Write
what
you
hear:
Exercise
Four

DICTATION %
     !#

   !% % %                       %   %                               %       %   %
           "                                    $

     !$

           #                %       '       &       %       %           '!
           "%   %   %
                                                                                    11
Next:
Basic
Digital
Audio

BREAK


                            12
Acous)c
Sound




    Acoustic sound: air pressure vs. time
Digital
Sound
                         44,100 samples/second
          32,767
16 bits




          -32,767

                         Digital sound: a series of numeric values
Digital
Sound
• Sample
Rate:
number
of
values/second
• Bit
Depth:
the
resolu)on
of
the
values

• Nyquist
Frequency:
the
highest
frequency
that

  can
be
recreated
digitally.


            f n = sr/2
                                               16
Simple
Sinusoid
Instrument

      frequency (f)   amplitude (a)
Simple
Sine
Generator

                                  frequency (f)       amplitude (a)
frequency (f)     amplitude (a)




                                                      scale multiplier
                                                  X
Building
an
Instrument

frequency (f)      amplitude (a)




                                         19
Anatomy
of
the
instrument




                  ezdac~
                  Digital
to
Audio
Converter.

                  Press
the
bueon
to
turn
audio

                  on
and
off.
Two
inlets
‐‐
one

                  for
each
channel.



                                           20
Anatomy
of
the
instrument



                  cycle~
                  Cycles
through
a
sinusoid

                  waveform
at
the
frequency

                  specified.
Two
inlets
‐‐
leh
for

                  frequency,
right
for
phase.




                                              21
Anatomy
of
the
instrument


                 message
                 Used
to
send
inputs
to

                 objects.
In
this
case,
we’re

                 sending
a
floa)ng
point
value.
                 Two
inputs.
Leh
input
triggers

                 the
message.
Right
input
can

                 be
used
to
set
a
message

                 without
triggering
it.




                                             22
Anatomy
of
the
instrument

                 BuJon
                 Sends
a
“bang.”
A
bang
is

                 used
to
trigger
an
ac)on.
In

                 this
case,
it
tells
the
message

                 box
to
send
its
message.




                                               23
Anatomy
of
the
instrument



                  Pipes
                  Pipes
are
used
to
send

                  messages
and
audio.
There

                  are
two
types.
Solid
sends

                  control
messages
(bangs,

                  numbers,
etc).
Doeed
sends

                  audio
messages.




                                          24
SIMPLE
INSTRUMENT
DEMO


                         25
Max
vs.
Pd




Max/MSP                Pd

                            26
Homework
• Prac)ce
reading
rhythms.
• Prac)ce
taking
rhythmic
dicta)on.
• Play
with
Max
/
Pd.
Do
something
cool
and

  share
it
with
the
class.




                                               27

Introduction to Computer Music: Week one

  • 1.
  • 2.
    Overview Listening:
Poèmé
électronique Sight
Reading:
Basic
Rhythm Ear
Training:
Rhythm
Dicta)on <break> Synthesis:
Basic
digital
audio Instrument:
Simple
Sine
Oscillator
  • 3.
  • 4.
  • 5.
    Note
Lengths Whole
Note:
Four
beats Eighth
Note:
One‐half
beat Half
Note:
Two
beats Sixteenth
Note:
One‐quarter
beat Quarter
Note:
One
Beat 4
  • 6.
    Rests Whole
Rest Eighth
Rest Half
Rest Sixteenth
Rest Quarter
Rest 5
  • 7.
    9#0:;0-%#<1*%0*+,*-%=*2>#%$##?2'@%,*#%A#<,B ! Measures
&
Time
Signatures ! "$ $ $ $ $ $ $ $ $ $ $ $ 4 ! "$ $ $ $ $ $ $ $ $ $ % • Measure:
a
unit
of
)me,
indicated
by
ver)cal
 5 lines ! "$ $ $ $ $ $ $ $ $ $ $ $ $ • Time
Signature:
the
number
and
dura)on
of
 6 beats: # %! "$ $ $ $ % $ $ $ – 2/4
is
two
quarter
notes 7 – 3/4
is
three
quarter
notes # %! "$ $ $ $ $ $ $ $ $ $ $ $ $ – 6/8
is
six
eighth
notes 8 6 # %! "$ $ $ $ $ $ % $ $ $ $ $ $
  • 8.
    Clapping
Exercises "##$%&'#%((%)*+,*-%./#0123#3 9#0:;0-%#<1*%0*+,*-%=*2>#%$##?2'@%,*#%A#<,B ! ! "$ $ $ $ $ $ $ $ $ $ $ $ # !" ( 4 % % $ !" !$ "% %% $ % $ & $ % % %$ $ $ % $ ' ! % ! & $ % % "$ " $ % $ $ %$ % $ % $ $ $% % % % !# !# 5 !! ! & "% # % % % % % % % % % % ' "$ !$ ! " % $ $$%$ % $ % $ % $ $ $ & $ $ $% $ %$$ $%$$ % $ ' $ $ $ $ $ $ $ " $% 6 !# # & !$ "% % % % % % % % & % '! # $ % $ % % !% % "$ ! #$ "% % $ %$ $ $ % $ %% %% $ % $ $ $ $$ $ $ $ $ " $& 7 7 !$ #% % % % % & & % % % % % % '!
  • 9.
    &! ! "$ % % % % % % % % % " ! "% % % % % % % % % % $ # ! "% % % % % % % % % % $ Write
what
you
hear:
Exercise
One DICTATION # $% "% % % % % % % % % % % $! $$ # $! "% % % % % $ % % % % % % 8
  • 10.
    &! ! "$ % % % % % % % % % " ! "% % % % % % % % % % $ # ! "% % % % % % % % % % $ Write
what
you
hear:
Exercise
One DICTATION # $% "% % % % % % % % % % % $! $$ # $! "% % % % % $ % % % % % % 8
  • 11.
    &! ! % % % % % % %% "$ % % % % % % % % " ! "% % % % % % % % % % % % % % % % $$ # ! % % % % % % $ "% % % % % % % % % % $ Write
what
you
hear:
Exercise
One DICTATION # $% "% % % % % % % % % % % % % % % % % % $!! $ $$ # $ % % % % % % $! ! $ "% % % % % $ % % % % % % 8
  • 12.
    # "$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ !& # %! "% $ % $ $ $ $ $ !' ! "% % $ $ $ $ $ $ $ () ! "% $ $ $ $ $ $ $ $ Write
what
you
hear:
Exercise
Two DICTATION 9
  • 13.
    # "$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ !& # %! "% $ % $ $ $ $ $ !' ! "% % $ $ $ $ $ $ $ () ! "% $ $ $ $ $ $ $ $ Write
what
you
hear:
Exercise
Two DICTATION 9
  • 14.
    # "$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ !& # $ $ $ $ % !! % "% $ % $ $ $ $ $ !' ! "% % $ $ $ $ $ $ $ $ $ $ $ $ () ! "% $ $ $ $ $ $ $ $ $ $ $ $ $ Write
what
you
hear:
Exercise
Two DICTATION 9
  • 15.
    ! "$ $ $ $ $ $ $ $ $ $ !$ # "$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ !% # "$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ !& # %! "% $ % $ $ $ $ $ Write
what
you
hear:
Exercise
Three DICTATION% !' ! "% $ $ $ $ $ $ $ () ! "% $ $ $ $ $ $ $ $ 10
  • 16.
    ! "$ $ $ $ $ $ $ $ $ $ !$ # "$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ !% # "$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ !& # %! "% $ % $ $ $ $ $ Write
what
you
hear:
Exercise
Three DICTATION% !' ! "% $ $ $ $ $ $ $ () ! "% $ $ $ $ $ $ $ $ 10
  • 17.
    ! $ $ $ $ $ $ $ $ "$ $ !$ # "$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ !% # "$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ !& # %! "% $ % $ $ $ $ $ Write
what
you
hear:
Exercise
Three DICTATION% !' ! "% $ $ $ $ $ $ $ () ! "% $ $ $ $ $ $ $ $ 10
  • 18.
    $ !" ! & "% % % % % % % % % % !! ! & "% % % % % % % % % ' Write
what
you
hear:
Exercise
Four DICTATION % !# !% % % % % % % % " $ !$ # & '! "% % % % ' % % 11
  • 19.
    $ !" ! & "% % % % % % % % % % !! ! & "% % % % % % % % % ' Write
what
you
hear:
Exercise
Four DICTATION % !# !% % % % % % % % " $ !$ # & '! "% % % % ' % % 11
  • 20.
    $ !" ! & "% % % % % % % % % % !! ! & "% % % % % % % % % ' Write
what
you
hear:
Exercise
Four DICTATION % !# !% % % % % % % % " $ !$ # % ' & % % '! "% % % 11
  • 21.
  • 22.
    Acous)c
Sound Acoustic sound: air pressure vs. time
  • 23.
    Digital
Sound 44,100 samples/second 32,767 16 bits -32,767 Digital sound: a series of numeric values
  • 24.
  • 25.
    • Sample
Rate:
number
of
values/second • Bit
Depth:
the
resolu)on
of
the
values •Nyquist
Frequency:
the
highest
frequency
that
 can
be
recreated
digitally. f n = sr/2 16
  • 26.
    Simple
Sinusoid
Instrument frequency (f) amplitude (a)
  • 27.
    Simple
Sine
Generator frequency (f) amplitude (a) frequency (f) amplitude (a) scale multiplier X
  • 28.
  • 29.
    Anatomy
of
the
instrument ezdac~ Digital
to
Audio
Converter.
 Press
the
bueon
to
turn
audio
 on
and
off.
Two
inlets
‐‐
one
 for
each
channel. 20
  • 30.
    Anatomy
of
the
instrument cycle~ Cycles
through
a
sinusoid
 waveform
at
the
frequency
 specified.
Two
inlets
‐‐
leh
for
 frequency,
right
for
phase. 21
  • 31.
    Anatomy
of
the
instrument message Used
to
send
inputs
to
 objects.
In
this
case,
we’re
 sending
a
floa)ng
point
value. Two
inputs.
Leh
input
triggers
 the
message.
Right
input
can
 be
used
to
set
a
message
 without
triggering
it. 22
  • 32.
    Anatomy
of
the
instrument BuJon Sends
a
“bang.”
A
bang
is
 used
to
trigger
an
ac)on.
In
 this
case,
it
tells
the
message
 box
to
send
its
message. 23
  • 33.
    Anatomy
of
the
instrument Pipes Pipes
are
used
to
send
 messages
and
audio.
There
 are
two
types.
Solid
sends
 control
messages
(bangs,
 numbers,
etc).
Doeed
sends
 audio
messages. 24
  • 34.
  • 35.
  • 36.
    Homework • Prac)ce
reading
rhythms. • Prac)ce
taking
rhythmic
dicta)on. •Play
with
Max
/
Pd.
Do
something
cool
and
 share
it
with
the
class. 27