Skip to content

Collected source code for compositions created in clojure / overtone.

Notifications You must be signed in to change notification settings

aaronzimmerman/overtone-compositions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

overtone-compositions

Collection of pieces written in clojure and overtone by Aaron Zimmerman

https://twitter.com/apzimmerman

https://soundcloud.com/aaron-zimmerman/

Fractals:

lein repl
(use 'com.zimmermusic.fractals)
(fractals '(0 6 1 2 6 11 5 4))

Only argument is a sequence of integers between 0 and 11. First a vocabulary of 12 functions that produce sound are created, and then a section will be played for each provided integer n. During each section, n functions will be played for n seconds, starting at n pitch, at n tempo.

Each sequnce of integers will produce a new piece, but the piece will be exactly the same for each. The more integers provided, the longer the piece will be.

Windows:

https://soundcloud.com/aaron-zimmerman/windows-melody https://soundcloud.com/aaron-zimmerman/windows-speech

lein repl
(use 'com.zimmermusic.windows)
(windows "/path/to/sample.aiff" [2 3 4] 10000 400)

The first argument is an audio file. It needs to be sampled at 44100 and stereo.

Second argument is a vector of scalars at which to create additional windows past the one created with:

Third argument: the base window size, in samples.

Fourth argument: the base step size, how far to move the window after each repetition

Spheres:

https://www.youtube.com/watch?v=8Y7hDDBCd2M https://soundcloud.com/aaron-zimmerman/spheres

lein repl
(use 'overtone.live)
(use 'com.zimmermusic.spheres)

(start)
.. music plays ..
(end)
.. music fades away into oblivion ..

NOTE that you will not be able to run as is, as the piece references a series of samples that I cannot include due to licensing.

So to run, you need to create samples under overtone-compositions/resources: "m38.aiff" "m41.aiff" "m44.aiff" "m47.aiff" "f50.aiff" "f53.aiff" "f56.aiff" "f59.aiff" "f62.aiff" "f65.aiff" "f68.aiff" "f71.aiff" "f74.aiff" "f77.aiff" "f80.aiff" "f83.aiff"

These should all be around 60 seconds of an instrument playing the midi note represented in the file name.

I can help you figure out how to get these do this if you are interested. Maybe I can find some on freesound but I haven't been able to yet.

Diamonds:

https://soundcloud.com/aaron-zimmerman/diamonds

lein repl
(use 'com.zimmermusic.diamonds)
(diamonds 10 14000)  ; 10 = maximum number of voices to build to, 14000 = duration of each section
... piece is bootstrapped and a screen pops up
press return in the new console screen

Copyright © 2015

Distributed under the Eclipse Public License, the same as Clojure.

About

Collected source code for compositions created in clojure / overtone.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published