[PD] tcpsend disconnects

2023-10-26 Thread Csaba Láng
Hi list,

I am struggling with this for many years, and looks like cannot solve the
issue of the tcpsend object which disconnects by itself. Would be easy to
reconnect if I had an outlet with the info if connected or not like netsend
has.
Is there any solution to keep it connected stable?

Any hints welcome.


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


Re: [PD] how force [pix_film] to use the QuickTime backend on Windows

2023-09-24 Thread Csaba Láng
Or the other way around what video codecs and what extension can be used to
be played on Windows 11 by pix_film?

On Sun, Sep 24, 2023 at 3:06 PM Csaba Láng  wrote:

> Dear List,
>
> I want to play .mov on windows pd 0.54 with Gem 0.94
> How can I   force [pix_film] to use the QuickTime backend.
>
> Thanks in advance for any help.
> Best,
> Popesz
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] how force [pix_film] to use the QuickTime backend on Windows

2023-09-24 Thread Csaba Láng
Dear List,

I want to play .mov on windows pd 0.54 with Gem 0.94
How can I   force [pix_film] to use the QuickTime backend.

Thanks in advance for any help.
Best,
Popesz
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Rectangle object does not understand [width 7( message

2023-09-22 Thread Csaba Láng
Cyrille,

thanks for your answer. I have not seen the sense to send a simple patch as
it would not show the behaviour of the rendered Gem window under wsl2.
Anyway, I have to use both Windows and subsystem Linux as on Windows does
not work the shell or command objects while under Linux the above mentioned
[width( command to the 2d shape objects such as triangle, rectangle or
circle.

Thanks for your support anyway.
Best,
Popesz

On Thu, Sep 21, 2023 at 5:10 PM cyrille henry  wrote:

> hello,
>
> ok, thanks for the screenshot. (i still think a patch is easier to share
> than a screenshot)
>
> Since nothing have been changed in this part of Gem this last 10 years, it
> is safe to assume that the difference between your 2 computers is not
> related to Gem.
> So, as Iohannes say, the problem is probably on the openGL implementation,
> certainly because of WSL.
> I never had this problem on a ubuntu computer with old intel GPU.
>
> I'm sorry , but I have no solution to offer exept not using WSL
> cheers
>
>
>
>
>
> Le 20/09/2023 à 11:42, Csaba Láng a écrit :
> > Cyrille,
> >
> > I am attaching the screenshot from my both system installed:
> > Screenshot 2023-09-20 113857.png
> >
> > The top line is the windows based Pd, the bottom line is from the wsl2
> Ubuntu. width 5 was applied on both rectangles. No error message printed in
> the console.
> > I hope it clears your doubts.
> > Let me know if you need anything else at this point.
> > Best,
> > Popesz
> >
> > On Wed, Sep 20, 2023 at 10:34 AM Csaba Láng  <mailto:langcs...@gmail.com>> wrote:
> >
> > You misunderstood me. I did use a simple patch and of course I used
> the width message correctly to the first inlet of the rectangle or circle
> objects with numbers from 1 to 7.
> >     Under windows works correctly.
> >
> > On Wed, 20 Sep 2023 at 10:29, cyrille henry  c...@chnry.net>> wrote:
> >
> >
> >
> > Le 20/09/2023 à 09:39, Csaba Láng a écrit :
> >  > I have found this discussion on the web.
> >  >
> >  > https://github.com/microsoft/WSL/issues/2855 <
> https://github.com/microsoft/WSL/issues/2855> <
> https://github.com/microsoft/WSL/issues/2855 <
> https://github.com/microsoft/WSL/issues/2855>>
> >  > Does it take me closer to make it work?
> >  > I have a NUC i9 Beast Canyon computer with the integrated
> graphic card in it https://simplynuc.com/beast-canyon/ <
> https://simplynuc.com/beast-canyon/> <https://simplynuc.com/beast-canyon/
> <https://simplynuc.com/beast-canyon/>>
> >  >
> >  > Surely I have tried the simplest patch from the
> rectangle-help.pd. Tha was my first to try
> > the rectangle-help patch did not include a width message!
> > It may look silly, but I want to be 100% sure that you are using
> the width message correctly before blaming anything else.
> > Since you refuse to provide a simple patch that reproduce the
> problem on your computer, I can't confirm the problem and will not
> investigate further.
> >
> > Cheers
> >
> >
> >  >
> >  > On Wed, Sep 20, 2023 at 9:13 AM Csaba Láng <
> langcs...@gmail.com <mailto:langcs...@gmail.com>  langcs...@gmail.com <mailto:langcs...@gmail.com>>> wrote:
> >  >
> >  > Indeed too complicated, especially taking into account
> that I have something like 100 patches using the same thick lines. So it is
> not Gem related according to you but openGL?
> >  >
> >  >
> >  > On Wed, Sep 20, 2023 at 8:29 AM cyrille henry <
> c...@chnry.net <mailto:c...@chnry.net> <mailto:c...@chnry.net  c...@chnry.net>>> wrote:
> >  >
> >  > hello,
> >  >
> >  > The width message is working as expected here.
> >  >     GEM: ver: 0.94.git v0.94-351-g2ba06167
> >  > GEM: compiled  on Jan 12 2023
> >  >
> >  > Can you send the test patch you are using, or try the
> curve-help file and tell us if the width message is working?
> >  >
> >  > if it's not a patch problem, it's the hardware that
> can't interpret this message. What is your GPU?
> >  >
> >  > cheers
> >  > C
> >  >
> >  >
> >  > Le 19/09/2023 à 23:33, Csaba Láng a écr

Re: [PD] Rectangle object does not understand [width 7( message

2023-09-20 Thread Csaba Láng
You misunderstood me. I did use a simple patch and of course I used the
width message correctly to the first inlet of the rectangle or circle
objects with numbers from 1 to 7.
Under windows works correctly.

On Wed, 20 Sep 2023 at 10:29, cyrille henry  wrote:

>
>
> Le 20/09/2023 à 09:39, Csaba Láng a écrit :
> > I have found this discussion on the web.
> >
> > https://github.com/microsoft/WSL/issues/2855 <
> https://github.com/microsoft/WSL/issues/2855>
> > Does it take me closer to make it work?
> > I have a NUC i9 Beast Canyon computer with the integrated graphic card
> in it https://simplynuc.com/beast-canyon/ <
> https://simplynuc.com/beast-canyon/>
> >
> > Surely I have tried the simplest patch from the rectangle-help.pd. Tha
> was my first to try
> the rectangle-help patch did not include a width message!
> It may look silly, but I want to be 100% sure that you are using the width
> message correctly before blaming anything else.
> Since you refuse to provide a simple patch that reproduce the problem on
> your computer, I can't confirm the problem and will not investigate further.
>
> Cheers
>
>
> >
> > On Wed, Sep 20, 2023 at 9:13 AM Csaba Láng  langcs...@gmail.com>> wrote:
> >
> > Indeed too complicated, especially taking into account that I have
> something like 100 patches using the same thick lines. So it is not Gem
> related according to you but openGL?
> >
> >
> > On Wed, Sep 20, 2023 at 8:29 AM cyrille henry  c...@chnry.net>> wrote:
> >
> > hello,
> >
> > The width message is working as expected here.
> > GEM: ver: 0.94.git v0.94-351-g2ba06167
> > GEM: compiled  on Jan 12 2023
> >
> > Can you send the test patch you are using, or try the curve-help
> file and tell us if the width message is working?
> >
> > if it's not a patch problem, it's the hardware that can't
> interpret this message. What is your GPU?
> >
> > cheers
> > C
> >
> >
> > Le 19/09/2023 à 23:33, Csaba Láng a écrit :
> >  > By the way, the same issue with the circle object. [width $1(
> is just ignored with the draw line message.
> >  >
> >  > On Tue, Sep 19, 2023 at 11:15 PM Csaba Láng <
> langcs...@gmail.com <mailto:langcs...@gmail.com>  langcs...@gmail.com <mailto:langcs...@gmail.com>>> wrote:
> >  >
> >      > You are right, wrong word I used. I meant installing Gem
> 0.94 from Deken.
> >  >
> >  > On Tue, Sep 19, 2023 at 11:13 PM IOhannes m zmölnig <
> zmoel...@iem.at <mailto:zmoel...@iem.at> <mailto:zmoel...@iem.at  zmoel...@iem.at>>> wrote:
> >  >
> >  > On 9/19/23 22:54, Csaba Láng wrote:
> >  >  > Hi list,
> >  >  >
> >  >  > I have a windows system with wsl2 Ubuntu distro on
> it. Installing on the
> >  >  > ubuntu subsystem pd and compiling Gem from Dekken
> >  >
> >  > i'm not sure what you mean with "compiling Gem from
> deken"...deken is a
> >  > way to deliver pre-built binaries, nothing to compile.
> >  >
> >  >
> >  > , the rectangle object
> >  >  > does not understand the [width $1( message
> >  >
> >  > what exactly do you mean with "does not understand
> the message"?
> >  >
> >  >
> >  > gfmdsa
> >  > IOhannes
> >  > ___
> >  > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at>  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> <
> https://lists.puredata.info/listinfo/pd-list <
> https://lists.puredata.info/listinfo/pd-list>>
> >  >
> >  >
> >  > ___
> >  > 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>
> >
> &

Re: [PD] Rectangle object does not understand [width 7( message

2023-09-20 Thread Csaba Láng
I have found this discussion on the web.

https://github.com/microsoft/WSL/issues/2855
Does it take me closer to make it work?
I have a NUC i9 Beast Canyon computer with the integrated graphic card in
it https://simplynuc.com/beast-canyon/

Surely I have tried the simplest patch from the rectangle-help.pd. Tha was
my first to try

On Wed, Sep 20, 2023 at 9:13 AM Csaba Láng  wrote:

> Indeed too complicated, especially taking into account that I have
> something like 100 patches using the same thick lines. So it is not Gem
> related according to you but openGL?
>
>
> On Wed, Sep 20, 2023 at 8:29 AM cyrille henry  wrote:
>
>> hello,
>>
>> The width message is working as expected here.
>> GEM: ver: 0.94.git v0.94-351-g2ba06167
>> GEM: compiled  on Jan 12 2023
>>
>> Can you send the test patch you are using, or try the curve-help file and
>> tell us if the width message is working?
>>
>> if it's not a patch problem, it's the hardware that can't interpret this
>> message. What is your GPU?
>>
>> cheers
>> C
>>
>>
>> Le 19/09/2023 à 23:33, Csaba Láng a écrit :
>> > By the way, the same issue with the circle object. [width $1( is just
>> ignored with the draw line message.
>> >
>> > On Tue, Sep 19, 2023 at 11:15 PM Csaba Láng > <mailto:langcs...@gmail.com>> wrote:
>> >
>> > You are right, wrong word I used. I meant installing Gem 0.94 from
>> Deken.
>> >
>> > On Tue, Sep 19, 2023 at 11:13 PM IOhannes m zmölnig <
>> zmoel...@iem.at <mailto:zmoel...@iem.at>> wrote:
>> >
>> > On 9/19/23 22:54, Csaba Láng wrote:
>> >  > Hi list,
>> >  >
>> >  > I have a windows system with wsl2 Ubuntu distro on it.
>> Installing on the
>> >  > ubuntu subsystem pd and compiling Gem from Dekken
>> >
>> > i'm not sure what you mean with "compiling Gem from
>> deken"...deken is a
>> > way to deliver pre-built binaries, nothing to compile.
>> >
>> >
>> > , the rectangle object
>> >  > does not understand the [width $1( message
>> >
>> > what exactly do you mean with "does not understand the message"?
>> >
>> >
>> > gfmdsa
>> > IOhannes
>> > ___
>> > 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
>>
>>
>>
>> ___
>> 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] Rectangle object does not understand [width 7( message

2023-09-20 Thread Csaba Láng
Indeed too complicated, especially taking into account that I have
something like 100 patches using the same thick lines. So it is not Gem
related according to you but openGL?


On Wed, Sep 20, 2023 at 8:29 AM cyrille henry  wrote:

> hello,
>
> The width message is working as expected here.
> GEM: ver: 0.94.git v0.94-351-g2ba06167
> GEM: compiled  on Jan 12 2023
>
> Can you send the test patch you are using, or try the curve-help file and
> tell us if the width message is working?
>
> if it's not a patch problem, it's the hardware that can't interpret this
> message. What is your GPU?
>
> cheers
> C
>
>
> Le 19/09/2023 à 23:33, Csaba Láng a écrit :
> > By the way, the same issue with the circle object. [width $1( is just
> ignored with the draw line message.
> >
> > On Tue, Sep 19, 2023 at 11:15 PM Csaba Láng  <mailto:langcs...@gmail.com>> wrote:
> >
> > You are right, wrong word I used. I meant installing Gem 0.94 from
> Deken.
> >
> > On Tue, Sep 19, 2023 at 11:13 PM IOhannes m zmölnig  <mailto:zmoel...@iem.at>> wrote:
> >
> > On 9/19/23 22:54, Csaba Láng wrote:
> >  > Hi list,
> >  >
> >  > I have a windows system with wsl2 Ubuntu distro on it.
> Installing on the
> >  > ubuntu subsystem pd and compiling Gem from Dekken
> >
> > i'm not sure what you mean with "compiling Gem from
> deken"...deken is a
> > way to deliver pre-built binaries, nothing to compile.
> >
> >
> > , the rectangle object
> >  > does not understand the [width $1( message
> >
> > what exactly do you mean with "does not understand the message"?
> >
> >
> > gfmdsa
> > IOhannes
> > ___
> > 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
>
>
>
> ___
> 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] Rectangle object does not understand [width 7( message

2023-09-19 Thread Csaba Láng
By the way, the same issue with the circle object. [width $1( is just
ignored with the draw line message.

On Tue, Sep 19, 2023 at 11:15 PM Csaba Láng  wrote:

> You are right, wrong word I used. I meant installing Gem 0.94 from Deken.
>
> On Tue, Sep 19, 2023 at 11:13 PM IOhannes m zmölnig 
> wrote:
>
>> On 9/19/23 22:54, Csaba Láng wrote:
>> > Hi list,
>> >
>> > I have a windows system with wsl2 Ubuntu distro on it. Installing on the
>> > ubuntu subsystem pd and compiling Gem from Dekken
>>
>> i'm not sure what you mean with "compiling Gem from deken"...deken is a
>> way to deliver pre-built binaries, nothing to compile.
>>
>>
>> , the rectangle object
>> > does not understand the [width $1( message
>>
>> what exactly do you mean with "does not understand the message"?
>>
>>
>> gfmdsa
>> 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] Rectangle object does not understand [width 7( message

2023-09-19 Thread Csaba Láng
You are right, wrong word I used. I meant installing Gem 0.94 from Deken.

On Tue, Sep 19, 2023 at 11:13 PM IOhannes m zmölnig  wrote:

> On 9/19/23 22:54, Csaba Láng wrote:
> > Hi list,
> >
> > I have a windows system with wsl2 Ubuntu distro on it. Installing on the
> > ubuntu subsystem pd and compiling Gem from Dekken
>
> i'm not sure what you mean with "compiling Gem from deken"...deken is a
> way to deliver pre-built binaries, nothing to compile.
>
>
> , the rectangle object
> > does not understand the [width $1( message
>
> what exactly do you mean with "does not understand the message"?
>
>
> gfmdsa
> 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


[PD] Rectangle object does not understand [width 7( message

2023-09-19 Thread Csaba Láng
Hi list,

I have a windows system with wsl2 Ubuntu distro on it. Installing on the
ubuntu subsystem pd and compiling Gem from Dekken, the rectangle object
does not understand the [width $1( message in case I want to draw bordering
lines. On windows it has no problem and other ubuntu not subsystem can
handle the message as well.
Does anybody have any clue how I can fix it?

Thanks in advance for any ideas.

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


Re: [PD] cannot find ggee external - I need [shell] or [command]

2023-08-31 Thread Csaba Láng
Dear List,

Can someone give me a compiled COMMAND object from ggee for windows?
For some reason my comp cannot make the build from source

Thank a lot for any clue.

Best,
Popesz

On Fri, Nov 11, 2022 at 6:30 PM Antoine Rousseau  wrote:

> Installing with Deken means:
>
> - go to menu Help/Find externals
> - search your object or library
> - install!
>
> Antoine
>
> Le ven. 11 nov. 2022 à 15:22, mick mengucci  a
> écrit :
>
>>   Hi list
>> I need the [shell] object to trigger python codes from within Pure Data.
>>
>>  I am trying on raspberry os, with a raspberry 4, Pd version 0.51.4.
>> But it would be usefull also for pc as in schools I rarely meet linux
>> users, unfortunately.
>>
>> I checked here
>> https://puredata.info/docs/ListOfPdExternals/
>>
>> where it says that flatspace or ggee or flatspace/ggee would have this
>> object.
>> But in Dekken (Find externals) I do not get any result.
>>
>> I also saw that Alexandros suggests [command] but which external do I
>> need installed?
>>
>>
>>
>> --
>>
>> MKSTURA.EU
>> MISTURAPURA.NET 
>> mickmengucci.bandcamp.com
>> facebook.com/mickmengucci3
>> facebook.com/Labio.pt
>>
>> pure mixture vibration since 1995
>> ___
>> 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] Gem renders only in left bottom quarter

2022-09-01 Thread Csaba Láng
Is there a chance to have this issue fixed?
Without a correct Gem render, my life lost its sense.

On Thu, Jun 23, 2022 at 2:42 PM Csaba Láng  wrote:

> Yes i tried and without success
>
> On Thu, 23 Jun 2022 at 14:20, Peter P.  wrote:
>
>> Dear Popesz,
>>
>> looks just like what I described as "coordinate system" being off in
>> https://lists.puredata.info/pipermail/pd-list//2022-06/131310.html
>>
>> Have you tried respective other option of [gemglfw3window] and
>> [gemglutwindow]?
>>
>> I am about to teach an introductory class to Gem in one hour and am
>> already afraid of participants with OS X running into the same
>> problem...
>>
>> cheersz, P
>>
>> * Csaba Láng  [2022-06-23 13:36]:
>> > Dear list,
>> >
>> > for some time already my Gem window cannot render in the full Gem window
>> > but only in the left bottom corner
>> > [image: Screenshot 2022-06-23 at 13.34.04.png]
>> >
>> > My default gem window is gemglfw3window as it was suggested earlier by
>> > Iohannes.
>> > I am on MacOS 12.3.
>> >
>> > Best,
>> > Popesz
>>
>>
>>
>> > ___
>> > 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] Gem renders only in left bottom quarter

2022-06-23 Thread Csaba Láng
Yes i tried and without success

On Thu, 23 Jun 2022 at 14:20, Peter P.  wrote:

> Dear Popesz,
>
> looks just like what I described as "coordinate system" being off in
> https://lists.puredata.info/pipermail/pd-list//2022-06/131310.html
>
> Have you tried respective other option of [gemglfw3window] and
> [gemglutwindow]?
>
> I am about to teach an introductory class to Gem in one hour and am
> already afraid of participants with OS X running into the same
> problem...
>
> cheersz, P
>
> * Csaba Láng  [2022-06-23 13:36]:
> > Dear list,
> >
> > for some time already my Gem window cannot render in the full Gem window
> > but only in the left bottom corner
> > [image: Screenshot 2022-06-23 at 13.34.04.png]
> >
> > My default gem window is gemglfw3window as it was suggested earlier by
> > Iohannes.
> > I am on MacOS 12.3.
> >
> > Best,
> > Popesz
>
>
>
> > ___
> > 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


[PD] Gem renders only in left bottom quarter

2022-06-23 Thread Csaba Láng
Dear list,

for some time already my Gem window cannot render in the full Gem window
but only in the left bottom corner
[image: Screenshot 2022-06-23 at 13.34.04.png]

My default gem window is gemglfw3window as it was suggested earlier by
Iohannes.
I am on MacOS 12.3.

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


Re: [PD] Gem window and fullscreen on OS X Was: GEM and video playback broken in MacOS?

2022-06-10 Thread Csaba Láng
Peter,

In April I wrote this but never got an answer:

since I moved to  [gemglfw3window] as gemwin has not been created on since
Big Sur I am unable to make borderless screen.
Is there a workaround? [fullscreen 2( is not my option.

Best,

Popesz

On Fri, 10 Jun 2022 at 07:49, Peter P.  wrote:

> Hi list,
>
> experiencing some weird issues with Gem 0.94.git v0.94 on MacOS 12.4 as
> well. Upon trying to create a gemwindow I am getting
>  [gemmacoswindow]: unable to switch to current window (do you have one?),
> cannot render!
> Seems to be https://github.com/umlaeute/Gem/issues/257
> Following some advice to a different, but possibly related error, I
> replaced [gemmacoswindow] with [gemglfw3window]. This made the window
> appear and render.
>
> What is the difference between [gemglfw3window] and [gemglutwindow]?
> In one of the two, the origin of the coordinate system seems to be off
> in fullscreen more and and contents are rendered smaller, possibly related
> to
> https://github.com/umlaeute/Gem/issues/261
> in the other one, there is often flickering.
>
> I tried to make Gem output on a second screen (extended desktop) next.
> When I use the [fullscreen 1] message, th OS will change the resolution
> of that second display to that of gemwin's "dimen" setting. But whenever
> I want to edit the patch and focus the patch window, the fullscreen
> gemwindow on the external display is minimized to the dock, and the
> resolution of that external display changed back by the OS setting it
> to as it was before. Makes it impossible to work.
> Without the fullscreen message, the title bar of the Gem window is
> always visible.
>
> Can anyone perhaps test and confirm, possibly also explain, this last
> issue?
>
> Thank you!
> Peter
>
> * IOhannes m zmölnig  [2021-12-28 23:08]:
> > On 12/28/21 21:33, Johnny Mauser via Pd-list wrote:
> > > Hi Dana and all,
> > >
> > > I upgraded my personal computer to a new arm Mac  and can confirm,
> that Gem is not running properly out of the box. I don’t know whether I
> made a mistake, or it is the general situation, or what’s going on..
> > >
> > > MacOS 12.1
> > > Pd 52.1, Gem 0.94
> > >
> > > Trying to create a Gem window leads to console showing:
> "[gemmacoswindow]: failed to init GLEW: your system only supports
> openGL-1.0“
> >
> >
> > that's https://github.com/umlaeute/Gem/issues/257 et al.
> >
> > the solution is to replace the [gemmacoswindow] within the
> > gemdefaultwindow.pd abstraction (which is used within [gemwin]) with
> > [gemglfw3window] (or [gemglutwindow]).
> >
> > >
> > > When I open the backendinfo window from the help-patch of pix_video
> the [AVF-videoplugin $0] object could not be created.
> > > AVF-videoplugin
> > >
> >
> > that's a separate (minor) issue, that just indicates that there's a lack
> of
> > documentation for the AVF backend of [pix_video].
> > it doesn't indicate any malfunctioninig of [pix_video] per se (it doesn't
> > indicate the opposite either; it is just orthogonal)
> >
> > gfdmsy
> > 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
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] pd 0.52-1 released

2021-12-20 Thread Csaba Láng
Thank you all so much, just have installed!

Best,
Popesz

On Mon, Dec 20, 2021 at 9:04 PM IOhannes m zmölnig  wrote:

> Am 20. Dezember 2021 20:36:22 MEZ schrieb Miller Puckette via Pd-announce <
> pd-annou...@lists.iem.at>:
> >
> >Pd version 0.52-1 is available
>
> Hooray!
>
> Debian packages are already available for sid/unstable.
> bookworm/testing and bullseye/stable-backlists  will hopefully be
> available by Xmas Eve.
>
>
> mfg.sfg.jfd
> 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] JACK on macOS

2021-12-14 Thread Csaba Láng
I confirm Jack works on Big Sur with using callback in the audio settings.

Thanks for the hint.

On Tue, Dec 14, 2021 at 2:16 PM William Brent 
wrote:

> Good news - this new build is indeed working for me with JACK 1.9.19 on
> Big Sur 11.6.1 (Intel 64bit hardware). I'll update my comment on the ticket
> to document it. Thanks IOhannes!
>
> On Tue, Dec 14, 2021 at 4:37 AM IOhannes m zmoelnig 
> wrote:
>
>>
>> On 12/13/21 22:06, IOhannes m zmölnig wrote:
>>  >
>>  >
>>  > once it finished building, the dmg will be available on
>> <
>> https://git.iem.at/pd/pure-data/-/jobs/33818/artifacts/file/Pd-0.52-0test3-2-g6ca9539f.dmg>
>>
>>
>>  >
>>  > could you please be so kind and test with that version as well?
>>
>> my first tests show that this version indeed works (at least on Catalina).
>> could someone on Big Sur or Monterey confirm this?
>>
>>
>> gfsdr
>> IOhannes
>>
>>
>> PS: here's a bit more in-depth tech babble, for those interested what (I
>> think) is going on:
>>
>> >
>> > this info in the issue was incredibly helpful:
>> >  > JACK protocol mismatch 8
>> >
>> > afaict it tries to tell us that Pd and jackd speak different (and
>> > obviously incompatible) protocols.
>> >
>> > i'm currently trying to create a new binary on our CI that finally uses
>> > the pre-built binaries from jackaudio.org (as dan always suggested).
>> >
>> > hopefully this will get the protocol version right.
>>
>> i now think that this was a red hering.
>>
>> the problem really seems to be that depending on whether Pd is linked
>> against  JACK from homebrew or jackaudio.org it will look for the
>> library in /usr/local/opt/jack/lib/ resp. /usr/local/lib/.
>> for reasons i do not fully understand yet, a homebrew-jacked Pd (that
>> looks for libjack.so.0.1.0 in /usr/local/opt/jack/lib/) will refuse to
>> load the library if it is found in /usr/local/lib/ (even though this is
>> a standard search path for libraries).
>> copying/symlinking the libjack.so to the searched for directory, makes
>> binaries work.
>>
>> $ mkdir /usr/local/opt/jack/lib/
>> $ ln -s /usr/local/lib/libjack.0.1.0.dylib /usr/local/opt/jack/lib/
>>
>>
>> of course this is not really practical
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
>
>
> --
> William Brent
>
> “Great minds flock together”
> Conflations: conversational idiom for the 21st century
>
> www.conflations.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


Re: [PD] gemwin dosn't work on Big Sur

2021-12-01 Thread Csaba Láng
Nothin at all, just have to replace all in my patches :)

On Tue, Nov 30, 2021 at 8:16 PM IOhannes m zmölnig  wrote:

> Am 30. November 2021 19:50:29 MEZ schrieb "Csaba Láng" <
> langcs...@gmail.com>:
> >Dear list,
> >
> >is there a fix already on this issue?
> >https://github.com/umlaeute/Gem/issues/257
> >
> >or i have to use [gemglfw3window] and we have to live with it.
> >
>
>
> What is wrong with [gemglfw3window]?
>
>
> mfg.sfg.jfd
> IOhannes
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] gemwin dosn't work on Big Sur

2021-11-30 Thread Csaba Láng
Dear list,

is there a fix already on this issue?
https://github.com/umlaeute/Gem/issues/257

or i have to use [gemglfw3window] and we have to live with it.

Best,

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


Re: [PD] Raspberry Pi 4 HDMI outputs

2021-11-30 Thread Csaba Láng
Sure, VLC.
Render into one file next to each other and use the tile option with 2x1
setup.
Best,
Popesz

On Tue, Nov 30, 2021 at 11:23 AM Simon Iten  wrote:

> Hi list,
>
> Has somebody used the two HDMI outs from PD to play two videos on two
> different screens?
>
> I am finding infos from people doing it with omxplayer, but I need it
> synced and looped. Or are there any other Linux video players that can sync
> two streams on two different monitors?
> ___
> 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] Gem without gmerlin

2021-11-02 Thread Csaba Láng
great, thank you for the clear info

On Tue, Nov 2, 2021 at 5:30 PM IOhannes m zmoelnig  wrote:

> On 11/2/21 4:05 PM, Csaba Láng wrote:
> > Dear list,
> > I am trying to compile Gem on Ubuntu 20.04.3 LTS witrh pylon, but make
> > fails with gmwerlin problem.
> > I have found a 2 year old thread here
> > https://lists.puredata.info/pipermail/pd-list/2019-02/124601.html
> > which says that it is almost impossible to make gmerlin work due to bad
> API
> > and lack of updates. latest is from 2012.
> > Is gmerlin needed? Can i ignore it and compile gem without gmerlin?
>
>
> gmerlin is not needed.
> it is so optional, that it is not even built into the Gem binary.
> instead, the entire gmerlin bindings live in the gem_filmGMERLIN.so file.
> remove this file, and Gem no longer will use gmerlin at all.
>
> if you are using the Debian package of Gem, you can run:
>
> ```
> sudo apt remove gem-plugin-gmerlin
> ```
>
> gfdmsf
> 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


[PD] Gem without gmerlin

2021-11-02 Thread Csaba Láng
Dear list,
I am trying to compile Gem on Ubuntu 20.04.3 LTS witrh pylon, but make
fails with gmwerlin problem.
I have found a 2 year old thread here
https://lists.puredata.info/pipermail/pd-list/2019-02/124601.html
which says that it is almost impossible to make gmerlin work due to bad API
and lack of updates. latest is from 2012.
Is gmerlin needed? Can i ignore it and compile gem without gmerlin?

Please advice!
Best,
Popesz
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem on dgpu

2021-10-28 Thread Csaba Láng
I think gem is on cpu, but correct me if I'm wrong.

On Thu, 28 Oct 2021 at 23:31, Samuel Burt 
wrote:

> Hi, all. Is there a way to verify that Gem is running on a dedicated
> graphics card if you are using a computer with both Intel and Nvidia
> graphics? Running Windows 10 on a Surface Book 2. Can I specify which card
> to use?
>
> Sam
>
>
> ___
> 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] Opencv András GEM

2021-10-23 Thread Csaba Láng
Dear list,

Can I render images into the same GEM window with openCV and gem.
I want to use both pix_ objects and openCV at once.
Best,
Popesz
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] error using high speed camera in TCL

2021-09-19 Thread Csaba Láng
Hi list,

I am using 7 same cameras with th backend pylon.
For some reason pylon writes for the same camera Node not readable or:
Tcl) INVALID COMMAND NAME: invalid command name ".x562a9920.c"
while executing
".x562a9920.c delete 562a77785130BASE0"
("uplevel" body line 1881)
invoked from within
"uplevel #0 $docmds"

How can I fix it?
Any hints are welcome.
Best,
Popesz
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] From telnet to netreceive whole sentence

2021-03-23 Thread Csaba Láng
Iohannes,
tried your way, bit tricky for my kind of knowledge, but the idea with
routing just was the perfect solution.
2nd outlet of [route] did the job, it natively adds 'list' to the front of
the words with sapces which was the missing part for text3d.
All works perfectly and all the words with spaces are just perfectly
rendered in gemwin.

Have such a lovely day as I have,

Popesz

On Mon, Mar 22, 2021 at 4:08 PM IOhannes m zmoelnig  wrote:

> On 3/22/21 3:47 PM, Csaba Láng wrote:
> > I try to make it simple without unicode, let's say.
> >
> > What if I add [list $1 $2 $3 $4( to text3d where each $ is a word (max
> > number of $ is the amount of words in the longest sentence)
> > How can I achieve not to display 0 0 0 at the and of the list if number
> of
> > words are less than max number of words in the longest sentence.
>
>
> i probably misunderstood your question as "how do I correctly print text
> that contains multiple consecutive spaces" instead of the trivial "i
> want to print multiple words".
>
> if your only problem is to create a list of variable length, then this
> is pretty unrelated to both [netreceive]/telnet and [text3d]
>
> checkout the help for [list prepend] and possibly [list split] (and
> generally of the [list] objects).
>
> also, i fail to see why you can't just use the patch i so beautifully
> painted. why does it not work for you?
>
>
> gdmfs
> IOhannes
>
> >
> > On Mon, Mar 22, 2021 at 3:25 PM IOhannes m zmoelnig 
> wrote:
> >
> >> On 3/22/21 2:52 PM, Csaba Láng wrote:
> >>> Iohannes,
> >>>
> >>> can you explain how I can send unicodepoints to text3d?
> >>
> >> using the [string( message (see the [text3d] help-patch)
> >>
> >> e.g. [string 67 115 97 98 97 32 76 225 110 103(
> >>
> >> the problem is mainly that what comes out of [netreceive -b] is not
> >> going to be unicode-points but utf-8 encodings thereof.
> >> this is where the unicode-library i mentioned earlier comes into play.
> >>
> >> something like:
> >>
> >> [declare -path unicode]
> >>
> >> [netreceive -b ]
> >> [select 10 13]
> >> | /  [append $1(
> >> |/   [s $0-store]
> >> | __/
> >> |/   [r $0-store]
> >> [list   store]
> >> |
> >> [t a b]
> >> | [s $0-store]
> >> |
> >> [route bang]
> >>  [utf82unicodenumber]
> >>  [list prepend string]
> >>  [list trim]
> >>  |
> >>  [text3d]
> >>
> >> (the [s/r $0-store] is only to make the ascii-art nice; use proper
> >> connections instead)
> >>
> >> if you can use UDP instead of TCP, you can practically omit anything
> >> between [select] and [route].
> >>
> >> 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
> >
>
>
>
> ___
> 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] From telnet to netreceive whole sentence

2021-03-22 Thread Csaba Láng
I try to make it simple without unicode, let's say.

What if I add [list $1 $2 $3 $4( to text3d where each $ is a word (max
number of $ is the amount of words in the longest sentence)
How can I achieve not to display 0 0 0 at the and of the list if number of
words are less than max number of words in the longest sentence.

On Mon, Mar 22, 2021 at 3:25 PM IOhannes m zmoelnig  wrote:

> On 3/22/21 2:52 PM, Csaba Láng wrote:
> > Iohannes,
> >
> > can you explain how I can send unicodepoints to text3d?
>
> using the [string( message (see the [text3d] help-patch)
>
> e.g. [string 67 115 97 98 97 32 76 225 110 103(
>
> the problem is mainly that what comes out of [netreceive -b] is not
> going to be unicode-points but utf-8 encodings thereof.
> this is where the unicode-library i mentioned earlier comes into play.
>
> something like:
>
> [declare -path unicode]
>
> [netreceive -b ]
> [select 10 13]
> | /  [append $1(
> |/   [s $0-store]
> | __/
> |/   [r $0-store]
> [list   store]
> |
> [t a b]
> | [s $0-store]
> |
> [route bang]
> [utf82unicodenumber]
> [list prepend string]
> [list trim]
> |
> [text3d]
>
> (the [s/r $0-store] is only to make the ascii-art nice; use proper
> connections instead)
>
> if you can use UDP instead of TCP, you can practically omit anything
> between [select] and [route].
>
> 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] From telnet to netreceive whole sentence

2021-03-22 Thread Csaba Láng
Iohannes,

can you explain how I can send unicodepoints to text3d?

Best,

Popesz

On Sat, Mar 20, 2021 at 2:16 PM IOhannes m zmölnig  wrote:

> Am 20. März 2021 13:25:38 MEZ schrieb "Csaba Láng" :
> > Dear list,
> >
> > I want to get a string of words with spaces to puredata and render
> > these
> > words to gemwin with text3d.
> > How can I send it from telnet and be sure all the words with spaces
> > will
> > arrive to netreceive?
>
> send unicodepoints rather than strings, and use the [string ... ( msg of
> [text3d].
>
> if your string is ASCII only, you can just use the output of [netreceive
> -u -b].
>
> to use UDP, you need something like netcat.
> with telnet you can only use TCP/IP, so you must accumulate the raw binary
> message depending on your made-up protocol (eg split lines on \n).
>
> there's also a utf-8 to unicodepoint abstraction in the Unicode library at
> https://git.iem.at/pd/unicode
>
>
> > Normally if I send via OSC I loose everything after the space.
>
> then you are probably doing something wrong (when crreaatinthe OSC
> message).
>
>
>
>
> mfg.hft.fsl
> 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


[PD] From telnet to netreceive whole sentence

2021-03-20 Thread Csaba Láng
Dear list,

I want to get a string of words with spaces to puredata and render these
words to gemwin with text3d.
How can I send it from telnet and be sure all the words with spaces will
arrive to netreceive?
Normally if I send via OSC I loose everything after the space.
Any hints are welcome.

Best,

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


Re: [PD] Problem with Gem

2021-03-17 Thread Csaba Láng
Try to intall NDI first from the original newtek page. Probably gem is
looking for the original source and not in the obs boundle folder.

śr., 17.03.2021, 06:06 użytkownik Peter P. 
napisał:

> Kosmas,
>
> just a quick reply: Which operating system are you on? Any reason you
> can't install Gem via the "Find externals..." function? If you are on
> Linux (Debian-based) try using the apt package installer to install Gem?
>
> best, P
>
> * Kosmas Giannoutakis  [2021-03-17 02:39]:
> > Hi list,
> >
> > I installed the Gem library from source and everything seemed to
> compiled correctly. When I open pd, I get the message:
> >
> > [GEM:recordNDI] Please (re)install the NewTek NDI Runtimes to use this
> plugin.   need to find the library 'libndi.so.4'
> >
> > This library appears to be at
> >
> > /snap/obs-studio/1185/usr/local/lib/libndi.so
> > /snap/obs-studio/1185/usr/local/lib/libndi.so.4
> > /snap/obs-studio/1185/usr/local/lib/libndi.so.4.5.3
> > /snap/obs-studio/1195/usr/local/lib/libndi.so
> > /snap/obs-studio/1195/usr/local/lib/libndi.so.4
> > /snap/obs-studio/1195/usr/local/lib/libndi.so.4.5.3
> >
> > I guess Gem cannot find it there... Any suggestions?
> >
> > Thanks,
> > Kosmas
>
> > ___
> > 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] Gem: Looking for suggestions for camera / capture setup

2021-03-10 Thread Csaba Láng
When I started this project Gem used the pylon 2 backend. The new cameras
of basler are based on pylon 5. Iohannes that time updated the backend in
Gem to 5. You have to install pylon 5  before compiling Gem showing the
path to pylon. And that’s it.
GigE is not a good solution as the data is more than GigE can handle. I use
usb3 hybrid cables up to 50m.
By the way I use this camera:

https://www.baslerweb.com/en/products/cameras/area-scan-cameras/ace/aca1440-220uc/



On Wed, 10 Mar 2021 at 10:05, Antoine Villeret 
wrote:

> Hi,
>
> Usually the USB3 industrial cameras use iIDC protocol which comes from
> legacy Firewire cameras.
> IIDC is also implemented on some USB2 cameras (like Point Grey Chameleon
> in its first version).
> And IIDC is supported in Gem through the libdc1394 plugin.
> Some vendors implement special features available only through their own
> SDK but I never need to go that route.
>
> Concerning the GigE protocol, there is an open source implementation with
> Aravis which is not directly integrated into Gem afaik.
> Put there is a Pylon plugin which is vendor specific and you might also
> access GigE camera with Gstreamer.
> So at least you should be able to write a pipeline to forward GigE frames
> to Gem via v4l2loopback on Linux.
> But I never did that and to be honest if I have to work with GigE camera
> in Gem, I'd probably write a new plugin if needed instead of trying to
> setup Gstreamer.
> The main advantage of GigE over IIDC is the cable length. With USB and
> Firewire it's hard to work with cable more than 10m long, especially if you
> target high framerate / resolution (which means high bandwidth).
> GigE pushes this limitation to hundreds meters (depending on the cable
> quality and RF environment).
>
> Concerning triggering the Gem render pipeline with the camera itself, I'm
> not sure it is possible out of the box. Most of the video plugin uses
> polling to get frames : a thread runs in the background to retrieve frames
> from the camera and then when the [pix_video] receives a gemstate from a
> gemhead it checks if there is a new frame and copy it to the Gem thread to
> use it.
> So if you want to trigger the gem render pipeline with a camera frame you
> probably need to write a custom external that waits for a new frame (and
> thus blocks the whole Pd instance).
> Another solution is to do the reverse : trigger the camera upon Gem's
> refresh. Most of industrial camera have a trigger input to release the
> (electronic) shutter.
> With some hardware hack you would be able to take an image with the camera
> when you need it.
> But then you might need to wait for the shutter to close and then for the
> image to be processed and sent by the camera. That's not tricky.
>
> Syncing the image processing pipeline on a camera frame is not that easy
> in any case. Even if you write all the code from scratch in C++ for example
> (which I did).
>
> Hope that helps
>
> Cheers
>
> Antoine
>
> Le mer. 10 mars 2021 à 00:07, Max  a écrit :
>
>> On 09.03.21 11:39, Csaba Láng wrote:
>> > Hi All,
>> >
>> > I have made an interactive squash system with Pd based on Basler's high
>> > speed cameras for machine vision. I use mainly above 200fps of 5 USB-3
>> > cameras each of them on a separate USB bus.
>> Very cool.
>>
>> Do you know which model?
>> https://www.baslerweb.com/en/products/cameras/area-scan-cameras/
>>
>> I see USB3 vision is the standard. That works out of the box with Gem?
>> What I read here sounds promising:
>> https://en.wikipedia.org/wiki/USB3_Vision
>>
>> I remember GigE which was terribly hampered and one could download an
>> SDK after signing an NDA, but even with that SDK I wasn't able to get it
>> into Gem.
>>
>> Would something like this work equally:
>>
>> https://www.alliedvision.com/en/products/embedded-vision-cameras/detail/Alvium%201800%20U/-240.html
>>
>> Also I think I have this frame grabber here in a different machine:
>>
>> https://www.baslerweb.com/de/produkte/framegrabber-portfolio/framegrabber/microenable-5-ironman-aq8-cxp6d/
>>
>> How big are my chances that I can get images from Gem with that card on
>> Linux?
>>
>> Max
>>
>>
>>
>> ___
>> 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] Gem: Looking for suggestions for camera / capture setup

2021-03-09 Thread Csaba Láng
If you wanna see some example videos, download the Rayaction squash app,
register (preferably with email as some functions are buggy still) and
check out the video under each exercise.


On Tue, Mar 9, 2021 at 11:39 AM Csaba Láng  wrote:

> Hi All,
>
> I have made an interactive squash system with Pd based on Basler's high
> speed cameras for machine vision. I use mainly above 200fps of 5 USB-3
> cameras each of them on a separate USB bus.
> The balls can fly with a 200km/s speed and I hardly have a problem
> analyzing their position with pix_movement.
> Surely the biggest problem is having a display with a similar fresh rate,
> but if you do not need to render the image then it is fine.
> The computer is a 3GHz processor and 32MB RAM with Ubuntu 19.04 if I
> remember well.
>
> Best,
> Popesz
>
>
> On Tue, Mar 9, 2021 at 11:07 AM Max  wrote:
>
>> On 09.03.21 07:05, Peter P. wrote:
>> > * Max  [2021-03-09 02:01]:
>> >> Hi List,
>> >>
>> >> what's a good setup for a decent framerate (50, 60 fps or even
>> higher?) HD
>> >> live capture from Gem? Is it even possible?
>> >>
>> >> A related problem is that ideally I would like to have Gems framerate
>> be
>> >> driven by the capturing, so that I'm sure not to have missed frames or
>> have
>> >> captured the same frame twice. Is there a solution to that?
>> >
>> > I would love to learn about is as well! Have you tried searching for SDI
>> > on the mailing list archive?
>>
>> I had a glance. I was hoping to get less general advice, preferably
>> concrete proven setups running on Linux.
>> I see there are decklink drivers, are there users out there who can
>> report achieved framerates and latencies from Gem? Which sensor module
>> are they using?
>>
>> Anyone has a DeckLink Duo 2 Mini for example?
>>
>> m.
>>
>>
>>
>> ___
>> 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] Gem: Looking for suggestions for camera / capture setup

2021-03-09 Thread Csaba Láng
Hi All,

I have made an interactive squash system with Pd based on Basler's high
speed cameras for machine vision. I use mainly above 200fps of 5 USB-3
cameras each of them on a separate USB bus.
The balls can fly with a 200km/s speed and I hardly have a problem
analyzing their position with pix_movement.
Surely the biggest problem is having a display with a similar fresh rate,
but if you do not need to render the image then it is fine.
The computer is a 3GHz processor and 32MB RAM with Ubuntu 19.04 if I
remember well.

Best,
Popesz


On Tue, Mar 9, 2021 at 11:07 AM Max  wrote:

> On 09.03.21 07:05, Peter P. wrote:
> > * Max  [2021-03-09 02:01]:
> >> Hi List,
> >>
> >> what's a good setup for a decent framerate (50, 60 fps or even higher?)
> HD
> >> live capture from Gem? Is it even possible?
> >>
> >> A related problem is that ideally I would like to have Gems framerate be
> >> driven by the capturing, so that I'm sure not to have missed frames or
> have
> >> captured the same frame twice. Is there a solution to that?
> >
> > I would love to learn about is as well! Have you tried searching for SDI
> > on the mailing list archive?
>
> I had a glance. I was hoping to get less general advice, preferably
> concrete proven setups running on Linux.
> I see there are decklink drivers, are there users out there who can
> report achieved framerates and latencies from Gem? Which sensor module
> are they using?
>
> Anyone has a DeckLink Duo 2 Mini for example?
>
> m.
>
>
>
> ___
> 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] Image from shader back to Gem

2021-02-15 Thread Csaba Láng
I am totally lost, I attach my shader and the patch which I made the
screenshot of at the beginning of this thread.
Could someone show me how to achieve the texture on a rectangle 16 9 so I
can rotate and crop it and not only as a mask, as it is now in the patch.

Probably totally easy just cannot figure out how to add the pix_snap or
pix_snap2tex

On Mon, Feb 15, 2021 at 10:04 AM cyrille henry  wrote:

> What I understand from the original question was how to feed an image
> generated with a shader to pix_movement.
> So one need an image, not a texture.
> I'm afraid pix_snap is the only solution.
>
> Cheers
> c
>
> Le 15/02/2021 à 08:39, IOhannes m zmoelnig a écrit :
> > On 2/14/21 9:52 PM, Miller Puckette via Pd-list wrote:
> >> I think the question is - within a shader, can you 'snap' an image to
> >> a texture so that it doesn't have to go back and forth between the
> >> GPU and CPU?  I'm curious too... I guess there must be a way to do
> this...
> >
> >
> > [pix_snap2tex]
> > or, preferably [gemframebuffer].
> >
> > gfamsdr
> > 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
>
<>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Image from shader back to Gem

2021-02-14 Thread Csaba Láng
Thanks Miller, indeed this is exactly what I am looking for.
Fighting with pix_snap no images coming to the texture. Is anybody
interested in the shader? Should I share the folder?

Popesz

On Mon, 15 Feb 2021 at 00:30, Miller Puckette via Pd-list <
pd-list@lists.iem.at> wrote:

> I think the question is - within a shader, can you 'snap' an image to
> a texture so that it doesn't have to go back and forth between the
> GPU and CPU?  I'm curious too... I guess there must be a way to do this...
>
> cheers
> Miller
>
> On Sun, Feb 14, 2021 at 08:57:19PM +0100, IOhannes m zm??lnig wrote:
> > On 2/14/21 8:17 PM, Csaba L??ng wrote:
> > > What do you mean?
> > >
> > > Too much?
> >
> >
> > i think you have lost me.
> >
> > you wrote:
> > > Can it be this too (shader and Gem) somehow connected?
> >
> > which i translated to:
> > > Can I somehow run shaders in Gem?
> >
> > to which i replied (in a rather brusque way) by mentioning the
> Gem-objects
> > that allow you to load and execute shaders within Gem.
> >
> >
> >
> > i don't know what "Too much?" would refer to.
> > i'm not even sure whether my translation of your question about shaders
> and
> > Gem is correct (actually, i'm pretty sure it is plain wrong)
> >
> > actually, i'm quite confused about your entire reply on cyrille's
> [pix_snap]
> > suggestion.
> > relating [pix_snap] to manual correction and shaders to automatic
> correction
> > just doesn't make sense to me.
> >
> > so you probably should re-phrase that part (or just ignore my answer
> > completely).
> >
> >
> >
> >
> > fgmds
> > IOhannes
> >
> >
> > anyhow: i still agree with cyrille that the answer to your question "how
> to
> > read back an image from a shader in Gem?" is: [pix_snap].
> > but that answer (just as my snarky answer) assumes that you run the
> shader
> > *within* 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-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Image from shader back to Gem

2021-02-14 Thread Csaba Láng
What do you mean?

Too much?


On Sun, 14 Feb 2021 at 19:14, IOhannes m zmölnig  wrote:

> On 2/14/21 5:49 PM, Csaba Láng wrote:
> > I used pix_snap before for correction but it was a hand made correction,
> > while with the shader I can make it automatic and more accurate.Can it be
> > this too (shader and Gem) somehow connected?
>
> [glsl_program] + ([glsl_fragment], [glsl_vertex], ...)?
>
> fgmasr
> 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] Image from shader back to Gem

2021-02-14 Thread Csaba Láng
I used pix_snap before for correction but it was a hand made correction,
while with the shader I can make it automatic and more accurate.Can it be
this too (shader and Gem) somehow connected?

On Sun, Feb 14, 2021 at 5:46 PM cyrille henry  wrote:

> hello,
> have a look at pix_snap
> (be aware that this is a relatively slow process)
>
> cheers
> C
>
>
> Le 14/02/2021 à 17:29, Csaba Láng a écrit :
> > Dear List,
> >
> > I am using a camera with a fisheye lens for motion detection.
> > The distortion had to be corrected with a shader (method from Matlab)
> but now I need to rotate the image and crop it with pix_crop plus analyze
> the frames with pix_movement.
> > How can I get back the image to Gem?
> > In my patch gemframebuffer send the image to the shader but not a clue
> how I could ise the pix_ objects again.
> >
> > Screenshot 2021-02-14 at 17.27.12.png
> >
> > This is the corrected image from the camera after shader
> > Grid corrected.jpeg
> >
> > Let me know please where I miss something.
> >
> > Best,
> >
> > Popesz
> >
> >
> >
> >
> > ___
> > 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] OSC problem

2021-02-09 Thread Csaba Láng
Just changed the [oscparse] to [unpackOSC] and the slash is there, sorted
out.

On Tue, Feb 9, 2021 at 4:37 PM Csaba Láng  wrote:

> Gents,
>
> the problems is that oscars for some reason does not send the / at the
> beginning of the osc signal, just 'list trigger0 0'
> and for this reason the routeOSC does not understand what it has to route.
>
> What do I miss again?
>
> I have
> [udpreceive 7000]
> |
> [oscparse]
> |
> [list trim]
> |[routeOSC /trigger0 /trigger1]
>
> and nothing comes out on the outlets.
>
>
> hmmm
>
> On Tue, Feb 9, 2021 at 1:34 PM Christof Ressi 
> wrote:
>
>> [netreceive] absolutely did NOT work, under any configuration.
>>
>> [netreceive -u -b] is basically the same as [iemnet/udpreceive], so I
>> don't see what should not work...
>>
>> On 09.02.2021 10:27, Scott R. Looney wrote:
>>
>> hi Csaba - i have done a fair amount of work with OSC in Unity and i
>> highly recommend the extOSC plugin for this (it's free).
>> https://github.com/Iam1337/extOSC
>>
>> homemade OSC sounds cool but there are a lot of flavors and not all of
>> them play well with PD. i tried a number of options and what worked on
>> receive in PD was the following:
>>
>> [iemnet/udpreceive] (with the port set at loadbang) -> [oscparse] - [list
>> trim] and then [route] to send it places.
>>
>> what worked on send to Unity was this: [oscformat (parameter) (value)] ->
>> [list prepend send] -> [list trim] -> [netsend -u -b] (with the connect
>> message to the address and port on loadbang).
>>
>> i'm sure that might sound kludgy and terrible to experienced folks but
>> the receiving setup works perfectly for me and [netreceive] absolutely did
>> NOT work, under any configuration. haven't tested the sending option but it
>> did work in the past.
>>
>> happy to include a screenshot if you need it.
>>
>> best,
>> scott
>>
>>
>>
>>
>>
>> On Tue, Feb 9, 2021 at 1:09 AM Roman Haefeli  wrote:
>>
>>> On Tue, 2021-02-09 at 09:52 +0100, IOhannes m zmölnig wrote:
>>>
>>> > PS: it would help *tremendously* if you could mention what you are
>>> > actually using to receive OSC.
>>>
>>> But also what you are using for _sending_ OSC messages. I gather you
>>> wrote something in Unity. Are you sending in UDP or TCP? If you are
>>> unsure what do you use, I'd go for UDP as it less complex and it is
>>> much more common in OSC world. Also, switching transport protocols
>>> means switching whole concepts. My advice is to stick with one and be
>>> clear about what you use.
>>>
>>> Roman
>>> ___
>>> Pd-list@lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> https://lists.puredata.info/listinfo/pd-list
>>>
>>
>> ___pd-l...@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] OSC problem

2021-02-09 Thread Csaba Láng
Gents,

the problems is that oscars for some reason does not send the / at the
beginning of the osc signal, just 'list trigger0 0'
and for this reason the routeOSC does not understand what it has to route.

What do I miss again?

I have
[udpreceive 7000]
|
[oscparse]
|
[list trim]
|[routeOSC /trigger0 /trigger1]

and nothing comes out on the outlets.


hmmm

On Tue, Feb 9, 2021 at 1:34 PM Christof Ressi 
wrote:

> [netreceive] absolutely did NOT work, under any configuration.
>
> [netreceive -u -b] is basically the same as [iemnet/udpreceive], so I
> don't see what should not work...
>
> On 09.02.2021 10:27, Scott R. Looney wrote:
>
> hi Csaba - i have done a fair amount of work with OSC in Unity and i
> highly recommend the extOSC plugin for this (it's free).
> https://github.com/Iam1337/extOSC
>
> homemade OSC sounds cool but there are a lot of flavors and not all of
> them play well with PD. i tried a number of options and what worked on
> receive in PD was the following:
>
> [iemnet/udpreceive] (with the port set at loadbang) -> [oscparse] - [list
> trim] and then [route] to send it places.
>
> what worked on send to Unity was this: [oscformat (parameter) (value)] ->
> [list prepend send] -> [list trim] -> [netsend -u -b] (with the connect
> message to the address and port on loadbang).
>
> i'm sure that might sound kludgy and terrible to experienced folks but the
> receiving setup works perfectly for me and [netreceive] absolutely did NOT
> work, under any configuration. haven't tested the sending option but it did
> work in the past.
>
> happy to include a screenshot if you need it.
>
> best,
> scott
>
>
>
>
>
> On Tue, Feb 9, 2021 at 1:09 AM Roman Haefeli  wrote:
>
>> On Tue, 2021-02-09 at 09:52 +0100, IOhannes m zmölnig wrote:
>>
>> > PS: it would help *tremendously* if you could mention what you are
>> > actually using to receive OSC.
>>
>> But also what you are using for _sending_ OSC messages. I gather you
>> wrote something in Unity. Are you sending in UDP or TCP? If you are
>> unsure what do you use, I'd go for UDP as it less complex and it is
>> much more common in OSC world. Also, switching transport protocols
>> means switching whole concepts. My advice is to stick with one and be
>> clear about what you use.
>>
>> Roman
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
>
> ___pd-l...@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] OSC problem

2021-02-09 Thread Csaba Láng
Scott,
thanks a lot. Using the extOSC, Unity started to send me the OSC signal,
after using the magic solution for Windows problems, which is a simple
restart.
Now I have the only problem that sometimes the slash is missing for an
unknown reason but if I fix it, I am OK.

Thanks for all the solutions you guys suggested.

Have a nice day!

Popesz



On Tue, Feb 9, 2021 at 12:33 PM Scott R. Looney 
wrote:

> hi Csaba - here's the screenshots, the patch may not do you any good, but
> i think you should get the idea from what it shows. docs on extOSC are
> good, though they don't refer to how you should receive it in PD, they do
> talk about TouchOSC i believe. you will need iemnet installed, but
> everything else should already be in vanilla.
>
> best,
> scott
>
> On Tue, Feb 9, 2021 at 2:48 AM Csaba Láng  wrote:
>
>> Scott,
>>
>> thanks for the Unity part suggestions. Screenshots are welcome, patch is
>> even better :)
>> Just to be clear you suggest both solution in one time: extOSC and the
>> udpreceive - oscars, or the udprevceive works already with the OSC I use
>> now from Unity.
>>
>> Will come back if tested the extOSC package for Unity, probably in 12
>> hours.
>>
>> Best,
>>
>> Popesz
>>
>> On Tue, Feb 9, 2021 at 10:55 AM Scott R. Looney 
>> wrote:
>>
>>> hi Csaba - i have done a fair amount of work with OSC in Unity and i
>>> highly recommend the extOSC plugin for this (it's free).
>>> https://github.com/Iam1337/extOSC
>>>
>>> homemade OSC sounds cool but there are a lot of flavors and not all of
>>> them play well with PD. i tried a number of options and what worked on
>>> receive in PD was the following:
>>>
>>> [iemnet/udpreceive] (with the port set at loadbang) -> [oscparse] -
>>> [list trim] and then [route] to send it places.
>>>
>>> what worked on send to Unity was this: [oscformat (parameter) (value)]
>>> -> [list prepend send] -> [list trim] -> [netsend -u -b] (with the connect
>>> message to the address and port on loadbang).
>>>
>>> i'm sure that might sound kludgy and terrible to experienced folks but
>>> the receiving setup works perfectly for me and [netreceive] absolutely did
>>> NOT work, under any configuration. haven't tested the sending option but it
>>> did work in the past.
>>>
>>> happy to include a screenshot if you need it.
>>>
>>> best,
>>> scott
>>>
>>>
>>>
>>>
>>>
>>> On Tue, Feb 9, 2021 at 1:09 AM Roman Haefeli  wrote:
>>>
>>>> On Tue, 2021-02-09 at 09:52 +0100, IOhannes m zmölnig wrote:
>>>>
>>>> > PS: it would help *tremendously* if you could mention what you are
>>>> > actually using to receive OSC.
>>>>
>>>> But also what you are using for _sending_ OSC messages. I gather you
>>>> wrote something in Unity. Are you sending in UDP or TCP? If you are
>>>> unsure what do you use, I'd go for UDP as it less complex and it is
>>>> much more common in OSC world. Also, switching transport protocols
>>>> means switching whole concepts. My advice is to stick with one and be
>>>> clear about what you use.
>>>>
>>>> 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
>>>
>> ___
>> 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] OSC problem

2021-02-09 Thread Csaba Láng
Scott,

thanks for the Unity part suggestions. Screenshots are welcome, patch is
even better :)
Just to be clear you suggest both solution in one time: extOSC and the
udpreceive - oscars, or the udprevceive works already with the OSC I use
now from Unity.

Will come back if tested the extOSC package for Unity, probably in 12 hours.

Best,

Popesz

On Tue, Feb 9, 2021 at 10:55 AM Scott R. Looney 
wrote:

> hi Csaba - i have done a fair amount of work with OSC in Unity and i
> highly recommend the extOSC plugin for this (it's free).
> https://github.com/Iam1337/extOSC
>
> homemade OSC sounds cool but there are a lot of flavors and not all of
> them play well with PD. i tried a number of options and what worked on
> receive in PD was the following:
>
> [iemnet/udpreceive] (with the port set at loadbang) -> [oscparse] - [list
> trim] and then [route] to send it places.
>
> what worked on send to Unity was this: [oscformat (parameter) (value)] ->
> [list prepend send] -> [list trim] -> [netsend -u -b] (with the connect
> message to the address and port on loadbang).
>
> i'm sure that might sound kludgy and terrible to experienced folks but the
> receiving setup works perfectly for me and [netreceive] absolutely did NOT
> work, under any configuration. haven't tested the sending option but it did
> work in the past.
>
> happy to include a screenshot if you need it.
>
> best,
> scott
>
>
>
>
>
> On Tue, Feb 9, 2021 at 1:09 AM Roman Haefeli  wrote:
>
>> On Tue, 2021-02-09 at 09:52 +0100, IOhannes m zmölnig wrote:
>>
>> > PS: it would help *tremendously* if you could mention what you are
>> > actually using to receive OSC.
>>
>> But also what you are using for _sending_ OSC messages. I gather you
>> wrote something in Unity. Are you sending in UDP or TCP? If you are
>> unsure what do you use, I'd go for UDP as it less complex and it is
>> much more common in OSC world. Also, switching transport protocols
>> means switching whole concepts. My advice is to stick with one and be
>> clear about what you use.
>>
>> 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
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] OSC problem

2021-02-09 Thread Csaba Láng
I haven’t used slipdeck at all. It is somehow built in the tcpreceiver as
the message from the console is from the moment I changed the port to the
required 7000.

On Tue, 9 Feb 2021 at 09:36, IOhannes m zmölnig  wrote:

> On 2/9/21 9:31 AM, IOhannes m zmölnig wrote:
> > i think the important part here is that if you are using UDP for
> > transmission then you should **not** use [slipdec] at all.
>
> that should actually read:
>
> if you are using UDP for transmission then you *MUST not* use [slipdec]
> at all.
>
>
> fgmdsa
> 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


[PD] OSC problem

2021-02-08 Thread Csaba Láng
Dear list,

I have made a little program in Unity to send over OSC (port 7000) 60 times
per second if a trigger was touched or not (1 and 0 respectively)

However, any of my tries if it was over localnetwork or via IP to port 7000
nothing comes to Pd.
Tried udp, tcp and netreceive but cannot catch any of the signals which
looks like this
/trigger0/0 or /trigger34/1

Anyway, netreceive print to the console: slipdec: maximum packet length is
65536.

What could go wrong?
When I use Arena or Artnet the OSC is running with all the info I need, but
Pd is muted totally.

Best,

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


Re: [PD] removedollar

2020-12-17 Thread Csaba Láng
Iohannes,
thanks for your prompt answer.
The reason I thought of removedollar, to not have 10 elements on the
ranking, but just 3, if 3 people compete.
Looks like [list store] will be the easiest choice.

Thanks once again,

Popesz

On Thu, Dec 17, 2020 at 1:43 PM IOhannes m zmoelnig  wrote:

> On 12/17/20 1:22 PM, Csaba Láng wrote:
> > Dear list,
> >
> > if there is [adddollar( is there [removedollar( too?
> >
> > I want to pack an unknown amount of numbers to a list, between 1-10. it
> can
> > be once 5, later 3 etc.
> >
> > Is it possible with pd?
>
> how would [removedollar( help you here?
> in your problem description i don't see the need to *remove* anything.
> so what do you expect [removedollar( to do?
>
> what's wrong with [list store]?
> and if you want to stay old-school, what's wrong with [add2(?
>
> gfadsmr
> 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


[PD] removedollar

2020-12-17 Thread Csaba Láng
Dear list,

if there is [adddollar( is there [removedollar( too?

I want to pack an unknown amount of numbers to a list, between 1-10. it can
be once 5, later 3 etc.

Is it possible with pd?

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


Re: [PD] decreasing order from 10 numbers

2020-12-16 Thread Csaba Láng
Oliver,

thank you for your reply. Looks like [sort] from Zexy will be my perfect
choice.
All the best,

Popesz



On Wed, Dec 16, 2020 at 6:57 PM oliver  wrote:

> Csaba Láng wrote:
> > Dear list,
> >
> > I need to make a decreasing order from 10 different numbers.
> > Namely, I have 10 people doing something finishing in different times,
> > and I would like to display their ranking in a decreasing order.
> > Is it possible to create such an order in Pd?
> > Any clues are welcome.
>
> many possible ways:
>
> 1.) VANILLA: [text define] and the [sort( message
> (but as of PD.0.51 you have to take care for the descending order
> manually after sorting)
> 2.) [list-sort] from the [LIST-ABS] abstractions
> 3.) [sort] from the [ZEXY] library
>
> best
>
> oliver
>
>
>
> ___
> 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] decreasing order from 10 numbers

2020-12-16 Thread Csaba Láng
Dear list,

I need to make a decreasing order from 10 different numbers.
Namely, I have 10 people doing something finishing in different times, and
I would like to display their ranking in a decreasing order.
Is it possible to create such an order in Pd?
Any clues are welcome.

Best,

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


[PD] model object with mtl texture

2020-12-02 Thread Csaba Láng
Dear list,

I have both obj and mtl in the same folder, but when I send 1 to material
message, nothing happens. I found a topic on the forum, that pix_image and
pix_texture will add the material, but not from the mtl file.
Long story short, how can I add the mtl texture to my obj 3d model?

Best,

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


[PD] matlab camera calibration app to Pd

2020-07-09 Thread Csaba Láng
Dear list,

I have found an app on Matlab, which can handle any lens distortion with a
fisheye lens.
https://uk.mathworks.com/help/vision/camera-calibration-and-3-d-vision.html
My camera would send the image through the matlab app to have a flat image
which I would like to send to GEM and analize with the pix_movement if
there are any changes between the frames.

Did anyone try it before? Is it possible to pass through live cam input and
send the corrected one to Pd immediately?

Hope someone has a good idea or made it before.

All the best,

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


Re: [PD] changing line width in Gem

2020-04-16 Thread Csaba Láng
Perfect, thanks a lot!

On Thu, Apr 16, 2020 at 4:41 PM rep  wrote:

> Hi Popesz
>
> Le 2020-04-16 13:35, Csaba Láng a écrit :
> > Dear list,
> >
> > is there any chance to change the width of the lines when you send the
> > message [draw line( to any of the geometrical objects?
>
> dont know with [draw line(
>
> but you can use [GEMglPolygonMode] with [GEMglLineWidth]
> see attached patch
> this solution works with [model] too
>
> > I think it is 1px by default, but looking for a solution to make it
> > bigger.
>
> here, I can set it from 1 to 10 (but no more) pixels
>
> Pierre
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] changing line width in Gem

2020-04-16 Thread Csaba Láng
Dear list,

is there any chance to change the width of the lines when you send the
message [draw line( to any of the geometrical objects?
I think it is 1px by default, but looking for a solution to make it bigger.

Thanks in advance,

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


[PD] VR and Pd

2020-04-09 Thread Csaba Láng
Dear list,

I plan to make a VR installation in Pd and GEM, but no idea if it is
possible with any Pd externals.
How should I start?
Best,
Popesz
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] Hokuyo and Pd

2020-04-07 Thread Csaba Láng
Dear list,

has anybody tried to use a Hokuyo scanning laser rangefinder with Pd?
Touch designer has a nice integration already but curious if Pd can do the
same, such as make a touch screen of any surface.
Best,
Popesz
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Subprocess CPU core check

2020-03-20 Thread Csaba Láng
Chuck,

naturally i use [shell]. Your advice sounds like the ultimate solution.
Now the same I have to make for the rest of the cores to keep the main Pd
out of the core where the subprocess is bound.

Thanks a lot,

Popesz

On Fri, Mar 20, 2020 at 6:03 PM Charles Z Henry  wrote:

> Hi Popesz,
>
> Are you using [ggee/shell] ?
>
> Here's an example that works on my linux machine
>
> [taskset -c 2 $_ -noaudio >/dev/null & P=$! && echo $P  && wait $P(
> |
> [ggee/shell]
> |
> [f ]///the PID
>
> When I run that command, $_ is a bash variable (see [env( - [shell] -
> [print] for full environment) that has the full path to the pd binary
> in use.  You may have to replace "$_" with something more appropriate
> to your system
> I added -noaudio, because my first pd process is handling audio I/O.
> I don't need stdout from pd itself, so I added ">/dev/null".  The
> process shows up in top or htop with those arguments included.  You
> could distinguish between your processes by some environment variable
> or set of options to pd in the command.
> "& P=$! " launches pd into the background and records a variable P for
> its PID.  There may be other ways of doing this.
> "&& echo $P && wait $P"  causes the shell started by [shell] to output
> the PID to stdout (the left outlet).  Without "wait $P", [shell]
> outputs a bang from its right outlet immediately.  Using "wait $P"
> allows [shell] to maintain the status of the process, and it outputs a
> bang when the process ends.
>
> Using htop, I see that the process starts and runs on CPU "3".
> Taskset must use a CPU numbering that starts at 0, and htop counts
> CPU's from 1.
>
> Chuck
>
>
>
> On Fri, Mar 20, 2020 at 10:23 AM Csaba Láng  wrote:
> >
> > Dear list,
> > I am getting closer to the solution of binding process to a certain core
> with taskset.
> > e.g. taskset 0xa gedit will bind the gedit to the tenth core.
> >
> > Now the problem is that I cannot identify the subprocess by its name as
> it will be pd too, and the PID will be always different so cannot use that
> number too.
> > What would be the logical solution for starting the subprocess from pd
> with the taskedit command?
> >
> > Thanks in advance for any help,
> >
> > Popesz
> >
> > On Thu, Mar 5, 2020 at 11:14 PM IOhannes m zmölnig 
> wrote:
> >>
> >> On 3/5/20 10:48 PM, Charles Z Henry wrote:
> >> > On Thu, Mar 5, 2020 at 4:14 AM Max  wrote:
> >> >>
> >> >> A glance at the System Monitor CPU history graph should give you an
> idea.
> >> >>
> >>
> >> i usually use 'htop', which is a much improved version of top which also
> >> (among verious other interesting things) gives you the CPU of a process.
> >>
> >> >
> >> > Second, you can bind processes to certain CPUs.  This is called "CPU
> >> > affinity" and it's controlled by the linux command "taskset".  This
> >> > looks like a fine explanation
> >>
> >>
> >> but keep in mind that the people who designed the muticore scheduling
> >> algorithms most likely will have a better idea of how to ideally
> >> distribute multiple processes onto multiple CPUs.
> >>
> >> gmsdr
> >> 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
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Subprocess CPU core check

2020-03-20 Thread Csaba Láng
Dear list,
I am getting closer to the solution of binding process to a certain core
with taskset.
e.g. taskset 0xa gedit will bind the gedit to the tenth core.

Now the problem is that I cannot identify the subprocess by its name as it
will be pd too, and the PID will be always different so cannot use that
number too.
What would be the logical solution for starting the subprocess from pd with
the taskedit command?

Thanks in advance for any help,

Popesz

On Thu, Mar 5, 2020 at 11:14 PM IOhannes m zmölnig  wrote:

> On 3/5/20 10:48 PM, Charles Z Henry wrote:
> > On Thu, Mar 5, 2020 at 4:14 AM Max  wrote:
> >>
> >> A glance at the System Monitor CPU history graph should give you an
> idea.
> >>
>
> i usually use 'htop', which is a much improved version of top which also
> (among verious other interesting things) gives you the CPU of a process.
>
> >
> > Second, you can bind processes to certain CPUs.  This is called "CPU
> > affinity" and it's controlled by the linux command "taskset".  This
> > looks like a fine explanation
>
>
> but keep in mind that the people who designed the muticore scheduling
> algorithms most likely will have a better idea of how to ideally
> distribute multiple processes onto multiple CPUs.
>
> gmsdr
> 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] Subprocess CPU core check

2020-03-05 Thread Csaba Láng
Thanks Andrew,

that's cool but it still does not prove me that it runs on a different core.

On Thu, Mar 5, 2020 at 12:00 AM Andrew Lyons  wrote:

> Use this command in a shell: top
>
> https://en.m.wikipedia.org/wiki/Top_%28software%29?wprov=sfla1
>
> The parent process will have the lowest pid. (The child processes spawn
> afterwards.)
>
> On Wed, Mar 4, 2020, 2:40 PM Csaba Láng  wrote:
>
>> True, my apologies.
>> Ubuntu 19.04
>> Pd 0.50-0
>>
>> On Wed, 4 Mar 2020 at 23:37, Peter P.  wrote:
>>
>>> * Csaba Láng  [2020-03-04 23:32]:
>>> > Dear list,
>>> > how can I check if my subprocess really runs on a different core than
>>> the
>>> > main pd instance.
>>> Telling about your operating system could be a first step.
>>>
>>>
>>>
>>> ___
>>> 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] Subprocess CPU core check

2020-03-04 Thread Csaba Láng
True, my apologies.
Ubuntu 19.04
Pd 0.50-0

On Wed, 4 Mar 2020 at 23:37, Peter P.  wrote:

> * Csaba Láng  [2020-03-04 23:32]:
> > Dear list,
> > how can I check if my subprocess really runs on a different core than the
> > main pd instance.
> Telling about your operating system could be a first step.
>
>
>
> ___
> 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] Subprocess CPU core check

2020-03-04 Thread Csaba Láng
Dear list,
how can I check if my subprocess really runs on a different core than the
main pd instance.

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


Re: [PD] write symbol to file and read next time to symbol

2020-02-14 Thread Csaba Láng
Looks like i am looking for savestate.
Tomorrow I will take a look.
Thanks for the hint.

On Fri, 14 Feb 2020 at 22:38, Fede Camara Halac 
wrote:

> I dont understand. Are you looking for a "init"-type option like iem guis
> have but for pd's symbol?
>
>
> >> next time I open the patch will fill the
> >> symbol with the same 'text' what was written before.
>
> [savestate] could be helpful if you are making a gui abstraction
>
>
> ___
> 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] write symbol to file and read next time to symbol

2020-02-14 Thread Csaba Láng
Dear list,

the title says everything: I need to make a GUI where when I fill in it
saves the 'text' to a file and next time I open the patch will fill the
symbol with the same 'text' what was written before.
Something like an autofill option in the browsers.

Is it possible?

Best,

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


Re: [PD] object opposite of change

2020-02-06 Thread Csaba Láng
Chuck,

thanks for the hint, sounds good. I will give a try tomorrow, but already
started to have some other solutions, and I played with time delay. I mean
under it to compare XYZ coordinates in time, if delta is close to the
noise, than I expect that the object (hand) is still.
However, there are bigger problems, as the hand disappears if the hand
touches the background, in this case I have a lost hand. Assuming that I
lost on the very last position, just before touching the wall, I can get a
quite close parameter of the hand.
Still need some tests, but together with yours probably can have a better
assumption.

Best,
Popesz

On Sun, Feb 2, 2020 at 12:56 AM Charles Z Henry  wrote:

> Hi Popesz,
>
> At least on kinect, there's always a bit of noise in the tracking.
> The change from frame-to-frame will never be exactly 0, so you need
> something that acts more like a threshold.
>
> One place to start would be collecting some data on the amplitude of
> the noise when you're doing what you'd consider standing still.
> For one dimensional data, you just want to see how big is the typical
> value of |x(n)-x(n-1)|.  For more dimensions, you need sqrt sum of
> squares on the differences
>
> Then, I'd probably give it a exponential decay weighting and compare
> against a threshold that is just some factor larger than the basic
> noise amplitude.
>
> 1-D:
> [r coordinate]
> |
> [t f f]
> X
> [- 0]
> |   [r fb]
> |   [* 0.9] or some other factor <1
> [+ 0]
> |\
> | [s fb]
> |
> [expr $f1 < 10]
> |
> [select 0 1]
>
> My kinect data is all over the place.  The device is really sensitive
> to lighting, background detail, and so on.  You should consider that
> the noise may be larger sometimes depending on where you're using the
> sensor.
>
> Chuck
>
>
> On Sat, Feb 1, 2020 at 2:58 PM Csaba Láng  wrote:
> >
> > Dearest list,
> >
> > is there any object which only gives me a value from a constantly
> changing random numbers when it stops for a while, let's say for one second
> or so?
> > I am looking for the parameters of tracking hands from Kinect like
> motion detector when the hands stops on an object for a while.
> >
> > Best,
> >
> > Popesz
> > ___
> > 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] expression with arctn

2020-02-03 Thread Csaba Láng
Back to the difference of Iohannes' suggestions, looks like [expr atan...]
gives results only from -90 to 90 degrees, [atan2] gives from -180 to 180.
And the atan2 is 90 degree rotated: atan2 results 0 degree on (1;0) while
the expression gives 0 degrees on (0;1) and (0;-1).

On Mon, Feb 3, 2020 at 1:28 AM Alexandre Torres Porres 
wrote:

>
>
> Em dom., 2 de fev. de 2020 às 11:49, Jack  escreveu:
>
>> Hello,
>>
>> You can look at :
>> http://yadegari.org/expr/expr.html
>
>
> best look at the help file of [expr], it is much more up to date than that
> link (unless you're not using the latest vanilla)
> ___
> 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] expression with arctn

2020-02-02 Thread Csaba Láng
looks like [atan2] works for me better than the expression you gave. indeed
i need all 4 quarters, what the expression does not indicate.

On Sun, Feb 2, 2020 at 9:01 PM IOhannes m zmölnig  wrote:

> Am 2. Februar 2020 20:52:14 MEZ schrieb "Csaba Láng"  >:
> >thank you gentlemen, this is what I needed. never figured out that atan
> >is
> >arctn.
>
> in general, you might prefer `atan2` over `atan`, as this allows for all
> four quadrants.
>
> `[expr]` has both variants.
>
>
> mfg.hft.fsl
> 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] expression with arctn

2020-02-02 Thread Csaba Láng
thank you gentlemen, this is what I needed. never figured out that atan is
arctn.

On Sun, Feb 2, 2020 at 8:49 PM Jack  wrote:

> Hello,
>
> You can look at :
> http://yadegari.org/expr/expr.html
> ++
>
> Jack
>
>
>
> Le 02/02/2020 à 20:18, Csaba Láng a écrit :
> > Dear list,
> >
> > how would you calculate with an expression this formula:
> >
> > arctg(y/x)
> >
> >
> > looks like tan, sin, cos cannot be in the expression, does it mean I
> > have to brake it into parts?
> >
> >
> > Best,
> >
> >
> > Popesz
> >
> >
> > ___
> > 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


[PD] expression with arctn

2020-02-02 Thread Csaba Láng
Dear list,

how would you calculate with an expression this formula:

arctg(y/x)


looks like tan, sin, cos cannot be in the expression, does it mean I have
to brake it into parts?


Best,


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


Re: [PD] object opposite of change

2020-02-01 Thread Csaba Láng
And with float, quite good option. Thanks

On Sat, 1 Feb 2020 at 22:02, IOhannes m zmölnig  wrote:

> On 2/1/20 9:48 PM, Csaba Láng wrote:
> > Dearest list,
> >
> > is there any object which only gives me a value from a constantly
> changing
> > random numbers when it stops for a while, let's say for one second or so?
> > I am looking for the parameters of tracking hands from Kinect like motion
> > detector when the hands stops on an object for a while.
>
> [delay] + [spigot]?
>
> fsmard
> 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


[PD] object opposite of change

2020-02-01 Thread Csaba Láng
Dearest list,

is there any object which only gives me a value from a constantly changing
random numbers when it stops for a while, let's say for one second or so?
I am looking for the parameters of tracking hands from Kinect like motion
detector when the hands stops on an object for a while.

Best,

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


Re: [PD] audio via HDMI output terminates Pd

2020-01-21 Thread Csaba Láng
No, on a strong desktop with 3GHz processor with Ubuntu 19.04

On Tue, Jan 21, 2020 at 4:52 PM Jakob  wrote:

> Hi!
> Are you on a raspberry pi?
> Best, Jakob
>
> Am 21.01.2020 um 13:44 schrieb Csaba Láng :
>
> Did not manage to fully repair the audio problem on HDMI.
> Reinstalled pd with apt-get, and started with *pd -alsa -alsaadd pulse
> -audiooutdev 5 -noadc* where 5 is the HDMI output.
> Now the 2 minutes video play until the end and quits with error as below:
>
> pd: pcm.c:1167: snd_pcm_prepare: Assertion `pcm' failed.
> Pd: signal 6
> pd-extern: EOF on input
>
> and
>
> pdsend errorname: >>error writing "sock55d791aa9930": connection reset by
> peer<<
>
> Does it mean anything which takes me closer to solve this issue?
>
> Popesz
>
>
>
>
> On Mon, Dec 16, 2019 at 12:08 AM IOhannes m zmölnig 
> wrote:
>
>> Am 15. Dezember 2019 21:23:35 MEZ schrieb "Csaba Láng" <
>> langcs...@gmail.com>:
>> >Still fighting.
>> >Installed jackd, connected pulseaudio to Jack, but still nothing.
>> >This is how it looks like:
>> >[image: Screenshot from 2019-12-15 21-21-33.png]
>> >Do I have to install PD from scratch if Jack was not present during the
>> >last installation?
>>
>> i dont know how you obtained Pd.
>> if using the system packages (via apt), they'll have jack support built
>> in.
>> if you compiled Pd yourself, you would have needed to add "--enable-jack"
>> to the configure flags (and have the jack-dev package installed)
>>
>> finally, you must of course select Jack AS the audio  backend...
>>
>>
>> mfg.hft.fsl
>> 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
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] audio via HDMI output terminates Pd

2020-01-21 Thread Csaba Láng
Did not manage to fully repair the audio problem on HDMI.
Reinstalled pd with apt-get, and started with *pd -alsa -alsaadd pulse
-audiooutdev 5 -noadc* where 5 is the HDMI output.
Now the 2 minutes video play until the end and quits with error as below:

pd: pcm.c:1167: snd_pcm_prepare: Assertion `pcm' failed.
Pd: signal 6
pd-extern: EOF on input

and

pdsend errorname: >>error writing "sock55d791aa9930": connection reset by
peer<<

Does it mean anything which takes me closer to solve this issue?

Popesz




On Mon, Dec 16, 2019 at 12:08 AM IOhannes m zmölnig  wrote:

> Am 15. Dezember 2019 21:23:35 MEZ schrieb "Csaba Láng" <
> langcs...@gmail.com>:
> >Still fighting.
> >Installed jackd, connected pulseaudio to Jack, but still nothing.
> >This is how it looks like:
> >[image: Screenshot from 2019-12-15 21-21-33.png]
> >Do I have to install PD from scratch if Jack was not present during the
> >last installation?
>
> i dont know how you obtained Pd.
> if using the system packages (via apt), they'll have jack support built in.
> if you compiled Pd yourself, you would have needed to add "--enable-jack"
> to the configure flags (and have the jack-dev package installed)
>
> finally, you must of course select Jack AS the audio  backend...
>
>
> mfg.hft.fsl
> 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] audio via HDMI output terminates Pd

2019-12-15 Thread Csaba Láng
Still fighting.
Installed jackd, connected pulseaudio to Jack, but still nothing.
This is how it looks like:
[image: Screenshot from 2019-12-15 21-21-33.png]
Do I have to install PD from scratch if Jack was not present during the
last installation?


On Fri, Dec 13, 2019 at 9:02 AM IOhannes m zmölnig  wrote:

> Am 13. Dezember 2019 08:17:38 MEZ schrieb "Csaba Láng" <
> langcs...@gmail.com>:
> >The audio worked from other software without problem. Installed
> >pulseaudio
> >and its gui from apt. In Pd portaudio is still blank, no device to
> >choose.
> >Do I still miss anything?
> >
>
> my other mail?
>
> also make sure to start Pd with "-noadc".
>
>
> mfg.hft.fsl
> 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] audio via HDMI output terminates Pd

2019-12-12 Thread Csaba Láng
The audio worked from other software without problem. Installed pulseaudio
and its gui from apt. In Pd portaudio is still blank, no device to choose.
Do I still miss anything?

On Wed, Dec 11, 2019 at 6:27 PM matthew brandi  wrote:

> On 11/12/2019 15:40, IOhannes m zmoelnig wrote:
> > On 11.12.19 15:15, Csaba Láng wrote:
> >> installed pulsaudio with snap connect pulseaudio:home core at the end,
> but in pd nothing has changed, the devices are missing
> > dunno.
> > i don't even know what "snap" is
>
>
> This, I think:
>
>
> <https://en.wikipedia.org/wiki/Snappy_(package_manager)>
>
> <https://snapcraft.io/>
>
>
> I am *not* the expert, but note:
>
>
> "declarative metadata that is interpreted by the snap system to set up an
> appropriately shaped secure sandbox or container for that application."
>
>
> Does the equivalent set-up using non-snap software work?
>
>
> Best
>
>
> m
>
> --
> matthew brandi | 020 8882 4616
>
> ___
> 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] audio via HDMI output terminates Pd

2019-12-11 Thread Csaba Láng
installed pulsaudio with snap connect pulseaudio:home core at the end, but
in pd nothing has changed, the devices are missing
[image: pulsaudio.png]


On Wed, Dec 11, 2019 at 3:05 PM Csaba Láng  wrote:

> Yes, they are not installed. which one you prefer, or could be more stable?
>
>
> On Wed, Dec 11, 2019 at 3:03 PM IOhannes m zmoelnig 
> wrote:
>
>> On 11.12.19 13:18, Csaba Láng wrote:
>> > Dear list,
>> >
>> > I am trying to play video with synced audio on HDMI output, but after
>> 10-15
>> > seconds Pd dies with an error:
>> >
>> > pd: pcm.c:1168: snd_pcm_prepare: Assertion `pcm' failed.
>> > Pd: signal 6
>> > Can you help me to fix this issue?
>> >
>> > Ubuntu 18.04 with ALSA
>>
>> have you tried JACK?
>> and PulseAudio via portaudio?
>>
>> fvamsdr
>> 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] audio via HDMI output terminates Pd

2019-12-11 Thread Csaba Láng
Yes, they are not installed. which one you prefer, or could be more stable?


On Wed, Dec 11, 2019 at 3:03 PM IOhannes m zmoelnig  wrote:

> On 11.12.19 13:18, Csaba Láng wrote:
> > Dear list,
> >
> > I am trying to play video with synced audio on HDMI output, but after
> 10-15
> > seconds Pd dies with an error:
> >
> > pd: pcm.c:1168: snd_pcm_prepare: Assertion `pcm' failed.
> > Pd: signal 6
> > Can you help me to fix this issue?
> >
> > Ubuntu 18.04 with ALSA
>
> have you tried JACK?
> and PulseAudio via portaudio?
>
> fvamsdr
> 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] audio via HDMI output terminates Pd

2019-12-11 Thread Csaba Láng
Audio works fine for the 15 sec. how can i increase the buffer?

On Wed, Dec 11, 2019 at 1:59 PM Simon Iten  wrote:

> what are your settings? buffer etc.? try increasing the buffer and see if
> that helps. does PD actually output any sound in those first 10-15 seconds?
>
> On 11 Dec 2019, at 13:21, Csaba Láng  wrote:
>
> and an other error which slows down the PC significantly appears in
> terminal:
>
> alsa xrun recovery apparently failed
> restart alsa output
>
> On Wed, Dec 11, 2019 at 1:18 PM Csaba Láng  wrote:
>
>> Dear list,
>>
>> I am trying to play video with synced audio on HDMI output, but after
>> 10-15 seconds Pd dies with an error:
>>
>> pd: pcm.c:1168: snd_pcm_prepare: Assertion `pcm' failed.
>> Pd: signal 6
>> Can you help me to fix this issue?
>>
>> Ubuntu 18.04 with ALSA
>>
>> Best,
>> Popesz
>>
>> ___
> 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] audio via HDMI output terminates Pd

2019-12-11 Thread Csaba Láng
and an other error which slows down the PC significantly appears in
terminal:

alsa xrun recovery apparently failed
restart alsa output

On Wed, Dec 11, 2019 at 1:18 PM Csaba Láng  wrote:

> Dear list,
>
> I am trying to play video with synced audio on HDMI output, but after
> 10-15 seconds Pd dies with an error:
>
> pd: pcm.c:1168: snd_pcm_prepare: Assertion `pcm' failed.
> Pd: signal 6
> Can you help me to fix this issue?
>
> Ubuntu 18.04 with ALSA
>
> Best,
> Popesz
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] audio via HDMI output terminates Pd

2019-12-11 Thread Csaba Láng
Dear list,

I am trying to play video with synced audio on HDMI output, but after 10-15
seconds Pd dies with an error:

pd: pcm.c:1168: snd_pcm_prepare: Assertion `pcm' failed.
Pd: signal 6
Can you help me to fix this issue?

Ubuntu 18.04 with ALSA

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


Re: [PD] store a symbol and send on bang

2019-12-05 Thread Csaba Láng
Gosh, lost half day on such a simple task. Gents, thanks for the perfect
solution!

On Thu, Dec 5, 2019 at 9:18 PM Alexandre Torres Porres 
wrote:

> the [symbol] object stores symbols, you can connect it to a [send] object.
>
> [value] and [float] also have a built in send function, maybe we could
> include one too for [symbol], but it would break things as giving it a
> message "send x" these days just turns "send" to "symbol send".
>
> Em qui., 5 de dez. de 2019 às 15:48, Csaba Láng 
> escreveu:
>
>> Dear list,
>>
>> is there a way to store a symbol and send it on a bang as the [value] or
>> [float] objects do it with floats?
>>
>> Popesz
>> ___
>> 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] store a symbol and send on bang

2019-12-05 Thread Csaba Láng
Dear list,

is there a way to store a symbol and send it on a bang as the [value] or
[float] objects do it with floats?

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


Re: [PD] Get the info error info from console and end it to port

2019-12-05 Thread Csaba Láng
OK got it, this is the way to run in the terminal. :)
Please delete my previous question from the archives :)

On Thu, Dec 5, 2019 at 4:33 PM Csaba Láng  wrote:

> Iohannes,
> thanks for your prompt answer but it was a bit short for me.
> Is it one message to netsend? or this | is a connector?
> Can you explain please?
>
> On Thu, Dec 5, 2019 at 4:19 PM IOhannes m zmölnig  wrote:
>
>> Am 5. Dezember 2019 14:32:06 MEZ schrieb "Csaba Láng" <
>> langcs...@gmail.com>:
>> >Dear list,
>> >
>> >I need to send to an application if there is an error in the console,
>> >which
>> >does not appear anywhere in the patch itself.
>> >How can I get the error, let's say the file does not exist?
>> >Thanks for any hints.
>>
>> pd -stderr 2>&1 | pdsend  localhost udp
>>
>>
>>
>> mfg.hft.fsl
>> 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


[PD] send a multiatom control message via netreceive

2019-12-05 Thread Csaba Láng
Dear list,

I need to send a control message back to the sender on the network if the
message has arrived to Pd.

this part works fine:

[list /LOGIN 6(
|
[send /OK $1 $2(
|
[netreceive]

Or the first message can be [list /BEGIN CODE50(
I need to make in the first message after list 2 or 3 variables [list $1 $2
$3( where the variable sometime a float, or a symbol. With [pack s s s]
does not work, as even I change the float to symbol, it won't accept it. It
should not be so difficult, but I am stuck totally.

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


Re: [PD] Get the info error info from console and end it to port

2019-12-05 Thread Csaba Láng
Iohannes,
thanks for your prompt answer but it was a bit short for me.
Is it one message to netsend? or this | is a connector?
Can you explain please?

On Thu, Dec 5, 2019 at 4:19 PM IOhannes m zmölnig  wrote:

> Am 5. Dezember 2019 14:32:06 MEZ schrieb "Csaba Láng"  >:
> >Dear list,
> >
> >I need to send to an application if there is an error in the console,
> >which
> >does not appear anywhere in the patch itself.
> >How can I get the error, let's say the file does not exist?
> >Thanks for any hints.
>
> pd -stderr 2>&1 | pdsend  localhost udp
>
>
>
> mfg.hft.fsl
> 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


[PD] Get the info error info from console and end it to port

2019-12-05 Thread Csaba Láng
Dear list,

I need to send to an application if there is an error in the console, which
does not appear anywhere in the patch itself.
How can I get the error, let's say the file does not exist?
Thanks for any hints.

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


[PD] Symbol delay

2019-11-27 Thread Csaba Láng
Dearest list,

is there a way to delay a symbol like pipe does with number?

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


Re: [PD] opening patch from pd message

2019-11-26 Thread Csaba Láng
Thanks, so simple, so powerful :)
Works perfectly!

Popesz

On Tue, Nov 26, 2019 at 3:42 PM Claude Heiland-Allen 
wrote:

> Hi,
>
> On 26/11/2019 14:12, Csaba Láng wrote:
> > Dear list,
> >
> > I want to open from a pd patch a pd patch withe the message:
> >
> > [;
> > pd open $1.pd /path-topatch;(
> >
> > With simple naming of the patches such as numbers, works beautifully.
> > However if the name is a word, I cannot open them. What kind of
> > command should I send to this message to make it work?
> >
> > just to be clear, if I want to open cat.pd, a message [cat( will not
> > make it happen.
> try [symbol cat( or [list cat( instead of just [cat(
>
> for more details read the fine manual, specifically about messages and
> selectors
> https://puredata.info/docs/manuals/pd/x2.htm#s3.1
>
>
> Claude
> --
> https://mathr.co.uk
>
>
>
>
> ___
> 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] opening patch from pd message

2019-11-26 Thread Csaba Láng
Do apoligize,
both symbol and list works fine!

On Tue, Nov 26, 2019 at 3:58 PM Csaba Láng  wrote:

> list cat works, for some reason symbol does not.
> But what if I have a lot of patches to open, and not only cat :) how can I
> make it interchangeable? [list $1( what command should get to open any
> other namings?
>
> On Tue, Nov 26, 2019 at 3:51 PM Roman Haefeli  wrote:
>
>> On Tue, 2019-11-26 at 15:12 +0100, Csaba Láng wrote:
>> > Dear list,
>> >
>> > I want to open from a pd patch a pd patch withe the message:
>> >
>> > [;
>> > pd open $1.pd /path-topatch;(
>>
>> [...]
>>
>> > just to be clear, if I want to open cat.pd, a message [cat( will not
>> > make it happen.
>>
>> Use [symbol cat(.
>>
>> Read about Pd's message types:
>> https://puredata.info/docs/manuals/pd/x2.htm#s3.1
>>
>> 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] opening patch from pd message

2019-11-26 Thread Csaba Láng
list cat works, for some reason symbol does not.
But what if I have a lot of patches to open, and not only cat :) how can I
make it interchangeable? [list $1( what command should get to open any
other namings?

On Tue, Nov 26, 2019 at 3:51 PM Roman Haefeli  wrote:

> On Tue, 2019-11-26 at 15:12 +0100, Csaba Láng wrote:
> > Dear list,
> >
> > I want to open from a pd patch a pd patch withe the message:
> >
> > [;
> > pd open $1.pd /path-topatch;(
>
> [...]
>
> > just to be clear, if I want to open cat.pd, a message [cat( will not
> > make it happen.
>
> Use [symbol cat(.
>
> Read about Pd's message types:
> https://puredata.info/docs/manuals/pd/x2.htm#s3.1
>
> 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] ugly font edges on non-black background

2019-11-08 Thread Csaba Láng
Hi Roman,
I tried many fonts, truefonts behave the same way.
Check the screenshot:
[image: uglyfontwithalpha.png]
I tried all the font sizes from 5 to 100 (20 is default) and play with the
Z axe to make it smaller, the final effect is the same every time.

Does anyone have a best practice with the fonts on alpha on any background
than black?

Best,
Popesz


On Tue, Jan 8, 2019 at 4:58 PM Roman Haefeli  wrote:

> I can't reproduce with the help of [text3d].
>
> Have you tried using  a TrueType font?
>
> Gruss
> Roman
>
> On Tue, 2019-01-08 at 16:32 +0100, Csaba Láng wrote:
> > Dear list,
> >
> > I would like to use [text3d] texts on yellow background but the edge
> > of the texts are so ugly that I am concerning to use prerendered
> > images on alpha channel.
> > Not even mentioning the inside part of the letters/numbers which are
> > black anyway.
> > Is there a way to achieve beautiful texts which are on transparent
> > background?
> >
> > Tried with alpha with all the numeric possibilities alpha offers (on
> > 16 pd crashes) but without any success.
> >
> > Please advice!
> >
> > Best,
> >
> > Popesz
> > ___
> > 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


[PD] multiprocessing for GEM

2019-10-31 Thread Csaba Láng
Hi dearest list,

I am looking for a multiprocessing solution for GEM itself.
What I found from Miller's paper:
http://www.pdpatchrepo.info/hurleur/multiprocessing.pdf
clearly deals with only audio multiprocessing as the object pd~ indicates
its usage.
Is there any method to spread GEM calculations among 4-8 processors?

Best,

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


Re: [PD] Gem window bigger than fullHD

2019-09-24 Thread Csaba Láng
True, looks like I forgot something at the end.
Anyway, my latest solution to send big resolution to multi projectors is
NDI through gigabit ethernet.
Just make the rendering in gemframebuffer, the Gem window is just a preview
on my main screen.
https://github.com/gogo2/pd-ndi/releases
I honestly recommend it.

Thanks,
Popesz

On Sun, Sep 22, 2019 at 12:07 PM cyrille henry  wrote:

> Hello ,
> your OS resize a window created bigger than your screen.
> you can adjust it's size manually, or you can create your windows using
> "border 0, offset 0 0 , dimen 3840 1080" to have your Gem window full size
> of your 2 screen.
>
> cheers
> c
>
>
> Le 21/09/2019 à 23:52, Csaba Láng a écrit :
> > Dear list,
> >
> > I have 2 fullHD screen connected to my pc with Ubuntu 18.04, but pd
> cannot create bigger Gem window than the size of my first screen.
> > Is there any trick I do not know about? Dimen 3840 1080 just does not
> make any difference.
> >
> > Please advice,
> >
> > Popesz
> >
> > ___
> > 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


[PD] Gem window bigger than fullHD

2019-09-21 Thread Csaba Láng
Dear list,

I have 2 fullHD screen connected to my pc with Ubuntu 18.04, but pd cannot
create bigger Gem window than the size of my first screen.
Is there any trick I do not know about? Dimen 3840 1080 just does not make
any difference.

Please advice,

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


Re: [PD] [GEM-dev] gem-mpv : high resolution video decoding in Gem

2019-08-17 Thread Csaba Láng
Thanks, I'll test it and let you know.
Popesz

On Sat, 17 Aug 2019 at 15:51, Antoine Villeret 
wrote:

> Hi,
>
> I wrote an object based on gemframbuffer that uses libmpv (https://mpv.io/)
> to decode a video file and output it directly to a texture.
> This circumvent the bottleneck of uploading the pixes to the GPU and
> provides a wide range of codecs to Gem (if MPV can play your video, then
> gem-mpv can too).
> This have been successfully tested with 4K HAP video on Linux.
> It also supports video with alpha channel.
>
> The source code is here : https://github.com/avilleret/gem-mpv
> The build system is CMake, there is no binary release.
> Follow the Readme to build it.
> It has been only tested on Linux for now.
>
> Inside, it's more or less a wrapper around libmpv, that means every
> properties and commands should be supported but only few have been tested
> yet.
> Some are documented in the help file, for the others, please refer to
> libmpv help : https://mpv.io/manual/stable/
>
> Best regards
>
> Antoine
> ___
> GEM-dev mailing list
> gem-...@lists.iem.at
> https://lists.puredata.info/listinfo/gem-dev
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] fish eye camera distortion correction

2019-07-23 Thread Csaba Láng
I am getting closer to the solution, however have a bigger problem than
expected.
As the camera is pointing at the projection surface, I have the classical
video feedback effect. As a result, the corrected image is getting bigger
and bigger, and I loose more of the image,
than the fish eye correction was made with the [curve3d].
how could I move the image after gemframebuffer and move back with the
offset of the pix_snap?
Or what for the offset is made?
Is there any method to avoid the video feedback in pix_buffer?
Looking forward to any brilliant idea :)

Popesz

On Wed, Jul 17, 2019 at 10:00 PM Christof Ressi 
wrote:

> Personally, I would always prefer a fragment shader over fiddling with
> curve3d in GEM :-) This is probably what you want:
> https://www.geeks3d.com/20140213/glsl-shader-library-fish-eye-and-dome-and-barrel-distortion-post-processing-filters/5/
>
> It might need some modification depending on the kind of texture and GLSL
> version your using.
>
> Christof
>
>
> *Gesendet:* Mittwoch, 17. Juli 2019 um 21:27 Uhr
> *Von:* "Csaba Láng" 
> *An:* pd-list@lists.iem.at
> *Betreff:* Re: [PD] fish eye camera distortion correction
> Thanks for the ideas.
> Luckily I will snap the pix just once a second or two. Hope the processor
> can handle it.
> Which correction is easier, curve3d or the shader?
>
> On Wed, 17 Jul 2019 at 21:04, Jack  wrote:
>
>> Sure, use a framebuffer with [gemframebuffer] to capture offscreen your
>> scene.
>> The problem is to send back your texture produce by [gemframebuffer] in
>> pix_ domain to use [pix_movement] and [pix_multiblob], fortunately there
>> is [pix_snap] for this (this process is quite slow, it depends on your
>> hardware).
>> Look at :
>> Help => Gem => examples => 04.pix/ => 26.framebuffer_readback.pd
>> to see how to use it.
>>
>> A note, instead off [curve3d] it is also possible to use shaders (on
>> fragment) to do the correction of the lens distorsion.
>> ++
>>
>> Jack
>>
>>
>>
>> Le 17/07/2019 à 20:36, Csaba Láng a écrit :
>> > Looks good, but now a bigger problem came up.
>> >
>> > My aim is to correct the fish eye distortion for pix_movement and
>> > pix_multiblob analyses.
>> > Which means first I have to make the curve3d correction and then use
>> > those pixels in pix_multiblob.
>> > Is it possible?
>> >
>> > On Wed, Jul 17, 2019 at 8:16 PM Johnny Mauser
>> > mailto:joson.andr...@googlemail.com>>
>> wrote:
>> >
>> > Maybe gems [curve3d]?
>> >
>> > Csaba Láng mailto:langcs...@gmail.com>>
>> > schrieb am Mi., 17. Juli 2019, 20:10:
>> >
>> > Hi list,
>> > is there an easy way to correct fish eye camera image
>> distortion?
>> > I think if a vortex kind of tool.
>> > Best,
>> > Popesz
>> > ___
>> > Pd-list@lists.iem.at <mailto: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
>
> ___ 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] fish eye camera distortion correction

2019-07-17 Thread Csaba Láng
Thanks for the ideas.
Luckily I will snap the pix just once a second or two. Hope the processor
can handle it.
Which correction is easier, curve3d or the shader?

On Wed, 17 Jul 2019 at 21:04, Jack  wrote:

> Sure, use a framebuffer with [gemframebuffer] to capture offscreen your
> scene.
> The problem is to send back your texture produce by [gemframebuffer] in
> pix_ domain to use [pix_movement] and [pix_multiblob], fortunately there
> is [pix_snap] for this (this process is quite slow, it depends on your
> hardware).
> Look at :
> Help => Gem => examples => 04.pix/ => 26.framebuffer_readback.pd
> to see how to use it.
>
> A note, instead off [curve3d] it is also possible to use shaders (on
> fragment) to do the correction of the lens distorsion.
> ++
>
> Jack
>
>
>
> Le 17/07/2019 à 20:36, Csaba Láng a écrit :
> > Looks good, but now a bigger problem came up.
> >
> > My aim is to correct the fish eye distortion for pix_movement and
> > pix_multiblob analyses.
> > Which means first I have to make the curve3d correction and then use
> > those pixels in pix_multiblob.
> > Is it possible?
> >
> > On Wed, Jul 17, 2019 at 8:16 PM Johnny Mauser
> > mailto:joson.andr...@googlemail.com>>
> wrote:
> >
> > Maybe gems [curve3d]?
> >
> > Csaba Láng mailto:langcs...@gmail.com>>
> > schrieb am Mi., 17. Juli 2019, 20:10:
> >
> > Hi list,
> > is there an easy way to correct fish eye camera image distortion?
> > I think if a vortex kind of tool.
> > Best,
> > Popesz
> > ___
> > Pd-list@lists.iem.at <mailto: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
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] fish eye camera distortion correction

2019-07-17 Thread Csaba Láng
Looks good, but now a bigger problem came up.

My aim is to correct the fish eye distortion for pix_movement and
pix_multiblob analyses.
Which means first I have to make the curve3d correction and then use those
pixels in pix_multiblob.
Is it possible?

On Wed, Jul 17, 2019 at 8:16 PM Johnny Mauser 
wrote:

> Maybe gems [curve3d]?
>
> Csaba Láng  schrieb am Mi., 17. Juli 2019, 20:10:
>
>> Hi list,
>> is there an easy way to correct fish eye camera image distortion?
>> I think if a vortex kind of tool.
>> Best,
>> Popesz
>> ___
>> 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] fish eye camera distortion correction

2019-07-17 Thread Csaba Láng
Hi list,
is there an easy way to correct fish eye camera image distortion?
I think if a vortex kind of tool.
Best,
Popesz
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] ignor bigger blobs with pix_multiblob

2019-07-07 Thread Csaba Láng
Dear list,

I would like to detect small objects with pix_multiblob, but to be sure if
anything bigger than my observed object appears in the view of the camera,
it will not be taken that into account.

I tried to achieve it like this:
for the beginning checking 3 blobs with [pix_multiblob 3] and with list
split separate all the parameters multiblob gives.
Examining the sizes of each blobs, packed it to one string and trying to
tell which number is the smallest, that x y positions I want to follow.
Unfortunately big objects are divided into very small blobs, so this method
does not really work well. Is there any other solution to find the smallest
blob out of 3-6 blobs and find the position of that blob?

Hope it is clear what I tried to explain.
Best,

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


Re: [PD] Cannot run pd patch from crontab at startup on raspi

2019-06-28 Thread Csaba Láng
Thanks a lot for all the hints.
Will test it and let you know the solution.
Have a nice day!
Popesz

On Fri, 28 Jun 2019 at 11:38, IOhannes m zmölnig  wrote:

> On 6/28/19 9:04 AM, Roman Haefeli wrote:
> >   * My final suggestion is to not use cron at all
>
> +1 to everything you said, and this in particular.
>
> gfamsdr
> 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] Cannot run pd patch from crontab at startup on raspi

2019-06-27 Thread Csaba Láng
Tried everything, even from init.d could not run the script.


On Thu, 27 Jun 2019 at 23:17, Max  wrote:

> I'd try to launch it as a script in /etc/init.d/ like described here:
>
>
> https://tutorials-raspberrypi.com/raspberry-pi-autostart-start-program-automatically/
>
>
> On 27.06.19 22:38, Csaba Láng wrote:
> > Dear list,
> > have to run a pd patch with GUI on raspbian but it won’t run
> >
> > @reboot puredata -gui -open /path-to-patch
> >
> > Any clue what is wrong? Tried everything even put into script but no
> luck!
> >
> > Best,
> > Popesz
> >
> > ___
> > 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


[PD] Cannot run pd patch from crontab at startup on raspi

2019-06-27 Thread Csaba Láng
Dear list,
have to run a pd patch with GUI on raspbian but it won’t run

@reboot puredata -gui -open /path-to-patch

Any clue what is wrong? Tried everything even put into script but no luck!

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


Re: [PD] mrpeach external for armv7

2019-06-24 Thread Csaba Láng
I found only source for decken. no makefile in the folder.

On Mon, Jun 24, 2019 at 4:52 PM Giulio Moro  wrote:

> build it from source? as far as I remember, it is very straightforward.
>
>
> On Monday, 24 June 2019, 15:28:26 BST, Csaba Láng 
> wrote:
>
>
> Dear list,
> is there a way to install the mrpeach pack for armv7 with ubuntu 16.04?
> Thanks,
> Popesz
>
> ___
> 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


  1   2   3   >