Re: [haskell art] music recycling

2014-12-17 Thread Henning Thielemann

On Tue, 16 Dec 2014, Claude Heiland-Allen wrote:

 On 16/12/14 19:36, Henning Thielemann wrote:
 You can download the project's code from the darcs repository:

 [4] http://code.haskell.org/~thielema/sound-collage/

 needs a newer numeric-prelude than that on Hackage..

The good news is that it actually does not need the newer version of 
numeric-prelude. The bad news is that fft-0.1.8 is required. I have 
uploaded this one and checked with cabal-sandbox that it can be installed 
with all dependencies from Hackage. Cabal-sandbox is really great for 
these kinds of tests!

However, the program is still really rough. Parameters like the chunk size 
are currently hard-wired, option handling is rudimentary (watch 
src/Main.hs) and there is potential for optimizations. Currently the 
program needs many minutes for building a pool of chunks. If you are 
interested in testing the program I am willing to fix these issues.

-- 

Read the whole topic here: Haskell Art:
http://lurk.org/r/topic/45DwmH7wCLPehz6j0rJ6Ya

To leave Haskell Art, email haskell-...@group.lurk.org with the following email 
subject: unsubscribe


[haskell art] music recycling

2014-12-16 Thread Henning Thielemann

Here is a new musical christmas experiment:

I chopped 4 compact disks of children musicals by the German composer and 
all-round musician Reinhard Lakomy [1] into small pieces and re-assembled 
them to match a famous christmas song. As chunks lengths I tried both 
about 1/6s [2] and 1/3s [3]. Generally it holds: The longer the chunks, 
the more you can recognize the origin of the pieces. The shorter the 
chunks, the better is the approximation to the christmas song (and the 
longer takes the computation). If you want to guess the song, then click 
now and ignore the video title. :-)

[1] http://de.wikipedia.org/wiki/Reinhard_Lakomy
[2] https://www.youtube.com/watch?v=aJWp4pkIkQE
[3] https://www.youtube.com/watch?v=jxC5bcwXCyQ


The first collage is blocked in Germany, since YouTube thinks that it is 
too close to the recording of the christmas song. However, no wave from 
the christmas song recording was copied to the collage and honestly, the 
collage sounds very different from that recording!

YouTube believes to recognize the second collage as the Greek version 
Touli Gia To Hristouli. It seems to me that YouTube's recognition 
algorithm exhibits a sense of humor in this case.


You can download the project's code from the darcs repository:

[4] http://code.haskell.org/~thielema/sound-collage/

-- 

Read the whole topic here: Haskell Art:
http://lurk.org/r/topic/27SkS6ZdMoRhcQnOlC44EC

To leave Haskell Art, email haskell-...@group.lurk.org with the following email 
subject: unsubscribe


Re: [haskell art] music recycling

2014-12-16 Thread Claude Heiland-Allen
Hi Henning,

Great stuff!

On 16/12/14 19:36, Henning Thielemann wrote:
 You can download the project's code from the darcs repository:

 [4] http://code.haskell.org/~thielema/sound-collage/

needs a newer numeric-prelude than that on Hackage..

claude@frappuccino:~/code/sound-collage$ cabal install
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: sound-collage-0.0 (user goal)
next goal: numeric-prelude (dependency of sound-collage-0.0)
rejecting: numeric-prelude-0.4.1, 0.4.0.3, 0.4.0.2, 0.4.0.1, 0.4, 0.3.0.2,
0.3.0.1, 0.3, 0.2.2.1, 0.2.2, 0.2.1, 0.2, 0.1.3.4, 0.1.3.3, 0.1.3.2, 
0.1.3.1,
0.1.3, 0.1.2, 0.1.1, 0.1, 0.0.5, 0.0.4, 0.0.2 (conflict: sound-collage =
numeric-prelude=0.4.2  0.5)
Dependency tree exhaustively searched.

I'll try again later once the dependency chain doesn't involve manual 
repository chasing..


Claude


-- 

Read the whole topic here: Haskell Art:
http://lurk.org/r/topic/7a2VVwMx6byLnHvkx7xYj1

To leave Haskell Art, email haskell-...@group.lurk.org with the following email 
subject: unsubscribe