representation of musical notation in haskell
play

Representation of musical notation in Haskell Edward Lilley - PowerPoint PPT Presentation

Representation of musical notation in Haskell Edward Lilley Institute of Astronomy, University of Cambridge September 9, 2017 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .


  1. Representation of musical notation in Haskell Edward Lilley Institute of Astronomy, University of Cambridge September 9, 2017 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Edward Lilley Representation of musical notation in Haskell

  2. Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Edward Lilley Representation of musical notation in Haskell

  3. Theory (Notated) musical pitches are the points on a lattice (Notated) musical intervals connect the points, forming a ‘�ee Abelian group’ with two generators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Edward Lilley Representation of musical notation in Haskell

  4. Theory c 𝄫 a ♯ b ♯ d 𝄫 g 𝄫 a ♮ c ♯ e ♯ b ♮ d ♯ f 𝄫 a ♭ c ♮ e ♮ g ♯ A ♯ B ♯ b ♭ d ♮ f ♯ b 𝄬 c ♭ d ♭ e ♭ f ♮ g ♮ A ♮ B ♮ d 𝄬 e 𝄬 f ♭ g ♭ A ♭ B ♭ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Edward Lilley Representation of musical notation in Haskell

  5. m2 M2 Theory c 𝄫 a ♯ b ♯ d 𝄫 g 𝄫 a ♮ c ♯ e ♯ b ♮ d ♯ f 𝄫 a ♭ c ♮ e ♮ g ♯ A ♯ B ♯ b ♭ d ♮ f ♯ b 𝄬 c ♭ d ♭ e ♭ f ♮ g ♮ A ♮ B ♮ d 𝄬 e 𝄬 f ♭ g ♭ A ♭ B ♭ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Edward Lilley Representation of musical notation in Haskell

  6. P8 P5 Theory c 𝄫 a ♯ b ♯ d 𝄫 g 𝄫 a ♮ c ♯ e ♯ b ♮ d ♯ f 𝄫 a ♭ c ♮ e ♮ g ♯ A ♯ B ♯ b ♭ d ♮ f ♯ b 𝄬 c ♭ d ♭ e ♭ f ♮ g ♮ A ♮ B ♮ d 𝄬 e 𝄬 f ♭ g ♭ A ♭ B ♭ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Edward Lilley Representation of musical notation in Haskell

  7. d2 A1 Theory c 𝄫 a ♯ b ♯ d 𝄫 g 𝄫 a ♮ c ♯ e ♯ b ♮ d ♯ f 𝄫 a ♭ c ♮ e ♮ g ♯ A ♯ B ♯ b ♭ d ♮ f ♯ b 𝄬 c ♭ d ♭ e ♭ f ♮ g ♮ A ♮ B ♮ d 𝄬 e 𝄬 f ♭ g ♭ A ♭ B ♭ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Edward Lilley Representation of musical notation in Haskell

  8. Theory ‘Syntonic’ temperaments assign two �equency ratios to the two generators ‘Equal’ temperaments project the two dimensions down to one . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Edward Lilley Representation of musical notation in Haskell

  9. 12-equal temperament d2 → 1 , P8 → 2 19-equal temperament dd2 → 1 , P8 → 2 31-equal temperament dddd3 → 1 , P8 → 2 Theory Pythagorean P5 → 3 / 2 , P8 → 2 ‘Quarter-comma meantone’ M3 → 5 / 4 , P8 → 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Edward Lilley Representation of musical notation in Haskell

  10. Theory Pythagorean P5 → 3 / 2 , P8 → 2 ‘Quarter-comma meantone’ M3 → 5 / 4 , P8 → 2 12-equal temperament d2 → 1 , P8 → 2 19-equal temperament dd2 → 1 , P8 → 2 31-equal temperament dddd3 → 1 , P8 → 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Edward Lilley Representation of musical notation in Haskell

  11. Implementation Flexibility (via typeclasses) in what counts as a Pitch , Interval or Duration A Note is an ordered pair ( Pitch , Duration ) A Phrase is just a linked list, [ Note ] A piece of music consists of a Rose tree of musical phrases Internally the preferred lattice basis is ( A1 , d2 ) Have to invert a 2 ∗ 2 matrix to calculate tuning map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Edward Lilley Representation of musical notation in Haskell

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend