Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Experimental music from very short C programs

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
83,252
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Link to this comment:

Share to:

Uploader Comments (viznut)

  • main(t)

    Where is a type of argument?

    I think it's suppose to be like that:

    int main( int t )

  • @swmicro1 It's called source code length optimization, so it definitely is intentional. Every C compiler that cares about backward compatibility allows omitting the type in these cases, despite what today's standards require.

  • awesome awesomeness is awesome. btw what platform is this, vic-20?

  • @irrlichtproject Plain platform-neutral C code with >=32-bit integers. Most of them simple enough for 8-bit platforms to synthesize, however. If you want something similar for the VIC-20, google "Soundflower VIC-20".

Top Comments

  • Good stuff. Blang-blang-blang-blang-blipi-­didi...

  • These are really intersting experiments... Just a little bit of mathematical chaos leads to nice variety while still keeping musical patterns that a human brain can identify and appreciate.

see all

All Comments (66)

Sign In or Sign Up now to post a comment!
  • @reconstructiv Some of the formulas in these videos have been succesfully implemented on Atari VCS (search "generative music on the atari 2600"). For something more tied to the register set of the soundchip, you can e.g. take the VIC-20 code from my article "16-byte frontier" as the basis and substitute a SID address there. (I've tried it, it works fine). 4mat has also some standalone C-64 bit-twiddler music besides Wallflower.

  • @viznut i would be very curious about doing this on C64, you know anything about that or have a link to anything?

  • (t>>((t>>(3)|t>>(5)))&(63)&t>>­7)*t

  • Inspired by this, I made my own: youtube.com/watch?v=ePN8cyaU0o­g

  • What?! That was incredible! Definitely something to play around with and sample!

  • Have any of you ever thought of perhaps using these in a signal transmitted through SETI, or by a similar organization? The Algorithmic patterns seen in each of the tunes, if received by an extraterrestrial Intelligence, may in fact be recognized as such. Where all three iterations would have to be sent. Only curious.

  • hehe - real cool!

  • t*((t>>9|t>>13)&(t)&t>>10)

  • @Sphereal I think many of Aphex Twin's songs could have been composed using samples of the output of these simple programs, re-arranged in more "harmonic" ways.

  • @Sphereal I wonder whether he was inspired by this. I'm an Aphex Twin fan and I also like computer-generated music.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more