Re: [PD] [GEM] build-dep command not working in ubuntu 17.04

2017-09-06 Thread Antoine Villeret
hello,

you need to enable "source" package repository on your sources.list file.
you can do it easily in the update manager preference or via editing
/etc/apt/sources.list file.

cheers

--
do it yourself
http://antoine.villeret.free.fr

2017-09-06 19:55 GMT+02:00 Jaime Oliver :

> Hi all,
>
> I am trying to run:
>
>  sudo apt-get build-dep gem
> but I get that it is "Unable to finr a srouce package for gem".
>
> I am sure I've had this work fine in the past. Is it because it is a
> recent version of Ubuntu?
>
> best,
>
> J
>
> ___
> 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] [PD-announce] 1st Beta release of "ELSE" Library

2017-09-06 Thread Richie Cyngler
Thank you for all this work Alexandre. The paper really clearly states your
intentions and documents the ELSE library well. I'm very much looking
forward to playing with all these new objects.

best
Richie

On Thu, 7 Sep 2017 at 3:41 am, Alexandre Torres Porres 
wrote:

> thanks, anyway, what I should say is that I'll check it out and make sure
> this is sorted and clear when the oficial final release is done. Just
> remember this is still an experimental release. In any case, just know that
> I'm not considering at all making this a restrictive license.
>
>
> 2017-09-06 12:25 GMT-03:00 Christof Ressi :
>
>> if you want to make it as open as possible, make it public domain :-D.
>> but seriously: I guess what you're looking for is either the MIT license
>> or 3-clause BSD license (also used by Pd itself)
>>
>>
>> Gesendet: Mittwoch, 06. September 2017 um 16:19 Uhr
>> Von: "Alexandre Torres Porres" 
>> An: "Roman Haefeli" 
>> Cc: "PD List" 
>> Betreff: Re: [PD] [PD-announce] 1st Beta release of "ELSE" Library
>>
>> well, I just copied that from somewhere else (don't even remember, maybe
>> cyclone?), but I should be honest here and just ask, cause I have no clue
>> about licenses, and I really don't care, this should be as free and open as
>> possible, people should do whatever they want with it. So which is the
>> license I'm looking for?
>>
>> thanks
>>
>>
>> 2017-09-06 11:00 GMT-03:00 Roman Haefeli > reduz...@gmail.com]>:On Mit, 2017-09-06 at 10:39 -0300, Alexandre Torres
>> Porres wrote:
>> > I put a license remark inside "meta", but not that I really know
>> > anything about licenses :)
>>
>> Hm... I seem unable to find anything about the SIBSD license. Please
>> include a copy of the license text or at least provide a link.
>>
>> Roman
>> ___
>> Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at] mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list[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[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
>
-- 

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


[PD] [GEM] build-dep command not working in ubuntu 17.04

2017-09-06 Thread Jaime Oliver
Hi all,

I am trying to run:

 sudo apt-get build-dep gem
but I get that it is "Unable to finr a srouce package for gem".

I am sure I've had this work fine in the past. Is it because it is a recent
version of Ubuntu?

best,

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


Re: [PD] [PD-announce] 1st Beta release of "ELSE" Library

2017-09-06 Thread Alexandre Torres Porres
thanks, anyway, what I should say is that I'll check it out and make sure
this is sorted and clear when the oficial final release is done. Just
remember this is still an experimental release. In any case, just know that
I'm not considering at all making this a restrictive license.


2017-09-06 12:25 GMT-03:00 Christof Ressi :

> if you want to make it as open as possible, make it public domain :-D.
> but seriously: I guess what you're looking for is either the MIT license
> or 3-clause BSD license (also used by Pd itself)
>
>
> Gesendet: Mittwoch, 06. September 2017 um 16:19 Uhr
> Von: "Alexandre Torres Porres" 
> An: "Roman Haefeli" 
> Cc: "PD List" 
> Betreff: Re: [PD] [PD-announce] 1st Beta release of "ELSE" Library
>
> well, I just copied that from somewhere else (don't even remember, maybe
> cyclone?), but I should be honest here and just ask, cause I have no clue
> about licenses, and I really don't care, this should be as free and open as
> possible, people should do whatever they want with it. So which is the
> license I'm looking for?
>
> thanks
>
>
> 2017-09-06 11:00 GMT-03:00 Roman Haefeli mailto:red
> uz...@gmail.com]>:On Mit, 2017-09-06 at 10:39 -0300, Alexandre Torres
> Porres wrote:
> > I put a license remark inside "meta", but not that I really know
> > anything about licenses :)
>
> Hm... I seem unable to find anything about the SIBSD license. Please
> include a copy of the license text or at least provide a link.
>
> Roman
> ___
> Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at] mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list[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[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] Deken broken?

2017-09-06 Thread Max

On 2017년 09월 06일 17:48, IOhannes m zmoelnig wrote:

On 09/06/17 15:35, Max wrote:

in Pd 0.48.0 on Linux Mint 18.2 64bit Cinnamon I can't get Deken to work.


what does that mean?


Sorry, no matter what I type in there (trying gem, freeverb, zexy ... ) 
the results stay blank.





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


Re: [PD] Deken broken?

2017-09-06 Thread IOhannes m zmoelnig
On 09/06/17 15:35, Max wrote:
> in Pd 0.48.0 on Linux Mint 18.2 64bit Cinnamon I can't get Deken to work.

what does that mean?

> I think there might be different versions on my system and with the
> different paths where to install such things maybe an older one is loaded.
> 
> when Starting up I see three lines related to teh deken loading:
> 
> deken-plugin.tcl (Pd externals search) in /home/max/pd-externals loaded.
> 'deken-plugin.tcl' already loaded, ignoring:
> '/usr/lib/pd/extra/deken-plugin/deken-plugin.tcl'
> 'deken-plugin.tcl' already loaded, ignoring:
> '/home/max/pd-externals/deken-plugin.tcl'
> 
> Where should it be and how to set it up correctly?

the logfiles say that it is already loaded.
so what is not working?
also, you can set the log-level to ALL, to see where it got the first
deken plugin from. (most likely it's the one that comes shipped inside Pd).


> 
> I also would like to remove Pd 0.46.7 which comes from the package
> manager, 

why?

> but many other externals I've installed via the package manager
> depend on it.

hopefully, *all* of them depend on it.
if not, please file a bug.


fgmasdr
IOhannes



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


Re: [PD] [PD-announce] 1st Beta release of "ELSE" Library

2017-09-06 Thread Christof Ressi
if you want to make it as open as possible, make it public domain :-D. 
but seriously: I guess what you're looking for is either the MIT license or 
3-clause BSD license (also used by Pd itself)


Gesendet: Mittwoch, 06. September 2017 um 16:19 Uhr
Von: "Alexandre Torres Porres" 
An: "Roman Haefeli" 
Cc: "PD List" 
Betreff: Re: [PD] [PD-announce] 1st Beta release of "ELSE" Library

well, I just copied that from somewhere else (don't even remember, maybe 
cyclone?), but I should be honest here and just ask, cause I have no clue about 
licenses, and I really don't care, this should be as free and open as possible, 
people should do whatever they want with it. So which is the license I'm 
looking for?
 
thanks
 
 
2017-09-06 11:00 GMT-03:00 Roman Haefeli 
mailto:reduz...@gmail.com]>:On Mit, 2017-09-06 at 10:39 
-0300, Alexandre Torres Porres wrote:
> I put a license remark inside "meta", but not that I really know
> anything about licenses :)

