Jump to content

Dynamically recompiling Sound


Recommended Posts

Pong Music Demo from the BCC#18 Party in Berlin recompiles the byte code for the soundtrack on every level!


There were some errors during playback on the live stream, here is a 10 minute video of the C64 and Atari 2600 Supercharger versions showing the AI composing new sound tracks.


Which pieces do you like best in the video?



How it works:
Music is mathematical. A complementary algorithm changes frequencies, tempo and instrument definitions based on the existing musical score. The algorithm is then called recursively against each set of outputs (new songs) created.


The Atari 2600 Supercharger makes dynamic code recompilation possible like on the Commodore 64 by replacing ROM with RAM.


PongMusicdemo.bin  pongmusicdemo.prg


Playing the demo:

To play the demo push up to enter player mode, push down to resume demo mode.


You can let the demo keep playing and hear new songs for hours from the AI! :) 

Link to comment
Share on other sites

  • 3 months later...
On 5/26/2024 at 11:27 PM, analogtek said:

I love this! This is so awesome. Sehr gut gemacht. I like the piano sounding parts at 5:53.


I'm using the Stella emulator and pushing up does nothing.

Thank you! Glad you like it.


In Stella push whichever key is mapped to up on the joystick.

This will put you in control of the game using left, right and the button.


If you push down the AI will resume control.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...