Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Don't ask to ask, just ask
 
PerlMonks  

Automatic Music with Perl

by larsen (Parson)
on Mar 12, 2002 at 22:07 UTC ( #151249=CUFP: print w/ replies, xml ) Need Help??

You certainly recall OeufMayo's Transcramble. I tried to apply the same technique to music. You can read about the results here: Automatic Music With Perl.

<milk> larsen, I am quite struck by them.. from listening to them you can tell they are meant to have musical structure, and they sound like they are intentionally musical, but they contain no coherent musical "thought"
<milk> if you know what I mean?
<milk> they are like a sentence which is grammatically correct, but has no meaning because it is nonsense

Some more points about this stuff...

  • Given a girl interested in modern music, Duchamp's art and so on, you could even try to impress her...
  • I think we have found the first real-life example of use of Tie::Hash::Cannabinol :))
  • You could try some kind of automatic jazz improvisation, feeding the program with a MIDI file containing a lot of scales and phrases.

Update: Here a direct link to the code.
Update: I received an interesting link about generative arts: Generative.net.

Comment on Automatic Music with Perl
Re: Automatic Music with Perl
by Cody Pendant (Prior) on Mar 13, 2002 at 07:44 UTC
    I think this is wonderful. I love it when computers are used to produce art.

    The only thing that could make it better is if it ran endlessly.

    I was dreaming about this the other day.

    The idea was for an online, realtime composition engine, which would just output music endlessly, but there could also be the opportunity for user input, for instance if I could use a web interface to ask for "more rhythmic", "more random", "change key", and so on.
    --

    ($_='jjjuuusssttt annootthhrer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;
Re: Automatic Music with Perl
by gellyfish (Monsignor) on Mar 17, 2002 at 16:37 UTC

    You might also want to peruse soundhack.org every once in a while ...

    /J\

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://151249]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2014-04-20 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls