• jameslo

    Per this paper, I think the answer is "yes." Search down to heading "Windowing for signals with a DC offset." For a while I was thinking that that second bin was a side lobe of the first bin which the hann window wasn't suppressing very well, but from my reading, side lobes occur when there is a non-integral number of signal cycles in the FFT analysis window which makes it look like the signal has a discontinuity, i.e. high frequencies, some of which alias. But none of this is true of a constant non-zero signal, so I think calling the second bin a "side lobe" is probably wrong.

    I guess the moral of this story is that interpreting these FFT spectrum displays isn't as straight-forward as one might think. One might have guessed that from the fact that there are many different windowing functions, each with different strengths and weaknesses.

    posted in technical issues • read more
  • jameslo

    [audiolab/pp.spectrum~] performs a 4096 sample FFT using a hann window. That means that at a 44100 sample rate, each bin is approx 10.76 hz wide. Looking at the following patch, is it correct to say that the first FFT term magnitude is non-zero because the signal is DC, and the second FFT term magnitude is non-zero because of the hann window?

    Screenshot 2026-11-18 072852.png

    posted in technical issues • read more
  • jameslo

    @mosef123 It doesn't (to me), but if you are asking how to generate a stereo sound that draws a square on a GEM oscilloscope when L and R drive X and Y, then here's a way:
    square on GEM scope.pd

    Screenshot 2026-10-11 063416.png

    posted in patch~ • read more
  • jameslo

    @hwathwy Well if you have a chance, post what you've tried and why it doesn't meet your requirements. I gotta step out for a few hours but maybe someone else can help you in the meantime.

    posted in technical issues • read more
  • jameslo

    @hwathwy Yeah, I'm amazed too, but not with myself, and not in a good way :)

    posted in technical issues • read more
  • jameslo

    @hwathwy Wow, I'd love for someone to explain/defend this behavior because to me it's not good. Why should the behavior of [text get] be different for the same text, dependent on how it was entered? What state is being hidden? Anyhow, I found that the set method for [text define] works more as I would expect, try it and let us know if it works for you.Screenshot 2026-09-28 174912.png

    posted in technical issues • read more
  • jameslo

    I figured it out! My last post with a screenshot and instanceIDService3.zip can be made to work with plugdata by replacing [tcpclient] with [netsend -b]. In my previous tests I overlooked that [tcpserver] requires binary mode.

    posted in technical issues • read more
  • jameslo

    @jamcultur Oh! I didn't know one could change an application's priority, thanks.

    posted in technical issues • read more
  • jameslo

    @ddw_music But couldn't it also be that Pd didn't empty the queue fast enough, either due to Pd being busy doing something else, or Pd not getting enough CPU cycles?

    posted in technical issues • read more

Internal error.

Oops! Looks like something went wrong!