Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Composing > Help: SID Filters
2011-06-08 04:54
SparkyNZ
Account closed

Registered: Jan 2011
Posts: 34
Help: SID Filters

Hi, I'm not very familiar with the use of the SID filters. In particular, it would appear to me from the C64 Ref Guide that you can only assign filters to one channel only?? Or would that be all channels only??

I'm sure I've heard tunes where the filter is doing its job on one channel only (ie. Reyn Ouwehand's work). Where's the best place to find out how to use the filters on the C64?

Cheers
Sparky
 
... 12 posts hidden. Click here to view all posts....
 
2011-06-08 09:16
SparkyNZ
Account closed

Registered: Jan 2011
Posts: 34
Thanks guys. I'm actually writing something similar to GoatTracker so I'll be using the ReSID code from Vice.. so I guess I won't be expecting the filters to work the same as a real C64, but thats OK. Its all for fun. :)

So by the looks of things you just set bits to say include channel 1, 2,3 etc and through whichever filter they go.

Thanks again. I have to say, its awesome to see you all so enthusiastic about the C64. I've been writing tunes for a while and I'm going to have some SID lead synth in my next efforts. No matter what I listen to, I can't stop listening to Cybernoid - you just can't beat SID!! SID rocks!! \m/
2011-06-08 09:34
Conrad

Registered: Nov 2006
Posts: 833
Good to see another SID fan. :) Yes, voice 1,2,3 can be combined depending what you set in $d417... for example:

Filter Voice 1 + 2... = $f3 (bit 0 (voice 1) & bit 1 (voice 2))

Filter Voice 1 + 3... = $f5 (bit 0 (voice 1) & bit 2 (voice 3))

Filter Voice 2 + 3... = $f6 (bit 1 (voice 2) & bit 2 (voice 3))

The left nybble ($f) configures the resonance of the filter pass (or what I like to call personally, the amount of juice put into the filter).

you'll be fine as long as you know binary and hex, which I assume you are.

Good luck with this new editor... also, if you ever want to make it MAC portable, ask someone like Mr.SID... he made the MAC port of GoatTracker.
2011-06-08 10:20
SparkyNZ
Account closed

Registered: Jan 2011
Posts: 34
Quote: Also note that the more channels you route through the filters, the more distortion you will hear, especially on the old SID. Hence, do not expect it to sound the same as in VICE if you route several channels through the filter. (..but maybe this is better emulated in these days. I might not be completely up to date in this regard.)

I am not sure if it helps, but you could have a look at the registers $d415 to $d418 to see basically everything you can do with the SID:

http://unusedino.de/ec64/technical/aay/c64/sidmain.htm

In $D417 you select which of the voices that should be routed through the filters. As TLR says, any combinations of channels can be routed through the filter. In $D418 you select what filter type to use. Again, you can use any combination of filter types at the same time, but since there is only one filter, all the voices that are currently routed through the filter will make use of the same configuration of filter types. (In $d418 you can also change the volume of the SID, but this isn't related to the filter as such, but rather does precisely what I said: it controls the global volume of the SID, no matter if any voices are routed through the filter or not.)

There is also a chapter on the SID in the programmers reference guide. Mapping the C64 also contains info on the workings of the SID. Both of these books are available here:

http://codebase64.org/doku.php?id=books:start


A Mac port? Hell no.. I've already got a GoatTracker player working on my iPod.. :-) Thats the platform I'm aiming for - I want something small to entertain myself on the train. Funnily enough my little program is going to be called TrainTracker..

Actually my code builds on Windows, Mac and iPod since its all SDL/OpenGL based. Cross platform rules!! Android one day.. maybe.. but I'm still probably ages away from seeing my toy work on the iPod. I wonder if there'll be any interest at all. I can't think of anything more fun than being able to knock up SID-sounding tunes on the go. :-)
2011-06-08 18:24
Laxity

Registered: Aug 2005
Posts: 459
i've been working on the exact same thing, only it's to run on the iPad.. If ever finished. :)
2011-06-08 18:36
SparkyNZ
Account closed

Registered: Jan 2011
Posts: 34
Quote: i've been working on the exact same thing, only it's to run on the iPad.. If ever finished. :)

When you drop down into the smaller screen, new challenges arise. The day I bought my iPod I couldnt wait to try SunVox but it was just impossible to use on such a small screen when bouncing around on the train (our trains are pretty old and crap! :) ) .. so I figured I could create an easier GUI. The GUI is the fun part but I've hated the SID player routine. Getting that hard restart stuff working has been doing my head in. Couldn't have done it without help of Cadaver.
2011-06-08 18:42
Laxity

Registered: Aug 2005
Posts: 459
Oh right. Are you emulating the c64 processor running the player from there?
2011-06-08 18:56
SparkyNZ
Account closed

Registered: Jan 2011
Posts: 34
No, I'm using ReSID - it emulates the SID chip so you have twiddle the registers, make it process a number of cycles to give you some samples back which you have to mix etc. All good (hair pulling!) fun. Been a steep learning curve for a non-audio programmer such as myself!
2011-06-09 13:16
Stainless Steel

Registered: Mar 2003
Posts: 966
@Laxity & SparkyNZ:

I'd like to see what GUI you came up with for a touch-screen device, Screenshot's possible ?
2011-06-09 18:09
SparkyNZ
Account closed

Registered: Jan 2011
Posts: 34
Hi Stainless. I'm happy to send a screenshot through sometime. The only screen shots I have are on my Mac and they're pretty basic looking at the moment. My Mac is sitting in the corner of the room while I'm nutting out my SID player. I've been having headaches trying to get the player to work for several weeks and I'm in the middle of seperation at the moment too so its taken a bit of a back seat. Send me a PM with your email if you like and I'll make a note to send you some shots through once I get the Mac plugged in again - or I could send you through a Windows screenshot. It just looks more realistic on the iPhone simulator than it does on Windows etc. Its all fixed screen size at the moment too and in landscape mode - no special stretching or tilting etc. But.. at the end of the day - if it does what I want it to so I can be musically productive, thats what I'm after. Maybe I can find someone to make it look prettier on here as I have no pixel artistic flair whatsoever.. Or lets just say that my career as a graphics artist ended when I upgraded from my Vic20 to a C64. LOL
2011-06-10 16:05
Laxity

Registered: Aug 2005
Posts: 459
I use resid too, but also emulate the 6510, so the player is the same as on the 64 in my environment. So far I have emulation and playback working. The editor part has a long way to go still, and I haven't worked on it since January, because I've been more than busy with other things. :/

Ss, Since I'm not doing the editor yet, there's not so much touch input stuff the check out - only a couple of buttons and windows that can be activated and such.. PC version will probably be finished first before I move on to the iPad build.
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
csabanw
kbs/Pht/Lxt
Apollyon/ALD
Fungus/Nostalgia
fox/bonzai
Ray Manta/DataDoor
Guests online: 145
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 MWS  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.044 sec.