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 > SID oscillator/envelope leakage in emulation?
2024-01-30 12:09
aeeben

Registered: May 2002
Posts: 42
SID oscillator/envelope leakage in emulation?

Try this on a real machine:

poke54296,15:poke54277,12:poke54278,12:poke54273,15:poke54276,33:poke54276,33

After the sound has decayed you can still hear the note pitch, although very faintly. It's louder than static though. I've observed this at least on the old SID.

poke54273,0 or poke54296,0 mutes it

Has anyone measured this leakage, does it also happen on 8580, and is it emulated in any SID emulator?
2024-01-30 12:24
chatGPZ

Registered: Dec 2001
Posts: 11149
And does it happen on ALL 6581? Is it dependent on temperature?
2024-01-30 12:28
Jammer

Registered: Nov 2002
Posts: 1293
Quote: And does it happen on ALL 6581? Is it dependent on temperature?

It leaks on 8580 as well. Cutting sound with testbit/zero wave only (but without triggering release) is the main way to reproduce. I'm not sure if it's temperature dependend but behaviour occurs also right away after launching C64.
2024-01-30 13:24
F7sus4

Registered: Apr 2013
Posts: 112
"Measured" as in tested what is the hardware cause behind it, or "measured" as in tested the behavior of the sound?

For the latter:
https://csdb.dk/forums/?roomid=14&topicid=163246#163676
2024-01-30 13:38
Jammer

Registered: Nov 2002
Posts: 1293
Quoting F7sus4
"Measured" as in tested what is the hardware cause behind it, or "measured" as in tested the behavior of the sound?

I bet the former in the long run ;)
2024-01-30 15:47
chatGPZ

Registered: Dec 2001
Posts: 11149
I'll point Leandro at this thread (no idea if he has csdb account)
2024-01-30 18:50
vincenzo

Registered: Sep 2003
Posts: 79
Hypersynth SIDizer VST plugin does emulate osc leakage. Yeah, it's not an "emulation" emulation, but it does a pretty good job of SID sound emulation if you want to produce music with VST's.
2024-01-30 19:08
chatGPZ

Registered: Dec 2001
Posts: 11149
https://github.com/libsidplayfp/libsidplayfp/issues/102
2024-01-30 21:30
Jammer

Registered: Nov 2002
Posts: 1293
Valid points there but I wouldn't underestimate the issue. Background noises are really minimal in amplitude, compared to this phenomenon. However, I'm recording SidFX output via interface with really decent parameters so that might also contribute.
2024-01-30 21:43
Unknown

Registered: Dec 2023
Posts: 5
I will give this a try on a real C64 with three different 6581 and two different 8580. I could do the same tests on a C128, but only with 6581.

Unfortunately, the speakers in my available monitors add a very loud hum when the volume is cranked up, so I'm not sure how meaningful these tests can really be.

BTW, I'm reFX-Mike on GitHub.
2024-01-31 10:16
Youth

Registered: Aug 2003
Posts: 41
ChipSynth64 also has oscillator leakage emulation.
From the manual:

Osc Leak: Turn on emulation of signal going through even when envelope is fully closed.
2024-01-31 10:23
Jammer

Registered: Nov 2002
Posts: 1293
I'll try to do some thorough test with various register values before sound cut kicks in and record everything in free time.
2024-02-08 22:57
chatGPZ

Registered: Dec 2001
Posts: 11149
r44982 implements this now - get a build here in 20 minutes and check it out :)
2024-02-12 18:58
encore

Registered: Aug 2010
Posts: 64
I remember playing Yogi Bear on my C64C (with a 6581R4 inside) in the early 90s and hearing the sound effects continuously going on in the background (where it was supposed to be silent). It's nice to now also being able to hear it in emulation.
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
Fabu
TheRealWanderer
The Phantom
sebalozlepsi
Conjuror
Facet/G★P ^ Bonzai
MMS_Z
Knut Clausen/SHAPE/F..
Dr. Doom/RAD
Shake/Role
Guests online: 129
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 No Bounds  (9.6)
7 Comaland 100%  (9.6)
8 Aliens in Wonderland  (9.6)
9 Uncensored  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Happy Birthday Dr.J  (9.7)
2 Layers  (9.6)
3 It's More Fun to Com..  (9.6)
4 Cubic Dream  (9.6)
5 Party Elk 2  (9.6)
6 Copper Booze  (9.6)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Rainbow Connection  (9.5)
9 Dawnfall V1.1  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Veto  (9.6)
3 Facet  (9.6)
4 The Sarge  (9.6)
5 Carrion  (9.5)

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