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

AY8930 PWM issue in audio export. #2276

Open
FloResGaming opened this issue Nov 28, 2024 · 0 comments
Open

AY8930 PWM issue in audio export. #2276

FloResGaming opened this issue Nov 28, 2024 · 0 comments
Labels
bug Something isn't working needs an analysis closer look is needed to determine the nature of an issue

Comments

@FloResGaming
Copy link

FloResGaming commented Nov 28, 2024

So I made a track that uses the AY8930. Sound great due in part to the PWM. Now I don't know everything about the AY8930, but I did attempt to make a smooth PWM with the Tone (Square waveform) + Noise (using the AND/OR mask stuff). I meticulously set different noise frequencies and pitches (for the Tone), and even initiated the track with a specific pitch.

It's only 1 pattern that loops, but each it plays it should start with thin pulse (approx. 0% duty), that goes from that to square (approx. 50% duty), and then rebounds back to that initial thin pulse by the end of the pattern. And I made sure that it was like that when I played the track in the beginning til the end, as the track doesn't start with the PWM I described, it comes in later in the track. So I wanted to make sure that part came in with the right pulse.

After it sounded good enough for me I exported the audio, reluctantly. I say reluctantly, since I expected something to be off, knowing how finnicky the AY8930 is with that feature. Lo and behold, it sounds like the PWM starts and ends with a different pulse (approx. 37.5%), and I didn't need an oscilloscope to find that out. It still sounds smooth but the pulse still throws me off. I just wonder the output sounds different from the tracker's playback.

My file: https://drive.google.com/file/d/15VUb_Vo_kYsBGEUOSN7PMk_ktcQRqMxy/view?usp=drive_link
It's the 2nd channel first chip (the AY chip)

@freq-mod freq-mod added bug Something isn't working needs an analysis closer look is needed to determine the nature of an issue labels Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs an analysis closer look is needed to determine the nature of an issue
Projects
None yet
Development

No branches or pull requests

2 participants