Are your synths being freed? See references to doneAction in EnvGen help.
hjh
Are your synths being freed? See references to doneAction in EnvGen help.
hjh
there are on doneAction:2 yes , no over loading in the plotTree
there is a lot happening but it all run fine wihtout companderD (just volume not flat as you know =D)
I tried running just one CompanderD by group of instrument and by instrument individually it all crashes the same. I use compander specifically for compressing before it works just fine but when I try to add another level for limiting volume i loose it all
initially once I compressed ,sidechained to kick, my sounds I want to draw a line of volume that cannot be passed. jamshark70 can I do compression + limiting with the Amplitude code you gave me ? i m gonna try anyway but I suspect that these compress using envelope but dosent limite volume
o i tried instead to boost volume of the first compressor that uses compander, sidechained to kick, and after put in the limiter. that seem to work with 2 instruments im gonna try with all project a bit later and update =p
well not a solution⦠jeeez how come this is so hard to do
how come this is so hard to do
Going back to a comment from before: If the problem isnāt stated clearly, then the coding process is basically throwing code at the wall and hoping something sticks. The probability of this moving efficiently toward a good solution is extremely low.
TBH at this point I have only the vaguest idea what youāre trying to do. It looks like maybe youāre trying to do a sidechained pad technique, but thereās something about the sidechain input that isnāt working well.
Youāve thrown out a lot of very short, scattershot posts. Each of them has a little information, but the context for each bit of information is not clear. You havenāt posted any code examples.
The likelihood of getting a clear answer for an unclear question is pretty low.
hjh
all right i bring the codes, sorry this hasnt been taken seriously on my end
Here please haha
and there is a MouseY or X to apply cool gating
haha the wink is actualy the ; ) at the end of the statement.
I d rather send the file if thats ok
You sent a link to the file, thatās good enough.
Itās⦠500+ linesā¦
Thereās a concept in programming called āminimal working exampleā ā try to reproduce the issue with the least code possible. The reason why we do this is because itās really hard to make sense of a big block of code, so it helps a lot to focus the code example on the specific issue.
Another testing methodology is to add elements in, one by one ā presumably it wonāt crash with just one element or two, but at some point, youāll add in an element and it will ācrashā (not clear what you mean by that btw) ā so then itās something about that element that causes the trouble. Or remove them one by one until it stops crashing ā then the last one to be removed is suspicious. Thatās a form of ādifferential testing.ā
At this point, I personally donāt have time to pore through 500 lines. If you could reduce it or at least point to specific areas, that would help.
hjh
all right i keep digging thanks it was over 2000 initially i only kept whats mandatory for the all thing to run also i am programmer and am used to the troubleshooting debugging technique you mentioned or piece per piece.
I understand u dont want to trouble yourself with this file simply to say it runs with one cmd + enter or click haha
Maybe tomorrow I could try just running it, see if the crash reproduces on my machine.
Oh, and code bits should go inside backticks: inline, use backticks like single quotes, or for longer blocks:
```
write your code here
```
⦠same as github. Iām sure thereās markup documentation somewhere on the forum.
As youāve recognized, the copy/paste of the code above is pretty well disastrous. Might as well edit and delete ā nobody will try to clean that up. But itās not a big deal because we can get the code from the link.
hjh
thanks I say it runs as it is simply volumes wont settle to one value (even if total flat isnt possible) there is too much gaps and yes i dont know why but companderD crashes once I play few instruments together, but its not implemented in this version
So there are two issues⦠One, level āwonāt settleā where I donāt know what it means. Two, crashing with more instruments. (By ācrash,ā do you mean that a process quits unexpectedly or something elseā¦?)
Thereās a reproducer for #1 but not for #2.
Iām not sure I can be of much more help. A technical issue is usually āI expected/wanted X but Iām getting Y.ā X, at least, is not at all clear. Iām still not even clear about the context. Are you talking about sidechaining? Or volume limiting the final mix (āmasteringā)? Or something else entirely? I keep asking about details because the correct solution depends on the context. Trying to guess what you mean is a bad way to solve problems.
Anyway itās almost 11 pm here, so good night.
hjh
i ll reupdate in a bit but it might be fixed.
Thanks jamshark
hey thanks heaps for your help
I figured the plop silent / crash happen less after using a bunch of thoses
(
Server.killAll;
Pdef.all.do( .clear);
Pbindef.all.do( .clear);
Pbind.free;
Pbindf.free;
)
i am taker if there are other ways to clean the server from left overs
also one of my instrument seems to be faulty im working on it now =)
thanks a lot
Hi, please remember to use backticks for code.
Right, after you start some processes, itās your responsibility to stop them / clean them up. Exactly how to do that is a big topic. My own strategy is to package everything for one āprocessā into an object that allocates everything for that process (buses, buffers, groups, infrastructure synths), and releases them all upon .free
. So thereās a single point for initialization and cleanup, and I can start/stop/recreate objects at will, for several hours, without reboots. It took a long time to evolve this workflow but it helps a lot.
Saving things in Pdef etc and clearing them all out is a good starting place.
Glad to hear that the situation is improving
hjh
i will keep the backticks in mind, also for everyone I got some noise artefact or the āplopā noise that crashes CompanderD if a modulation faster than 1hz is done on the rq of BHiPass4
bit specific but it does not happen anymore after correcting