Programming a low-pass filter
I have programmed a Sega Master System emulator in Java (although this question is not Java specific) and have finished everything except for the SN76489 sound chip. How this chip makes sound is easy enough - the problem I have is converting it to a form that is playable through a PC/laptop/whatever the JVM is running on. I have identified the steps as follows; As the SN76489 runs at a sample rate of roughly 221khz - this means the waves it outputs have a frequency of up to 110khz (although in practice I doubt anything ever goes this high). I need to therefore implement a low-pass filter