| |
carlsson
Registered: Nov 2002 Posts: 41 |
SID out of tune?
Recently a Speccy person elsewhere posted that:
Quote:The SID .. tended to be out of tune at extreme frequencies (the Speccy's beeper also suffers this problem). Where as the AY is much closer to perfect pitch.
Apart from being typical C64/SID-bashing (most Speccy people despise the SID for muddy sound blah blah blah), does the poster have a point? I can't recall I ever heard a SID tune that suffers from lack of frequency resolution so it sounds out of tune, except from when it was done on purpose or the musician didn't bother to get a good frequency table.
I know from personal experience that the VIC-20 has a very limited frequency resolution, but it is a completely different chip and supposedly nobody mixes up the two. Maybe if one uses very high frequencies (several thousand Hz?) on the SID, these notes will not be in tune, but few people can hear the difference, and it depends on monitor or other speakers if they can reproduce the notes faithfully. |
|
... 67 posts hidden. Click here to view all posts.... |
| |
Laxity
Registered: Aug 2005 Posts: 459 |
Quote: The cpu speed is 3.5469 MHz
Ok.. 3.5MHz, 3.5469MHz .. Ok, I though the framerate was impressive, but with 250% extra cpu power, no wonder. |
| |
Scout
Registered: Dec 2002 Posts: 1570 |
Quote: That might very well be, but personally the discussed 3D effect reminds me of a demo by Farbraush and Scoopex.
http://www.scene.pl/index2.php?f=prods_detail&prodid=8 (Sorry it's a polish page, but that was the first thing showing up in my Google search)
Acme & Psychic Link did it first in Paper -> http://www.pouet.net/prod.php?which=75
---
Commodore 64 Scenemusic Podcast
http://8bitmayhem.blogspot.com/ |
| |
TDJ
Registered: Dec 2001 Posts: 1879 |
Yes, Paper rocked as well .. man, has it been almost 10 years already? :(
What I like about the spectrum demo is that the colours are all over the place. Reminds me of the Hein de Kort comics :) |
| |
Scout
Registered: Dec 2002 Posts: 1570 |
Quote: Yes, Paper rocked as well .. man, has it been almost 10 years already? :(
What I like about the spectrum demo is that the colours are all over the place. Reminds me of the Hein de Kort comics :)
10 years...yeah :-|
And yes, Hein de Kort! :D
"Aaa! stroke my pussy"
"I can't find a pussy over here"
"but there's a goat that needs some attention"
Heheh
---
Commodore 64 Scenemusic Podcast
http://8bitmayhem.blogspot.com/ |
| |
TNT Account closed
Registered: Oct 2004 Posts: 189 |
Quote: Ok.. 3.5MHz, 3.5469MHz .. Ok, I though the framerate was impressive, but with 250% extra cpu power, no wonder.
Clockspeed isn't direct indicator of CPU power, you know. It always megahurts me when someone implies that ;) |
| |
John West Account closed
Registered: Aug 2004 Posts: 4 |
Quoting GrahamAnd additional to that the frequency is inverse linear which allows the same accuracy at ALL frequencies
It's actually linear: Fout = (Fn*Fs/1677216). The accuracy gets a little worse at lower frequencies (the numbers are smaller, so it has fewer bits to represent them accurately). But it's still pretty good.
The worst are C0 and D0 on PAL machines, with an accuracy of 0.16% and 0.15% respectively. Every other note is better than 0.1%. Every note above A3# (NTSC) or G3 (PAL) gets better than 0.01%. I'm not a musician, but surely that's accurate enough.
Do I have the enthusiasm to track down docs on Spectrum and AY sound and repeat the calculations for them? ... nah.
Lua (http://www.lua.org/) script used to calculate the errors:
step = 2 ^ (1/12)
pal = 985248
ntsc = 1022727
for i = 0, 95 do
note = 440 / (step^(57-i))
palS = math.floor( 0.5 + (2^24)*note/pal )
ntscS = math.floor( 0.5 + (2^24)*note/ntsc )
palF = pal*palS / (2^24)
ntscF = ntsc*ntscS / (2^24)
palE = 100*(palF - note)/note
ntscE = 100*(ntscF - note)/note
print( string.format( "%02d %8.2f %04x %04x %8.2f %8.2f % 2.3f % 2.3f",
i, note, palS, ntscS, palF, ntscF, palE, ntscE ) )
end
It prints desired frequency, SID register settings for PAL and NTSC, actual frequency for PAL and NTSC, and error. |
| |
John West Account closed
Registered: Aug 2004 Posts: 4 |
I did the AY calculations too. If it's the AY-3-8910 that they're talking about, they got it the wrong way around. SID has very accurate notes. The AY-3-8910 is terrible. At 1MHz, the higher notes are up to 1.4% out. That's 1/4 of the way to the next note. |
| |
Laxity
Registered: Aug 2005 Posts: 459 |
Quote: Clockspeed isn't direct indicator of CPU power, you know. It always megahurts me when someone implies that ;)
Stupid conclusion, I know!..
I still believe that a z80 variant clocked at 3.5MHz is relatively faster than a 6510 clocked at 0.985MHz/1.023MHz. Might just be me, unless ofcourse most instructions take 10+ cycles on the z80 ;) |
| |
TNT Account closed
Registered: Oct 2004 Posts: 189 |
@Laxity: you get about or over that in everything but carefully crafted code. (Well, the latter is called optimising, isn't it ;)
http://www.geocities.com/SiliconValley/Peaks/3938/z80time.txt
I can calculate some statistics from my own (non-demo) code, but without emulating it instructions inside loops get underrepresented. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
Quote:I still believe that a z80 variant clocked at 3.5MHz is relatively faster than a 6510 clocked at 0.985MHz/1.023MHz. Might just be me, unless ofcourse most instructions take 10+ cycles on the z80 ;)
its like that actually... in average you need about 4 times the clockfrequency for z80 as you need for 6502 to achive the same execution speed. (ofcourse, depending on the actual code, the one or the other will have an advantage). |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 - Next |