Simple DCF filter in BASIC
This project just started as a joke while discussing the possibilities of using the Commodore 64 SID filter as a realtime FX unit at the prophet64-forum.
The main purpose was to have a really simple DCF application for the breadbox which was easy to realize in plain BASIC.
As you may know Commodore didn't forget about the SID's external in, even if it's hiding behind PIN #5 of the Audio/Video jack. It's difficult to find an adapter cable but easy to DIY. Unlike some people think it would be a sample-input it's just a direct connection to the SID's DCF/DCA in (aka EXT-IN).
To use the filter one has to switch on the EXT-IN in register #17, set the appropriate filter mode and DCA volume in register #18. The values for cutoff and resonance are set through registers #15/16 and the last 4 bits of #17. As long as there're no hardcore calculations required the BASIC language is suitable to perform this tasks ;).
Since I came up with that application at the prophet64-forum, where most people already got POTs attached to their breadboxes, I also went for a set of paddles to control cutoff and resonance. Pimping a C64 with a set of pots doesn't demand more than a pair of 470K potentiometers, a female 9 PIN SUB-D (aka "joystick plug") and just weak soldering skills. If you're up for it check the Getting Started w/ the Prophet64 manual which has the schematics...
Also, prophet64 enthusiasts tend to have the SID2SID, so support for a 2nd SID chip installation is granted as well. Last but not least, there are 4 filter modes to choose from: low-, high- and band-pass and notch.
Allright, once your Commodore got his input cable and pots you're ready to download and transfer the program. You may use Star Commander, anything else or just type in the short basic listing.
//
rest of the article...
via robotsinmotion
thanks for posting this Ron !
The main purpose was to have a really simple DCF application for the breadbox which was easy to realize in plain BASIC.
As you may know Commodore didn't forget about the SID's external in, even if it's hiding behind PIN #5 of the Audio/Video jack. It's difficult to find an adapter cable but easy to DIY. Unlike some people think it would be a sample-input it's just a direct connection to the SID's DCF/DCA in (aka EXT-IN).
To use the filter one has to switch on the EXT-IN in register #17, set the appropriate filter mode and DCA volume in register #18. The values for cutoff and resonance are set through registers #15/16 and the last 4 bits of #17. As long as there're no hardcore calculations required the BASIC language is suitable to perform this tasks ;).
Since I came up with that application at the prophet64-forum, where most people already got POTs attached to their breadboxes, I also went for a set of paddles to control cutoff and resonance. Pimping a C64 with a set of pots doesn't demand more than a pair of 470K potentiometers, a female 9 PIN SUB-D (aka "joystick plug") and just weak soldering skills. If you're up for it check the Getting Started w/ the Prophet64 manual which has the schematics...
Also, prophet64 enthusiasts tend to have the SID2SID, so support for a 2nd SID chip installation is granted as well. Last but not least, there are 4 filter modes to choose from: low-, high- and band-pass and notch.
Allright, once your Commodore got his input cable and pots you're ready to download and transfer the program. You may use Star Commander, anything else or just type in the short basic listing.
//
rest of the article...
via robotsinmotion
thanks for posting this Ron !
2 Comments:
At Friday, March 16, 2007 11:49:00 am, Anonymous said…
dito - thanks for posting RSCDF here :)
At Wednesday, April 18, 2012 10:08:00 am, linge said…
I am an Louis Vuitton Handbags active boy.I like sports very much.I am good at Chanel Handbags swimming I also like riding a bike.Because Gucci Handbags my home is far from school,I ride to school every day.I am kind-hearted.Prada Bags If you need help,please come to me I will try my best to give Burberry Bags help to you.I hope we can be friends.Previously,clothes are always MIU MIU Handbags broken supplement and complement the Dior Handbags Zaichuan.Now,each bought a set of clothes for Gesanchaiwu.Changes in home Cheap Louis Vuitton Handbags really fast.Previously,hard to eat things that are their own species,and so mature and re-hired Louis Vuitton Handbags to eat.
Post a Comment
<< Home