Thursday, September 17, 2009

Music script screenies

A little music script I'm working on, with visualisations, playlists, audio filters etc..

Memory leak detection

I've added memory leak detection to the IDE. If you forget to free an object, it'll show in the list which is accessible from the debug menu.

The list also shows any leaks in the IDE/engine caused by the script not destroying those objects.

Tuesday, September 1, 2009

I've added a way to create audio visualisation scripts. The script layout is almost identical to creating the menu animations in the previous posts. Any script can use these visualisations. I'm using the unchanged DCDSP components from DCoder with my own Direct Sound renderer filter. For some reason the TDCDSP filter didn't work very well with the scripts, causing lockups and the vis was out of sync with some files. The DCDSP components are great for various audio effects too, which are available to the scripts now, via the TgxDSPlayer. I still need to finalise the layout needed for the scripts etc. but it's working quite well.

The framerate in first 22 seconds in this vid looks a little crappy because Fraps slowed it down to 25fps and it took a while for the auto framerate to stabilise. I need to look into why it took so long..