I'm sorry to slow the conversation down, but I think I might need a little clarity to fully understand the suggestions here.
GARTHWILSON wrote:
My understanding is that cynlic was not seeking to do full MIDI and synthesize an orchestra, but just do three voices like the old-fashioned computers games did. That definitely does not require 48K samples per second. A third of that, with a Nyquist frequency of 8KHz should be plenty.
Garth, you're right about my initial intentions for the project's scope. I'm not shooting for something that is either dead-on accurate to the SID or capable of rendering large pieces. Three voices with envelopes and some filters will be fine for me!
If I could ask a dumb question, when you refer to a 8kHz sample rate, are you talking about direct synthesis on the CPU, which is then passed on to the DAC and filter circuitry? If that's the case 8kHz seems a bit low, particularly if you're trying to maintain the upper partials, as commodorejohn said. That being said, I'm not sure that the sounds of the "8-bit era" were exactly characterized by 48kHz fidelity and very complex harmonics. I'll defer to people with more knowledge on that score
! In either case, I wasn't imagining doing direct synthesis on the 6502 (like BigEd has noted). I'm not opposed to going down that road if it is fruitful or actually necessary, but it seems like there are a few options here that don't involve that. If I've misunderstood something, please feel free to enlighten me... I'm quite new to a lot of this.
commodorejohn wrote:
a simple looped waveform of 16-64 samples gives you a fair bit of room to use arbitrary interesting timbres, and isn't at all difficult to implement in hardware.
If I understand Chromatix and commodorejohn correctly, this strategy is kind of similar to how (I think) languages like csound implement their DSP -- allocating buffers of relatively few samples, which are then operated on chunks, producing a distinction between "control rate" and "audio rate" manipulation. I think it's it's also similar to the NES, which has "function generators"
squeezed onto the same chip as the 6502? It seems like an extensible, powerful system, but I'm not sure I really understand the implementation details...yet!