Re: [PD] GUI freezes on windows?

2021-11-16 Thread Peter P.
* Lucas Cordiviola [2021-11-16 10:52]: > Sorry it was a fast and bad answer. > > There's a math that puts together: delay * samplerate / blocksize. : > >     int nbufs = sys_schedadvance * as.a_srate / (blksize *100.); > > Here "nbuf" gets a negative value (due to integer overflow) for

Re: [PD] pdmax - broken pipe in macos?

2021-11-16 Thread João Pais
It's still 0.51-4 being used. But the strange part is that it works in one version and it doesn't in the other. I think I remember also working completely in an older system, but now I would need to have access to it again. If by any chance you're using pd 0.52 (test version) then I think

Re: [PD] pdmax - broken pipe in macos?

2021-11-16 Thread Christof Ressi
You can attach GDB to a running or even a not-yet-running application. When that application crashes, you get a backtrace. That's how I found the crash in the [pd~] subprocess. Personally, I use Qt Creator because it has a nice graphical front-end for GDB where I can easily step through

Re: [PD] pdmax - broken pipe in macos?

2021-11-16 Thread Miller Puckette via Pd-list
If by any chance you're using pd 0.52 (test version) then I think it can crash when used as a subprocess (this should be fixed for the next test release). If you're using Pd 0.51-4 the problem is something else. The "broken pipe" message means the subprocess died suddenly for some reason. But I

Re: [PD] GUI freezes on windows?

2021-11-16 Thread Miller Puckette via Pd-list
OK, this should be fixed for the next test release (thanks Dan) cheers Miller On Tue, Nov 16, 2021 at 06:51:20AM -0300, Lucas Cordiviola wrote: > Sorry it was a fast and bad answer. > > There's a math that puts together: delay * samplerate / blocksize. : > >     int nbufs = sys_schedadvance *

[PD] [PD-announce] [websocketserver] v0.0.2

2021-11-16 Thread Lucas Cordiviola
With this update now the object also works on macOS :) With [websocketserver] you can send/receive to web-browsers via websockets. There's an html example in the help patch. Javascript knowledge is needed to interface the web-browser. It's up on Deken (for Linux/macOS/Windows). Please report

Re: [PD] GUI freezes on windows?

2021-11-16 Thread Lucas Cordiviola
Sorry it was a fast and bad answer. There's a math that puts together: delay * samplerate / blocksize. :     int nbufs = sys_schedadvance * as.a_srate / (blksize *100.); Here "nbuf" gets a negative value (due to integer overflow) for delay 80 blocksize 64. Of course its noticeable because

Re: [PD] GUI freezes on windows?

2021-11-16 Thread Peter P.
Hi Lucas, (I am taking this back onto the mailing list) * Lucas Cordiviola [2021-11-15 23:56]: > On 11/15/2021 6:01 AM, Peter P. wrote: > > Dear Lucas, > > > > the patch attached. Patch graphics freezes can't be reproduced but > > appear to happen frequently when triggering messages with the