plugdata icon indicating copy to clipboard operation
plugdata copied to clipboard

Vanilla PureData patch not working on PlugData

Open someofthem98 opened this issue 1 month ago • 5 comments

if i enable source in the patch i get different result from pure data vanilla. both stable revisions.

Plasma_Membrane_Vanilla.zip

someofthem98 avatar Dec 02 '25 17:12 someofthem98

Can you create a minimum patch that shows the problem?

This patch you shared is impossible to reproduce anything with since it has way too many requirements and is too complex to investigate.

dromer avatar Dec 02 '25 18:12 dromer

I will try to re-do the patch fully. As a simple try, it could be eventually opened in Puredata vanilla and enable "s_source" control. If you try both on Vanilla and Plugdata to open the patch and enable source control on pure data vanilla the audio result its a sawtooth; on plugdata it will be noise preatty much, especially just moving some sliders.

someofthem98 avatar Dec 02 '25 18:12 someofthem98

It is not clear to me at all how this patch is supposed to work (I see some OSC connection as well?) and it is much too complicated to investigate.

I don't see how anyone can easily reproduce or point to a specific bug here. So please localize the issue to a minimal patch! :)

dromer avatar Dec 02 '25 18:12 dromer

I've debugged it a little bit. problem begin in expr~ tan ( 6.28 * $v1 ) that produced values abnormally high and saturate plugdata outputs. putting in between expr~ $v1 / (1 + abs($v1)) will solve it. is expr the same of puredata vanilla? Thanks

someofthem98 avatar Dec 02 '25 19:12 someofthem98

I've reported other discrepancies with expr: https://github.com/plugdata-team/plugdata/issues/2107

dromer avatar Dec 02 '25 19:12 dromer