Hm... I seem unable to find anything about the SIBSD license. Please
include a copy of the license text or at least provide a link.

Roman
___
Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list[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[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] [PD-announce] 1st Beta release of "ELSE" Library

2017-09-06 Thread Roman Haefeli
On Mit, 2017-09-06 at 17:03 +0200, Matt Davey wrote:
> here's a copy of PD's license.  
> 
> seems to be the "3 clause BSD license"
> 
> if you want your code to share that same license, maybe a good idea
> to just include that text (but change "Miller Puckette" to your own
> name ;)


Now it becomes apparent what the 'SI' means in SIBSD: "Standard
Improved"

Roman

signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] 1st Beta release of "ELSE" Library

2017-09-06 Thread Matt Davey
here's a copy of PD's license.

seems to be the "3 clause BSD license"

if you want your code to share that same license, maybe a good idea to just
include that text (but change "Miller Puckette" to your own name ;)
This software is copyrighted by Miller Puckette and others.  The following
terms (the "Standard Improved BSD License") apply to all files associated with
the software unless explicitly disclaimed in individual files:

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above  
   copyright notice, this list of conditions and the following 
   disclaimer in the documentation and/or other materials provided
   with the distribution.
3. The name of the author may not be used to endorse or promote
   products derived from this software without specific prior 
   written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,   
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] 1st Beta release of "ELSE" Library

