Hi,
I started a simple project just for fun and I encountered something strange. I use some subpatch on my patch on they work well, though they doing somehting strange. I have made some copies of a few subpatch I've made and when I tweak a value of one subpatch it affect the sound of it's copy, which is strange. It affect all the subpatch I made copy of. And I've tried to made subpatch with the same code but different names and it does the exact same thing. I'm very confused, I don't understand what is going on.
-
Issue with subpatches
-
@lysergik Do you use any named objects like [send]/[receive]. [array] or [value] in the send patch? Any of these named objects will be shared across subpatches if they share the same name, change one and you affect the other. This also includes the send and receive names for GUIs like toggles and sliders.
-
No they are named "pd tom" and "pd hihat" so it should be fine
-
@lysergik Named objects IN the sub patches. Like [array this} or [value that]. Uploading your patch would help.
-
I didn't used array or specific value in those subpatches. Here's the code : drummachine.pd
-
@lysergik I get no interactions between subpatches and see nothing obviously wrong, but it is a rather large patch to just blindly dig through in the hopes of finding the situation which causes your issue. Would need some more information, like when exactly it has these issues, what changes do you make that affect the copies?
-
@lysergik You are certainly sharing receive names between the two toms and between the two hi-hats.
Look at the receive names in your "number 2" boxes....... for end pitch, hpf etc.
There are a lot.
Most of them you are also connecting directly to their fader controls and you can just remove the sends and receives. Some you will have to rename....... eg for pitch in pd osc_pair 1, 2 and 3.
David. -
@whale-av Thanks ! Since I found drum synth I found online I didn't knew about those send and receive inside the propereties menu of the number box. I just had to delete the send and receive and it work. Also I didn't had to rename"osc_pair_1" and the other used for pitch because they are subpatches, and they were relied to the sliders via the same send and receive function that we find elsewere. Thanks again.