olavese@online.no Posted November 23, 2006 Share Posted November 23, 2006 I see in many demos, they have a type of analyzer (equalizer?) where the bars, colors or balls or whatever follows the music. Is it pre-programmed or do they read the sound registers in any way? Also want to ask if there's any coders that are willing to share some source codes for various stuff. Like a star field (not a pm star field, but one like in Star Raiders) Thanks and take Atarian care Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted November 23, 2006 Share Posted November 23, 2006 well...when using sound replay routines like for MPT, TMC or RMT than you can read the shadow registers of the software players not the pokey ones... Quote Link to comment Share on other sites More sharing options...
Rybags Posted November 23, 2006 Share Posted November 23, 2006 (edited) Most hardware registers on the Atari are read only or write only, and often with seperate functions provided by the same address. So, RAM based shadows have to be maintained. Also, ADSR has to be done in software - so the volume level for each voice will be a known quantity at all times in most music player software. Which makes it pretty easy to grab and convert to a graphical level meter type display. There is a reasonably simple mathematical formula + algorithm for doing a Star Raiders type starfield - but I can't remember where I saw it. The "complex" way would be to employ 3D to 2D coordinate conversion, which is a pretty demanding process for an 8-bit machine. Edited November 23, 2006 by Rybags Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted November 23, 2006 Share Posted November 23, 2006 there is a polish website with source codes of demos... but could not find it right here... maybe miker can post the link... Quote Link to comment Share on other sites More sharing options...
miker Posted November 23, 2006 Share Posted November 23, 2006 (edited) Here we go! Click pobierz to download the sources (the site is still in Polish). (and don't forget to greet Stryker! ) Edited November 23, 2006 by miker Quote Link to comment Share on other sites More sharing options...
olavese@online.no Posted November 23, 2006 Author Share Posted November 23, 2006 Thanks, that is so cool! I'll give some of them a look and see if I can use any of it. Take Atarian care Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.