Re: [PD] Binaural w32?

2021-06-04 Thread IOhannes m zmölnig


Am 5. Juni 2021 01:06:08 MESZ schrieb "João Pais" :
>I'm having a look, but I'm apparently not getting something. When I try
>
>[vstplugin~] + "StereoEncoder", it only outputs a signal to the 
>left-ish, changing the position doesn't affect the output )0th order). 

this sounds very much as if you were listening to the W-channel.

>Or do you put a [vstplugin~] + "BinauralDecoder" afterwards?

if you want to listen to the spatialisationvia headphones, then: yes.

.mfg.jdr.afgg.
IOhannes


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


Re: [PD] UDP server with Pd

2021-06-04 Thread Martin Peach
On Fri, Jun 4, 2021 at 6:16 PM Roman Haefeli  wrote:
>
> On Fri, 2021-06-04 at 23:27 +0200, Christof Ressi wrote:
> > >
> > Instead of waiting for
> > https://github.com/pure-data/pure-data/issues/949
> > - which will probably take months -,
>
> I am exploring stuff, partly out of curiousity. There is no expectation
> of anything to happen in certain time.
>
> > you could make a feature request to
> > iemnet ;-)
>
> I just did:
> https://git.iem.at/pd/iemnet/-/issues/7

Or you could copy the code from mrpeach/udpsndrcv into your own external.

Martin


>
> 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] Binaural w32?

2021-06-04 Thread João Pais
I'm having a look, but I'm apparently not getting something. When I try 
[vstplugin~] + "StereoEncoder", it only outputs a signal to the 
left-ish, changing the position doesn't affect the output )0th order). 
Or do you put a [vstplugin~] + "BinauralDecoder" afterwards?



Personally, I always use [vstplugin~] + "StereoEncoder" / 
"BinauralDecoder" from the IEM plugin suite, but I'm of course biased :-)


On 01.06.2021 15:12, João Pais wrote:

Hi list,

what is the current state of the art in binaural externals? I see in 
the archives that there are several around, each with 
advantages/disadvantages.


I would need it to:

- windows 32b

- record the output of an already existing patch with x-y 
coordinates/trajectories into binaural audio


- sample rate fixed at 44.1KHz

- there are around 500 samples with an individual player, so each 
will need its own enconder. They don't play necessarily all together, 
though.


Best,

Joao 





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


Re: [PD] UDP server with Pd

2021-06-04 Thread Roman Haefeli
On Fri, 2021-06-04 at 23:27 +0200, Christof Ressi wrote:
> > 
> Instead of waiting for 
> https://github.com/pure-data/pure-data/issues/949 
> - which will probably take months -, 

I am exploring stuff, partly out of curiousity. There is no expectation
of anything to happen in certain time. 

> you could make a feature request to 
> iemnet ;-)

I just did:
https://git.iem.at/pd/iemnet/-/issues/7

Roman


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


Re: [PD] UDP server with Pd

2021-06-04 Thread Christof Ressi

I don't actually know what
it is supposed to do, but it seems to only send back to the client the
last packet was coming from

Yes. That's what I explained.

What I am looking for is
to send to any client specified by address and port.

Ok, so [iemnet/udpserver] won't work for your use case.

Instead of waiting for https://github.com/pure-data/pure-data/issues/949 
- which will probably take months -, you could make a feature request to 
iemnet ;-)


I've already looked at the code for [iemnet/udpserver] and it shouldn't 
be too hard to implement.


Chrisotf

On 04.06.2021 23:21, Roman Haefeli wrote:

On Fri, 2021-06-04 at 23:03 +0200, Christof Ressi wrote:

I guess I have to wait for
https://github.com/pure-data/pure-data/issues/949 or learn C ;-)

  I've mentioned [iemnet/udpserver] a couple of times now. Does it not
work for your use case?

Yes, you did. Sorry for not reacting earlier. The help only mentions
the 'broadcast' method for sending packets. I don't actually know what
it is supposed to do, but it seems to only send back to the client the
last packet was coming from (or I am too slow switching windows and
miss some timeout). Tested with iemnet 0.3.0. What I am looking for is
to send to any client specified by address and port.

Roman




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


Re: [PD] UDP server with Pd

2021-06-04 Thread Roman Haefeli
On Fri, 2021-06-04 at 23:03 +0200, Christof Ressi wrote:
> > I guess I have to wait for 
> > https://github.com/pure-data/pure-data/issues/949 or learn C ;-)
>  I've mentioned [iemnet/udpserver] a couple of times now. Does it not
> work for your use case?

Yes, you did. Sorry for not reacting earlier. The help only mentions
the 'broadcast' method for sending packets. I don't actually know what
it is supposed to do, but it seems to only send back to the client the
last packet was coming from (or I am too slow switching windows and
miss some timeout). Tested with iemnet 0.3.0. What I am looking for is
to send to any client specified by address and port. 

Roman


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


Re: [PD] UDP server with Pd

2021-06-04 Thread Christof Ressi

I guess I have to wait for
https://github.com/pure-data/pure-data/issues/949 or learn C ;-)
I've mentioned [iemnet/udpserver] a couple of times now. Does it not 
work for your use case?