2017-09-06 Thread Roman Haefeli
On Mit, 2017-09-06 at 11:19 -0300, Alexandre Torres Porres wrote:
> well, I just copied that from somewhere else (don't even remember,
> maybe cyclone?), but I should be honest here and just ask, cause I
> have no clue about licenses, and I really don't care, this should be
> as free and open as possible, people should do whatever they want
> with it. So which is the license I'm looking for?

Everyone who distributes software has to deal with it at list a tiny
bit. Your criteria doesn't match a specific license. I think what you
want to (or at least should) ask is: "Do I want a permissive license or
a copyleft license?"

Read about it yourself:
https://en.wikipedia.org/wiki/Copyleft
https://en.wikipedia.org/wiki/Permissive_software_licence


Cheers
Roman


signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] 1st Beta release of "ELSE" Library

2017-09-06 Thread Alexandre Torres Porres
well, I just copied that from somewhere else (don't even remember, maybe
cyclone?), but I should be honest here and just ask, cause I have no clue
about licenses, and I really don't care, this should be as free and open as
possible, people should do whatever they want with it. So which is the
license I'm looking for?

thanks


2017-09-06 11:00 GMT-03:00 Roman Haefeli :

> On Mit, 2017-09-06 at 10:39 -0300, Alexandre Torres Porres wrote:
> > I put a license remark inside "meta", but not that I really know
> > anything about licenses :)
>
> Hm... I seem unable to find anything about the SIBSD license. Please
> include a copy of the license text or at least provide a link.
>
> Roman
> ___
> 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] [PD-announce] 1st Beta release of "ELSE" Library

2017-09-06 Thread Roman Haefeli
On Mit, 2017-09-06 at 10:39 -0300, Alexandre Torres Porres wrote:
> I put a license remark inside "meta", but not that I really know
> anything about licenses :)

Hm... I seem unable to find anything about the SIBSD license. Please
include a copy of the license text or at least provide a link.

Roman

signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Draw with mouse in GEM

2017-09-06 Thread Nicolas Montgermont
compiled as an external a few years ago here:
https://sourceforge.net/p/chdh-egregore/code/ci/master/tree/src/lib/gemvertexbuffer/

http://nimon.org

Le 06/09/2017 à 13:50, IOhannes m zmoelnig a écrit :
> On 09/06/17 11:56, Max wrote:
>> Jack, you may want to add where to get gemvertexbuffer, because that's
>> not part of the 2015 release http://gem.iem.at/ 0.93.3
> it's part of the unreleased Gem on git:
>https://github.com/umlaeute/Gem
>
>
>
> ___
> 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


[PD] Deken broken?

2017-09-06 Thread Max

in Pd 0.48.0 on Linux Mint 18.2 64bit Cinnamon I can't get Deken to work.
I think there might be different versions on my system and with the 
different paths where to install such things maybe an older one is loaded.


when Starting up I see three lines related to teh deken loading:

deken-plugin.tcl (Pd externals search) in /home/max/pd-externals loaded.
'deken-plugin.tcl' already loaded, ignoring: 
'/usr/lib/pd/extra/deken-plugin/deken-plugin.tcl'
'deken-plugin.tcl' already loaded, ignoring: 
'/home/max/pd-externals/deken-plugin.tcl'


Where should it be and how to set it up correctly?

I also would like to remove Pd 0.46.7 which comes from the package 
manager, but many other externals I've installed via the package manager 
depend on it.


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


Re: [PD] [PD-announce] 1st Beta release of "ELSE" Library

2017-09-06 Thread Alexandre Torres Porres
I think of it as being "ELSE" officially, but it made the folder as "else",
cause it seems to be the best or correct way of doing it. I guess I'll just
have the meta as "else-meta.pd" then, thanks

2017-09-06 9:37 GMT-03:00 Roman Haefeli :

> On Mon, 2017-09-04 at 22:10 -0300, Alexandre Torres Porres wrote:
> > Hi, I've been working this year on a new library called "ELSE", this
> > first beta release, and it is up in deken for Windows, Mac and
> > Windows. Here's my repository github.com/porres/pd-else
>
> Cool. I just had a glance and there is lots of useful stuff. Thanks for
> sharing and putting everything so nicely together.
>
> My input: Please think of the users with case-sensitive filesystems and
> decide on a name (ELSE, else, Else, ElSe or whatever). Now, you
> announce it as 'ELSE', but the repo is called 'pd-else', while the
> meta-file is named 'ELSE-meta.pd'.
>
>
> Roman
> ___
> 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] [PD-announce] 1st Beta release of "ELSE" Library

2017-09-06 Thread Alexandre Torres Porres
I put a license remark inside "meta", but not that I really know anything
about licenses :)

thanks

2017-09-06 10:10 GMT-03:00 Matt Davey :

> wow, looks great!
>
> Is there a licence?  Sorry i couldn't find it.
>
> ___
> 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] [PD-announce] 1st Beta release of "ELSE" Library

2017-09-06 Thread Matt Davey
wow, looks great!

Is there a licence?  Sorry i couldn't find it.
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] 1st Beta release of "ELSE" Library

2017-09-06 Thread Roman Haefeli
On Mon, 2017-09-04 at 22:10 -0300, Alexandre Torres Porres wrote:
> Hi, I've been working this year on a new library called "ELSE", this
> first beta release, and it is up in deken for Windows, Mac and
> Windows. Here's my repository github.com/porres/pd-else

Cool. I just had a glance and there is lots of useful stuff. Thanks for
sharing and putting everything so nicely together.

My input: Please think of the users with case-sensitive filesystems and
decide on a name (ELSE, else, Else, ElSe or whatever). Now, you
announce it as 'ELSE', but the repo is called 'pd-else', while the
meta-file is named 'ELSE-meta.pd'. 


Roman

signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Draw with mouse in GEM

2017-09-06 Thread cyrille henry



Le 06/09/2017 à 13:50, IOhannes m zmoelnig a écrit :

On 09/06/17 11:56, Max wrote:

Jack, you may want to add where to get gemvertexbuffer, because that's
not part of the 2015 release http://gem.iem.at/ 0.93.3


it's part of the unreleased Gem on git:
https://github.com/umlaeute/Gem


but you can find it as an externals compiled for various platform in this 
project :

http://www.chdh.net/egregore_source.php

cheers
c





___
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] Draw with mouse in GEM

2017-09-06 Thread IOhannes m zmoelnig
On 09/06/17 11:56, Max wrote:
> Jack, you may want to add where to get gemvertexbuffer, because that's
> not part of the 2015 release http://gem.iem.at/ 0.93.3

it's part of the unreleased Gem on git:
   https://github.com/umlaeute/Gem



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


Re: [PD] Draw with mouse in GEM

2017-09-06 Thread Max
Jack, you may want to add where to get gemvertexbuffer, because that's 
not part of the 2015 release http://gem.iem.at/ 0.93.3


On 2017년 09월 06일 11:31, Jack wrote:

Hello Jean-Marie,

You can use [gemvertexbuffer] and close the shape with [draw lineloop(.
See example attached.
Then you will be able to use a transformation on it like (translation,
rotation, etc.).
++

Jack



Le 06/09/2017 à 08:31, Richie Cyngler a écrit :

Hi Marie,

You could use [gemmouse] to locate your cursor in the gemwin and there's
an object that lets you manipulate a mesh at points but I can't remember
what it's called. The other object that comes to mind is [model] which
allows you to import 3D models from external software, which isn't what
you're asking but might be useful.

I don't know of a way to draw with polygons in GEM, if there is one I'd
love to hear about it too.

cheers
Richie

On Wed, 6 Sep 2017 at 3:09 pm, Jean-Marie Adrien
mailto:jm.adrien@gmail.com>> wrote:

 Hello
 Is there an object to draw a closed shape with the mouse in a GEM
 window so that it can be processed afterwards like generic objects
 such as squares and circles ?
 Thanks
 JM
 ___
 Pd-list@lists.iem.at  mailing list
 UNSUBSCRIBE and account-management ->
 https://lists.puredata.info/listinfo/pd-list

--

www.glitchpop.com 


___
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




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


Re: [PD] Draw with mouse in GEM

2017-09-06 Thread Jack
Hello Jean-Marie,

You can use [gemvertexbuffer] and close the shape with [draw lineloop(.
See example attached.
Then you will be able to use a transformation on it like (translation,
rotation, etc.).
++

Jack



Le 06/09/2017 à 08:31, Richie Cyngler a écrit :
> Hi Marie,
> 
> You could use [gemmouse] to locate your cursor in the gemwin and there's
> an object that lets you manipulate a mesh at points but I can't remember
> what it's called. The other object that comes to mind is [model] which
> allows you to import 3D models from external software, which isn't what
> you're asking but might be useful. 
> 
> I don't know of a way to draw with polygons in GEM, if there is one I'd
> love to hear about it too.
> 
> cheers 
> Richie
> 
> On Wed, 6 Sep 2017 at 3:09 pm, Jean-Marie Adrien
> mailto:jm.adrien@gmail.com>> wrote:
> 
> Hello
> Is there an object to draw a closed shape with the mouse in a GEM
> window so that it can be processed afterwards like generic objects
> such as squares and circles ?
> Thanks
> JM
> ___
> Pd-list@lists.iem.at  mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
> 
> -- 
> 
> www.glitchpop.com 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 



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


Re: [PD] listing to json port?

2017-09-06 Thread João Pais
Ah yes, I didn't realize myself that the question wasn't placed in the  
correct way. What I need isn't just to listen to the port, but also to use  
json to make the websocket connection with the leapmotion through its api.  
That means, Pd would have to run the json code to get the data.
I guess I'll have to look at your suggestions. I can't distribute the json  
code (although maybe I could send to one or other individuals, instead to  
a list).


Best,

Joao


On 09/05/17 02:31, João Pais wrote:

Hello list,

I wanted to know if it's possible to listen to a port 6437, where some
json messages are coming in. I've seen in my webbrowser that the port  
is

indeed active, but when I try udpreceive nothing comes out - which
probably means that I'm not getting the process.


tcpreceive?


that would probably work, but I guess the javascript code is necessary
to open the port in the first place. Is there a way of Pd opening a html
file with that?


i'm not sure i understand the problem.
you write:


if it's possible to listen to a port 6437


the answer is: yes of course.
there are two things to keep in mind though:
- you must know whether the protocol is TCP/IP or UDP. without that
information, the port is pretty useless.
since this is about JSON and web-technology, chances are high that the
protocol is indeed TCP/IP, that's why is suggested to use [tcpreceive]
instead of [udpreceive].
- on a given machine, you can only have a single listener listening on a
given port. so if you have a webbrowser already monitoring the data, you
can *not* also have Pd doing the same (on the same machine).

in any case, there also might be some confusion about "listening". it
could well be, that you are trying to talk to a webserver that speaks
JSON via a REST API. in which case, your Pd patch wouldn't *listen* but
instead connect to the webserver ([tcpclient]).

in any case, purest-json is a library (available via deken) that
facilitates the interaction with JSON-based REST apis quite a lot.
you probably should have a look at it.

also note that with modern Pd, you can exchange your
[tcpreceive]/[udpreceive] with the builtin [netreceive], which as gotten
a binary mode ("-b") that will output the same format as [tcpreceive].

fgasdrm
IOhannes


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