Open bsangston opened 7 years ago
@Bsangston I took a quick look and regarding your patch compile times, on account of the size and complexity of your patch, it can take up to 30 seconds for the patch to be processed in the first place, and an additional 90 seconds to generate the unity binary. When you say that the page is timing out, do you mean that you are getting an error? Or that the page simple seems to be loading for ever? And if it is the latter, how long are you waiting? Are are welcome to download the unity source and compile it locally using the included Xcode project, if that works better for you.
Regarding why your patch is crashing, the culprit is probably the [until 4096]
object. You are probably experiencing a stack overflow. Secondly, FYI you can't read below index 0 from a table, so your [clip -2048 2048]
really gets turned into [clip 0 2048]
. It may not be doing what you think that it's doing. Finally, if you want a tanh-like signal distortion, then I suggest that you use the hv.tanh object in heavylib. We use it all of the time, and it's been specifically optimised.
Okay, thanks for the reply, I'll check out the hv.tanh object for sure. And with regard to compilation times, I fully expect the 30-90s wait you mentioned, but the webpage is timing out. Here's a screenshot:
Like I said, I'm able to download the patch by hitting reload, but the webpage actually never loads.
Hmm. It may be that Chrome itself is timing out because the request is taking so long, rather than the heavy site necessarily doing anything bad. Have you tried the uploader script?
I have a very complicated procedural music patch that has been working fine in Unity, but after adding a small distortion object, it causes Unity to crash on play. I've isolated it to this particular patch (i.e. it works fine without it and no other changes), but all of the objects are supported by Heavy and I'm receiving no error messages in Pd. Runs perfectly fine as a standalone Pd patch. Any ideas? Here's the patch, and I'll attach the crash report below.
I should also note that the Heavy servers seem unable to reliably handle a download request for my patch -this started a few iterations ago, and I thought it may have just been a one time thing, but so far the webpage has consistently timed out trying to process a download request for a compiled Unity plugin of my patch (again for Mac OSX x86_64). I'm able to obtain the download by attempting to reload the page, but the page actually doesn't reload.