Christof

On 04.06.2021 22:59, Roman Haefeli wrote:

On Fri, 2021-06-04 at 21:34 +0200, Dan Wilcox wrote:

Ah yes, you are right. [timeout( is for TCP. I think I got that mixed
up with UDP previously closing itself after some sort of unknown host
return etc which we removed to make it "fire and forget."

Ah, now I remember. It was that thread where I read about those
notification messages. Your message reminded me that I was actually
testing with [iemnet/udpclient] which does not seem to ignore those
messages. And indeed, [netsend -u] does _not_ disconnect itself when
sending many packets to Miller's proposed UDP server emulation.
However, many packets are dropped, even on localhost. So, it seems that
the quickly-binding-and-releasing-port business doesn't really make for
a decent UDP server, unfortunately. I was hoping that a C illiterate
person like me would get something going with Pd performing better than
with Python. I guess I have to wait for
https://github.com/pure-data/pure-data/issues/949 or learn C ;-)

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] UDP server with Pd

2021-06-04 Thread Roman Haefeli
On Fri, 2021-06-04 at 21:34 +0200, Dan Wilcox wrote:
> Ah yes, you are right. [timeout( is for TCP. I think I got that mixed
> up with UDP previously closing itself after some sort of unknown host
> return etc which we removed to make it "fire and forget."

Ah, now I remember. It was that thread where I read about those
notification messages. Your message reminded me that I was actually
testing with [iemnet/udpclient] which does not seem to ignore those
messages. And indeed, [netsend -u] does _not_ disconnect itself when
sending many packets to Miller's proposed UDP server emulation.
However, many packets are dropped, even on localhost. So, it seems that
the quickly-binding-and-releasing-port business doesn't really make for
a decent UDP server, unfortunately. I was hoping that a C illiterate
person like me would get something going with Pd performing better than
with Python. I guess I have to wait for 
https://github.com/pure-data/pure-data/issues/949 or learn C ;-)

Roman




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


Re: [PD] pyext for Python3 (was: Re: [PD-announce] Deep Learning Models in Pure Data with pyext for Python 3)

2021-06-04 Thread Raphael Raccuia

marvellous!
I can finally interface PD with pyplot...

thank you, I'll give a try soon.

rph-r

Le 03.06.21 à 11:01, IOhannes m zmölnig a écrit :

Hi Koray,

good to hear you are still alive and kicking.


Am 3. Juni 2021 05:42:00 MESZ schrieb "Koray Tahiroğlu" 
:

>
>We have also developed the pyext external to support Python 3,

that is fantastic.

>
>Here it is the link to the SOPI fork of pyext.
>
>https://github.com/SopiMlab/py
>
>

but i'm sorely missing the pull-request against 
https://github.com/g/py 


my understanding is, that thomas is happily accepting PRs for py3 
support, so i dont understand the need to announce a separate fork.


mfg.ezf.xhe
IOhannes
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

___
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] UDP server with Pd

2021-06-04 Thread Dan Wilcox
Ah yes, you are right. [timeout( is for TCP. I think I got that mixed up with 
UDP previously closing itself after some sort of unknown host return etc which 
we removed to make it "fire and forget."

> On Jun 4, 2021, at 4:17 PM, pd-list-requ...@lists.iem.at wrote:
> 
> Message: 3
> Date: Fri, 04 Jun 2021 16:17:29 +0200
> From: Roman Haefeli mailto:reduz...@gmail.com>>
> To: Dan Wilcox mailto:danomat...@gmail.com>>
> Cc: Pd-List mailto:pd-list@lists.iem.at>>
> Subject: Re: [PD] UDP server with Pd
> Message-ID: <2aed329cdb23e198c96f658f05a81ce4f276bf84.ca...@gmail.com 
> >
> Content-Type: text/plain; charset="utf-8"
> 
> On Thu, 2021-06-03 at 19:51 +0200, Dan Wilcox wrote:
>> You could try a longer connection timeout via the [timeout f(
>> message. 
> 
> Isn't the 'timeout' method only affecting TCP sessions? In UDP nothing
> at all is sent when using 'connect' method. It internally sets
> destination address and port, I believe.


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



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


Re: [PD] Re [cyclone/MouseState] not working with the Kiosk Plugin on Linux

2021-06-04 Thread Alexandre Torres Porres
Em sex., 4 de jun. de 2021 às 10:19, Ingo  escreveu:

> I finally used [iemguts/receivecanvas] because it turned out to be 100%
> reliable - no matter how many devices I have connected.
>

as opposed to else/canvas.mouse?


> The lastest cyclone update still didn't work for me.
>
> I must have used an older version [MouseState] - the newer one is in small
> letters [mousestate].
>
> That doesn't make it work any better in my case with the kiosk plugin.
>

"MouseState" still works though, and no, changing the letters had no effect
:) and I said it'd be unlikely it'd change.


> Alexandres [else/button] works also well but had the problem that I
> couldn't find out how to lable it.
>

Well, cause you can't. You can use [else/note] for that. I think it's a
better/easier approach.


> As soon as I put it behind another canvas for labeling it didn't work
> anymore - switching on is fine but it didn't switch off anymore unless it's
> on top.
>

hmmm, interesting, send me an issue please
https://github.com/porres/pd-else/
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] UDP server with Pd

2021-06-04 Thread Roman Haefeli
On Thu, 2021-06-03 at 19:51 +0200, Dan Wilcox wrote:
> You could try a longer connection timeout via the [timeout f(
> message. 

Isn't the 'timeout' method only affecting TCP sessions? In UDP nothing
at all is sent when using 'connect' method. It internally sets
destination address and port, I believe.

What I discovered is that when I create a UDP server with Miller's
trick and I send a stream of packets to it, the [netsend -u -b] on the
client side reports '0' shortly after starting the stream. Since UDP is
actually state-less , what happens - I _believe_ - is that the server
sends back a notification about the destination port not being
reachable. I read somewhere that some systems do that. 

> The default is 10 seconds, I believe, but maybe it might need more
> time if hosts take forever to resolve.

In my experience, its usually not a non-existing domain names that take
long to resolve (they usually get a NXDOMAIN answer quite quickly), but
trying to connect to unreachable addresses or ports takes long, and
also only when the connection request is silently dropped, but not when
it is denied.

Roman



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


Re: [PD] Re [cyclone/MouseState] not working with the Kiosk Plugin on Linux

2021-06-04 Thread Ingo
I finally used [iemguts/receivecanvas] because it turned out to be 100%
reliable - no matter how many devices I have connected.

 

The lastest cyclone update still didn't work for me.

I must have used an older version [MouseState] - the newer one is in small
letters [mousestate].

That doesn't make it work any better in my case with the kiosk plugin.

 

Alexandres [else/button] works also well but had the problem that I couldn't
find out how to lable it.

As soon as I put it behind another canvas for labeling it didn't work
anymore - switching on is fine but it didn't switch off anymore unless it's
on top.

 

Thanks all of you guys for helping out!

I appreciate it!

 

Ingo

 

 

From: Jean-Yves Gratius [mailto:j...@gumo.fr] 
Sent: Thursday, June 03, 2021 10:59 PM
To: pd-list@lists.iem.at
Cc: i...@miamiwave.com
Subject: Re [PD] [cyclone/MouseState] not working with the Kiosk Plugin on
Linux

 

@Ingo

Did you try iemguts/receivecanvas ?

 


Subject: 

[PD] [cyclone/MouseState] not working with the Kiosk Plugin on Linux


From: 

"Ingo"   


Date: 

02/06/2021 à 19:11

 


To: 

"'Pd list'"   





I was wondering if anybody else is having trouble with [cyclone/MouseState]
when the kiosk plugin is running.

It's not working anymore here with Debian.

 

I have made myself an alternative with [hid] but it's not 100% reliable.

 

[MouseState] was the only left mouse button recognition that always worked
with absolutely every mouse and touch screen.

Especially with multiple devices like a mouse and a touch screen at the same
time - there was never a problem.

 

With [hid] the mouse is recognized 90-95% of the time but not always. After
unplugging and reconnecting it works.

When I'm having two devices at the same time chances that one of them
doesn't work after starting up increases.

 

I'm monitoring /dev/input/ and see if mouse0 or mouse1 is present and if yes
I check for the hid ID which works perfectly.

But [hid] sometimes simply doesn't open the mouse. [hid] only works with the
numbers like [open 7(.

[open mouse( or [open mouse1( or [open mouse 1( does not do anything.

 

Does anyone know how to get [cyclone/MouseState] to work with the kisok
plugin?

 

Alternatively, is there a button that registers momentary mouse pressing and
releasing with a "1" and "0 "?

This means not a switch like [toggle] that needs clicking twice for on / off
(1 / 0 )!

 

I couldn't find anything.

 

I have buttons that change their function when being pressed briefly or
being held for 2 seconds.

 

Thanks!

Ingo

 

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


[PD] Can't compile pyext for Python3, Python.h no such file or directory (was: Re: [PD-announce] Deep Learning Models in Pure Data with pyext for Python 3)

2021-06-04 Thread Alexandros
I initially replied to Koray's mail under [PD-announce], thought this 
fits the main mailing list better.


I'm trying to build everything as instructed here 
https://github.com/SopiMlab/DeepLearningWithAudio/blob/master/utilities/pyext-setup/setup-linux.md 



Everything is ok until I try to setup pyext. If I type `python build.py` 
I get this:


install: cannot stat 'pd-linux/debug-multi/py.pd_linux': No such file or 
directory


If I go to pyext-setup/py and type `make CPPFLAGS="-I ../flext/source"` 
I get this:


source/pyprefix.h:22:10: fatal error: Python.h: No such file or directory

The thing is I have both Python3.8 and Python3.9 header files installed 
in my system in `/usr/include/python3.8/Python.h` and 
`/usr/include/python3.9/Python.h` respectively. I'm trying to build the 
whole deep learning project with Python3.8. How can I solve this issue?


I'm on UbuntuStudio 21.04.

Thanks




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