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
2011-06-08 05:25
tlr

Registered: Sep 2003
Posts: 1790
There's only one filter but you can pass any combination of the voices through it.
2011-06-08 08:37
Frantic

Registered: Mar 2003
Posts: 1648
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
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: 849
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 ?
 
... 12 posts hidden. Click here to view all posts....
 
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
The Syndrom/TIA/Pret..
Linus/MSL
Didi/Laxity
REBEL 1/HF
hedning/G★P
Mike
Chrx/Design/Chaos
saimo/RETREAM
New Design/Excess
zscs
csabanw
Guests online: 83
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 X-Mas Demo 2024  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Performers  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

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