emkay Posted February 21, 2012 Share Posted February 21, 2012 Looking at some outsourced contingent.... http://formatwar.net/forums/viewtopic.php?t=265&p=4412#p4412 The idea is nice. Playing 6 voices (yet) with a rather good quality on one hardware channel. I wonder about the CPU usage. But, for sure, it IS what's been missing in POKEY music. I wonder what will happen, putting this together with the modulation abilities of POKEY. Good low notes played together with good high notes played by Pokey... concentrating the software routines for the low notes, someone could use 2 16 bit channels for full 16 bit music... whatever. Actually one of those software chnnels makes it possible to use 16 bit filter on the Pokey. But this seems far future... Here some "cross-mix" video, for a short demostration. Software played by altirra, modulations on A800win ... no professional mix yet http://www.youtube.com/watch?v=NP4fXALasgg Quote Link to comment Share on other sites More sharing options...
emkay Posted February 21, 2012 Author Share Posted February 21, 2012 (edited) The best solution for a demo video was to syncronize both, but Altirra has simply speed problems with the sound Anyone knows why A800 doesn't replay it? Edited February 21, 2012 by emkay Quote Link to comment Share on other sites More sharing options...
Rybags Posted February 21, 2012 Share Posted February 21, 2012 Interesting... A800Win+ problems, probably because it doesn't emulate Timers and their IRQs properly. Quote Link to comment Share on other sites More sharing options...
andym00 Posted February 21, 2012 Share Posted February 21, 2012 The best solution for a demo video was to syncronize both, but Altirra has simply speed problems with the sound Anyone knows why A800 doesn't replay it? What do you mean with Altirra has speed problems with the sound ? It was written on Altirra and sounds exactly as it should.. As for the CPU speed, it's variable.. Lower frequencies eat less CPU time, higher frequencies more CPU time.. In that test, when all 6 voices are on, spread over a reasonable range of notes it's taking about 85% of the CPU time though the screen DMA is responsible for a lot of cycles going missing.. If it runs with the screen off then the CPU load is about 70%.. You can see this in Altirra if you use the profiler.. Although you don't have the symbols you can still see how much time is left for 'main'.. There's many optimisations still possible, all while still keeping a 15.6K output rate, one of which is potentially a real game changer Quote Link to comment Share on other sites More sharing options...
emkay Posted February 21, 2012 Author Share Posted February 21, 2012 Still would be interesting to see this running on a slower "sample rate". Possibly 800Hz (example) needed in square waves, 1600 was high enough. Producing only low sounds and overlay them with POKEY's generator sounds, to create the "final" waves. Quote Link to comment Share on other sites More sharing options...
andym00 Posted February 21, 2012 Share Posted February 21, 2012 It's not interesting to me I'm afraid.. It's only going to be 15.6Khz.. The aim is to be able to produce nice sound, not things aliased into oblivion But.. There's a lot more to the sound than meets the eye.. If you've figured out how the waveform generator works you'd realise that each of those channels is essentially a pulse stream, which means there's a huge amount of potential in those voices, and if you're familiar with *why* PWM samples work, then you know what I'm getting at.. But that's the next step, after making it drive 8 channels.. Using much lower sample rates (well, not one constant one) is something I've been trying on the 64.. Using all 4 timers, each being a 'voice' then letting them generate IRQs/NMIs when they finish and toggling bits then whenever any one of them expires.. It means you only generate an IRQ for each voices waveform transition, which means it does in hardware what this does here, except I don't need a constant sample rate, and output is generated when it's actually needed, which is the big optimisation I'm talking about.. If I can do that on the A8, it means you'll be able to playback 15.6Khz output with maybe only few thousand IRQs per second.. 1 Quote Link to comment Share on other sites More sharing options...
emkay Posted February 21, 2012 Author Share Posted February 21, 2012 Yeah... I see. It's common on the A8 scene to see shiny bubbles pop easily.... What the Atari "needs" is a sound generator, pushing the musical quality, at a CPU usage, that allows games to be run fluently. On the other hand, such a Software-Sound Tracker could help developing things... Quote Link to comment Share on other sites More sharing options...
andym00 Posted February 21, 2012 Share Posted February 21, 2012 There's no bubbles being burst, just you want something different to me Anyway.. Here's a nicer sounding version.. You'll need a VBXE to see the display because right now trying to keep this thing working whilst the screen DMA is happening is a pain in the butt, so for now it's simpler to drive the display using VBXE.. You can see the CPU time clearly.. The red region is the actual music player, green the volume table builder (actually doing 7 voices now, but there's nothing using it), and the blue the actual pulse builder.. Grey bit above that is free time.. And this is playing back with a much higher bit depth now using Phaerons technique.. main.xex 3 Quote Link to comment Share on other sites More sharing options...
emkay Posted February 22, 2012 Author Share Posted February 22, 2012 There's no bubbles being burst, just you want something different to me Anyway.. Here's a nicer sounding version.. You'll need a VBXE to see the display because right now trying to keep this thing working whilst the screen DMA is happening is a pain in the butt, so for now it's simpler to drive the display using VBXE.. OK. The bubble seems artificial only. So it must not burst. Quote Link to comment Share on other sites More sharing options...
emkay Posted February 22, 2012 Author Share Posted February 22, 2012 Using such sound "every other scanline", probably 90% of the A8 games could be enhanced with that on PAL machines. Would be interesting to see how Rescue on Fractalus would run then. Games like Loderunner (using no DLIs) could be changed to have such music in the background. Quote Link to comment Share on other sites More sharing options...
emkay Posted February 23, 2012 Author Share Posted February 23, 2012 (edited) Seeing the NES "emulation" .... the sound quality could be perfect. Always the same: Low notes played via software, high notes played via POKEY's generator: Remember, it has two 16 bit channels..... No quantization noise needed , even if using ANTIC Edited February 23, 2012 by emkay Quote Link to comment Share on other sites More sharing options...
andym00 Posted February 23, 2012 Share Posted February 23, 2012 Seeing the NES "emulation" .... the sound quality could be perfect. Always the same: Low notes played via software, high notes played via POKEY's generator: Remember, it has two 16 bit channels..... No quantization noise needed , even if using ANTIC It was only a simple test because I was getting bogged down with writing a whole new music driver, and this allowed me to concentrate on what was important rather than implementing a bad music driver for now.. Quote Link to comment Share on other sites More sharing options...
emkay Posted February 23, 2012 Author Share Posted February 23, 2012 What still makes me wonder.... after all those decades, why no one has built such a combined tracker for the A8. Using all CPU and POKEY capacities for a good sound/music demonstration.... and vary .... to most free CPU with good POKEY sounds, depending on the CPU speed a game needs. Quote Link to comment Share on other sites More sharing options...
andym00 Posted February 23, 2012 Share Posted February 23, 2012 I guess because it's not really useful for a game or a demo.. I know in 64 land that half the challenge is to push the machine to the limits sound-wise with what's considered a normal player, actually seeing what weirdness lies under the bonnet that no-one has ever heard before and making it do things people haven't dreamt off.. I mean as an example of this, listen to this.. A regular sound player, 50hz, no silly raster time (although you can't see it in the video, it is!).. And I don't mean get excited by the speech.. That's cool, but the bass is awesome, as is most of the damned song http://www.youtube.com/watch?v=XBLir3zTwkY It sounds astonishing to my ears for a plain old SID, for a 50hz, 20-30 rasters player.. And that's what I think people get a kick out of, pushing the hardware to its limits.. But I suspect a lot of the Pokey world are the same If you want a tracker with some a few additional low-overhead voices then surely the answer is to just write it ? That's what I have to do when ever I want something doing.. And just to balance out the thread a little http://www.youtube.com/watch?v=in16hHDKPs4&feature=related http://www.youtube.com/watch?v=C3-YcpVowdA&feature=related Has to be done, after all, I'm a fully signed up member of the SID appreciation society Quote Link to comment Share on other sites More sharing options...
emkay Posted February 23, 2012 Author Share Posted February 23, 2012 We know, SID is done to suite low sounding stuff. It's the general key for the success of the C64. Quote Link to comment Share on other sites More sharing options...
andym00 Posted February 23, 2012 Share Posted February 23, 2012 Just wait and see.. There's more to come with the stuff I'm playing with, one of which is to massively reduce the interrupt rate, I mean somewhere in the region of 8x, maybe more, but without sacrificing the underlying 15.6k rate.. So then you get the best of both worlds Who knows what next.. Maybe even 32k becomes possible (null) Quote Link to comment Share on other sites More sharing options...
emkay Posted February 23, 2012 Author Share Posted February 23, 2012 And, btw: SID 8580 is from 1985 .... I still wonder why people still talk about "SID" as a single Chip. It's exactly a row of different chips. And , to see it from the technical side, SID 8580 is only a compatible chip to the 6581 series... Quote Link to comment Share on other sites More sharing options...
emkay Posted February 23, 2012 Author Share Posted February 23, 2012 And something different: I have been doing a thousands of demonstrations of what POKEY can do. But Raster never treated my proposals well, doing the needed updates on the RMT. Keep in Mind, this is even done before some patched RMT versions were available.... The Title tells the main point.... http://www.youtube.com/watch?v=tCYMMc2ctQo 1 Quote Link to comment Share on other sites More sharing options...
emkay Posted February 23, 2012 Author Share Posted February 23, 2012 (edited) I mean, has anyone ever heard programmed speech on the A8 in a game? This tune just uses some Instrument envelope at 50Hz..... Edited February 23, 2012 by emkay Quote Link to comment Share on other sites More sharing options...
+Stephen Posted February 23, 2012 Share Posted February 23, 2012 Wow - I really like what you did at the 4:00 mark. You sure you don't want to take a stab at writing a tracker? You know what it takes to get the good sounds out of PoKey. If you build it, they will come Quote Link to comment Share on other sites More sharing options...
emkay Posted February 24, 2012 Author Share Posted February 24, 2012 Just wait and see.. There's more to come with the stuff I'm playing with, one of which is to massively reduce the interrupt rate, I mean somewhere in the region of 8x, maybe more, but without sacrificing the underlying 15.6k rate.. So then you get the best of both worlds Who knows what next.. Maybe even 32k becomes possible (null) The idea around it is good. The high "sampling rate" comes with the "simple" square wave producing. In theory you could produce independent waveforms with that, throwing different "channels" through the stream. Because the resulting waveforms always changes slightly, the quantization-noise gets less recognized, making the sounding quality "looking" better. Which is ok, because "senses" want to be illusionized If that was possible to use in "working" games, I'd jump over skyscrapers, you know . It's still the solution for the A8. Using a rather low sampling rate with that technique.... well.... the PAL A8's CPU sleeps ~20% (or more) in 99% of the available games.... Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted February 24, 2012 Share Posted February 24, 2012 programmed speech? Alley Cat (ok... animal speech ) Quote Link to comment Share on other sites More sharing options...
Irgendwer Posted February 24, 2012 Share Posted February 24, 2012 (edited) I mean, has anyone ever heard programmed speech on the A8 in a game? Poker SAM (http://atari.fandal....p?files_id=2603) Gossip? (http://atari.fandal.cz/detail.php?files_id=1954) Edited February 24, 2012 by Irgendwer Quote Link to comment Share on other sites More sharing options...
emkay Posted February 24, 2012 Author Share Posted February 24, 2012 I mean, has anyone ever heard programmed speech on the A8 in a game? Poker SAM (http://atari.fandal....p?files_id=2603) Gossip? (http://atari.fandal....p?files_id=1954) SAM is a full digital speech prozessor. The "speech in Gossip" in't even aiming to sound like vocals.... Sometimes I understand why..... Quote Link to comment Share on other sites More sharing options...
Irgendwer Posted February 24, 2012 Share Posted February 24, 2012 SAM is a full digital speech prozessor. And this isn't programmed? (As far as I understand, you wouldn't take 'Kennedy Approach', '221b Baker Street' etc. into account, since the voices are based on samples, but what is your problem with SAM?) 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.