Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAC sound on some tracks has distortion... #41

Open
Braincell1973 opened this issue Apr 14, 2024 · 7 comments
Open

DAC sound on some tracks has distortion... #41

Braincell1973 opened this issue Apr 14, 2024 · 7 comments

Comments

@Braincell1973
Copy link

Hi,
Using the dual PWM & DAC firmware 0.14 i have noticed some tracks have distortion......

But on PWM output on the same dual firmware the sound is superb.......

https://youtu.be/HWDtWiZlBCA?si=cKPHV06s_XPNz3uW

This should help diagnose....

Lee

@frntc
Copy link
Owner

frntc commented Apr 14, 2024

This sounds as if Phi2-clock and that what the SKpico expects differ (DAC scratchy, PWM fine). I assume PAL/NTSC is set correctly in the config tool? Can you measure Phi2 in your machine?

@modeler
Copy link

modeler commented Apr 20, 2024

I tried the tune in question (https://hvsc.csdb.dk/MUSICIANS/M/Mitch_and_Dane/Dane/Seeress_Foretold_My_Future.sid) through the DAC audio on my short board C64C (0.14 DAC only, SKpico_DAC_LED.uf2) and it sounds perfect, no distortion at all.

@Braincell1973
Copy link
Author

Braincell1973 commented Apr 21, 2024 via email

@modeler
Copy link

modeler commented Apr 22, 2024

I will try another SK pico in one of my c64s, good to know the dac only works ok, DAN , are you able to try the pwm and dac firmware on your board?

I tried it with the SKpico_v014/SKpico_DAC_PWM.uf2 firmware and it plays fine:

https://youtu.be/bZhRAtnbOvU

I do have a C128 myself though, will dig it out and see if I mine behaves the same.

@modeler
Copy link

modeler commented May 1, 2024

@Braincell1973 I was able to test the DAC firmware with my C128 today and the tune played fine (as a PSID executable, attached). Sorry for the delay, the darn thing had a bad RAM chip so had to repair that first!

I wonder if it is the demo itself that is causing the issue? I have seen one case where the audio in a demo is distorted with SKP (PWM and DAC), yet it plays as a stand-alone PRG quite happily. Might be worth you trying this tune on its own on your machine?

https://drive.google.com/file/d/1FNEtHFiG0NaTitvadJIvSaTmRiaBG085/view?usp=sharing

@modeler
Copy link

modeler commented May 10, 2024

Listening to a long SID tune via the DAC output, I somehow managed to hear the same sort of distortion. It crept in after about eight minutes and swamped the audio with white noise on all tunes. I had to power cycle the C64 to clear it. Haven't been able to reproduce it since, so not sure if the problem is related or just an anomaly.

@Braincell1973
Copy link
Author

Braincell1973 commented May 10, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants