Re: [PD] array vs text, avoiding duplication

2018-12-30 Thread Max

Ah, cool. Thanks IOhannes.

I tried a Pd implementation but can't get it to work. Do you know why my 
approach fails?


I see that NetPd has a singleton message, will try to analyze how it's 
done there.


m.


On 24.12.18 11:40, IOhannes m zmölnig wrote:

On 12/23/18 9:06 PM, Max wrote:


Is there a smart way to solve this kind of issue?



search for "singleton".

gadsmr
IOhannes


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list



#N canvas 3265 809 450 300 10;
#X obj 77 77 text define -k instance;
#A set 1 \; 2 \; 3 \; 4 \; 5 \; 44 \; 55 \; 66 \; 77 \; 88 \;;
#N canvas 2212 816 658 327 10;
#X msg 135 55 vis 5 1;
#X obj 135 99 clone singleton 14 instance;
#X obj 325 97 text size instance;
#X msg 325 72 bang;
#X floatatom 325 125 5 0 0 0 - - -;
#X obj 136 220 singleton instance;
#X obj 133 182 singleton instance;
#X obj 262 187 singleton instance;
#X obj 261 219 singleton instance;
#X connect 0 0 1 0;
#X connect 2 0 4 0;
#X connect 3 0 2 0;
#N canvas 2686 806 613 364 10;
#X obj 79 6 loadbang;
#X floatatom 79 161 5 0 0 0 - - -;
#X msg 87 29 bang;
#N canvas 3225 401 450 300 container 1;
#X obj 20 20 hex-tunings;
#X restore 260 195 pd container;
#X msg 101 229 \; pd-container obj 20 20 hex-tunings;
#X msg 96 128 set \$1;
#X msg 113 76 -1;
#X msg 261 102 \; pd-container clear;
#X obj 79 52 t b b b b;
#X obj 16 93 inlet;
#X obj 79 193 sel 0 -1;
#X obj 96 99 text size instance;
#X connect 0 0 8 0;
#X connect 1 0 10 0;
#X connect 2 0 8 0;
#X connect 5 0 1 0;
#X connect 6 0 5 0;
#X connect 8 0 1 0;
#X connect 8 1 11 0;
#X connect 8 2 6 0;
#X connect 8 3 7 0;
#X connect 10 1 4 0;
#X connect 11 0 5 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] save patch as an image

2018-12-30 Thread Giulio Moro via Pd-list
Possibly not what you are looking for, but on Bela we use a modified version of 
https://github.com/sebpiq/pd-fileutils to generate a preview SVG from a .pd 
file. This has the big advantage of not needing Pd, so you could run it in the 
user's browser or on a server, and consequently it has at least a couple of 
drawbacks:
- array/tables are not displayed
- the number of I/O of each object is determined by the number of I/O 
connections and not by the property of the object itself
There is at least one bug:
- comment lines don't wrap
Our version has a couple of fixes with respect to mainline, here it is: 
https://github.com/BelaPlatform/Bela/blob/master/IDE/public/js/pd-fileutils.js


On Sunday, 23 December 2018, 16:28:39 GMT, IOhannes m zmölnig  
wrote: 


On 12/23/18 5:25 PM, Alexandre Torres Porres wrote:

> Hi, what's your best way to do this?


install my patch2svg plugin, and use that.

gmar
IOhannes

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

signature.asc
Description: PGP signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] christmas gems

2018-12-30 Thread Max

That's a great xmas gift, thank you IOhannes.

On linux 64 this is the only version showing up in deken when searching 
for "gem"


Gem-v0.0.extended-(Linux-i386-32)(Linux-amd64-64)-externals.tar.gz
Uploaded by chr15m @ 2015-08-07 14:36:01



On 23.12.18 18:33, IOhannes m zmölnig wrote:

a first pre-release of the 94th generation of Gem is available via deken
(and github, and git.iem.at).

on macOS, there's currently only a 64bit available (32bit builds (and
hopefully ppc-builds as well) should be made available with/before the
proper final release)
also, i'm a bit confused about the usability of the windows builds. (the
current builds are done with MSYS2/MinGW on a Win10 host. it seems that
cross-compiling gives more usable results).

gfmadsr
IOhannes


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list






___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] christmas gems

2018-12-30 Thread padovani
Hello!
That's a wonderful news, thank you for this!

I've tried to load Gem on Pd 0.49-1 on macOS 10.11.16 (El Capitan) but I'm
getting an error while trying to create a window:

[gemmacoswindow]: failed to init GLEW: your system only supports openGL-1.0
[gemmacoswindow]: unable to switch to current window (do you have one?),
cannot render!

I suppose it has to do with my system version... Am I right? Is there a way
to run it without updating my OS?

thanks again,
josé

Em dom, 23 de dez de 2018 às 16:00, IOhannes m zmölnig <
zmoel...@umlaeute.mur.at> escreveu:

> a first pre-release of the 94th generation of Gem is available via deken
> (and github, and git.iem.at).
>
> on macOS, there's currently only a 64bit available (32bit builds (and
> hopefully ppc-builds as well) should be made available with/before the
> proper final release)
> also, i'm a bit confused about the usability of the windows builds. (the
> current builds are done with MSYS2/MinGW on a Win10 host. it seems that
> cross-compiling gives more usable results).
>
> gfmadsr
> IOhannes
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list