On Thu, Jul 03, 2008 at 07:30:12PM -0400, Ray Arachelian wrote:
could use some other library such as Allegro for this,
but meh, it
really should be properly handled under wx. (I've no idea if this is
handled properly in Qt or not.)
Indeed. And I really should be able to use the wheelbrace from my car
to sew a patch on my jeans.
For sound emulation you want to be able to compose a
sound buffer
containing the wave and play it back on the fly and also you should be
able to add more data to the sound buffer or somehow work with it like a
circular buffer... Lisa's sounds are very limited (just square waves
produced by a VIA's shift register, so it's not too bad.)
Ideally you should be able to play MIDI files (or play them from
memory), work with multiple voices, and be able to handle envelopes for
notes, etc. it would be really cool for example to be able to build a
C64 SID emulator using wxWidgets for example.
Why would you use a graphics toolkit to write an audio app? Wouldn't it
be better to use an audio toolkit to handle the sound and leave the
graphics toolkit to do the graphics?
Incidentally, I'm surprised no-one has mentioned SDL for this yet.
Gordon