Skip to content

DrkSephy/harmonic-melodies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

harmonic-melodies

What is this?

  • A concise, programmatic description of Slonimsky's Thesaurus of Scales and Melodic Patterns
  • Searches against Slonimsky's thesaurus
  • More thesaurus-like functionality, across several axes of similarity (interval patterns, musical harmony...)

Dependencies

Installing ghc

On *-nix, see your package manager. For Mac, this may be useful: ghc.

Installing Euterpea

You can do so with the following commands:

cabal update

cabal install Euterpea

midi players

For Linux you can use timidity++. For Mac you can use SimpleSynth. For more information look here.

Getting Started

  1. If you have Linux start your midi player:

$ timidity -A90 -iA -Os &

You might also need to make sure the snd_dummy module isn't loaded: # [[ lsmod | grep -q snd_dummy ]] && rmmod snd_dummy

If you have a Mac you will need to start your midi player.

  1. Start ghci and load Slonimsky.hs:

ghci> :load Slonimsky.hs

  1. Play something from the thesaurus:

ghci> playList $ take 10 $ slonimsky (C,4) 4 [-7,-4,2]

Sound should happen. If not, restart timidity and try again.

About

Thesaurus of Consonant Patterns

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published