You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quite a strange thing I noticed. It's kind of hard to notice, but I got the music ear so it bugs me haha!
Anyways, seems like there is some popping/crackling on the square waves.
So usually cracking happens from drops in the signal, thus, incorrect PCM samples. But I did the following screenshot last night:
So I know it's not the square wave, but you would hear it. And what I am trying to show is that there is no crazy spikes, and it's just binary (high / low) values. Thus crackling doesn't make sense.
One theory is I need to smooth the wave, and not instantly drop for the square waves and things. Which when I made a Jsfiddle (and accidentally closed the tab and lost it), the built in oscillator does a very slight diagnonal from high/low.
But a PR linked below, I simply changed the sample rate to match Elmboy, and things still crackled, but slightly less pronounced. So I may either be going crazy, or possibly it is an issue with an uneven sample rate vs. how often we produce samples.
The text was updated successfully, but these errors were encountered:
Doing a quick scan, there is not a single sample for a square wave that is not either 0 0r 0.10777. Thus the wave is correct. but let's write a node script that will go and make sure everything length is the same. E.g something like:
0: 27 in a row
0.10077: 27 in a row
0: 27 in a row
0.10077: 27 in a row
Because I bet if the sample lenghts aren't the exact same. Maybe that causes the crackling? 🤔 Which would kind of make sense, since as we stated before, the sample rate seems to affect this...
Quite a strange thing I noticed. It's kind of hard to notice, but I got the music ear so it bugs me haha!
Anyways, seems like there is some popping/crackling on the square waves.
So usually cracking happens from drops in the signal, thus, incorrect PCM samples. But I did the following screenshot last night:
So I know it's not the square wave, but you would hear it. And what I am trying to show is that there is no crazy spikes, and it's just binary (high / low) values. Thus crackling doesn't make sense.
One theory is I need to smooth the wave, and not instantly drop for the square waves and things. Which when I made a Jsfiddle (and accidentally closed the tab and lost it), the built in oscillator does a very slight diagnonal from high/low.
But a PR linked below, I simply changed the sample rate to match Elmboy, and things still crackled, but slightly less pronounced. So I may either be going crazy, or possibly it is an issue with an uneven sample rate vs. how often we produce samples.
The text was updated successfully, but these errors were encountered: