Posted By
Chicken on 2016-01-29 08:03:21
| Re: how to play 8bit samples
That's not quite correct. Even without any tricks TED has 9 volume levels (00-08) that can be used for digi playback. Though, already in the 80s digi playback routines used certain values for $ff11 to approach something that comes closer to 4bit output. (Btw, the early digi playback routines didn't use timers but were timed by NOPs and loops. The first time I saw a timer used was in some demo by Boomby or so.)
Back in the days of the mailing list, we discussed digi playback using a duty cycle routine. I think TCL stated that it's possible to achieve something close to 5bit playback. However, that's done in the latest wave converters as well – without eating up all cycles
The easiest way to playback 8 bit samples is to use a simple look-up table. Csabo included one – supplied by TCL – in his code that approaches 8bit resolution. So it's really already there and you just have to look at it
|