Login
Back to forumSee the full topicGo to last reply

Posted By

Gaia
on 2002-08-31
 To Mike: Sound

Well, I do also a kind of a table for digi... I used a formula that was published on the plus/4 mailing list yet back in 1998... Kinda should be the same as yours.

BUT: I do render the sound into the same buffer as the "regular" audio goes. And it is not mixed at all with them (thus: it is either digi or squarewave). At every new scanline I fill the buffer with new values. For the digi it is now dead simple:

memset( buffer, digi_table[mem->Ram[0xFF11]], length);

I thought I'd skip rendering normal audio every scanline (it's too slow) and just keep the digi values in a separate buffer. It would be taken care of at VBlank then and mixed with the rest but I don't know how the whole would hold together... Have to try yet...



Back to top


Copyright © Plus/4 World Team, 2001-2024