Hi,
I have a problem with a patch I'm working on : when I open it, it seems empty but everything is here when I use a text editor.
Pure Data console tells me "graph: empty bounds rectangle"
I've already checked all the coords in text editor, everything seems fine.
Could someone help me ?
Thanks
Glop
-
Empty patch but actually not
-
For sure

This is a drum realtime sequencer with delay possibilities and array resizing and labelling.
The differents parts were working perfectly, I saved the big one several times without problems and suddenly it happened
I have already checked in a text editor the coords lines, no problem, the restore lines just after the coords lines, no problem
either.
The final use of this patch is a copy as a subpatch in a big patch for live performing with MIDI control on groovebox and synthesizers
Thanks
realtime_sequencer_template.pd -
FYI it opens with PlugData.
Work in progress : FCPD a FreeCAD PureData connexion
-
In the .pd you have to set the bounds to make it work again:
e.g. from:
#X msg 824 1204 ; seq_temp resize $1 ; seq_temp bounds 0 $2 $1 0 ; seq_temp xticks 2 1 1 ; seq_temp yticks 2 1 1;
#X msg 834 1705 ; delay_def_temp resize $1 ; delay_def_temp bounds 0 0.125 $1 -0.125 ; delay_def_temp xticks 2 1 1;to:
#X msg 824 1204 ; seq_temp resize $1 ; seq_temp bounds 0 1 1 0 ; seq_temp xticks 2 1 1 ; seq_temp yticks 2 1 1;
#X msg 834 1705 ; delay_def_temp resize $1 ; delay_def_temp bounds 0 0.125 1 -0.125 ; delay_def_temp xticks 2 1 1;this topic brought me the idea: https://forum.pdpatchrepo.info/topic/6533/error-graph-empty-bounds-rectangle
I used arbitrary values for the bounds, probably it should simply not be $n -
Great, it works ! However (is it the good word, maybe, I'm not so bad in english), the arrays are no longer resizable
How can I fix this ?
Does the $1 in the resize message causes problem because of orders of information ?
Thanks
Glop -
@Glop-Glop It is $2 causing the problem.
In your resize message you specified $1 AND $2 for the bounds but $2 was not specified so would have been given the value 0 (zero).
You need to pack a message [16 x ( where x is the value you want for max-y and send that into your resize message.
The order for the message is confusing but you had the correct order..... min-x max-y max-x min-y ... so you had set max-y as 0.
More help...... https://forum.pdpatchrepo.info/topic/11374/array-settings-break-pd-gui-and-control/3Strangely (maybe not) your patch opens in Pd Extended despite the error (yes I am still a fan..!)
David.