Re: [PD] Using GEM

2014-04-08 Thread Antoine Villeret
hello

you can control the rendering order with the [gemhead]'s argument (see
gemhead-help.pd for explanation)
or you can also trig manually a rendering chain by banging a [gemhead],
in this second case you may need to disable auto-trigering by sending a [0(
to [gemhead] (auto-rendering is turned on by default on all [gemhead]
objects)
also this is useful to draw several time the same geos at different
positions for example

cheers

a

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


2014-04-08 16:20 GMT+02:00 kate sweeney :

> Hello,
>
> I am currently doing my final year tech project in University. I am
> creating a graphic design + music project using GEM in Pure Data. I was
> wondering, is there a way to trigger certain patches, one after the other?
> For example, one patch creates moving particles, and the next creates 3d
> spheres. Is there a way to trigger these one after the other, using a bang
> etc?
>
> Thank you.
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [pix_opencv_facetracker]

2014-03-21 Thread Antoine Villeret
[gemvertexbuffer] is a gem internal object, that means you can find the
code in the Gem's tree :
https://github.com/umlaeute/Gem/blob/master/src/Geos/gemvertexbuffer.cpp
https://github.com/umlaeute/Gem/blob/master/src/Geos/gemvertexbuffer.h
and it's buld with Gem

there a nightly build server there :
https://macosx105-i386.pdlab.puredata.info/job/template-libraries/label=macosx105-i386/
but it's down for a while (at least since july 2013)

but  think I have something somewhere that can help... I'll search for it
tomorrow

+
a

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


2014-03-21 21:23 GMT+01:00 Alexandros Drymonitis :

> Do you have the source code? Maybe I can compile it for osx...Is there a
> makefile with it?
>
>
> On Fri, Mar 21, 2014 at 10:21 PM, Antoine Villeret <
> antoine.ville...@gmail.com> wrote:
>
>> I think the release you've download is the 0.93.3, which is the one
>> shipped with Gem and don't include [gemvertexbuffer].
>> And unfortunately there is no more recent one.
>> I have a [gemvertexbuffer] for Windows but not for Mac OS X.
>>
>> +
>> a
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>
>> 2014-03-21 21:07 GMT+01:00 Alexandros Drymonitis :
>>
>> Are you sure? I just downloaded Gem from Pd's website and it's still not
>>> there..
>>>
>>>
>>> On Fri, Mar 21, 2014 at 9:53 PM, Antoine Villeret <
>>> antoine.ville...@gmail.com> wrote:
>>>
>>>> cool
>>>>
>>>> [gemvertexbuffer] was introduced just after the 0.93.3 release which is
>>>> shipped with Pd-extended.
>>>> And I don't know if there is some newer Gem binary available somewhere
>>>> for Mac OS X.
>>>>
>>>> +
>>>> a
>>>>
>>>>
>>>> --
>>>> do it yourself
>>>> http://antoine.villeret.free.fr
>>>>
>>>>
>>>> 2014-03-21 20:31 GMT+01:00 Alexandros Drymonitis :
>>>>
>>>> Super! It's there and it works! Though I seem to be missing
>>>>> [gemvertexbuffer] but I'll search for it. The help patch did it though, it
>>>>> worked fine. Thanks!
>>>>>
>>>>>
>>>>> On Fri, Mar 21, 2014 at 6:01 PM, Antoine Villeret <
>>>>> antoine.ville...@gmail.com> wrote:
>>>>>
>>>>>> hi alex,
>>>>>>
>>>>>> thanks for the feedback
>>>>>> could you try again with the newly uploaded archive ?
>>>>>> http://puredata.info/downloads/pix_opencv/releases/0.2rc/view
>>>>>> I've added [pix_opencv_facetracker], its help and a README.txt file.
>>>>>> Please let me know if there are other issues.
>>>>>>
>>>>>> +
>>>>>> a
>>>>>>
>>>>>> --
>>>>>> do it yourself
>>>>>> http://antoine.villeret.free.fr
>>>>>>
>>>>>>
>>>>>> 2014-03-21 9:19 GMT+01:00 Alexandros Drymonitis :
>>>>>>
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Mar 21, 2014 at 12:43 AM, Antoine Villeret <
>>>>>>> antoine.ville...@gmail.com> wrote:
>>>>>>>
>>>>>>>> hello,
>>>>>>>>
>>>>>>>> which archive did you download ? (for which OS)
>>>>>>>>
>>>>>>> I've downloaded the osx one and btw I can't find any readme. In the
>>>>>>> package there is a 'model' directory which contains the following files:
>>>>>>> face.con, face.tracker, face.tri and face2.tracker which sounds like 
>>>>>>> there
>>>>>>> should be some face tracking there, but there's no
>>>>>>> pix_opencv_facetracker.pd_darwin
>>>>>>>
>>>>>>>
>>>>>>>> I didn't receive any feedback for this beta release and I've switch
>>>>>>>> to a new version with lot's of improvement but it breaks some backward
>>>>>>>> compatibility
>>>>>>>> but I could manage to produce a [pix_opencv_facetracker] binary on
>>>>>>>> deman
>>>>>>>> btw, it's most likely a packaging issue because it was tested on 3
>>>>>>>> platforms
>>>>>>>>
>>>>>>>> +
>>>>>>>> a
>>>>>>>>
>>>>>>>> --
>>>>>>>> do it yourself
>>>>>>>> http://antoine.villeret.free.fr
>>>>>>>>
>>>>>>>>
>>>>>>>> 2014-03-19 22:35 GMT+01:00 Alexandros Drymonitis 
>>>>>>>> :
>>>>>>>>
>>>>>>>>>  Just downloaded the pix_opencv library from here
>>>>>>>>> http://puredata.info/downloads/pix_opencv/releases/0.2rc/view and
>>>>>>>>> it's supposed to include [pix_opencv_facetracker] but it actually 
>>>>>>>>> doesn't.
>>>>>>>>> Is this a known issue?
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> Pd-list@iem.at mailing list
>>>>>>>>> UNSUBSCRIBE and account-management ->
>>>>>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [pix_opencv_facetracker]

2014-03-21 Thread Antoine Villeret
I think the release you've download is the 0.93.3, which is the one shipped
with Gem and don't include [gemvertexbuffer].
And unfortunately there is no more recent one.
I have a [gemvertexbuffer] for Windows but not for Mac OS X.

+
a

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


2014-03-21 21:07 GMT+01:00 Alexandros Drymonitis :

> Are you sure? I just downloaded Gem from Pd's website and it's still not
> there..
>
>
> On Fri, Mar 21, 2014 at 9:53 PM, Antoine Villeret <
> antoine.ville...@gmail.com> wrote:
>
>> cool
>>
>> [gemvertexbuffer] was introduced just after the 0.93.3 release which is
>> shipped with Pd-extended.
>> And I don't know if there is some newer Gem binary available somewhere
>> for Mac OS X.
>>
>> +
>> a
>>
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>
>> 2014-03-21 20:31 GMT+01:00 Alexandros Drymonitis :
>>
>> Super! It's there and it works! Though I seem to be missing
>>> [gemvertexbuffer] but I'll search for it. The help patch did it though, it
>>> worked fine. Thanks!
>>>
>>>
>>> On Fri, Mar 21, 2014 at 6:01 PM, Antoine Villeret <
>>> antoine.ville...@gmail.com> wrote:
>>>
>>>> hi alex,
>>>>
>>>> thanks for the feedback
>>>> could you try again with the newly uploaded archive ?
>>>> http://puredata.info/downloads/pix_opencv/releases/0.2rc/view
>>>> I've added [pix_opencv_facetracker], its help and a README.txt file.
>>>> Please let me know if there are other issues.
>>>>
>>>> +
>>>> a
>>>>
>>>> --
>>>> do it yourself
>>>> http://antoine.villeret.free.fr
>>>>
>>>>
>>>> 2014-03-21 9:19 GMT+01:00 Alexandros Drymonitis :
>>>>
>>>>
>>>>>
>>>>>
>>>>> On Fri, Mar 21, 2014 at 12:43 AM, Antoine Villeret <
>>>>> antoine.ville...@gmail.com> wrote:
>>>>>
>>>>>> hello,
>>>>>>
>>>>>> which archive did you download ? (for which OS)
>>>>>>
>>>>> I've downloaded the osx one and btw I can't find any readme. In the
>>>>> package there is a 'model' directory which contains the following files:
>>>>> face.con, face.tracker, face.tri and face2.tracker which sounds like there
>>>>> should be some face tracking there, but there's no
>>>>> pix_opencv_facetracker.pd_darwin
>>>>>
>>>>>
>>>>>> I didn't receive any feedback for this beta release and I've switch
>>>>>> to a new version with lot's of improvement but it breaks some backward
>>>>>> compatibility
>>>>>> but I could manage to produce a [pix_opencv_facetracker] binary on
>>>>>> deman
>>>>>> btw, it's most likely a packaging issue because it was tested on 3
>>>>>> platforms
>>>>>>
>>>>>> +
>>>>>> a
>>>>>>
>>>>>> --
>>>>>> do it yourself
>>>>>> http://antoine.villeret.free.fr
>>>>>>
>>>>>>
>>>>>> 2014-03-19 22:35 GMT+01:00 Alexandros Drymonitis :
>>>>>>
>>>>>>>  Just downloaded the pix_opencv library from here
>>>>>>> http://puredata.info/downloads/pix_opencv/releases/0.2rc/view and
>>>>>>> it's supposed to include [pix_opencv_facetracker] but it actually 
>>>>>>> doesn't.
>>>>>>> Is this a known issue?
>>>>>>>
>>>>>>> ___
>>>>>>> Pd-list@iem.at mailing list
>>>>>>> UNSUBSCRIBE and account-management ->
>>>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [pix_opencv_facetracker]

2014-03-21 Thread Antoine Villeret
cool

[gemvertexbuffer] was introduced just after the 0.93.3 release which is
shipped with Pd-extended.
And I don't know if there is some newer Gem binary available somewhere for
Mac OS X.

+
a


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


2014-03-21 20:31 GMT+01:00 Alexandros Drymonitis :

> Super! It's there and it works! Though I seem to be missing
> [gemvertexbuffer] but I'll search for it. The help patch did it though, it
> worked fine. Thanks!
>
>
> On Fri, Mar 21, 2014 at 6:01 PM, Antoine Villeret <
> antoine.ville...@gmail.com> wrote:
>
>> hi alex,
>>
>> thanks for the feedback
>> could you try again with the newly uploaded archive ?
>> http://puredata.info/downloads/pix_opencv/releases/0.2rc/view
>> I've added [pix_opencv_facetracker], its help and a README.txt file.
>> Please let me know if there are other issues.
>>
>> +
>> a
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>
>> 2014-03-21 9:19 GMT+01:00 Alexandros Drymonitis :
>>
>>
>>>
>>>
>>> On Fri, Mar 21, 2014 at 12:43 AM, Antoine Villeret <
>>> antoine.ville...@gmail.com> wrote:
>>>
>>>> hello,
>>>>
>>>> which archive did you download ? (for which OS)
>>>>
>>> I've downloaded the osx one and btw I can't find any readme. In the
>>> package there is a 'model' directory which contains the following files:
>>> face.con, face.tracker, face.tri and face2.tracker which sounds like there
>>> should be some face tracking there, but there's no
>>> pix_opencv_facetracker.pd_darwin
>>>
>>>
>>>> I didn't receive any feedback for this beta release and I've switch to
>>>> a new version with lot's of improvement but it breaks some backward
>>>> compatibility
>>>> but I could manage to produce a [pix_opencv_facetracker] binary on deman
>>>> btw, it's most likely a packaging issue because it was tested on 3
>>>> platforms
>>>>
>>>> +
>>>> a
>>>>
>>>> --
>>>> do it yourself
>>>> http://antoine.villeret.free.fr
>>>>
>>>>
>>>> 2014-03-19 22:35 GMT+01:00 Alexandros Drymonitis :
>>>>
>>>>>  Just downloaded the pix_opencv library from here
>>>>> http://puredata.info/downloads/pix_opencv/releases/0.2rc/view and
>>>>> it's supposed to include [pix_opencv_facetracker] but it actually doesn't.
>>>>> Is this a known issue?
>>>>>
>>>>> ___
>>>>> Pd-list@iem.at mailing list
>>>>> UNSUBSCRIBE and account-management ->
>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>
>>>>>
>>>>
>>>
>>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [pix_opencv_facetracker]

2014-03-21 Thread Antoine Villeret
hi alex,

thanks for the feedback
could you try again with the newly uploaded archive ?
http://puredata.info/downloads/pix_opencv/releases/0.2rc/view
I've added [pix_opencv_facetracker], its help and a README.txt file.
Please let me know if there are other issues.

+
a

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


2014-03-21 9:19 GMT+01:00 Alexandros Drymonitis :

>
>
>
> On Fri, Mar 21, 2014 at 12:43 AM, Antoine Villeret <
> antoine.ville...@gmail.com> wrote:
>
>> hello,
>>
>> which archive did you download ? (for which OS)
>>
> I've downloaded the osx one and btw I can't find any readme. In the
> package there is a 'model' directory which contains the following files:
> face.con, face.tracker, face.tri and face2.tracker which sounds like there
> should be some face tracking there, but there's no
> pix_opencv_facetracker.pd_darwin
>
>
>> I didn't receive any feedback for this beta release and I've switch to a
>> new version with lot's of improvement but it breaks some backward
>> compatibility
>> but I could manage to produce a [pix_opencv_facetracker] binary on deman
>> btw, it's most likely a packaging issue because it was tested on 3
>> platforms
>>
>> +
>> a
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>
>> 2014-03-19 22:35 GMT+01:00 Alexandros Drymonitis :
>>
>>>  Just downloaded the pix_opencv library from here
>>> http://puredata.info/downloads/pix_opencv/releases/0.2rc/view and it's
>>> supposed to include [pix_opencv_facetracker] but it actually doesn't. Is
>>> this a known issue?
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [pix_opencv_facetracker]

2014-03-20 Thread Antoine Villeret
hello,

which archive did you download ? (for which OS)
I didn't receive any feedback for this beta release and I've switch to a
new version with lot's of improvement but it breaks some backward
compatibility
but I could manage to produce a [pix_opencv_facetracker] binary on deman
btw, it's most likely a packaging issue because it was tested on 3 platforms

+
a

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


2014-03-19 22:35 GMT+01:00 Alexandros Drymonitis :

> Just downloaded the pix_opencv library from here
> http://puredata.info/downloads/pix_opencv/releases/0.2rc/view and it's
> supposed to include [pix_opencv_facetracker] but it actually doesn't. Is
> this a known issue?
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] [pix_opencv] binary release

2014-02-10 Thread Antoine Villeret
Dear all,

I'm proud to announce the first release candidate for `[pix_opencv]`.
I've upload binaries for MacOSX, Windows and Ubuntu 64bit (Ubuntu 32bit
will come in one week).
All needed OpenCV shared libraries are included.

It's here : https://github.com/avilleret/pix_opencv/releases/tag/v0.2

Please let me know any issue (through github issue system).

Kind regard

Antoine
--
do it yourself
http://antoine.villeret.free.fr
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] How to get a list of midi devices without GUI

2014-02-09 Thread Antoine Villeret
hello again,


I found the issue,

with `-nogui`, the patch is loaded before midisettings are done (like
audiosettings)
and `[mediasettings/midisettings]` updates it's own device list on startup
or on `[device ...(` message.

So when the patch is loaded at startup without gui,
`[mediasettings/midisettings(` records 0 mididevices.
I have to send a dummy `[device ...(` message 1sec after loadbang to update
the list and then `[listdevices(` report the right number of devices.
Another solution could be to delay the patch loading.

Shouldn't `[mediasettings/midisettings]` update it's own device lists on
`[listdevices(` message ?

+
A



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


2014-02-09 16:17 GMT+01:00 Antoine Villeret :

> thanks, but no,
>
> at least with Pd Vanilla 0.45-4, the right flag is *-listdev* to list all
> devices (both midi and alsa) in the PD's console.
>
> According to this 10-years old post [1], I can still make a redirection of
> stderr or read at it.
>
> Another solution, since my problem concern only Linux, is to read the
> output of `ls /dev/midi* | wc -l` to get a list of mididevices, but this
> doesn't tell if it's input or output.
>
> +
> a
>
> [1] : http://lists.puredata.info/pipermail/pd-list/2004-10/023368.html
>
> --
> do it yourself
> http://antoine.villeret.free.fr
>
>
> 2014-02-09 16:08 GMT+01:00 Pagano, Patrick :
>
>  I think it's just --listdevices on the command line
>>
>> Sent from my iPhone
>>
>> On Feb 9, 2014, at 10:03 AM, "Antoine Villeret" <
>> antoine.ville...@gmail.com> wrote:
>>
>>   Hello,
>>
>>  I'm wondering how to get a list of midiout devices without GUI.
>> This has to work without GUI.
>>
>>  I tried [mediasettings/midisettings] but it always report 0 devices
>> (both in and out) when there is no GUI.
>> i also know the -listdev option to Pd, but this only list devices in
>> console, and I need to proccess the number in the patch.
>>
>>  I observe this on Linux (both Ubuntu 12.04 64bit and Raspbian (kernel
>> 3.10.25+) with pd 0.45-4.
>> But it seems to be OK on MacOS with pd 0.45-3.
>>
>>  Thanks
>>
>>  Antoine
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>  ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] How to get a list of midi devices without GUI

2014-02-09 Thread Antoine Villeret
thanks, but no,

at least with Pd Vanilla 0.45-4, the right flag is *-listdev* to list all
devices (both midi and alsa) in the PD's console.

According to this 10-years old post [1], I can still make a redirection of
stderr or read at it.

Another solution, since my problem concern only Linux, is to read the
output of `ls /dev/midi* | wc -l` to get a list of mididevices, but this
doesn't tell if it's input or output.

+
a

[1] : http://lists.puredata.info/pipermail/pd-list/2004-10/023368.html

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


2014-02-09 16:08 GMT+01:00 Pagano, Patrick :

>  I think it's just --listdevices on the command line
>
> Sent from my iPhone
>
> On Feb 9, 2014, at 10:03 AM, "Antoine Villeret" <
> antoine.ville...@gmail.com> wrote:
>
>   Hello,
>
>  I'm wondering how to get a list of midiout devices without GUI.
> This has to work without GUI.
>
>  I tried [mediasettings/midisettings] but it always report 0 devices
> (both in and out) when there is no GUI.
> i also know the -listdev option to Pd, but this only list devices in
> console, and I need to proccess the number in the patch.
>
>  I observe this on Linux (both Ubuntu 12.04 64bit and Raspbian (kernel
> 3.10.25+) with pd 0.45-4.
> But it seems to be OK on MacOS with pd 0.45-3.
>
>  Thanks
>
>  Antoine
>
> --
> do it yourself
> http://antoine.villeret.free.fr
>
>  ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] How to get a list of midi devices without GUI

2014-02-09 Thread Antoine Villeret
Hello,

I'm wondering how to get a list of midiout devices without GUI.
This has to work without GUI.

I tried [mediasettings/midisettings] but it always report 0 devices (both
in and out) when there is no GUI.
i also know the -listdev option to Pd, but this only list devices in
console, and I need to proccess the number in the patch.

I observe this on Linux (both Ubuntu 12.04 64bit and Raspbian (kernel
3.10.25+) with pd 0.45-4.
But it seems to be OK on MacOS with pd 0.45-3.

Thanks

Antoine

--
do it yourself
http://antoine.villeret.free.fr
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] OSC server to many clients

2014-02-02 Thread Antoine Villeret
if you want to make one server talking to several clients, you could use
[tcpserver]/[tcpclient] and encapsulate your OSC in Slip packet
see [mrpeach] externals

+
a

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


2014-02-02 Joel Matthys :

> You can broadcast over UDP by sending to the address 255.255.255.255.
>
> Joel
> On Feb 2, 2014 10:57 AM, "Atte"  wrote:
>
>> Hi
>>
>> Basic OSC confusion here: I'd like to run a server that keeps track of
>> time and shares that to a number of clients, each of which run on their
>> own, but with access to this common, global time.
>>
>> However all the examples I found with [sendOSC] or [tcpsend] suggests
>> that the sender connects to *one* client, which isn't what I want. I'd
>> rather like to have the server broadcast to any number of clients that can
>> pick up this information if they like.
>>
>> Have I got OSC all wrong? How to best achieve what I need?
>>
>> --
>> Atte
>>
>> http://atte.dk   http://modlys.dk
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>> listinfo/pd-list
>>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Face tracking

2014-01-29 Thread Antoine Villeret
>
> Is [pix_opencv_facetracker] threaded?
>

no it's not

If not, I'd suggest using FaceOSC to avoid the 30fps it's locked too when
> tracking and lower framerate when searching.
>


> On Jan 29, 2014, at 6:00 AM, pd-list-requ...@iem.at wrote:
>
> *From: *Antoine Villeret 
>  *Subject: **Re: [PD] Face tracking*
> *Date: *January 29, 2014 at 5:17:20 AM EST
> *To: *Jean-Marie Adrien 
>  *Cc: *"pd-list@iem.at List" 
>
>
>  Hello,
>
> there is [pix_opencv] around there :
> https://github.com/avilleret/pix_opencv
> This is a fork ("a modified copy") of the main sourceforge external
> repository.
> This is not included in pd-extended but I've planned to release binaries
> for MacOSX, Windows and Linux in a not too far future...
>
> Concerning FaceOSC, it wroks great and it's now included in
> [pix_opencv_facetracker], it's pretty experimental since it has not been
> tested widely.
> Depending on what you need exactly, you can also use the
> [pix_opencv_haarcascade] external with some free data set or with your own
> trained model.
>
> Hope this helps.
>
> Antoine
>
>
>  
> Dan Wilcox
> @danomatika
> danomatika.com
> robotcowboy.com
>
>
>
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Face tracking

2014-01-29 Thread Antoine Villeret
Hello,

there is [pix_opencv] around there : https://github.com/avilleret/pix_opencv
This is a fork ("a modified copy") of the main sourceforge external
repository.
This is not included in pd-extended but I've planned to release binaries
for MacOSX, Windows and Linux in a not too far future...

Concerning FaceOSC, it wroks great and it's now included in
[pix_opencv_facetracker], it's pretty experimental since it has not been
tested widely.
Depending on what you need exactly, you can also use the
[pix_opencv_haarcascade] external with some free data set or with your own
trained model.

Hope this helps.

Antoine


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


2014-01-29 Jean-Marie Adrien 

> Great ! i love the video, and the patch seems to be kind of what I need,
> from within PD.
> Will try to get it work on my mac
> Thanks !
> JM
>
>
> Le 28 janv. 2014 à 23:48, pured...@11h11.com a écrit :
>
> > i don't know if it's exactly what you need:
> >
> > Make me (opencv / gem):
> > http://puredata.info/Members/patrick
> >
> >
> > ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
> >
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] GEM causes soung glitches

2013-12-28 Thread Antoine Villeret
hi Luiz,

I recently heard that for certain scenario Pd-extended is more CPU
expensive than the same in pure vanilla. (a friend of mine reported that on
RPi)
Maybe you could try to reduce the number of extended objects to the
strictly minimum.
It's worth it most of the time.

Best

Antoine

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


2013/12/28 Luiz Naveda 

> Iohannes,
>
> I am very sad to listen these words from you. I am just trying to point to
> a problem that I feel is important: making sound and work with gem causes
> glitches in several scenarios. It is a main problem for me and for some
> people I know.
>
> I accept that you think I am not a professional as you are and I also
> accept that I have all sort of design problems. No problem.
>
> But we have a problem here. I am just trying to wave the priority.
>
> I cant help solving the problem directly. My programming skills are not so
> good. But if you want I can do other tasks, try to raise money, I dont
> know. How do I start?
>
> I would like to ask you, in a very kind way and very friendly. Try not to
> reply posts like that suggesting that I am not professional or etc. It
> makes people afraid of contributing. Please, call me anything but let
> people express their opinions without being hit by emails like that. I am
> saying this waiving a white flag :-) Plese!
>
> All the best
>
> Luiz
>
>
>
>
> On Sat, Dec 28, 2013 at 8:49 AM, IOhannes m zmölnig wrote:
>
>> On 2013-12-28 02:56, Luiz Naveda wrote:
>> > This workaround doesn't solve the problem. When you have to deal with
>> > messages, debugs and all sort of problems in the communication of
>> instances
>> > it just start the wave of problems.
>>
>> most likely, you have a serious design problem.
>>
>>  For newbies working with simple patches
>> > it is a frustration. For people working professionally in complex
>> patches
>> >  it is a hell.
>>
>> then you do you have a serious design problem.
>>
>> >
>> > I think it is a annoying, important and bizarre problem for a software
>> > aimed at  multimedia computing. The last time I had to deal with this
>> > rarely documented problem made me consider switch to other platforms. I
>> > wish someone could make it a high priority request for the PD
>> developers.
>> >
>>
>>
>> the fact that it is a "rarely documented problem" makes me think that
>> the priority need not be as high as you suggest.
>>
>> in the meantime, raise the audio buffer of Pd.
>> (and get yourself a decent gfx card with some proprietary (shudder)
>> drivers).
>>
>> having said that, there is certainly loads of things to improve.
>>
>> since you seem to be "working professionally in complex" scenarios, i
>> would like to invite you to help solving the problem (in a way that
>> doesn't break everything platform X)
>>
>> fgmdsr
>> IOhannes
>>
>>
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
>
> --
> Luiz Naveda
> _
> - PhD researcher
> http://www.ipem.ugent.be/samba
> - Director SysMus09
> http://www.ipem.ugent.be/sysmus09
>
> IPEM - Institute for Psychoacoustics and Electronic Music
> Ghent University
> Office: + 32 9 264 4127
> Blandijnberg 2
> Ghent, B-9000
> Belgium
>
>   ^v^
>   ^v^
>  ^v^
>
> ^~^~^~^~^~^~^~^~~^~~^~~^~^~^~~~^^~^
> ^~^~^~^~^~^~^~^~^~^~~^~~^~~^~^~^~~~^~~~
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] video output from PD

2013-11-30 Thread Antoine Villeret
hello,
for that kind of project I will choose a network of 20 raspiberry pi if you
only need to playback video (no realtime effect)
best
a

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


2013/11/30 peiman khosravi 

> I'm really not familiar with video, but a project I'm working on requires
> 20 different video outputs, all synced together. I'm using PD for the
> project. Consideration of the expenses apart, does anyone know what kind of
> hardware we would need for this?
>
> Many Thanks
> Peiman
>
>
>
> *www.peimankhosravi.co.uk  || RSS Feed
>  || Concert News
> *
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] using rpi_osc_video_player

2013-11-06 Thread Antoine Villeret
2013/11/6 Simon Wise 

> On 06/11/13 16:10, Antoine Villeret wrote:
>
>> hi,
>>
>> nice to hear that you try and like it !
>> concerning the video encoding, you could do that with ffmpeg or avconv but
>> i never try it, so I don't know which parameters work
>>
>
> I haven't managed on ffmpeg yet, but the person making the content is
> working on OSX and exporting to the blu-ray format gives the right file
> format.


good to know
thanks

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


Re: [PD] using rpi_osc_video_player

2013-11-06 Thread Antoine Villeret
hi,

nice to hear that you try and like it !
concerning the video encoding, you could do that with ffmpeg or avconv but
i never try it, so I don't know which parameters work
and concerning new features, feel free to add some !
I'm waiting for a project (or at least funding) to add seeking, playback
speed control and to improve remote control

best

antoine

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


2013/11/6 Simon Wise 

> I've finally got back to working with video on the RPi, and Antoine's
> player is very useful. I am hoping to add alpha, layers and still images to
> it, and the ability to seek to the start of the video (at least).
>
> The current code is working, playing back the sample test.h264 file nicely
> but seems only to recognise the .h264 container ... do you know how to
> convert .mov files (that play well in omxplayer) to that file format?
>
> Also I am getting an error when I stop a thread ...
>
>  OMX_FillThisBuffer(ilclient_get_handle(video_render), eglBuffer)
>
> at line 68 of video.c is failing.
>
> Simon
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] puredata.info Wiki editing was: audio output AND input with the Rpi?

2013-10-31 Thread Antoine Villeret
hi,

to edit the Wiki, first create an account by clicking [join] in the upper
right corner of the page
then as soon as you are logged in you will see an [edit] tab on the top of
page to update it yourself

hope this help

+
a

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


2013/10/31 Pierre Massat 

> Dear all,
>
> I just took a quick look at the page on puredata.info and noticed that my
> soundcard (E-mu 0404 USB) is mentioned as "apparently [working]". For
> clarity's sake i think it would be good to modify the page a bit so that
> it's mentioned in the working soundcards. It's fully functional as far as i
> can tell (it works in duplex at 44100 Hz with one input) and has been since
> the beginning on the RPi without any slowing down of the USB speed. I can
> even prove it with a video (http://www.youtube.com/watch?v=NwJNeouLqgQ) !
> Problem is, i don't know how to edit the page...
>
> Cheers,
>
> Pierre.
>
>
> 2013/10/31 Julian Brooks 
>
>> Hi Chris,
>>
>> I think Theron's covered most of it.
>>
>> The Behringer 222 is on the list of working devices compiled here:
>> http://puredata.info/docs/raspberry-pi
>> so hopefully that one should be doable, and my memory is that Andy
>> Farnell has been running Turtle Beach cards during some of his workshops -
>> stuck in my mind 'cos I had a "Turtle Beach, old school" chuckle to myself.
>>
>> If you do get them running (or not for that matter) it'd be great if you
>> added your experience to the wiki page.
>>
>> For some more audio rpi tips and tweaks I heartily recommend this page:
>> http://wiki.linuxaudio.org/wiki/raspberrypi
>> and there's some more (related) good stuff here
>> http://www.raspberrypi.org/phpBB3/viewtopic.php?p=286064#p286064
>>
>> Plus of course there's a whole heap of stuff in the pd-list archives
>> (search raspberry or rpi).
>>
>> Regards,
>>
>> Julian
>>
>>
>> On 30 October 2013 00:58, Theron Trowbridge 
>> wrote:
>>
>>> There's good info on http://puredata.info/docs/raspberry-pi covering
>>> this, if you haven't seen it.
>>>
>>> There seem to be a limited number of interfaces that work.  And some
>>> people have to slow down the USB port to get clean audio (myself included,
>>> using the iMic (
>>> http://www.amazon.com/Griffin-Technology-iMic-Audio-Device/dp/B000BVV2IC).
>>>  And I have to use a wireless keyboard/mouse if I'm not connecting via ssh (
>>> http://www.amazon.com/gp/product/B004KSQANO/).  It's not ideal, and a
>>> little annoying that the accessories are more than the cost of the
>>> Raspberry Pi.  But it works.
>>>
>>> The USB port is slowed down by adding "dwc_otg.speed=1" to
>>> /boot/cmdline.txt
>>>
>>>
>>> -Theron
>>> ^
>>>
>>>
>>>
>>> On Tue, Oct 29, 2013 at 12:03 AM, s p  wrote:
>>>
 Same here ... I tried with 2 different usb interfaces, and I got no
 luck. In both cases I got "some" sound input, but there is a lot of popping
 sounds.


 2013/10/28 Chris Jack 

>  Hey folks,
>
> Apologies as this post is not strictly about Pd, though Pd will be a
> crucial part of my final setup so whatever solution I find ought to work
> with Pd. Also, there is a chance the issue might lie with Pd. I just don't
> know.
>
> I'm looking for a usb bus-powered audio interface for the Rpi that can
> take a stereo input and provide stereo output *at the same time.*
> * *
> I have tried a couple different images and a couple different audio
> interfaces, to no avail. Perhaps there's something can be done with one of
> these setups to get it working?
>
> First, the Pd-LA custom Raspian (v1) image and Pd 43.2:
>
> ..with Behringer UCA202 (at 44100khz):
>
> Alsamixer picks the device up but the input section shows nothing.
>
> Pd (gui) audio preferences allows selection of the interface for both
> input and output. Output only is lovely and clean but as soon as the 
> device
> is selected for audio input the audio quality drops horrendously (vaguely
> recognisable from the original signal)..
> ..although what gives me hope is I CAN software monitor the input
> (poorly) in 'Test Audio and MIDI' with this arrangement.
>
> ..with Behringer UCA202 (at 48000khz):
>
> Output only in Pd is poor (beating and popping sound - possibly sounds
> like a samp rate conversion issue).
> When device is selected as Pd input software monitoring is possible
> and oddly, though the result is still poor, there is effectively no drop 
> in
> quality from having the device selected only for output and the monitored
> signal sounds drastically better than at 44100khz.
>
>
> ..with Turtle Beach Amigo II* (at 44100):
>
> Alsamixer shows both input and output and allows to change gain of
> both.
> If plugged in from boot and only the output is selected in Pd it works
> but with a lot of jitter. Selecting the device for input too causes a
> further drop in

Re: [PD] compiling cw_binaural~ for android

2013-10-15 Thread Antoine Villeret
2013/10/15 Husk 00 

>
>
>
> On Tue, Oct 15, 2013 at 1:06 PM, Antoine Villeret <
> antoine.ville...@gmail.com> wrote:
>
>> hi,
>>
>> the Makefile is from template version 1.0.7 whereas the actual template
>> is 1.0.14
>> as cw_binaural~ library is written in C++ (at least have .cpp file, I
>> didn't look at the code) the template needs some tweak to work
>>
>
> what kind of tweak it needs? I'm not a C coder but I can try to mess a
> little bit aroundcan you explain me a bit more please?
>

default makefile is looking to *.c files instead of *.cpp
all the build rules are made to deal with .c and not .cpp
this lead to weird behavior like the "make clean" rule would delete all
your .cpp sources files listed in the Makefile...

>
>
>
>>
>> also I just tried this and I got :
>> make: *** Pas de règle pour fabriquer la cible « cw_binaural~.so »,
>> nécessaire pour « all ». Arrêt.
>>
>
>  I'm not sure to get it
>
I mean I was trying to build with a tweaked Makefile, but it failed and I
don't know why now...

btw, I used to include the sources of externals for android directly into
my Eclipse project
small changes in Android.mk and Application.mk make it very easy to work
with external in libpd (it can be built and updated automatically when
running the app)
see the example in libpd and moreover the ScenePlayer source to get started

I could post here an example on how to build C++ external in Eclipse if you
need

cheers

a





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


Re: [PD] compiling cw_binaural~ for android

2013-10-15 Thread Antoine Villeret
hi,

the Makefile is from template version 1.0.7 whereas the actual template is
1.0.14
as cw_binaural~ library is written in C++ (at least have .cpp file, I
didn't look at the code) the template needs some tweak to work

also I just tried this and I got :
make: *** Pas de règle pour fabriquer la cible « cw_binaural~.so »,
nécessaire pour « all ». Arrêt.

+
a


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


2013/10/15 Husk 00 

> Hi list,
> I'm trying to compile cw_binaural~ external for android but I get this
> error:
>
> g++ /home/husk/src/pd/pure-data/src/ -o "src/cw_binaural~.o" -c
> "src/cw_binaural~.cpp"
> src/cw_binaural~.cpp: In function ‘void
> cw_binaural_set_listen_db(t_cw_binaural_tilde*, t_symbol*)’:
> src/cw_binaural~.cpp:78:20: error: ‘logstring2pdterm’ was not declared in
> this scope
> src/cw_binaural~.cpp: In function ‘void
> cw_binaural_set_cipic_db(t_cw_binaural_tilde*, t_symbol*)’:
> src/cw_binaural~.cpp:89:20: error: ‘logstring2pdterm’ was not declared in
> this scope
> src/cw_binaural~.cpp: In function ‘void
> cw_binaural_set_hrtf_db(t_cw_binaural_tilde*, t_symbol*, t_symbol*,
> t_symbol*, t_symbol*)’:
> src/cw_binaural~.cpp:132:20: error: ‘logstring2pdterm’ was not declared in
> this scope
> src/cw_binaural~.cpp: In function ‘void
> cw_binaural_tilde_free(t_cw_binaural_tilde*)’:
> src/cw_binaural~.cpp:141:20: error: ‘logstring2pdterm’ was not declared in
> this scope
> src/cw_binaural~.cpp: In function ‘void* cw_binaural_tilde_new(t_symbol*,
> int, t_atom*)’:
> src/cw_binaural~.cpp:178:24: error: ‘logstring2pdterm’ was not declared in
> this scope
> src/cw_binaural~.cpp:192:20: error: ‘logstring2pdterm’ was not declared in
> this scope
> make: *** [src/cw_binaural~.o] Error 1
>
> The external seems to use TemplateLibrary, so it should compile, rights?
> what the problem here?
>
> thanks in advance
>  husk
>
> --
> "l'importante nella vita é avere pregiudizi a priori su tutto"
> Jean-Paul-Sartre
>
> www.estereotips.net
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] RPI usb soundcards that require mmap_emul

2013-10-13 Thread Antoine Villeret
also note, that I need to launch pd from ~/.bashrc instead from
/etc/rc.local

when I lauch pd with somehting like :
su pi -C "pd loader.pd"
from /etc/rc.local the sound doesn't work fine

I don't know why but running it from ~/.bashrc with only
pd loader.pd
does work well

maybe i should have tried to run pd by root but it is often recommended to
avoid that

+
a

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


2013/10/13 Antoine Villeret 

> 2013/10/11 Julian Brooks 
>
>> I tend to stick with 44.1 so it's good to know 48k could be trouble.
>>
>> Hmmm, disabling ethernet isn't an option for ssh communication.
>>
> Yes, it is a matter for me too
> So I made a udev rules that disables ethernet when the sound card is
> connected and re-enables it when the sound card is removed
>
>
>>
>> Perhaps the 'LEAVE_ME_ALONE' comment could be worth checking out?
>>
> yes, it could but I haven't the card under the hand anymore
>
>>
>> Also, what did you roll back to get audio working again?
>>
> if I remember correctly,
> with the firmware of middle september, i got cracke in audio with ethernet
> enabled, which is the same with firmware from late April
> but when I disable ethernet, USB is not working well anymore, even if
> there is no audio card, e.g. my keyboard does something very strange
> and the sound card doesn't work well
> but this could be due to the function I use to disable ethernet which
> seems to a hack and may be no more usable with recent firmware without
> making USB inusable.
>
> so I did :
> sudo rpi-update 994e46341bd190ef4ce6ee011e3f9fb8173e2bbf
> to get the firmware from april 26th
> and disable ethernet with :
>
> dhclient -r #release DCHP
> echo -n "1-1.1:1.0" | sudo tee /sys/bus/usb/drivers/smsc95xx/unbind
> #disable the cheap
>
> +
> a
>
>>
>>
>> On 10 October 2013 18:42, Antoine Villeret wrote:
>>
>>> sorry, I have several cards from ESI and messed them every times !
>>> I was thinking about UGM96 which works great at 48kHz (btw I didn't try
>>> it at 96kHz because I have enough troubles and headache with 48k)
>>>
>>> But note, that I need to disable the ethernet to get input without
>>> crackles.
>>>
>>> +
>>> a
>>>
>>> --
>>> do it yourself
>>> http://antoine.villeret.free.fr
>>>
>>>
>>> 2013/10/10 Julian Brooks 
>>>
>>>> Good to know, thanks Antoine.
>>>>
>>>> What was it that you rolled back?
>>>>
>>>> BTW - can't be the UDJ card as that has no input but I think you have a
>>>> different ESI card too.
>>>>
>>>>
>>>> On 9 October 2013 21:02, Antoine Villeret 
>>>> wrote:
>>>>
>>>>> hi,
>>>>>
>>>>> I couldn't try this and I don't know anything about mmap_emul but
>>>>>  I recently updated a Pi (in the middle september) and got crakle with
>>>>> an ESI UDJ 6 (2in/2out) which was working great before
>>>>> then I downgrade to the version of april 26 2013, and it works again
>>>>>
>>>>> +
>>>>> a
>>>>>
>>>>> --
>>>>> do it yourself
>>>>> http://antoine.villeret.free.fr
>>>>>
>>>>>
>>>>> 2013/10/9 Julian Brooks 
>>>>>
>>>>>>  Hi all,
>>>>>>
>>>>>> I'm building a fresh rpi image and after installing hexxah's
>>>>>> rpi-update and running it to update the firmware I got this message (not
>>>>>> seen before):
>>>>>>
>>>>>> "mmap_emul is set in /etc/asound.conf, disabling it as it is no
>>>>>> longer necessary
>>>>>> If you are (for instance) using an external USB soundcard that needs
>>>>>> mmap_emul,add the string LEAVE_ME_ALONE to your /etc/asound.conf as a
>>>>>> comment
>>>>>> If you don't know what an /etc/asound.conf is, don't worry about this
>>>>>> message"
>>>>>>
>>>>>> So I guess my question is:
>>>>>> How do you know if your usb soundcard requires mmap_emul?
>>>>>>
>>>>>> Also a heads up as I know a couple of people mentioned having sound
>>>>>> problems recently and perhaps this may help.
>>>>>>
>>>>>> This is most recent raspbian image btw.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Julian
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> Pd-list@iem.at mailing list
>>>>>> UNSUBSCRIBE and account-management ->
>>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] RPI usb soundcards that require mmap_emul

2013-10-13 Thread Antoine Villeret
2013/10/11 Julian Brooks 

> I tend to stick with 44.1 so it's good to know 48k could be trouble.
>
> Hmmm, disabling ethernet isn't an option for ssh communication.
>
Yes, it is a matter for me too
So I made a udev rules that disables ethernet when the sound card is
connected and re-enables it when the sound card is removed


>
> Perhaps the 'LEAVE_ME_ALONE' comment could be worth checking out?
>
yes, it could but I haven't the card under the hand anymore

>
> Also, what did you roll back to get audio working again?
>
if I remember correctly,
with the firmware of middle september, i got cracke in audio with ethernet
enabled, which is the same with firmware from late April
but when I disable ethernet, USB is not working well anymore, even if there
is no audio card, e.g. my keyboard does something very strange
and the sound card doesn't work well
but this could be due to the function I use to disable ethernet which seems
to a hack and may be no more usable with recent firmware without making USB
inusable.

so I did :
sudo rpi-update 994e46341bd190ef4ce6ee011e3f9fb8173e2bbf
to get the firmware from april 26th
and disable ethernet with :

dhclient -r #release DCHP
echo -n "1-1.1:1.0" | sudo tee /sys/bus/usb/drivers/smsc95xx/unbind
#disable the cheap

+
a

>
>
> On 10 October 2013 18:42, Antoine Villeret wrote:
>
>> sorry, I have several cards from ESI and messed them every times !
>> I was thinking about UGM96 which works great at 48kHz (btw I didn't try
>> it at 96kHz because I have enough troubles and headache with 48k)
>>
>> But note, that I need to disable the ethernet to get input without
>> crackles.
>>
>> +
>> a
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>
>> 2013/10/10 Julian Brooks 
>>
>>> Good to know, thanks Antoine.
>>>
>>> What was it that you rolled back?
>>>
>>> BTW - can't be the UDJ card as that has no input but I think you have a
>>> different ESI card too.
>>>
>>>
>>> On 9 October 2013 21:02, Antoine Villeret wrote:
>>>
>>>> hi,
>>>>
>>>> I couldn't try this and I don't know anything about mmap_emul but
>>>>  I recently updated a Pi (in the middle september) and got crakle with
>>>> an ESI UDJ 6 (2in/2out) which was working great before
>>>> then I downgrade to the version of april 26 2013, and it works again
>>>>
>>>> +
>>>> a
>>>>
>>>> --
>>>> do it yourself
>>>> http://antoine.villeret.free.fr
>>>>
>>>>
>>>> 2013/10/9 Julian Brooks 
>>>>
>>>>>  Hi all,
>>>>>
>>>>> I'm building a fresh rpi image and after installing hexxah's
>>>>> rpi-update and running it to update the firmware I got this message (not
>>>>> seen before):
>>>>>
>>>>> "mmap_emul is set in /etc/asound.conf, disabling it as it is no longer
>>>>> necessary
>>>>> If you are (for instance) using an external USB soundcard that needs
>>>>> mmap_emul,add the string LEAVE_ME_ALONE to your /etc/asound.conf as a
>>>>> comment
>>>>> If you don't know what an /etc/asound.conf is, don't worry about this
>>>>> message"
>>>>>
>>>>> So I guess my question is:
>>>>> How do you know if your usb soundcard requires mmap_emul?
>>>>>
>>>>> Also a heads up as I know a couple of people mentioned having sound
>>>>> problems recently and perhaps this may help.
>>>>>
>>>>> This is most recent raspbian image btw.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Julian
>>>>>
>>>>>
>>>>> ___
>>>>> Pd-list@iem.at mailing list
>>>>> UNSUBSCRIBE and account-management ->
>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>
>>>>>
>>>>
>>>
>>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] RPI usb soundcards that require mmap_emul

2013-10-10 Thread Antoine Villeret
sorry, I have several cards from ESI and messed them every times !
I was thinking about UGM96 which works great at 48kHz (btw I didn't try it
at 96kHz because I have enough troubles and headache with 48k)

But note, that I need to disable the ethernet to get input without crackles.

+
a

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


2013/10/10 Julian Brooks 

> Good to know, thanks Antoine.
>
> What was it that you rolled back?
>
> BTW - can't be the UDJ card as that has no input but I think you have a
> different ESI card too.
>
>
> On 9 October 2013 21:02, Antoine Villeret wrote:
>
>> hi,
>>
>> I couldn't try this and I don't know anything about mmap_emul but
>>  I recently updated a Pi (in the middle september) and got crakle with an
>> ESI UDJ 6 (2in/2out) which was working great before
>> then I downgrade to the version of april 26 2013, and it works again
>>
>> +
>> a
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>
>> 2013/10/9 Julian Brooks 
>>
>>>  Hi all,
>>>
>>> I'm building a fresh rpi image and after installing hexxah's rpi-update
>>> and running it to update the firmware I got this message (not seen before):
>>>
>>> "mmap_emul is set in /etc/asound.conf, disabling it as it is no longer
>>> necessary
>>> If you are (for instance) using an external USB soundcard that needs
>>> mmap_emul,add the string LEAVE_ME_ALONE to your /etc/asound.conf as a
>>> comment
>>> If you don't know what an /etc/asound.conf is, don't worry about this
>>> message"
>>>
>>> So I guess my question is:
>>> How do you know if your usb soundcard requires mmap_emul?
>>>
>>> Also a heads up as I know a couple of people mentioned having sound
>>> problems recently and perhaps this may help.
>>>
>>> This is most recent raspbian image btw.
>>>
>>> Regards,
>>>
>>> Julian
>>>
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] RPI usb soundcards that require mmap_emul

2013-10-09 Thread Antoine Villeret
hi,

I couldn't try this and I don't know anything about mmap_emul but
I recently updated a Pi (in the middle september) and got crakle with an
ESI UDJ 6 (2in/2out) which was working great before
then I downgrade to the version of april 26 2013, and it works again

+
a

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


2013/10/9 Julian Brooks 

> Hi all,
>
> I'm building a fresh rpi image and after installing hexxah's rpi-update
> and running it to update the firmware I got this message (not seen before):
>
> "mmap_emul is set in /etc/asound.conf, disabling it as it is no longer
> necessary
> If you are (for instance) using an external USB soundcard that needs
> mmap_emul,add the string LEAVE_ME_ALONE to your /etc/asound.conf as a
> comment
> If you don't know what an /etc/asound.conf is, don't worry about this
> message"
>
> So I guess my question is:
> How do you know if your usb soundcard requires mmap_emul?
>
> Also a heads up as I know a couple of people mentioned having sound
> problems recently and perhaps this may help.
>
> This is most recent raspbian image btw.
>
> Regards,
>
> Julian
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Invalid autobuild download

2013-10-04 Thread Antoine Villeret
hi,

since this afternoon I can only download invalid archive from
http://autobuild.puredata.info/auto-build/ or from
http://apt.puredata.info/auto-build

all downloaded files have a 0 byte size.
I tried under 3 OS with 2 different internet connections.

is the server under maintenance ?

a

--
do it yourself
http://antoine.villeret.free.fr
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] libdir template Mac OSX build

2013-10-04 Thread Antoine Villeret
hello,

2 things in one thread :

1. I've made an external started with the template from up-to-date SVN
and I realised that this template makes .pd_linux instead of .l_i386 or
.l_ia64

so I switched to another one doing that (the one from pix_opencv, which
Hans updated from template if I remember correctly)

2. but on Mac OS X this one build by default against x86_64 while there is
no 64build of pd-extended for Darwin

I have to append CFLAGs="-arch i386" and LDFLAGS="-arch 386" to make

Could we update the template project to make things easier ?
If yes, I can do that, but I'm not sure to do it right...

Cheers

A

--
do it yourself
http://antoine.villeret.free.fr
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] tanh() or a compressor?

2013-10-01 Thread Antoine Villeret
hey,

if CPU is a matter, you could try to use an external analog (or digital)
compressor (and an eq) between your mic and your soudcard.

The table display in Pd is linear while sound intensity feeling is
logarithmic, so it's not surprising to have such peaks.
When you try to write value > 1 to disk or to output it, it's clipped to 1.

++
a



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


2013/10/1 Mario Mey 

> How does Pd or the soundcard outputs the signal > 1? Does it compress it?
>
> I started this thread because I saw the high peaks in an array... but I
> never listened the sound distorted.
>
>
> __**_
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list 
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pix_video problem

2013-09-27 Thread Antoine Villeret
hello,

to reduce CPU eating, did you try to put each [pix_video] in a separate pd~
and then send the image to a main patch with [pix_share_*] ?
this could help

I never worked with blackmagic card but it could be possible to add a new
backend to [pix_video] to support those cards "natevely" in pd.

+
a


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


2013/9/27 Benjamin ~ 01xy 

>  Hello,
>
> We are using a blackmagick decklink quad on linux
> to get the signal threw pix_video, we use the bmdcapture command line tool
> combined with ffmpeg so as to write on a virtual video device created by
> v4l2loopback (cf
> http://wiki.labomedia.org/index.php/AstroFluxTechnique#bmdcapture_.7C_ffmpeg
> )
>
> it works fine and it is stable even if we plug/unplug the video sources,
> it allows us to capture 1080i video or PAL video encapsulated in the SDI
> signal, but if we try to capture 4x1080i signals, the framerate is less
> than 25fps as Pd is > 100% CPU
>
> ++
> Benjamin
>
> Le 27/09/2013 09:21, Etienne Landon a écrit :
>
> Hello list, my first message ! youpi
>
>  Regarding Blackmagic on linux you have to use gstreamer through pdgst.
> There are two plugins "decklinsrc" and "decklinksink", this is working
> great !
>
>  I think they are in the "bad" plugin set
>
>  If this works the same in windows, perhaps you have to fisrt set the
> mode of the blackmagic before turning gem on. By setting up I mean
> selecting the appropriate input and video resolution.
>
>  And I confirm, never change settings while using it, unplugging the
> blackmagic input whit gem on freezes my computer
>
>  Etienne
>
>
>
>
> ___pd-l...@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] small template bug on 64 bit system for building externals for android

2013-09-15 Thread Antoine Villeret
hi,

in version 1.0.14 (svn r17152)  I have $(NDK_PROCESSOR) instead of x86 or
x86_64
on my system (Ubuntu 12.04 64bit) this environment variable isn't set
automatically with Anroid NDK r9
so I add   NDK_PROCESSOR=$(shell uname -p)
just before and i seems to work

I don't know if it only works on other platforms
here is the patch

+
a

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


2013/9/12 Cyrille Henry 

> Hello,
>
> i'm currently working for android.
> when trying to compile pd extern for this platform, I face a small bug on
> the template makefile v1.0.14
>
> it certainly work great for 32 bit, but on my 64 bit system, i have to
> change :
>   NDK_TOOLCHAIN=$(wildcard $(NDK_BASE)/toolchains/$(NDK_**
> ABI)*-$(NDK_COMPILER_VERSION)/**prebuilt/$(NDK_UNAME)-x86)
> to
>   NDK_TOOLCHAIN=$(wildcard $(NDK_BASE)/toolchains/$(NDK_**
> ABI)*-$(NDK_COMPILER_VERSION)/**prebuilt/$(NDK_UNAME)-x86_64)
>
> for now i don't have anything to test, but binary are created.
>
> cheers
> c
>
> __**_
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list 
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] PLEASE HELP !

2013-07-30 Thread Antoine Villeret
not *every kind* but thoses who are recognized by alsa...
there is a list somewhere on the net

and your question is more related to ALSA than to PD itself
so you'll probably get more accurate answer on the ALSA list/forum


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


2013/7/30 Luca Mani 

> To everybody, does anybody know if with ALSA is possible to run every kind
> of multichannel sound card for recording audio on linux ?
>
> Thanks.
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Please help!!

2013-07-30 Thread Antoine Villeret
hi,

i've successfully tested an ESI Gigaport HD+ on the Pi
without clicks with ethernet disable
this interface doesn't have inputs this is why (i think) it could work with
USB 1.1

from its user manual specifications, part 5, page 11 :
1. Interface
- USB spec version 1.1
- USB audio class spec version 1.0
- fully compatible to USB 2.0 host controllers

but this should be tested more longer on the PI

regards

a

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


2013/7/30 Luca Mani 

> It was very usefull thanks guys.
>
>   --
>  *Da:* Miller Puckette 
> *A:* Simon Wise 
> *Cc:* pd-list@iem.at
> *Inviato:* Lunedì 29 Luglio 2013 19:07
> *Oggetto:* Re: [PD] Please help!!
>
> I don't think this is presently possible - I think all 8-channel conforming
> USB audio devices require USB 2.0 and the only way to get solid audio in or
> out of the Pi (as far as I've been able to get working) depends on slowing
> the USB to 1.1 speed.  This is certainly just a software thing and I hope
> it
> will eventually get fixed.
>
> OTOH I've been getting good robust stereo in and out using Griffin iMic
> (and
> there seem to be plenty of other even cheaper choices).
>
> cheers
> Miller
>
> On Tue, Jul 30, 2013 at 12:05:47AM +0800, Simon Wise wrote:
> > On 29/07/13 21:22, Luca Mani wrote:
> > >To everybody, is it possible to run a pd patch with an 8 channel desk
> on a raspberry pi with an external USB sound card ?
> > >
> >
> > Raspberry usb is not great, and some audio devices work while others
> > do not, there is apparently an 8-channel output device that works
> > ... search this list for details ... it seems you are most likely to
> > have luck with basic consumer level devices. I had good results with
> > a simple, very cheap stereo output card, but that is a much simpler
> > setup than what you are asking for.
> >
> > >Features used:
> > >
> > >Raspberry PI: Model B
> > >Audio usb sound card : Tascam us 1800
> http://tascam.com/product/us-1800/
> >
> > of course also the audio card needs to have linux drivers ... mostly
> > this means that the device needs to use standard usb audio drivers
> > not its own special driver, and looking at the tascam specs it seems
> > to need its own drivers installed to work in windows and OSX, which
> > is not a good sign.
> >
> > Simon
> >
> > ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Syphon for Pd

2013-07-28 Thread Antoine Villeret
great news !

I saw a while ago some efforts to port Syphon under Linux,
do you know if it's working now ?

regards

a

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


2013/7/28 Mailing Lists 

> Hi
>
> Syphon for PD is up on Git now Just be sure you link against the latest
> GEM when compiling. This external needs some love from GEM folks, if anyone
> is interested to help support it and build out features. Its certainly bare
> bones for now, but recently I've gotten some interest from folks using it -
> so if anyone out there has any interest to take ownership, I know some
> folks will be happy...
>
> https://github.com/Syphon/PureData
>
> thanks.
>
> On Apr 19, 2013, at 12:57 PM, Jack  wrote:
>
>
> I test it, it works.
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] git and svn links update was:Re: building Pd vanilla with mingw

2013-07-26 Thread Antoine Villeret
hi,

i've updated http://puredata.info/docs/developer/GettingPdSource
please double check I didn't make any mistake and that all links point to
an up-to-date repo

regards

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


2013/7/26 yvan volochine 

> On 26/07/13 19:18, Antoine Villeret wrote:
>
>> i'm not sure which link is the right one for SVN and pd-extended so I let
>> who knows to update them...
>>
>
> this is the one for pd-extended/svn:
>
>   $ svn checkout 
> svn://svn.code.sf.net/p/pure-**data/svn/trunk<http://svn.code.sf.net/p/pure-data/svn/trunk>pure-data-svn
>
> ciao
>
> y
>
> --
> http://yvanvolochine.com
> http://soundcloud.com/**yvanvolochine<http://soundcloud.com/yvanvolochine>
> http://soundcloud.com/**elgusanorojo <http://soundcloud.com/elgusanorojo>
> http://github.com/gusano
> http://vimeo.com/yv
>
> __**_
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] pix_openni blocks pd gui

2013-07-26 Thread Antoine Villeret
hi,

i'm working on pix_openni code and trying to figure out why pd is blocking
4 or 5 seconds when quitting after using [pix_openni]

the gui stays alive and the command line shows "watchdog: signaling pd..."
4 or 5 times then the gui disappear

how can I figure out what is blocking pd ?

thanks

a

--
do it yourself
http://antoine.villeret.free.fr
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] building Pd vanilla with mingw

2013-07-26 Thread Antoine Villeret
ho ! shame on me ! I've copy/paste the link from
http://puredata.info/docs/developer/GettingPdSource ...
so i've update the link...

i'm not sure which link is the right one for SVN and pd-extended so I let
who knows to update them...

regards

a

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


2013/7/26 yvan volochine 

> On 26/07/13 15:15, Antoine Villeret wrote:
>
>> git reflog
>> 5419183 HEAD@{0}: clone: from git://
>> pure-data.git.sourceforge.net/**gitroot/pure-data/pure-data<http://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data>
>> maybe I cloned the wrong repos ?
>>
>
> sf.net changed their repos URL so you need the following if you wanna try
> to build latest master:
>
>   $ git remote set-url origin git://git.code.sf.net/p/pure-**
> data/pure-data <http://git.code.sf.net/p/pure-data/pure-data>
>   $ git pull origin master
>
> but as I don't have any windowz I have no idea if current master build
> with mingw :/
>
> HTH
> y
>
> --
> http://yvanvolochine.com
> http://soundcloud.com/**yvanvolochine<http://soundcloud.com/yvanvolochine>
> http://soundcloud.com/**elgusanorojo <http://soundcloud.com/elgusanorojo>
> http://github.com/gusano
> http://vimeo.com/yv
>
>
> __**_
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] building Pd vanilla with mingw

2013-07-26 Thread Antoine Villeret
hi,

i'm also trying to build Pd vanilla under Windows 7 with MinGW since
yesterday
I follow all the things on
http://puredata.info/docs/developer/WindowsMinGW until
"You can now build Pd vanilla"
note that I cannot find the ASIOSDK2.2 but only the 2.3 on Steinberg website

with a fresh git clone :
./autogen.sh works fine
but ./configure fails with this :


=== configuring in portaudio (/home/antoine/pd/pure-data/portaudio)
configure: running /bin/sh m4/config/configure --disable-option-checking
'--prefix=/usr/local'  '--enable-asio' '--disable-portaudio'
--cache-file=/dev/null --srcdir=./bin/sh: m4/config/configure: No such file
or directory
configure: error: m4/config/configure failed for portaudio

even if i use --enable-asio and --disable-portaudio options
I could post the entire output if needed

from here : /home/antoine/pd/pure-data (so there is no spaces in path)

the "make -f makefile.mingw" command from src/ fails with :
$ make -f makefile.mingw
makefile.mingw:299: makefile.dependencies: No such file or directory
make: *** No rule to make target
`../../pd/portaudio/src/common/pa_stream.c', needed by
`makefile.dependencies'.  Stop.

with patrice's command I got after a lots of warnings :


Creating library file: pd.a
g_canvas.o:g_canvas.c:(.text+0x359c): undefined reference to
`array_define_class
'
g_text.o:g_text.c:(.text+0x3534): undefined reference to `canvas_istable'
m_conf.o:m_conf.c:(.text+0x77): undefined reference to `x_array_setup'
m_conf.o:m_conf.c:(.text+0x9a): undefined reference to `x_scalar_setup'
collect2: ld a retourné 1 code d'état d'exécution
 
so it fails creating pd.dll, pd.com an others

git reflog
5419183 HEAD@{0}: clone: from git://
pure-data.git.sourceforge.net/gitroot/pure-data/pure-data
maybe I cloned the wrong repos ?
or maybe the mingw build is broken for now ?

I then tested to compile the release version
./autogen.sh works fine
./configure fails witih the same error than above


=== configuring in portaudio (/home/antoine/pd/pd-0.44-0/portaudio)
configure: running /bin/sh m4/config/configure --disable-option-checking
'--prefix=/usr/local'  '--enable-asio' '--enable-option-checking'
--cache-file=/dev/null --srcdir=./bin/sh: m4/config/configure: No such file
or directory
configure: error: m4/config/configure failed for portaudio

also the old build system fails :
$ make -f makefile.mingw
make: *** No rule to make target
`../../pd/portaudio/src/common/pa_stream.c', needed by
`makefile.dependencies'.  Stop.

patrice's version works but pd.res is missing and then pd.exe couldn't be
created...


antoine@antoine-win7 ~/pd/pd/src
$ gcc  -mwindows -o pd.exe s_entry.o pd.res -lm -lwsock32 -lwinmm -lole32
-lpth
readGC2 -L. -lpd
gcc.exe: erreur: pd.res: No such file or directory

NOTE : patrice version assume the folder where pd is is called "pd" not
"pure-data" like the default after cloning
also I had to remove tabulations

anyway thanks for everything, i'm sure i'm close to my goal !

regards

a

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


2013/7/26 IOhannes m zmölnig 

> On 07/26/13 08:54, Jonathan Wilkes wrote:
> > Thanks. Somehow I had some weirdness left over from
> > trying to /.autogen from a directory with spaces in it.
> > I started over using the "make -f makefile.mingw" method
> > and it worked fine.
> >
> > But I still can't get it to work using autogen.
> >
>
> for the watchdog problem, simply remove line 142 from src/Makefile.am
> ("bin_PROGRAMS += pd-watchdog" in the MINGW context).
>
> since i am the author of this line, i'm pretty sure that it *did* work
> when i last did a w32 compilation using mingw. without knowing the error
> you get ("it's complaining about missing functions relating to
> pd-watchdog"), it's hard to tell.
>
>
> msdt
> IOhannes
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] SIGPIPE on iemnet's tcpserver

2013-07-02 Thread Antoine Villeret
hi again,

just saw this thread right after posting mine :
http://lists.puredata.info/pipermail/pd-list/2013-07/103236.html

sorry for bothering

here is attached three small patches that make PD crash
raw_client and raw_server work well together
but when I try to connect more client (eg. 10 with 10_raw_client)
crash happens...

I realize that with iemnet's version of tcpclient/tcpserver,
if two client connect at the same time to server, only on receive data not
the other,
so I put a timeout to disconnect the client if no answer was received in a
certain time and then reconnect

i first make this with iemnet's tcpserver
and I got a SIGPIPE on the server side (see my previous post)
while I got SIGSEGV on the client side, here is the gdb backtrace :

[New Thread 0x7fff7bfff700 (LWP 4478)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc8ff9700 (LWP 4477)]
0x00472963 in clock_set ()
(gdb) watchdog: signaling pd...


I think in the server side a
signal(SIGPIPE, SIG_IGN);
could help but I don't know where to put it (in tcpserver.c ? in
iemlnet_sender.c or somewhere else ?)

also I tested it with the mrpeach's version, it doesn't crash but the GUI
hangs
gdb doesn't tell anything, it continue to show thread creation and exiting

also I'm using iemnet's first because it has a [port( method to change the
binding port on the fly
and I made a rebinding routing to choose an available port in a certain
range both in server and in client side
to prenvent connection error if port is still used after a crash for example

I don't know how to go further with this,
But I really need a reliable server for some project and for now I just
have an headache :-)
please tell me how i can help fixing this (and please note that I don't
know anything on tcp communication...)

cheers

antoine


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


2013/7/2 Antoine Villeret 

> hi all,
>
> I got some crashes with iemnet's tcpserver
>
> gdb tells :
> [New Thread 0x7fffb9ffb700 (LWP 7828)]
>
> Program received signal SIGPIPE, Broken pipe.
> [Switching to Thread 0x7fffea57a700 (LWP 7713)]
> 0x773b52cc in __libc_send (fd=, buf= out>,
> n=, flags=)
>
> and it happends when several (10) clients are connected at the same time
> and send some data
>
> I guess tcpserver is trying to write to a broken pipe and receive a
> SIGPIPE signal which is not handle and then exit - so crashes pd
>
> am I right ?
> if so, is it possible to set the SIG_PIPE handler to SIG_IGN to avoid
> crash ?
> I saw that here [1].
>
> should I file a bug report ?
> if so where ?
>
> best regards
>
> antoine
>
> [1] :
> http://stackoverflow.com/questions/108183/how-to-prevent-sigpipes-or-handle-them-properly
>
> --
> do it yourself
> http://antoine.villeret.free.fr
>


10_raw_client.pd
Description: Binary data


raw_client.pd
Description: Binary data


raw_server.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-25 Thread Antoine Villeret
hello,

it should be fixed now,
i don't know from where the line 643 comes...
but my gcc 4.6.3 doesn't complain for that

thanks for reporting

a


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


2013/6/25 yvan volochine 

> On 21/06/13 20:40, Antoine Villeret wrote:
>
>> i've made some change in the headers
>> it should not depends on libcv-dev libhighgui-dev and libcvaux-dev anymore
>> maybe this solve your problem too
>>
>
> I still get the aforementioned error but after all externals have been
> built fine.
> but getting rid of dependencies is always nice =)
>
> and here's another patch reflecting the new sf.net repo url in pix_opencv
> README:
>
> https://gist.github.com/**gusano/5857170<https://gist.github.com/gusano/5857170>
>
> ciao
>
> y
>
> --
> http://yvanvolochine.com
> http://soundcloud.com/**yvanvolochine<http://soundcloud.com/yvanvolochine>
> http://soundcloud.com/**elgusanorojo <http://soundcloud.com/elgusanorojo>
> http://vimeo.com/yv
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-21 Thread Antoine Villeret
hum strange

i've made some change in the headers
it should not depends on libcv-dev libhighgui-dev and libcvaux-dev anymore
maybe this solve your problem too
i've only tested with OpenCV 2.3.1 from packages

++
a

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


2013/6/21 yvan volochine 

> hi Antoine
>
>
>  I've push a fixed version to svn
>> it should work with both version
>>
>> could you please test it with 2.4.5 ?
>>
>
> nice, it seems that all externals build fine now (except for
> pix_opencv_surf but it looks like it should not be build in the first
> place..).
> I still get this error at the end of the build though:
>
>
> blobtrack.cpp: At global scope:
> blobtrack.cpp:643:1: error: ‘q’ does not name a type
>  q
>  ^
> [snip]
>
>   ^
> make: *** [blobtrack] Error 1
>
>
>
> ciao,
> y
>
> --
> http://yvanvolochine.com
> http://soundcloud.com/**yvanvolochine
> http://soundcloud.com/**elgusanorojo 
> http://vimeo.com/yv
>
> __**_
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list 
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-20 Thread Antoine Villeret
2013/6/20 yvan volochine 

> On 20/06/13 15:04, Antoine Villeret wrote:
>
>> thanks for this
>>
>> I just tested your patch with a fresh install of Ubuntu and it doesn't
>> work
>> pix_opencv still depends both on opencv 1.5 and 2.3
>> it's a shame but I'll fix this later
>>
>
> yep, I thought that this might be archlinux specific, that's why I didn't
> "officialy" submit my patch =)


afaik not
this is related to opencv 2.4.5...


>
>
>  libopencv-dev is version 2.3.1
>> the others are legacy and install among others cv.h
>>
>> concerning, pix_opencv_blobtrack, which version of opencv are you using ?
>> check it with : echo $(pkg-config --modversion opencv)
>>
>
> 2.4.5

i've just build it and yes it breaks compatibility...

I've push a fixed version to svn
it should work with both version

could you please test it with 2.4.5 ?

thanks for pointing that

a


>
>
> ciao,
> y
>
> --
> http://yvanvolochine.com
> http://soundcloud.com/**yvanvolochine<http://soundcloud.com/yvanvolochine>
> http://soundcloud.com/**elgusanorojo <http://soundcloud.com/elgusanorojo>
> http://vimeo.com/yv
>
> __**_
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-20 Thread Antoine Villeret
thanks for this

I just tested your patch with a fresh install of Ubuntu and it doesn't work
pix_opencv still depends both on opencv 1.5 and 2.3
it's a shame but I'll fix this later
the svn version works on ubuntu after installing legacy packages :
sudo apt-get install libopencv-dev libcv-dev libhighgui-dev libcvaux-dev

libopencv-dev is version 2.3.1
the others are legacy and install among others cv.h

concerning, pix_opencv_blobtrack, which version of opencv are you using ?
check it with : echo $(pkg-config --modversion opencv)

cheers

a


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


2013/6/19 yvan volochine 

> FYI it does not build on archlinux (with opencv2).
>
> I fixed some of it with the following patch:
> https://gist.github.com/**gusano/5814205
>
> and now all externals build fine except for `pix_opencv_blobtrack` which
> gives the following error:
>
>
> blobtrack.h: In function ‘CvFGDetector* cvCreateFGDetector1()’:
> blobtrack.h:20:113: warning: control reaches end of non-void function
> [-Wreturn-type]
>  static CvFGDetector* cvCreateFGDetector1  () { return
> cvCreateFGDetectorBase(CV_BG_**MODEL_MOG,NULL); }
>
>   ^
> blobtrack.h: In function ‘CvFGDetector* cvCreateFGDetector0Simple()’:
> blobtrack.h:19:113: warning: control reaches end of non-void function
> [-Wreturn-type]
>  static CvFGDetector* cvCreateFGDetector0Simple() { return
> cvCreateFGDetectorBase(CV_BG_**MODEL_FGD_SIMPLE, NULL); }
>
>   ^
> blobtrack.h: In function ‘CvFGDetector* cvCreateFGDetector0()’:
> blobtrack.h:18:113: warning: control reaches end of non-void function
> [-Wreturn-type]
>  static CvFGDetector* cvCreateFGDetector0  () { return
> cvCreateFGDetectorBase(CV_BG_**MODEL_FGD,NULL); }
>
>   ^
> make: *** [pix_opencv_blobtrack.o] Error 1
>
>
> ciao,
> y
>
> --
> http://yvanvolochine.com
> http://soundcloud.com/**yvanvolochine
> http://soundcloud.com/**elgusanorojo 
> http://vimeo.com/yv
>
>
> __**_
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list 
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-19 Thread Antoine Villeret
hello,

you shouldn't have to run configure script on debian/ubuntu
just run make after installing the right package
see README.txt

pkg-config determines the Pd and Gem's path
if it doesn't work this is due to an old version or a bad installation and
I don't know an easier way to fix it than editing Makefile

cheers

a

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


2013/6/19 Jaime Oliver 

> I just ran into the same problem in ubuntu following:
>
> http://hangar.org/wikis/lab/doku.php?id=start:puredata_opencv#packages_for_ubuntu_and_debian
> J
>
>
> On Wed, Jun 19, 2013 at 1:08 PM, Benjamin ~ 01xy  wrote:
>
>> Hello pd-list,
>>
>> I'm trying to compile pix_opencv on linux mint debian
>> when :
>> ./configure --with-pd=path_to_pd --with-gem=path_to_gem
>> I get :
>> checking for cvSobel in -lcv... no
>> configure: error: you need to install opencv library (libcv)
>>
>> of course, I've previously installed libcv2.3 libcv-dev libcvaux-dev
>> libhighgui-dev with the package manager
>> locate libcv gives :
>> ...
>> /usr/lib/libcv.so.4
>> /usr/lib/vlc/plugins/codec/**libcvdsub_plugin.so
>> /usr/share/doc/libcv-dev
>> /usr/share/doc/libcv2.3
>> /usr/share/doc/libcvaux-dev
>> /usr/share/doc/libcvaux2.3
>> /usr/share/doc/libcv-dev/**README.Debian
>> ...
>>
>> did anyone already managed to compile pix_opencv on debian testing ?
>> any magic ln -s command ? maybe pix_opencv relies on opencv v1 ?
>>
>> thanks
>> benjamin
>>
>> __**_
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
>> listinfo/pd-list 
>>
>
>
>
> --
> **
> Jaime E Oliver LR
> www.jaimeoliver.pe
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] multiblob tracking in Gem while objects keep their IDs

2013-06-16 Thread Antoine Villeret
hi,

pix_multiblob algorithm changes just after the 0.93.3 release in november
2011
Ricardo Fabbri made those changes so maybe he is the best person to help us
figuring out where the "bug" is, if this is really a bug

since the algorithm changed I'm not so surprised that the same patch with
the same parameters doesn't work in both case

if pix_multiblob should be backward compatible, could it be possible to
rename the Ricardo's version to pix_multiblob2 or something else and to
restore the 0.93.3's version in the Gem's main trunk ?
or is it better to put the two algorithms in the same pix_multiblob object
and select it with a [mode( message or something else ?

cheers

a




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


2013/6/15 IOhannes m zmölnig 

> On 06/15/13 16:03, Max wrote:
> > So that is a confirmed Gem problem. I don't see the point to work with
> that object any more, now that I know that the new version breaks backward
> compatibility. I want to be able to make a patch that works with whatever
> gem version : (
>
> i think that' a bitter conclusion to draw.
> obviously the object should be backwards compatible, and it being not is
> a bug.
>
> rather than ranting about "not seeing the point any mor" it would be
> good to help fix the bug.
>
> fgdstn
> IOhannes
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] multiblob tracking in Gem while objects keep their IDs

2013-06-10 Thread Antoine Villeret
hi,

it works on my machine (Ubuntu 64bit) with pd 0.44-extended-20130528 (Gem
93.3)
and I can also confirm it works with latest pd vanilla and Gem 0.93.3
and it doesn't with the latest Gem from Git but I don't know why yet...

+
a

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


2013/6/6 Max 

>
> Am 06.06.2013 um 18:18 schrieb Jack :
> > Hello Max,
> >
> > I have the same results than Antoine.
> > A screenshot is attached.
> > Configuration :
> > Ubuntu 13.04, Pd 0.44.3, Gem ver: 0.93.git 374f713.
>
> I just tested it with another machine
> Windows Pd-ext 0.43 / Gem 0.92
> Windows Pd-ext 0.44 / Gem 0.93.3
> both work as expected.
>
> I'm wondering if it really could be your unreleased Gem version. Could you
> try a precompiled stock version instead?
>
> m.
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] linux best for pd? / "best linux" for Pd? / On a Mac?

2013-06-02 Thread Antoine Villeret
hi all,

I used Windows first when I was young, I switched to Mac OS for the
Coreaudio performance and because Apple's laptop were the only I known to
have a powered firewire plug.
Now and since i'm using pd (I worked with MaxMSP before) I'm on Ubuntu.
I'm quite satisfied except for the driver availability (I have to wait one
year before having a touchpad driver)
We (A friend of mine on this list... and me) have made a custom distro we
use in all of our projects.
It's based on Ubuntu and works well.
The only cons is the bad optimus support (it often crashes with Gem) but
this only affects laptop.

But a benchmarking test made on the same MacPro machine shows that Pd with
Gem runs twice time faster on Ubuntu than on Mac OS X.
We used it for a dynamic mapping system with only 16ms latency (one image).
And the latency was due to video projector, not to Pd itself.

Moreover the only good thing I see on apple computer is the strong
formfactor they use and the quality of the components inside.
But for less money you can have the same components in an heavier case but
without to pay for Mac OS X licence.

But this is only my point of view

Cheers

Antoine



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


2013/6/2 Gerhard Lang 

> Sorry, I did not read your post attentively to the end. So please take my
> post as an ot-statement about pd on pc.
> regards
>
> Am 02.06.2013 00:32, schrieb Alexandros Drymonitis:
>
>  I'm invading this thread with a question that might have an obvious
>> answer...are you using boot camp to part your hard drive and install Linux?
>> All documentation of it mentions only Windows..
>> Is it the same or do you need to do something else?
>>
>>  http://freemp3x.com/dual-boot-**how-to-dual-boot-mountain-**
> lion-and-ubuntu-mac-and-linux-**mp3-download.html
>
>
>> On Sat, Jun 1, 2013 at 9:45 PM, Alexandre Torres Porres 
>> > por...@gmail.com>> wrote:
>>
>> > pd (and all other audio processing) without jack is no go for me.
>>
>> ok, since I'm completely unaware of anything, can you tell me more
>> about the dependency of audio to jack in linux? And can't jack be
>> installed in any distro anyway?
>>
>>  http://jackaudio.org/
>
>>
>> thanks
>>
>> 2013/5/31 Gerhard Lang > >
>>
>>
>> I'm on ubuntustudio 13.04 and kxstudio 12.04.1, 64bit. But
>> only pd-l20rk runs to my satisfaction. All other pd variants
>> make troubles with toggling dsp here on different  stationary
>> machines and laptops. pd (and all other audio processing)
>> without jack is no go for me.
>>
>> Am 30.05.2013  22:43, schrieb Alexandre Torres
>>
>> Porres:
>>
>> Hi there, correct me if I'm wrong, but it seems Pd runs
>> smoother in Linux than in any other OS, is that right?
>>
>> Perhaps some of you have run benchmarks for it with the
>> same machine and diferente Operational Systems. I was
>> curious to try myself.
>>
>> Now, is there a "best linux" for Pd? Maybe one that allows
>> you to tweak in a little more to have insanely low latencies?
>>
>> Yeah, the whole point and interest is to try and reach an
>> absurdly optimized latency and CPU load.
>>
>> Now that I got myself a Raspberry Pi (my first linux) I
>> wanna enjoy the opportunity/motivation to broaden my linux
>> usage to my regular laptops.
>>
>> I use macs by the way. Don't know if that is an issue.
>> Like being next to an impossible task to install a nice
>> hardcore ("the best one") linux distribution in it.
>>
>> I've seen that recently Linux has been able to work
>> (poorly at least) with Thunderbolt. I have an RME
>> Multiface that seems to works well on linux. Since newer
>> macbooks lost the PCI slot, all that I'm missing is that
>> my thunderbolt to PCI slot  adapter works in Linux. That'd
>> be cool, to run it on my macbook air, on linux... but I
>> digress.
>>
>> Thanks
>> Cheers
>>
>>
>> __**_
>> Pd-list@iem.at  mailing list
>>
>> UNSUBSCRIBE and account-management ->
>> 
>> http://lists.puredata.info/**listinfo/pd-list
>>
>>
>>
>> __**_
>> Pd-list@iem.at  mailing list
>>
>> UNSUBSCRIBE and account-management ->
>> 
>> http://lists.puredata.info/**listinfo/pd-list
>>
>>
>>
>> __**_
>> Pd-list

Re: [PD] multiblob tracking in Gem while objects keep their IDs

2013-05-30 Thread Antoine Villeret
hi,

I'm sorry it still doesn't work
and I can't find values that works well on the testbed.mov video...

I don't know why, tell me if you want more info or snapshots

cheers

a

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


2013/5/28 Max 

> Am 27.05.2013 um 20:09 schrieb Antoine Villeret <
> antoine.ville...@gmail.com>:
> > I have a strange behavior here, some cross appear in the middle of
> nowhere...
> > but the blobs are keeping their ID well
>
> could you try again? I just changed the values of the settings.
> https://github.com/mxa/Bewegungsmelder
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] how to kill all [shell]'s child before quitting Pd

2013-05-29 Thread Antoine Villeret
Hi,

thanks Jack for that, I've already seen this solution on the list,
but I need to know when the pd subprocess ends and with a '&' i get a '0'
on [shell] rightmost outlet when 'echo pid $1' command ends and not when pd
ends
moreover when killing Pd the external's destroy() method isn't called and
this could block some hardware (like cameras...)

but maybe I was not clear enough since I have several questions in one
thread...
the problem was to exit all shell subprocess when quitting pd

I solved it thanks to Cyrille by adding a watchdog
the main pd send a "ping" each 100ms to all children, if there is no "ping"
during 1 second, the child kill itself
so the main pd can quit safely

king regards

antoine

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


2013/5/28 Jack 

>  Le 28/05/2013 20:14, Antoine Villeret a écrit :
>
> hi,
>
>  I'm calling a new instance of Pd inside a Pd patch with [shell]
> but I notice I can't quit the main pd instance if a process is still
> running inside the [shell]
>
>  the GUI hangs until the process ends (until I quit Pd)
> since the child pd is running without gui,
>
>  1) is it possible to exit a running process via [shell] ?
> for example how could I send a ^c (ctrl+c) command ?
>
>  2) moreover, how to trig it when I press ctrl+Q or menu quit ?
>
>  3) the [noquit] abstraction gives me a tcl error : "can't rename
> menu_quit command doesn't exists"
>
>  I'm running pd vanilla 0.44-2
>
>  thanks for help
>
>  antoine
>
>  --
> do it yourself
> http://antoine.villeret.free.fr
>
>
> ___pd-l...@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>
>  Hello Antoine,
>
> With the message [pd & echo $!( to [shell], you should get the PID of the
> subprocess. A [kill number_PID( to [shell] should kill this subprocess.
> ++
>
> Jack
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] how to kill all [shell]'s child before quitting Pd

2013-05-28 Thread Antoine Villeret
hi,

I'm calling a new instance of Pd inside a Pd patch with [shell]
but I notice I can't quit the main pd instance if a process is still
running inside the [shell]

the GUI hangs until the process ends (until I quit Pd)
since the child pd is running without gui,

1) is it possible to exit a running process via [shell] ?
for example how could I send a ^c (ctrl+c) command ?

2) moreover, how to trig it when I press ctrl+Q or menu quit ?

3) the [noquit] abstraction gives me a tcl error : "can't rename menu_quit
command doesn't exists"

I'm running pd vanilla 0.44-2

thanks for help

antoine

--
do it yourself
http://antoine.villeret.free.fr
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] tcpserver crashes on the 34th client connection

2013-05-20 Thread Antoine Villeret
shame on me,

there does exist a [port ( message in iemnet's tcpserver with
which I can change the port on the fly
the rightmost outlet sends [port -1( if binding failed

but this is not explained in the help patch, I should have to go through
the code to see that
could I push an updated version of help patch to the SVN ?
here it is attached

kind regards

a

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


2013/5/20 Antoine Villeret 

> Hi Martin,
>
> Thanks for your reply.
>
> For now, I increase the MAX_CONNECT value and I also make each client
> disconnecting after they receive expected data, and they connect again if
> needed.
>
> But I experience another issue.
> If Pd crashes for any reason, the socket stay in a TIME_WAIT state and if
> Pd restarts asap, the port may not be available and thus tcpserver can't
> bind to it.
> I have to wait until the end of TIME-OUT before restarting Pd.
> I found a solution [1] (restart network service) to release the socket, so
> that tcpserver can bind to the same port again.
> But it could be good to handle this inside Pd isn't it ?
>
> So I guess two ways :
> 1- according to WMR in [1], we can set SO_REUSEADDR via setsockopt(2), but
> I don't know if this possible without lots of code rewriting...
> 2- tcpserver could also have a [bind ( message to select the
> port to bind to and send out error through its right outlet to notice if
> port is available or not, so that we can try to bind again until a port is
> available.
>
> But I'm not very familiar with sockets, so maybe I'm wrong...
>
> Cheers
>
> Antoine
>
>
> [1]
> http://serverfault.com/questions/329845/how-to-forcibly-close-a-socket-in-time-wait
>
> --
> do it yourself
> http://antoine.villeret.free.fr
>
>
> 2013/5/19 Martin Peach 
>
>> Yes, it seems that the routine that adds new connections doesn't check to
>> see if it has passed the number of connection slots.
>> There are MAX_CONNECT slots allocated when [tcpserver] starts.
>>
>> Thanks for finding this bug!
>>
>> There is no reason to limit the number of connections to 32 except to not
>> use up memory.
>> I think it could be changed to either dynamically add space for new
>> connections without limit or set MAX_CONNECT with a creation argument.
>>
>> For now you could recompile it with MAX_CONNECT set to another value. (At
>> some point the OS will run out of sockets. Before that Pd will slow down...)
>>
>> #define MAX_CONNECT 1
>>
>>
>> Martin
>>
>>
>> On 2013-05-18 17:37, Antoine Villeret wrote:
>>
>>> so I reply to myself...
>>>
>>> I found this in the code of both tcpserver.c :
>>> #define MAX_CONNECT 32 /* maximum number of connections */
>>>
>>> which could be an answer embryo
>>>
>>> so, I shouldn't make more than 32 connections on the same tcpserver, ok,
>>> but why ?
>>> is there a good reason to fix this to 32 ?
>>>
>>> and this doesn't tell me why it crashes...
>>> reaching the MAX_CONNECT should handles in the code isn't it ?
>>>
>>> cheers
>>>
>>> a
>>>
>>> --
>>> do it yourself
>>> http://antoine.villeret.free.**fr <http://antoine.villeret.free.fr>
>>>
>>>
>>> 2013/5/16 Antoine Villeret >> <mailto:antoine.villeret@**gmail.com >>
>>>
>>>
>>> hi all,
>>>
>>> I've just notice [tcpserver] crashes when the 34th client try to
>>> connect
>>> both iemnet and mrpeach are affected
>>>
>>> iemnet version send a strange number on the 33th connection
>>> (like 2.8686e+07) and crashes on the 34th
>>>
>>>
>>> here is a gdb output for iem :
>>> Program received signal SIGSEGV, Segmentation fault.
>>> 0x7fffcdbca746 in tcpserver_connectpoll (x=0x66994c0) at
>>> tcpserver.c:503
>>> 503 x->x_sr[i] = y;
>>> (gdb) watchdog: signaling pd...
>>>
>>>
>>> and for mrpeach :
>>> Program received signal SIGSEGV, Segmentation fault.
>>> 0x7fffcddaf585 in tcpserver_connectpoll (x=0xadfc1c0) at
>>> tcpserver.c:1113
>>> 1113   outlet_float(x->x_sockout, x->x_sr[i]->sr_fd);/* the
>>> socket number */
>>> (gdb) watchdog: signaling pd...
>>>
>>>
>>> it happens on ubuntu 12.04 64 bit
>>> pd 0.44.2
>>> and SVN update today
>>>
>>> i'm certainly doing something wrong to get this (like keeping
>>> clients connected all the time)
>>> but a crash is never welcome...
>>>
>>> cheers
>>>
>>> antoine
>>> --
>>> do it yourself
>>> http://antoine.villeret.free.**fr <http://antoine.villeret.free.fr>
>>>
>>>
>>>
>>>
>>> __**_
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
>>> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>>>
>>>
>>
>


tcpserver-help.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] tcpserver crashes on the 34th client connection

2013-05-20 Thread Antoine Villeret
Hi Martin,

Thanks for your reply.

For now, I increase the MAX_CONNECT value and I also make each client
disconnecting after they receive expected data, and they connect again if
needed.

But I experience another issue.
If Pd crashes for any reason, the socket stay in a TIME_WAIT state and if
Pd restarts asap, the port may not be available and thus tcpserver can't
bind to it.
I have to wait until the end of TIME-OUT before restarting Pd.
I found a solution [1] (restart network service) to release the socket, so
that tcpserver can bind to the same port again.
But it could be good to handle this inside Pd isn't it ?

So I guess two ways :
1- according to WMR in [1], we can set SO_REUSEADDR via setsockopt(2), but
I don't know if this possible without lots of code rewriting...
2- tcpserver could also have a [bind ( message to select the
port to bind to and send out error through its right outlet to notice if
port is available or not, so that we can try to bind again until a port is
available.

But I'm not very familiar with sockets, so maybe I'm wrong...

Cheers

Antoine


[1]
http://serverfault.com/questions/329845/how-to-forcibly-close-a-socket-in-time-wait

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


2013/5/19 Martin Peach 

> Yes, it seems that the routine that adds new connections doesn't check to
> see if it has passed the number of connection slots.
> There are MAX_CONNECT slots allocated when [tcpserver] starts.
>
> Thanks for finding this bug!
>
> There is no reason to limit the number of connections to 32 except to not
> use up memory.
> I think it could be changed to either dynamically add space for new
> connections without limit or set MAX_CONNECT with a creation argument.
>
> For now you could recompile it with MAX_CONNECT set to another value. (At
> some point the OS will run out of sockets. Before that Pd will slow down...)
>
> #define MAX_CONNECT 1
>
>
> Martin
>
>
> On 2013-05-18 17:37, Antoine Villeret wrote:
>
>> so I reply to myself...
>>
>> I found this in the code of both tcpserver.c :
>> #define MAX_CONNECT 32 /* maximum number of connections */
>>
>> which could be an answer embryo
>>
>> so, I shouldn't make more than 32 connections on the same tcpserver, ok,
>> but why ?
>> is there a good reason to fix this to 32 ?
>>
>> and this doesn't tell me why it crashes...
>> reaching the MAX_CONNECT should handles in the code isn't it ?
>>
>> cheers
>>
>> a
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.**fr <http://antoine.villeret.free.fr>
>>
>>
>> 2013/5/16 Antoine Villeret > <mailto:antoine.villeret@**gmail.com >>
>>
>>
>> hi all,
>>
>> I've just notice [tcpserver] crashes when the 34th client try to
>> connect
>> both iemnet and mrpeach are affected
>>
>> iemnet version send a strange number on the 33th connection
>> (like 2.8686e+07) and crashes on the 34th
>>
>>
>> here is a gdb output for iem :
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x7fffcdbca746 in tcpserver_connectpoll (x=0x66994c0) at
>> tcpserver.c:503
>> 503 x->x_sr[i] = y;
>> (gdb) watchdog: signaling pd...
>>
>>
>> and for mrpeach :
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x7fffcddaf585 in tcpserver_connectpoll (x=0xadfc1c0) at
>> tcpserver.c:1113
>> 1113   outlet_float(x->x_sockout, x->x_sr[i]->sr_fd);/* the
>> socket number */
>> (gdb) watchdog: signaling pd...
>>
>>
>> it happens on ubuntu 12.04 64 bit
>> pd 0.44.2
>> and SVN update today
>>
>> i'm certainly doing something wrong to get this (like keeping
>> clients connected all the time)
>> but a crash is never welcome...
>>
>> cheers
>>
>> antoine
>> --
>> do it yourself
>> http://antoine.villeret.free.**fr <http://antoine.villeret.free.fr>
>>
>>
>>
>>
>> __**_
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
>> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>>
>>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] tcpserver crashes on the 34th client connection

2013-05-18 Thread Antoine Villeret
so I reply to myself...

I found this in the code of both tcpserver.c :
#define MAX_CONNECT 32 /* maximum number of connections */

which could be an answer embryo

so, I shouldn't make more than 32 connections on the same tcpserver, ok,
but why ?
is there a good reason to fix this to 32 ?

and this doesn't tell me why it crashes...
reaching the MAX_CONNECT should handles in the code isn't it ?

cheers

a

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


2013/5/16 Antoine Villeret 

> hi all,
>
> I've just notice [tcpserver] crashes when the 34th client try to connect
> both iemnet and mrpeach are affected
>
> iemnet version send a strange number on the 33th connection
> (like 2.8686e+07) and crashes on the 34th
>
>
> here is a gdb output for iem :
> Program received signal SIGSEGV, Segmentation fault.
> 0x7fffcdbca746 in tcpserver_connectpoll (x=0x66994c0) at
> tcpserver.c:503
> 503  x->x_sr[i] = y;
> (gdb) watchdog: signaling pd...
>
>
> and for mrpeach :
> Program received signal SIGSEGV, Segmentation fault.
> 0x7fffcddaf585 in tcpserver_connectpoll (x=0xadfc1c0) at
> tcpserver.c:1113
> 1113outlet_float(x->x_sockout, x->x_sr[i]->sr_fd); /* the socket
> number */
> (gdb) watchdog: signaling pd...
>
>
> it happens on ubuntu 12.04 64 bit
> pd 0.44.2
> and SVN update today
>
> i'm certainly doing something wrong to get this (like keeping clients
> connected all the time)
> but a crash is never welcome...
>
> cheers
>
> antoine
> --
> do it yourself
> http://antoine.villeret.free.fr
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] OT: raspberry pi

2013-05-18 Thread Antoine Villeret
Hi Patrick,

If you want to play video file with hardware decoding, speed control and
perspective correction (useful with video projector) you should have a look
at my rpi_osc_video_player :
https://github.com/avilleret/rpi_osc_video_player

There is an example pd patch to control it

This is a work in progress, mostly a proof of concept, there is no support
for sound playback for now, but it could be added when I have
time/opportunity

Feel free to try it

Cheers

Antoine

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


2013/5/18 Pagano, Patrick 

> thanks for the heads up Miller, i found it
>
>
> sudo amixer cset numid=3 
>
> where  is 0=auto, 1=headphones, 2= HDMI
>
> pp
>
>
>
>
> 
> From: pd-list-boun...@iem.at [pd-list-boun...@iem.at] on behalf of
> Pagano, Patrick [p...@digitalworlds.ufl.edu]
> Sent: Friday, May 17, 2013 7:43 PM
> To: Miller Puckette
> Cc: PD List
> Subject: Re: [PD] OT: raspberry pi
>
> I would love to find that! i assume it's not an alsa thing since the HDMI
> audio is different. Hopefully someone here has already found this. I am
> going to start looking around
>
> pp
> 
> From: Miller Puckette [m...@ucsd.edu]
> Sent: Friday, May 17, 2013 7:06 PM
> To: Pagano, Patrick
> Cc: Julian Brooks; Simon Wise; PD List
> Subject: Re: [PD] OT: raspberry pi
>
> In raspian there's some way to select whether audio goes out the line out
> jack or the HDMI port - I can't remember but that should be findable.
>
> cheers
> Miller
>
> On Fri, May 17, 2013 at 10:54:19PM +, Pagano, Patrick wrote:
> > Hi everyone and thank you for the help and links. I got wheezy up and
> running and installed pd-extended. I could not get audio out of the
> headphone jack on the Pi, but it comes out of the monitor that has HDMI on
> it. I then of course got greedy and over-clocked it and corrupted the file
> system. grrr. I picked up a mini usb audio card a Soundblaster X-fi GO! Pro
> and in the boot screen it sees it and it's in the drop down menu for AUDIO
> SETTINGS but i cannot do anything after i select it and the whole system
> freezes. I am wondering if jack may help with it.
> > I got pdp working with pdp_sdl as the window outputs, pdp_glx and pdp_xv
> do not work.
> > I am going to try to get Gedit and Supercollider working before i punt
> it into the Rubbish Bin. I may just use it to control DMX lighting with a
> USBDMXPro but as of now I am need some inspiration for it's use. :-)
> >
> > cheers~ and thanks
> >
> > pp
> > 
> > From: pd-list-boun...@iem.at [pd-list-boun...@iem.at] on behalf of
> Julian Brooks [jbee...@gmail.com]
> > Sent: Friday, May 17, 2013 11:08 AM
> > To: Simon Wise
> > Cc: PD List
> > Subject: Re: [PD] OT: raspberry pi
> >
> > Hey Patrick,
> >
> > I guess the standard most up to date raspbian wheezy is the best place
> to start.
> >
> > For me what's worked best is to find a super-minimal install and then
> build requirements on top of that.
> >
> > With the project I'm working on atm I couldn't get my pmpd patch to even
> run with the standard install (there is quite a lot going on though).  Now
> the patch runs fine with a whole heap of other stuff on top of that (2
> sensors, 6 channel soundcard etc).  My htop reading fills me with joy-I
> think there's about a dozen processes including 3 shells.
> >
> > As it's a rev1 board I built a system on top of the hexxeh image (same
> guy who's done the 'rpi-update' program for updating the firmware.  My
> understanding though is that with rev2 boards don't do it.
> >
> > The one that I've been keeping my eye on, and they've just released a
> brand new version is Mobius
> > http://moebiuslinux.sourceforge.net/
> > This is what I'll be testing out for my rev2 boards.
> >
> > There's a whole host of conflicting info re RPi's out there,
> particularly overclocking to squeeze every last morsel of goodness out of
> them.  Us audio bods have specific needs -  like I want mine running flat
> out all the time without blowing up and there's a big difference with that
> to someone who very occasionally pushes their RPi and wants to tell
> everyone that there way is the best.
> >
> > My own take has been to only use smaller cards (4gb) from reputable
> sources - very hit and miss though, very definitely YMMV
> >
> > This has been useful for tweaks:
> > http://blog.extremeshok.com/archives/1081
> >
> > Indispensable resources for audio:
> > http://www.raspberrypi.org/phpBB3/viewtopic.php?p=286064#p286064
> > http://wiki.linuxaudio.org/wiki/raspberrypi
> >
> > Don't do video so can't help on that front but my friend was just
> showing me his rpi xbmc setup which was really good so must be well-doable.
> >
> > And of course there's a ton of stuff on our lovely list.
> >
> > Best of luck,
> >
> > Julian
> >
> >
> > On 17 May 2013 09:04, Simon Wise  simonzw...@gmail.com>> wrote:
> > On 16/05/13 23:39, Max wrote:
> > hi patrick
> > Why don't yo

[PD] tcpserver crashes on the 34th client connection

2013-05-16 Thread Antoine Villeret
hi all,

I've just notice [tcpserver] crashes when the 34th client try to connect
both iemnet and mrpeach are affected

iemnet version send a strange number on the 33th connection
(like 2.8686e+07) and crashes on the 34th


here is a gdb output for iem :
Program received signal SIGSEGV, Segmentation fault.
0x7fffcdbca746 in tcpserver_connectpoll (x=0x66994c0) at tcpserver.c:503
503  x->x_sr[i] = y;
(gdb) watchdog: signaling pd...


and for mrpeach :
Program received signal SIGSEGV, Segmentation fault.
0x7fffcddaf585 in tcpserver_connectpoll (x=0xadfc1c0) at
tcpserver.c:1113
1113outlet_float(x->x_sockout, x->x_sr[i]->sr_fd); /* the socket
number */
(gdb) watchdog: signaling pd...


it happens on ubuntu 12.04 64 bit
pd 0.44.2
and SVN update today

i'm certainly doing something wrong to get this (like keeping clients
connected all the time)
but a crash is never welcome...

cheers

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


test_33_connections.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] how to use the vlc plugin in GEM?

2013-05-06 Thread Antoine Villeret
hi,

you should select the VLC driver with the [driver vlc( message, then use
the message [device $1( to open something (a file, a stream...)
but note 1 : $1 in device message should be a full path like the one you
enter in VLC (ex : file://home/me/mavideo.avi or udp://@232.0.1.1:8200)
2 : vlc driver didn't know the resolution of the video, you should set it
yourself with the [dimen width height( message

see attachment

I note that the vlc-videoplugin.pd is empty, this could be filed with some
informations like above.

cheers

a

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


2013/5/6 Ricardo Cedeño 

> HI,
>
> I just compiled the GEM-master from git. I want to stream what I have in
> VLC in GEM via to pix_video.
> I'm in linux, opensuse 12.3, puredata vanilla 0.44.0, and GEM-master
> downloaded form git today.
>
> However I'm not able to get it work. I'm puzzled. How does this work? I've
> tried the to send the message [device screen://( to [pix_video] but I've
> got nothing on the screen and the following message:
>
> Cannot open '': 2, No such file or directory
> v4l: failed opening device: 'screen://'
> videoDC1394: no cameras found
>
>
> Here is the output I've got when pix_video is running using the 04.video
> patch.
>
> [pix_video]: backend #0='v4l2': v4l2 analog
> [pix_video]: backend #1='v4l': v4l analog
> [pix_video]: backend #2='dc1394': dc1394 iidc
> [pix_video]: backend #3='vlc': vlc
>
> When the fourth backend is hit 'vlc' I've got:
>
> Cannot open '/dev/video3': 2, No such file or directory
> v4l: failed opening device: '/dev/video3'
> videoDC1394: no cameras found
>
>
> This is the output when GEM starts:
>
> GEM: Graphics Environment for Multimedia
> GEM: ver: 0.93.
> GEM: compiled: May  6 2013
> GEM: maintained by IOhannes m zmoelnig
> GEM: Authors :Mark Danks (original version)
> GEM:Chris Clepper
> GEM:Cyrille Henry
> GEM:IOhannes m zmoelnig
> GEM: with help by Guenter Geiger, Daniel Heckenberg, James Tittle,
> Hans-Christoph Steiner, et al.
> GEM: found a bug? miss a feature? please report it:
> GEM: homepage http://gem.iem.at/
> GEM: bug-tracker http://sourceforge.net/projects/pd-gem/
> GEM: mailing-list http://lists.puredata.info/listinfo/gem-dev/
> GEM: compiled for MMX/SSE2 architecture
> GEM: using SSE2 optimization
> GEM: detected 8 CPUs
> GEM: image loading support: magick SGI jpeg tiff
> GEM: image saving support: jpeg magick tiff
>
>
> Ricardo Cedeño Montaña
> Humboldt-Universität zu Berlin
> Institute of Cultural History and Theory
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


pix_video-help-vlc.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] How to set up OpenCv in pd (Windows)

2013-05-05 Thread Antoine Villeret
hello,

unfortunately I never built pix_opencv on Windows (but I do on Mac OS X and
Linux)
and I've no plan do to that because 1) I know anything about Windows
platform and 2) I don't have such a computer
I hope this is ready to build on Windows but I'm not sure...
but you are welcome to share your experience if you want to try :-)

best

a

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


2013/4/25 skafrenz 

> Hello everyone, I could not find instructions about how to set up OpenCv
> for Pure Data (Windows). Can anyone help or tell me where to find
> instructions?
> Thank you guys :)
>
> Francesco
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] UA-25 on RPI

2013-05-04 Thread Antoine Villeret
ok bad news...

what about using another sound card ?
UGM6 has 2 hi-Z input (but without no phantom) and 2 outputs
it may fit your needs

+
a

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


2013/5/4 Dan Wilcox 

> Yes. Ethernet turbo disabled and Ethernet disabled. Disabled cpu freq
> scaling. Pd set with realtime permissions:
>
> sudo chmod 4755 /usr/bin/pd-extended
> sudo chmod 4755 /usr/bin/pd
>
> Setting dwc_otg.speed=1 dosen't work for this card and yields an unstable
> system.
>
> This is pretty disappointing as my old setup was on an embedded 500Mhz
> Celeron with half the RAM and almost no video memory, yet (so far) was
> running Pd + alsa better than the superiorly specced PI. The main reason
> I'm not using the wearable anymore is it's just worn out and trying to fix
> flexxed pcbs and the resultant random glitches was getting old years ago.
>
> On May 4, 2013, at 12:31 PM, Antoine Villeret 
> wrote:
>
> Hi dan,
>
> Did you try to disable Ethernet turbo or to disable Ethernet at all
> as describe on linuxaudio.org [1] ?
> it gives me good result with ESI sound card (UGM-6, see my post on the
> list from Thursday).
>
> Cheers
>
> a
> [1] http://wiki.linuxaudio.org/wiki/raspberrypi
>
> --
> do it yourself
> http://antoine.villeret.free.fr
>
>
> 2013/5/4 Dan Wilcox 
>
>> For what it's worth, output did work using:
>>
>> pd-extended -nogui -noadc -audiooutdev 3 test.pd
>>
>> with 3 being the direct alsa interface as opposed to the alsa plug
>> interface.
>>
>> It's when I enable the audioindev that I get crackles. I know there are
>> people out there using the UA-25 + jack, but I never needed jack before
>> with an embedded setup.
>>
>> Part of the issue might be the RPI's real-time kernel. My old wearable
>> setup was far more unstable with a realtime kernel and using a regular
>> kernel with realtime permissions for PD worked far better.
>>
>> On May 4, 2013, at 11:52 AM, Miller Puckette  wrote:
>>
>> HI Dan -
>>
>> I tried and got even less far than you apparently did, and gave up.  It's
>> too
>> bad - the UA 25 is the best USB-powered interface I've found so far.  For
>> the
>> Pi I now use small, cheap, recent-vintage ones like the Griffin iMic. (but
>> there are even cheaper ones :)  If you have low-impedance mics, my best
>> guess would be to use an impedance matching transformer (lo to hi) and
>> then
>> a "PC mic" (high impedance) interface.
>>
>> cheers
>> M
>>
>> On Sat, May 04, 2013 at 10:57:35AM -0400, Dan Wilcox wrote:
>>
>> Howdy everyone,
>>
>> Anyone had luck with a Roland/Edirol UA-25 with PD on a RaspberryPi? I've
>> gotten it working fine with output, but enabling input gives me crackles
>> and bad cpu usage. Ideally, I want 2 in / 2 out and this audio interface
>> has worked wonderfully with Linux on older/slower machines in the past. The
>> RPI should have no problem spec-wise to run this with PD using only alsa ...
>>
>> 
>> Dan Wilcox
>> @danomatika
>> danomatika.com
>> robotcowboy.com
>>
>>
>>
>>
>>
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>>  
>> Dan Wilcox
>> @danomatika
>> danomatika.com
>> robotcowboy.com
>>
>>
>>
>>
>>
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
>  
> Dan Wilcox
> @danomatika
> danomatika.com
> robotcowboy.com
>
>
>
>
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] UA-25 on RPI

2013-05-04 Thread Antoine Villeret
Hi dan,

Did you try to disable Ethernet turbo or to disable Ethernet at all
as describe on linuxaudio.org [1] ?
it gives me good result with ESI sound card (UGM-6, see my post on the list
from Thursday).

Cheers

a
[1] http://wiki.linuxaudio.org/wiki/raspberrypi

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


2013/5/4 Dan Wilcox 

> For what it's worth, output did work using:
>
> pd-extended -nogui -noadc -audiooutdev 3 test.pd
>
> with 3 being the direct alsa interface as opposed to the alsa plug
> interface.
>
> It's when I enable the audioindev that I get crackles. I know there are
> people out there using the UA-25 + jack, but I never needed jack before
> with an embedded setup.
>
> Part of the issue might be the RPI's real-time kernel. My old wearable
> setup was far more unstable with a realtime kernel and using a regular
> kernel with realtime permissions for PD worked far better.
>
> On May 4, 2013, at 11:52 AM, Miller Puckette  wrote:
>
> HI Dan -
>
> I tried and got even less far than you apparently did, and gave up.  It's
> too
> bad - the UA 25 is the best USB-powered interface I've found so far.  For
> the
> Pi I now use small, cheap, recent-vintage ones like the Griffin iMic. (but
> there are even cheaper ones :)  If you have low-impedance mics, my best
> guess would be to use an impedance matching transformer (lo to hi) and then
> a "PC mic" (high impedance) interface.
>
> cheers
> M
>
> On Sat, May 04, 2013 at 10:57:35AM -0400, Dan Wilcox wrote:
>
> Howdy everyone,
>
> Anyone had luck with a Roland/Edirol UA-25 with PD on a RaspberryPi? I've
> gotten it working fine with output, but enabling input gives me crackles
> and bad cpu usage. Ideally, I want 2 in / 2 out and this audio interface
> has worked wonderfully with Linux on older/slower machines in the past. The
> RPI should have no problem spec-wise to run this with PD using only alsa ...
>
> 
> Dan Wilcox
> @danomatika
> danomatika.com
> robotcowboy.com
>
>
>
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
>  
> Dan Wilcox
> @danomatika
> danomatika.com
> robotcowboy.com
>
>
>
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ESI Gigaport HD+ on RPI

2013-05-02 Thread Antoine Villeret
update :

ESI UGM6 seems to works fine with 2 inputs and 2 outputs
but without ethernet
see [1] to remove it

cheers

a

[1] : http://wiki.linuxaudio.org/wiki/raspberrypi

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


2013/5/2 Julian Brooks 

> Hey Antoine,
>
> Thanks for the info.
> When I have more time I'll have another go with the HD.
>
>
> On 2 May 2013 16:33, Antoine Villeret  wrote:
>
>> it makes the Pi to reboot when you plug it in, maybe it's due to my power
>> supply
>> but after rebooting it works straight off
>>
>> lsusb -d 2573: -vvv
>> Bus 001 Device 004: ID 2573:0009
>> Couldn't open device, some information will be missing
>> Device Descriptor:
>>   bLength18
>>   bDescriptorType 1
>>   bcdUSB   1.00
>>   bDeviceClass0 (Defined at Interface level)
>>   bDeviceSubClass 0
>>   bDeviceProtocol 0
>>   bMaxPacketSize0 8
>>   idVendor   0x2573
>>   idProduct  0x0009
>>   bcdDevice1.00
>>   iManufacturer   1
>>   iProduct2
>>   iSerial 0
>>   bNumConfigurations  1
>>   Configuration Descriptor:
>> bLength 9
>> bDescriptorType 2
>> wTotalLength  116
>> bNumInterfaces  2
>> bConfigurationValue 1
>> iConfiguration  0
>> bmAttributes 0x80
>>   (Bus Powered)
>> MaxPower  250mA
>> Interface Descriptor:
>>   bLength 9
>>   bDescriptorType 4
>>   bInterfaceNumber0
>>   bAlternateSetting   0
>>   bNumEndpoints   0
>>   bInterfaceClass 1 Audio
>>   bInterfaceSubClass  1 Control Device
>>   bInterfaceProtocol  0
>>   iInterface  0
>>   AudioControl Interface Descriptor:
>> bLength 9
>> bDescriptorType36
>> bDescriptorSubtype  1 (HEADER)
>> bcdADC   1.00
>> wTotalLength   46
>> bInCollection   1
>> baInterfaceNr( 0)   1
>>   AudioControl Interface Descriptor:
>> bLength12
>> bDescriptorType36
>> bDescriptorSubtype  2 (INPUT_TERMINAL)
>> bTerminalID 1
>> wTerminalType  0x0101 USB Streaming
>> bAssocTerminal  0
>> bNrChannels 8
>> wChannelConfig 0x00ff
>>   Left Front (L)
>>   Right Front (R)
>>   Center Front (C)
>>   Low Freqency Enhancement (LFE)
>>   Left Surround (LS)
>>   Right Surround (RS)
>>   Left of Center (LC)
>>   Right of Center (RC)
>> iChannelNames   0
>> iTerminal   0
>>   AudioControl Interface Descriptor:
>> bLength16
>> bDescriptorType36
>> bDescriptorSubtype  6 (FEATURE_UNIT)
>> bUnitID 2
>> bSourceID   1
>> bControlSize1
>> bmaControls( 0)  0x00
>> bmaControls( 1)  0x03
>>   Mute Control
>>   Volume Control
>> bmaControls( 2)  0x03
>>   Mute Control
>>   Volume Control
>> bmaControls( 3)  0x03
>>   Mute Control
>>   Volume Control
>> bmaControls( 4)  0x03
>>   Mute Control
>>   Volume Control
>> bmaControls( 5)  0x03
>>   Mute Control
>>   Volume Control
>> bmaControls( 6)  0x03
>>   Mute Control
>>   Volume Control
>> bmaControls( 7)  0x03
>>   Mute Control
>>   Volume Control
>> bmaControls( 8)  0x03
>>   Mute Control
>>   Volume Control
>> iFeature0
>>   AudioControl Interface Descriptor:
>> bLength 9
>> bDescriptorType36
>> bDescriptorSubtype  3 (OUTPUT_TERMINAL)
>> bTerminalID 3
>> wTerminalType  0x0301 Speaker
>> bAssocTerminal  0
>> bSourceID   2
>> iTerminal   0

Re: [PD] ESI Gigaport HD+ on RPI

2013-05-02 Thread Antoine Villeret
intAddress 0x01  EP 1 OUT
bmAttributes9
  Transfer TypeIsochronous
  Synch Type   Adaptive
  Usage Type   Data
wMaxPacketSize 0x0360  1x 864 bytes
bInterval   1
bRefresh0
bSynchAddress   0
AudioControl Endpoint Descriptor:
  bLength 7
  bDescriptorType37
  bDescriptorSubtype  1 (EP_GENERAL)
  bmAttributes 0x01
Sampling Frequency
  bLockDelayUnits 0 Undefined
  wLockDelay  0 Undefined

but PD see it clearly

+
a


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


2013/5/2 Julian Brooks 

> Cool - did the gigaport work straight off/recognised at boot/lsusb etc?
>
>
> On 2 May 2013 16:20, Antoine Villeret  wrote:
>
>> Hi,
>>
>> I got an ESI Gigaport HD+ to work on the RPi
>> 8 outputs at 48kHz / 24bit, no input
>> with alsa backend
>> without dwc_otg.speed=1 option
>>
>> I also tested ESI UGM6 (2 high-Z inputs, 2 line output)
>> It works well with alsa when input is disabled
>> I got lots of crackle with input enabled
>> I can't get it to work at all with dwc_otg.speed=1
>>
>> I've updated the Wiki page
>>
>> cheers
>>
>> a
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>
>> 2013/4/28 Antoine Villeret 
>>
>>> hi,
>>>
>>> thanks for feedback
>>> I bought yesterday  a Gigaport HD+
>>> I hope it will work at least on my Ubuntu laptop
>>> and I'll test it on RPi too and update the wiki page
>>>
>>> I also bought at the same time a ESI UGM96 (2 Hi-Z input, 1 stereo
>>> output and 2 headphone out - but i don't how many separates outputs) to use
>>> on the Pi, I'm not sure it will work because the user manual doesn't say
>>> anything about USB and USB Audio class compliance while the HD+ manual
>>> does...
>>>
>>> And yes, the UDJ6 works great on the pi, 6 outputs (a stereo headphone
>>> jack output and 4 RCA)
>>>
>>> cheers
>>>
>>> antoine
>>>
>>> --
>>> do it yourself
>>> http://antoine.villeret.free.fr
>>>
>>>
>>> 2013/4/28 Julian Brooks 
>>>
>>>> Sorry,
>>>>
>>>> Just noticed the question about the hub:
>>>> No hub - not sure why you're asking but if it's relevant the Pi was
>>>> connected to 5.2v/2a power cable, and running most recent firmware.
>>>>
>>>>
>>>> On 28 April 2013 01:16, Julian Brooks  wrote:
>>>>
>>>>> Hi Antoine,
>>>>>
>>>>> The one I added is the HD (not HD+).  This one has the same casing as
>>>>> the 'AG' so was hopeful but no, nada.
>>>>>
>>>>> Initially thought the one I tested was broken as there was no sign of
>>>>> it on the pi.  Plugged it into my debian lappy and boom -
>>>>> all recognized and working. Pah.
>>>>>
>>>>> Currently sat on the 'not sure what to do with pile'.  It would have
>>>>> been great; 6 outs for not much money (plus the
>>>>> recycling redundant technology thing).
>>>>>
>>>>> You seem to have had good results from the 'UDJ' card which seems to
>>>>> be currently the other choice for multiple audio outs on the RPi?
>>>>>
>>>>> Julian
>>>>>
>>>>>
>>>>> On 27 April 2013 16:25, Miller Puckette  wrote:
>>>>>
>>>>>> I can't report about that but I have another compliant USB 1.1
>>>>>> interface,
>>>>>> Edrol UA25, which I've never been able to get to work with a pi.  So
>>>>>> I think
>>>>>> this is confirmation that that can indeed sometimes happen (if it
>>>>>> were just
>>>>>> one of us perhaps it could have been a fluke).
>>>>>>
>>>>>> cheers
>>>>>> M
>>>>>>
>>>>>> On Sat, Apr 27, 2013 at 11:18:06AM +0200, Antoine Villeret wrote:
>>>>>> > hi all,
>>>>>> >
>>>>>> > someone added the ESI Gigaport HD+ as a "not working sound card"
>>>>>> few days
>>>>>> > ago on

Re: [PD] ESI Gigaport HD+ on RPI

2013-05-02 Thread Antoine Villeret
Hi,

I got an ESI Gigaport HD+ to work on the RPi
8 outputs at 48kHz / 24bit, no input
with alsa backend
without dwc_otg.speed=1 option

I also tested ESI UGM6 (2 high-Z inputs, 2 line output)
It works well with alsa when input is disabled
I got lots of crackle with input enabled
I can't get it to work at all with dwc_otg.speed=1

I've updated the Wiki page

cheers

a

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


2013/4/28 Antoine Villeret 

> hi,
>
> thanks for feedback
> I bought yesterday  a Gigaport HD+
> I hope it will work at least on my Ubuntu laptop
> and I'll test it on RPi too and update the wiki page
>
> I also bought at the same time a ESI UGM96 (2 Hi-Z input, 1 stereo output
> and 2 headphone out - but i don't how many separates outputs) to use on the
> Pi, I'm not sure it will work because the user manual doesn't say anything
> about USB and USB Audio class compliance while the HD+ manual does...
>
> And yes, the UDJ6 works great on the pi, 6 outputs (a stereo headphone
> jack output and 4 RCA)
>
> cheers
>
> antoine
>
> --
> do it yourself
> http://antoine.villeret.free.fr
>
>
> 2013/4/28 Julian Brooks 
>
>> Sorry,
>>
>> Just noticed the question about the hub:
>> No hub - not sure why you're asking but if it's relevant the Pi was
>> connected to 5.2v/2a power cable, and running most recent firmware.
>>
>>
>> On 28 April 2013 01:16, Julian Brooks  wrote:
>>
>>> Hi Antoine,
>>>
>>> The one I added is the HD (not HD+).  This one has the same casing as
>>> the 'AG' so was hopeful but no, nada.
>>>
>>> Initially thought the one I tested was broken as there was no sign of it
>>> on the pi.  Plugged it into my debian lappy and boom - all recognized and
>>> working. Pah.
>>>
>>> Currently sat on the 'not sure what to do with pile'.  It would have
>>> been great; 6 outs for not much money (plus the
>>> recycling redundant technology thing).
>>>
>>> You seem to have had good results from the 'UDJ' card which seems to be
>>> currently the other choice for multiple audio outs on the RPi?
>>>
>>> Julian
>>>
>>>
>>> On 27 April 2013 16:25, Miller Puckette  wrote:
>>>
>>>> I can't report about that but I have another compliant USB 1.1
>>>> interface,
>>>> Edrol UA25, which I've never been able to get to work with a pi.  So I
>>>> think
>>>> this is confirmation that that can indeed sometimes happen (if it were
>>>> just
>>>> one of us perhaps it could have been a fluke).
>>>>
>>>> cheers
>>>> M
>>>>
>>>> On Sat, Apr 27, 2013 at 11:18:06AM +0200, Antoine Villeret wrote:
>>>> > hi all,
>>>> >
>>>> > someone added the ESI Gigaport HD+ as a "not working sound card" few
>>>> days
>>>> > ago on http://puredata.info/docs/raspberry-pi
>>>> >
>>>> > I'm quite surprised because this sound card is USB Audio Class 1
>>>> compliant
>>>> > and  USB spec version 1.1 compliant and also fully compatible to USB
>>>> 2.0
>>>> > host controllers
>>>> >
>>>> > Moreover, I had a confirmation this sound card works on Linux and it's
>>>> > previous version ESI Gigaport Ag works on the Pi.
>>>> >
>>>> > Thus i was thinking Gigaport HD+ will work on the RPi;
>>>> > Who made the test ?
>>>> > Could you tell me more about the setup ? (mainly if you use a USB hub
>>>> or
>>>> > not)
>>>> >
>>>> > Cheers
>>>> >
>>>> > a
>>>> >
>>>> >
>>>> > --
>>>> > do it yourself
>>>> > http://antoine.villeret.free.fr
>>>>
>>>> > ___
>>>> > Pd-list@iem.at mailing list
>>>> > UNSUBSCRIBE and account-management ->
>>>> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>>> ___
>>>> Pd-list@iem.at mailing list
>>>> UNSUBSCRIBE and account-management ->
>>>> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>
>>>
>>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ESI Gigaport HD+ on RPI

2013-04-28 Thread Antoine Villeret
hi,

thanks for feedback
I bought yesterday  a Gigaport HD+
I hope it will work at least on my Ubuntu laptop
and I'll test it on RPi too and update the wiki page

I also bought at the same time a ESI UGM96 (2 Hi-Z input, 1 stereo output
and 2 headphone out - but i don't how many separates outputs) to use on the
Pi, I'm not sure it will work because the user manual doesn't say anything
about USB and USB Audio class compliance while the HD+ manual does...

And yes, the UDJ6 works great on the pi, 6 outputs (a stereo headphone jack
output and 4 RCA)

cheers

antoine

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


2013/4/28 Julian Brooks 

> Sorry,
>
> Just noticed the question about the hub:
> No hub - not sure why you're asking but if it's relevant the Pi was
> connected to 5.2v/2a power cable, and running most recent firmware.
>
>
> On 28 April 2013 01:16, Julian Brooks  wrote:
>
>> Hi Antoine,
>>
>> The one I added is the HD (not HD+).  This one has the same casing as the
>> 'AG' so was hopeful but no, nada.
>>
>> Initially thought the one I tested was broken as there was no sign of it
>> on the pi.  Plugged it into my debian lappy and boom - all recognized and
>> working. Pah.
>>
>> Currently sat on the 'not sure what to do with pile'.  It would have been
>> great; 6 outs for not much money (plus the
>> recycling redundant technology thing).
>>
>> You seem to have had good results from the 'UDJ' card which seems to be
>> currently the other choice for multiple audio outs on the RPi?
>>
>> Julian
>>
>>
>> On 27 April 2013 16:25, Miller Puckette  wrote:
>>
>>> I can't report about that but I have another compliant USB 1.1 interface,
>>> Edrol UA25, which I've never been able to get to work with a pi.  So I
>>> think
>>> this is confirmation that that can indeed sometimes happen (if it were
>>> just
>>> one of us perhaps it could have been a fluke).
>>>
>>> cheers
>>> M
>>>
>>> On Sat, Apr 27, 2013 at 11:18:06AM +0200, Antoine Villeret wrote:
>>> > hi all,
>>> >
>>> > someone added the ESI Gigaport HD+ as a "not working sound card" few
>>> days
>>> > ago on http://puredata.info/docs/raspberry-pi
>>> >
>>> > I'm quite surprised because this sound card is USB Audio Class 1
>>> compliant
>>> > and  USB spec version 1.1 compliant and also fully compatible to USB
>>> 2.0
>>> > host controllers
>>> >
>>> > Moreover, I had a confirmation this sound card works on Linux and it's
>>> > previous version ESI Gigaport Ag works on the Pi.
>>> >
>>> > Thus i was thinking Gigaport HD+ will work on the RPi;
>>> > Who made the test ?
>>> > Could you tell me more about the setup ? (mainly if you use a USB hub
>>> or
>>> > not)
>>> >
>>> > Cheers
>>> >
>>> > a
>>> >
>>> >
>>> > --
>>> > do it yourself
>>> > http://antoine.villeret.free.fr
>>>
>>> > ___
>>> > Pd-list@iem.at mailing list
>>> > UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>
>>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] ESI Gigaport HD+ on RPI

2013-04-27 Thread Antoine Villeret
hi all,

someone added the ESI Gigaport HD+ as a "not working sound card" few days
ago on http://puredata.info/docs/raspberry-pi

I'm quite surprised because this sound card is USB Audio Class 1 compliant
and  USB spec version 1.1 compliant and also fully compatible to USB 2.0
host controllers

Moreover, I had a confirmation this sound card works on Linux and it's
previous version ESI Gigaport Ag works on the Pi.

Thus i was thinking Gigaport HD+ will work on the RPi;
Who made the test ?
Could you tell me more about the setup ? (mainly if you use a USB hub or
not)

Cheers

a


--
do it yourself
http://antoine.villeret.free.fr
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] batteries for audio cards

2013-04-26 Thread Antoine Villeret
hey,

i got a car cigarette lighter plug adaptor with my RME fireface,
so just take a 12V Pb battery from a teenager motorcycle and go !

if you need a lighter solution, look at LiPo battery from R/C model

cheers

a

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


2013/4/26 Alexandre Torres Porres 

> hey folks, anyone have recomendations for battery packs for audio cards?
>
> wanna try some stuff going mobile, anybody doing that? Looking for some
> high capacity for my multiface/RME (takes 9-.12V, 2A)
>
> thanks
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] [ANN] RPi osc video player

2013-04-24 Thread Antoine Villeret
hi all,

i've just start an OSC video player on the RPi
for now, it's just an embryo, it plays a demo video file defined in the
code,
it's a proof of concept : it can work but it needs some work
for now the only feature implemented is the 4 corners perspective
correction (intended to be used with a video projector)

and i made a small pd patch to control the player

when i'll have opportunity, i will add thoses features :
- OSC message to choose video file
- OSC transport control (play, pause, speed, loop...)
- OSC message to choose shader file and control its parameters
- command line arguments to choose video file, OSC port, and parameters

it's based on the hello_video_cube example from Raspbian, so it uses the
hardware decoding capabilities of the Pi

of course, it's open source, feel free to test it :
https://github.com/avilleret/rpi_osc_video_player

+
a
--
do it yourself
http://antoine.villeret.free.fr
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pix_multiblob and tracking multiple objects

2013-04-18 Thread Antoine Villeret
concerning the multiple cameras and so on, this was just my need and why
i'm not using CCV
but be sure that i have nothing against CCV, it could be very useful in
lots of context :-)

regarding driver, as i remember, i had issue with IIDC cameras
but this was few years ago

and by "cheap" i refer to some video digitizer with several inputs that
make pd crashing on ubuntu
but i think this is a V4L2 bug, not a pd's one

cheers

a


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


2013/4/18 John Harrison 

> OK I guess I misunderstood that the original poster was wanting to do all
> of that. I know the latest CCV supports multiple cameras for some sort of
> "big picture" so it may actually do what you are asking but I don't know
> the details so if you say it doesn't support all of that I'll go with your
> claim. I'm sure the OpenCV solutions are great and perhaps in the future
> I'll need to learn more about them as my own needs warrant.
>
> I haven't had a problem with the drivers on my "cheap" ps3eye V4L2 webcam
> FWIW. I've also done tracking at 120-125fps 320x240 with 3 said webcams and
> "buggy" drivers, all running simultaneously on one machine. No problems.
>
> John
>
>
> On Thu, Apr 18, 2013 at 9:23 AM, Antoine Villeret <
> antoine.ville...@gmail.com> wrote:
>
>> how is it possible to use several cameras, correct perspective on each,
>> make a big picture with blending and then tracking on that big picture with
>> CCV ?
>> this have been done with Pd and pix_opencv and works great (at least if
>> you're not using a cheap V4L2 cam with buggy drivers)
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>
>> 2013/4/18 John Harrison 
>>
>>> FWIW I had just the opposite experience with CCV. CCV has built-in
>>> background adaptive subtraction, smoothing, highpass filter, gain,
>>> contrast, etc. all tweakable. It also tracks blobs uniquely as the original
>>> poster is wanting, which is why I thought of it for their needs. I used
>>> [pix_blobtracker] before and it works OK but I found CCV to be overall a
>>> more robust solution than anything I could efficiently come up with.
>>>
>>> I use CCV at 60fps 640x480 w/ a ps3eye on ubuntu 10.04 64 bit and the
>>> CPU load is not significant and reduced from my original Pd-only solution.
>>> My CCV/Pd patch has been on exhibit 24/7 for 5 months now without issue so
>>> it also seems stable. I use CCV version 1.4. I also used CCV on another
>>> exhibit with a Win7 64 bit system and that ran for months as well without
>>> issue. That might have been version 1.5 but I don't remember for sure. I
>>> also know there's a newer version of CCV supporting multiple cameras now,
>>> and I have not had experience with this.
>>>
>>> Maybe I'm not understanding the flexibility you are looking for that CCV
>>> is not offering you. All I can imagine is that you can't find a way to
>>> change the order of the filtering. I'm not sure that's something you'll
>>> find you actually need though to improve the result of the blob tracking.
>>>
>>> Just my $.02.
>>>
>>> -John
>>>
>>> On Thu, Apr 18, 2013 at 8:42 AM, Antoine Villeret <
>>> antoine.ville...@gmail.com> wrote:
>>>
>>>> i tried CCV one time but i had some driver and performance issues
>>>> moreover, i can't find an easy way to tune the processing chain
>>>> pd is more flexible but, i agree, could be harder
>>>>
>>>> --
>>>> do it yourself
>>>> http://antoine.villeret.free.fr
>>>>
>>>>
>>>> 2013/4/18 John Harrison 
>>>>
>>>>> I'm not totally clear on the big picture here but it could be you
>>>>> might save yourself a lot of time and effort doing your blob tracking with
>>>>> Community Core Vision (CCV) then sending the blob data to Pd through OSC.
>>>>> After initially doing my blob tracking in Pd only (which did work), I
>>>>> switched to this CCV --> Pd approach and got better results because of all
>>>>> of the built-in filtering etc. that is provided with that open-source
>>>>> cross-platform software.
>>>>>
>>>>> -John
>>>>>
>>>>>
>>>>> On Thu, Apr 18, 2013 at 5:22 AM, Ska Frenz  wrote:
>>>>>
>>>>>> Hi, thank you for the suggestions, I

Re: [PD] pix_multiblob and tracking multiple objects

2013-04-18 Thread Antoine Villeret
how is it possible to use several cameras, correct perspective on each,
make a big picture with blending and then tracking on that big picture with
CCV ?
this have been done with Pd and pix_opencv and works great (at least if
you're not using a cheap V4L2 cam with buggy drivers)

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


2013/4/18 John Harrison 

> FWIW I had just the opposite experience with CCV. CCV has built-in
> background adaptive subtraction, smoothing, highpass filter, gain,
> contrast, etc. all tweakable. It also tracks blobs uniquely as the original
> poster is wanting, which is why I thought of it for their needs. I used
> [pix_blobtracker] before and it works OK but I found CCV to be overall a
> more robust solution than anything I could efficiently come up with.
>
> I use CCV at 60fps 640x480 w/ a ps3eye on ubuntu 10.04 64 bit and the CPU
> load is not significant and reduced from my original Pd-only solution. My
> CCV/Pd patch has been on exhibit 24/7 for 5 months now without issue so it
> also seems stable. I use CCV version 1.4. I also used CCV on another
> exhibit with a Win7 64 bit system and that ran for months as well without
> issue. That might have been version 1.5 but I don't remember for sure. I
> also know there's a newer version of CCV supporting multiple cameras now,
> and I have not had experience with this.
>
> Maybe I'm not understanding the flexibility you are looking for that CCV
> is not offering you. All I can imagine is that you can't find a way to
> change the order of the filtering. I'm not sure that's something you'll
> find you actually need though to improve the result of the blob tracking.
>
> Just my $.02.
>
> -John
>
> On Thu, Apr 18, 2013 at 8:42 AM, Antoine Villeret <
> antoine.ville...@gmail.com> wrote:
>
>> i tried CCV one time but i had some driver and performance issues
>> moreover, i can't find an easy way to tune the processing chain
>> pd is more flexible but, i agree, could be harder
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>
>> 2013/4/18 John Harrison 
>>
>>> I'm not totally clear on the big picture here but it could be you might
>>> save yourself a lot of time and effort doing your blob tracking with
>>> Community Core Vision (CCV) then sending the blob data to Pd through OSC.
>>> After initially doing my blob tracking in Pd only (which did work), I
>>> switched to this CCV --> Pd approach and got better results because of all
>>> of the built-in filtering etc. that is provided with that open-source
>>> cross-platform software.
>>>
>>> -John
>>>
>>>
>>> On Thu, Apr 18, 2013 at 5:22 AM, Ska Frenz  wrote:
>>>
>>>> Hi, thank you for the suggestions, I'll check openCv. Can you explain
>>>> how to use "morphological filters" to clear up the noise in the image? Are
>>>> there examples around? Also, could you please explain me better what do you
>>>> mean with "adaptive background subtraction method"?
>>>>
>>>> Thank you for your time :)
>>>>
>>>> francesco
>>>>
>>>>
>>>> 2013/4/17 Antoine Villeret 
>>>>
>>>>> hi,
>>>>>
>>>>> the segmentation method (how you extract what is your interest from
>>>>> the rest of the image) is very critical in video tracking
>>>>> background subtraction is a basic way to extract blob and it works
>>>>> only in certain conditions of light (if you want to track something
>>>>> outdoor, you should use an adaptive background subtraction method)
>>>>> moreover, there is no general method to do video tracking, it depends
>>>>> on what you want to track and how it is filmed
>>>>>
>>>>> so, the first thing is to have a good image, with not too much
>>>>> lighting changes, good contrast between background and features to track
>>>>> then you can start thinking about segmentation, and the
>>>>> segmentation accuracy depends on the quality of the video
>>>>> you may need to do something more than just background subtraction,
>>>>> for example, you could apply some morphological filter to remove noise
>>>>> after that, you can start tracking
>>>>> you could also apply a threshold on the blob size to not track very
>>>>> small blob
>>>>> blob of interest are often surrounded by very small blobs due to
>>>>> segm

Re: [PD] pix_multiblob and tracking multiple objects

2013-04-18 Thread Antoine Villeret
i tried CCV one time but i had some driver and performance issues
moreover, i can't find an easy way to tune the processing chain
pd is more flexible but, i agree, could be harder

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


2013/4/18 John Harrison 

> I'm not totally clear on the big picture here but it could be you might
> save yourself a lot of time and effort doing your blob tracking with
> Community Core Vision (CCV) then sending the blob data to Pd through OSC.
> After initially doing my blob tracking in Pd only (which did work), I
> switched to this CCV --> Pd approach and got better results because of all
> of the built-in filtering etc. that is provided with that open-source
> cross-platform software.
>
> -John
>
>
> On Thu, Apr 18, 2013 at 5:22 AM, Ska Frenz  wrote:
>
>> Hi, thank you for the suggestions, I'll check openCv. Can you explain how
>> to use "morphological filters" to clear up the noise in the image? Are
>> there examples around? Also, could you please explain me better what do you
>> mean with "adaptive background subtraction method"?
>>
>> Thank you for your time :)
>>
>> francesco
>>
>>
>> 2013/4/17 Antoine Villeret 
>>
>>> hi,
>>>
>>> the segmentation method (how you extract what is your interest from the
>>> rest of the image) is very critical in video tracking
>>> background subtraction is a basic way to extract blob and it works only
>>> in certain conditions of light (if you want to track something outdoor, you
>>> should use an adaptive background subtraction method)
>>> moreover, there is no general method to do video tracking, it depends on
>>> what you want to track and how it is filmed
>>>
>>> so, the first thing is to have a good image, with not too much lighting
>>> changes, good contrast between background and features to track
>>> then you can start thinking about segmentation, and the
>>> segmentation accuracy depends on the quality of the video
>>> you may need to do something more than just background subtraction, for
>>> example, you could apply some morphological filter to remove noise
>>> after that, you can start tracking
>>> you could also apply a threshold on the blob size to not track very
>>> small blob
>>> blob of interest are often surrounded by very small blobs due to
>>> segmentation noise
>>>
>>> but you can have a look at pix_opencv objects,
>>> there is [pix_opencv_blobtrack] which implements a whole processing
>>> chain, including foreground extractor, blob detector, blob tracker and
>>> follower
>>> I'm not sure it's included in pd-extended, but you can find some
>>> binaries on build server
>>>
>>> hope this help
>>>
>>> antoine
>>>
>>>
>>> --
>>> do it yourself
>>> http://antoine.villeret.free.fr
>>>
>>>
>>> 2013/4/17 Ska Frenz 
>>>
>>>>  Hi everyone, this is my first time on the pd-list so I hope I won't
>>>> do anything wrong.
>>>> I'm writing here to get some help about pd tracking objects
>>>> (pix_blob..). I'm using the background subtraction method, to track objects
>>>> and I need help to understand how I can track multiple objects with
>>>> multiples different blobs. I'm trying the pix_multiblob and yes, it show 2
>>>> blobs..but they track the same object. Then basically I do not understand
>>>> how can I make the first blob to follow just one object for all the time
>>>> that specific object is inside the webcam rectangle, and the second blob to
>>>> track another separate object. I cannot find any material that clearly
>>>> talks about this.I attached the patch I'm working on. I'd love to see some
>>>> well-explained examples if you know where to get them.
>>>> Thank you very much for your help :)
>>>>
>>>> Francesco
>>>>
>>>> ___
>>>> Pd-list@iem.at mailing list
>>>> UNSUBSCRIBE and account-management ->
>>>> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>>
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pix_multiblob and tracking multiple objects

2013-04-18 Thread Antoine Villeret
morphological filters affect the shape
they mostly work on binary images
the most common are erode, dilate, close and open algorithm
with which you can make a "pepper or salt removing filter" to remove black
or white isolated pixels

concerning background subtraction, if you use a fixed background (you make
a snapshot at startup and subtract it to the video stream) you will have
defects due to light change,
some background part could be interpreted as a foreground feature
adaptive background technique use a dynamic image reference, which could be
made with a low-pass filter, this image is then subtracted to the video
stream
this makes a high-pass filter




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


2013/4/18 Ska Frenz 

> Hi, thank you for the suggestions, I'll check openCv. Can you explain how
> to use "morphological filters" to clear up the noise in the image? Are
> there examples around? Also, could you please explain me better what do you
> mean with "adaptive background subtraction method"?
>
> Thank you for your time :)
>
> francesco
>
>
> 2013/4/17 Antoine Villeret 
>
>> hi,
>>
>> the segmentation method (how you extract what is your interest from the
>> rest of the image) is very critical in video tracking
>> background subtraction is a basic way to extract blob and it works only
>> in certain conditions of light (if you want to track something outdoor, you
>> should use an adaptive background subtraction method)
>> moreover, there is no general method to do video tracking, it depends on
>> what you want to track and how it is filmed
>>
>> so, the first thing is to have a good image, with not too much lighting
>> changes, good contrast between background and features to track
>> then you can start thinking about segmentation, and the
>> segmentation accuracy depends on the quality of the video
>> you may need to do something more than just background subtraction, for
>> example, you could apply some morphological filter to remove noise
>> after that, you can start tracking
>> you could also apply a threshold on the blob size to not track very small
>> blob
>> blob of interest are often surrounded by very small blobs due to
>> segmentation noise
>>
>> but you can have a look at pix_opencv objects,
>> there is [pix_opencv_blobtrack] which implements a whole processing
>> chain, including foreground extractor, blob detector, blob tracker and
>> follower
>> I'm not sure it's included in pd-extended, but you can find some binaries
>> on build server
>>
>> hope this help
>>
>> antoine
>>
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>
>> 2013/4/17 Ska Frenz 
>>
>>>  Hi everyone, this is my first time on the pd-list so I hope I won't do
>>> anything wrong.
>>> I'm writing here to get some help about pd tracking objects
>>> (pix_blob..). I'm using the background subtraction method, to track objects
>>> and I need help to understand how I can track multiple objects with
>>> multiples different blobs. I'm trying the pix_multiblob and yes, it show 2
>>> blobs..but they track the same object. Then basically I do not understand
>>> how can I make the first blob to follow just one object for all the time
>>> that specific object is inside the webcam rectangle, and the second blob to
>>> track another separate object. I cannot find any material that clearly
>>> talks about this.I attached the patch I'm working on. I'd love to see some
>>> well-explained examples if you know where to get them.
>>> Thank you very much for your help :)
>>>
>>> Francesco
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pix_multiblob and tracking multiple objects

2013-04-17 Thread Antoine Villeret
hi,

the segmentation method (how you extract what is your interest from the
rest of the image) is very critical in video tracking
background subtraction is a basic way to extract blob and it works only in
certain conditions of light (if you want to track something outdoor, you
should use an adaptive background subtraction method)
moreover, there is no general method to do video tracking, it depends on
what you want to track and how it is filmed

so, the first thing is to have a good image, with not too much lighting
changes, good contrast between background and features to track
then you can start thinking about segmentation, and the
segmentation accuracy depends on the quality of the video
you may need to do something more than just background subtraction, for
example, you could apply some morphological filter to remove noise
after that, you can start tracking
you could also apply a threshold on the blob size to not track very small
blob
blob of interest are often surrounded by very small blobs due to
segmentation noise

but you can have a look at pix_opencv objects,
there is [pix_opencv_blobtrack] which implements a whole processing chain,
including foreground extractor, blob detector, blob tracker and follower
I'm not sure it's included in pd-extended, but you can find some binaries
on build server

hope this help

antoine


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


2013/4/17 Ska Frenz 

> Hi everyone, this is my first time on the pd-list so I hope I won't do
> anything wrong.
> I'm writing here to get some help about pd tracking objects (pix_blob..).
> I'm using the background subtraction method, to track objects and I need
> help to understand how I can track multiple objects with multiples
> different blobs. I'm trying the pix_multiblob and yes, it show 2 blobs..but
> they track the same object. Then basically I do not understand how can I
> make the first blob to follow just one object for all the time that
> specific object is inside the webcam rectangle, and the second blob to
> track another separate object. I cannot find any material that clearly
> talks about this.I attached the patch I'm working on. I'd love to see some
> well-explained examples if you know where to get them.
> Thank you very much for your help :)
>
> Francesco
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] GEM FPS

2013-03-20 Thread Antoine Villeret
yep

something like attached
you may need to filter the output

+
a


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


2013/3/20 Pagano, Patrick 

> Is there a way to tell how many FPS GEM is performing at?
>
> pp
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>


fps.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] using kinect in ubuntu 12.04 and pd-extended 0.43.4

2013-03-20 Thread Antoine Villeret
Hi,

don't forget to blacklist gspca module, your Kinect will be mounted as a
generic video camera in /dev/video* instead

here is some good tuto :
http://blog.jozilla.net/2012/03/29/getting-up-and-running-with-the-kinect-in-ubuntu-12-04/
http://mitchtech.net/ubuntu-kinect-openni-primesense/
and here is mine (for ubuntu 64bit but not so different) :
http://antoine.villeret.free.fr/?p=589

+
a

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


2013/3/20 Matthias Kronlachner 

>  I guess you didn't connect the Kinect power supply?
> USB power is not enough for that device.
>
>
> On 3/19/13 10:05 PM, tristan cordier wrote:
>
> Sorry, I forgot to add that the kinect is actually working properly,
> tested on another computer, with ubuntu 12.04 (not ubuntu studio 12.04).
>
> 2013/3/19 tristan cordier 
>
>> Hello everyone, I am trying to use a kinect sensor in pure data using
>> pix_freenect.
>>
>>  I followed several tuto found online but none worked for me,
>> The kinect sensor is apparently not seen by my system :
>>
>>  lsusb replies :
>> 
>> ...
>> Microsoft Corp. Xbox NUI Motor
>>
>>  and not the rest (Audio and Video)
>>
>>
>>
>>  Does anyone knows about a tuto that worked for a config like this?
>>
>>  ubuntu studio 12.04 32 bits
>> pd-extended 0.43.4
>>
>>  best regards
>>
>>  tristan
>>
>
>
>
> ___pd-l...@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] pix_share_write error

2013-03-19 Thread Antoine Villeret
hi,

i'm experiencing some strange behavior with pix_share_write/read
sometimes i get this error when setting pix_share_write :
couldn't get shm_id: error 0
 but i couldn't reproduce this, it seems it happens when a patch with
pix_share_write crashes (due to errors in a V4L2 device)
after reloading the patch, pix_share_write can't initialize correctly
it happens not so often, but when it does i can't understand why and I have
to change the ID in the [set( message to find a working one

I made few changes in the code of pix_share_* to forward the error though
an outlet
so I can automatically try another ID

this is in my github repos in the branch pix_share_write :
https://github.com/avilleret/Gem/tree/pix_share_write

I don't know if it's a good idea but it seems to work for me

I'm wondering if it could be good to have a dictionary instead of a hash
table :
when we use [set id sizex sizey pixel_format( message, pix_share* could try
to find the id in the dictionary
if there is no entry with that id, it generates a random shmem id, verify
that nobody else is using it and tries to allocated data
if it fails it could generates another id until it succeed and store the id
in the dictionary

pix_share_read will know the dictionary and can find the right shmem id

what do you think about that ?

kind regards

antoine


--
do it yourself
http://antoine.villeret.free.fr
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [GEM] pix_write numbering

2013-03-19 Thread Antoine Villeret
Hi,

I totally agree with you Fero, I experienced the same difficulty to use
images written with pix_write in pix_multiimage.
I made a script to rename the files.
But it could good to have an option like 'pix_write_naming_style' in
pix_multiimage which can make both working together, isn't it ?

Cheers

a

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


2013/3/19 Fero Kiraly 

> Hi all,
>
> why is pix_write numbering files like this ? :
> 0
> 1
> 2
> ...
> 00253
> ...
>
>
> and pix_multiimage is supposed to read files with 'clear' numbering like
> this:
> 0
> 1
> 2
> ..
> 256
>
>
> in this situation is a little bit complicated to write and read the shots..
> I solve situation with renaming file using [ggee/shell].
>
> I think, it will be clearer to use one type of numbering.
> Or I am am wrong ?
>
> f.
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] crude pd interface for omxplayer/Rpi

2013-03-16 Thread Antoine Villeret
Hi,

thanks for sharing,
it works but still with the audio crack when launching
and quitting omxplayer
but this is an omxplayer's issue...

cheers
a

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


2013/3/7 batinste 

>  Hi list
>
> Looking for a way to control video playback on the Raspberry Pi outside
> Gem's realm, i stumbled across omxplayer and this 
> topic
> .
>
> So based on it i've made a very crude [shell]-based omxplayer controller
> in Pd, see attached. As omxplayer can be controlled via keystrokes, you can
> expand this patch's possibilities very easily. For now, you can choose a
> file, play it, pause and resume, restart the video, quit omxplayer,
> increase and decrease volume.
>
> I encounter an annoying bug when restarting a video : one can briefly see
> what's behind the window, be it a console or lxde's desktop. Happily,
> omxplayer has also a counter-bug thats prevents the desktop to refresh
> itself (it stays black : you have to move the mouse all over the screen to
> refresh). So to keep the restart prettier, you have to launch the desktop
> manager.
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] PMPD on RPi

2013-03-11 Thread Antoine Villeret
hi,

i've build it yesterday evening,
i didn't fully test
I can send it to you this afternoon

cheers

a

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


2013/3/10 Cyrille Henry 

>
>
> Le 10/03/2013 20:12, Julian Brooks a écrit :
>
>> Hi all,
>>
>> Does anyone have a copy of the most recent PMPD compiled for the RPi that
>> they can forward to me please?
>>
>> I'm having a few issues with a patch that works fine on my laptop but is
>> badly borked on the RPi and I think I've narrowed it down to the PMPD lib
>> that I've compiled.
>>
>> The version I've compiled seems to have built but it's not working
>> correctly.
>>
>
> i dit not compile pmpd but i could if needed. But i don't think that i
> will make any diference.
> could you explain the problem that i can test here?
>
> cheers
> c
>
>
>
>
> The patch runs at about 50% on the RPi (10% on my laptop) so I'm hoping
> that should be ok.
>
>>
>> Will report back after further testing.
>>
>> Many thanks in advance,
>>
>> Julian
>>
>>
>> __**_
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
>> listinfo/pd-list 
>>
>>
> __**_
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list 
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Announcing PdParty

2013-03-09 Thread Antoine Villeret
hi Dan,

thanks for that, and please count me in !

a.

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


2013/3/8 Dafydd Hughes 

> Hi Dan - yeah, me too! It looks great.
>
>
> On Fri, Mar 8, 2013 at 10:44 AM, Mikael Fernström 
> wrote:
>
>> Dan,
>> I'm also interested in testing it.
>> /mikael
>>
>>  ---
>> Dr. Mikael Fernström
>> Interaction Design Centre
>> Engineering Research Building
>> Department of Computer Science and Information Systems
>> University of Limerick
>> Limerick
>> IRELAND
>> Web: www.idc.ul.iewww.dmarc.iewww.softday.ie
>>
>>
>> On 8 Mar 2013, at 14:58, Maurice Rickard 
>> wrote:
>>
>> Hi Dan,
>>
>> I'd be interested in checking this out as well.
>>
>> Best,
>> M
>>
>> Maurice Rickard
>> http://mauricerickard.com | http://onezeromusic.com |
>> http://yoctonaut.com
>>
>>
>>
>> On Mar 7, 2013, at 7:18 PM, Dan Wilcox  wrote:
>>
>> Yeah. I'll send out the info to everyone who responds to this thread.
>> Thanks!
>>
>> Telbat ym morf tnes.
>>
>> ---
>> Dan Wilcox
>> danomatika.com
>> robotcowboy.com
>>
>> On Mar 7, 2013, at 7:11 PM, "Pagano, Patrick" 
>> wrote:
>>
>> That sounds like a nice idea, do you have to sign up for beta testing Dan?
>>
>> Sent from my iPhone
>>
>> On Mar 7, 2013, at 5:56 PM, "Dan Wilcox"  wrote:
>>
>>   No it won't. I'm using TestFlight: https://www.testflightapp.com/
>>
>>  You just signup & download the app. I then add you to the project and
>> you receive notifications when I push out a new version. You then use the
>> TestFlight app to install it.
>>
>>  On Mar 7, 2013, at 5:53 PM, batinste  wrote:
>>
>>  Count me in ! The iDevice needs to be jailbroken, i guess.
>>
>> On 07/03/2013 18:57, Dan Wilcox wrote:
>>
>> Howdy all,
>>
>>  Over Christmas break, I decided that making a swiss arm knife
>> all-in-one cross-platform app to "rule them all" was not going to be
>> feasible with all the other work I need to do for my 
>> thesis,
>> so I've shelved the OpenFrameworks-based robotcowboy 
>> app for
>> now.
>>
>>  I've returned instead to PdParty ,
>> my port of DroidParty  which I've rewritten in
>> Obj-C as a universal iOS app. It currently supports the Pd-vanilla gui
>> objects, CoreMIDI io, and has a built in WebDAV server for scene/patch
>> management. The eventual goal is compatibility with DroidParty and RjDj
>> scenes, but in the meantime, I need a new mobile platform for my songs.
>> Yes, the gui design will be improved over time, for now I'm just trying to
>> emulate the core gui stuff until everything is working.
>>
>>  I'll be ready to send out beta testing invites in the next week, so
>> please respond with an email address I can send the info to. Thanks!
>>
>>  (And I just found out about 
>> MobMuPlat.
>> What a crazy small world we live in.)
>>
>>  Screenshots:
>>
>>  
>>
>>  
>>
>>   
>> Dan Wilcox
>> @danomatika
>> danomatika.com
>> robotcowboy.com
>>
>>
>>
>>
>>
>>
>>
>> ___pd-l...@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>>   
>> Dan Wilcox
>> @danomatika
>> danomatika.com
>> robotcowboy.com
>>
>>
>>
>>
>>
>>___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem with Intel HD 4000 F/MSAA

2013-03-06 Thread Antoine Villeret
hi,

I think it depends on the driver.
I heard it doesn't work on Ubuntu 12.04 with crapy intel driver (and
unfortunately this is not the only issue on Linux with Intel cards).

+
a

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


2013/3/6 

> Is it possible to use anti-aliasing with an Intel HD 4000?
>
> http://communities.intel.com/**thread/31912
> Intel graphics built into the last two generations support MSAA
>
> I tried to send MSAA 1 || 2 || 4 || 8 = not working. I think Gem only
> support FSAA?
>
> __**_
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list 
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Hercules Muse Pocker LT / Raspberry Pi

2013-03-05 Thread Antoine Villeret
thanks for the feedback
;-)

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


2013/3/5 Alexandre Saunier 

> Hi everyone,
>
> I've been testing the Hercules Muse Pocket LT usb sound device on a
> Rasberry Pi (wheezy).
> In short:
> - I got it to output six channels with pd but the sound quality is really
> poor (no matter what the audiobuffer, blocksize... are)
> - I then slowed down the usb (dwc_otg.speed=1). I can get a good stereo
> output (though a faint sine can be heard)
> but when trying four channels pd outputs:
> ALSA output error (snd_pcm_hw_params): Invalid argument
> Unable to determine current swparams for output: Input/output error
> and with 6 channels:
> read other error -77
>
> Would anyone has any idea whether or not something can be done about that?
> Otherwise I'll go buy a newer and better working sound card :)
>
> Cheers!
> alx
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Saving camera dialog

2013-03-05 Thread Antoine Villeret
ha,

which version of Gem do you have ?
here is the latest help patch for pix_video,

take a look at [enumerate( with which you will have the list of available
devices and driver
then [device $1( may help to choose the right one
and then [enumProps( to get its properties and [set(, [get( and other
[*Props( messages...

you don't need dialog to setup camera, as a proof, there isn't any dialog
on Linux and we use camera everyday...

cheers

a


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


2013/3/5 Alexandros Drymonitis 

> Don't really get it. I'm sending [enumProps( to [pix_video], but if I do
> that before anything else I get the following error message: [pix_video]:
> cannot enumerate properties without a valid video-device
> If I set the desired camera via [dialog( I get nothing...
> What I wanna do is use a PS3 eye camera for a live performance, but I'd
> rather use Pd -nogui. The only way though I can choose this camera is to
> first create and render a [gemwin], destroy it and then send [dialog( to
> [pix_video], which won't be possible without the gui.
> So, to put my initial question in other words, how is it possible to set a
> camera other than the built in, without the gui?
>
>
> On Tue, Mar 5, 2013 at 11:19 AM, Antoine Villeret <
> antoine.ville...@gmail.com> wrote:
>
>> hi,
>>
>> All camera settings should be available through [pix_video] it self
>> without dialog.
>> Try sending [enumProps( and [pix_video] should send all readable and
>> writeable properties.
>>
>> Cheers
>>
>> a
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>
>> 2013/3/3 Alexandros Drymonitis 
>>
>>>  With midi or audio you can send Pd a message on load which you get
>>> either with [get-midi-dialog] and [get-audio-dialog] or by connecting [r
>>> pd] to [print], then go to midi/audio settings and press ok. This gives you
>>> the message you have to send so you can use these settings immediately
>>> (say, if you use pd -nogui).
>>> What about using a camera other than the built-in? You can set that by
>>> sending [dialog( to [pix_video], but is it possible to set it by sending Pd
>>> a message? If so, where do you get this message from?
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>
>


pix_video-help.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Saving camera dialog

2013-03-05 Thread Antoine Villeret
hi,

All camera settings should be available through [pix_video] it self without
dialog.
Try sending [enumProps( and [pix_video] should send all readable and
writeable properties.

Cheers

a

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


2013/3/3 Alexandros Drymonitis 

> With midi or audio you can send Pd a message on load which you get either
> with [get-midi-dialog] and [get-audio-dialog] or by connecting [r pd] to
> [print], then go to midi/audio settings and press ok. This gives you the
> message you have to send so you can use these settings immediately (say, if
> you use pd -nogui).
> What about using a camera other than the built-in? You can set that by
> sending [dialog( to [pix_video], but is it possible to set it by sending Pd
> a message? If so, where do you get this message from?
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on the RPi with multiple audio out

2013-03-01 Thread Antoine Villeret
the first time I plugged the sound card into the RPi,
it breaks the ethernet and the pi doesn't respond to ping anymore
I have to switch it off and to boot with the card plugged
after that the ethernet seems to work (since i'm logged in ssh)
and there is also an HDMI monitor

I didn't do anything special, just plug and it was recognized by Pd with
the alsa driver, so I think it uses generic usb-audio driver
Maybe this one works because it has no input but just outputs.

I'll update the web page as soon as the server responds...

cheers

a

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


2013/3/1 Charles Goyard 

> Hi,
>
> Antoine Villeret wrote:
> > hi,
> >
> > the ESI UDJ6 USB sound card works on the raspberry pi with pd and alsa
> > driver.
> > I have 6 channels @ 44,1 kHz and 48 kHz in 24 bit depth
> > Blocksize of 64 samples and 9 ms of latency
> > no click when playing wav file direct from SD card
>
> Thanks, this is encouraging.
>
> Does the sound card use the generic usb-audio driver ? If so I wonder
> why this works and not for other generic boards...
>
> Does it still work well when Ethernet is used ?
>
> Thanks,
> Charles
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] wireless audio from Pd to PA system (katja)

2013-03-01 Thread Antoine Villeret
Pierre-Olivier is right, most of transmitter have a line switch, or at
least a sensitivity button to accepts line level
Some of them works with stereo input but you can also use 2 mono
transmitters for that

Cheers

a

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


2013/3/1 Pierre-Olivier Boulant 

>  Hi,
>
> I have a rather old pair of Sennheiser e500 wireless systems (ENG type,
> portable on both ends). On the transmitter, there is an option for line
> level. I guess the newer versions keep that option. At least this does work
> for balanced line levels with the appropriate cable and the
> gain/sensitivity set to its lowest setting.
> It's rather common to use wireless between an ENG mixer and a camera.
>
> Hope this helps
> Cheers
> Pierre-Olivier
>
>
>
> On 01/03/2013 13:19, katja wrote:
>
> Thanks everyone for your answers.
>
> The case is unconventional because a stereo line signal must be sent from
> the computer. Professional wireless systems assume mic or instrument.
> Consumer systems do transmit stereo signal, but without bothering too much
> about latency.
>
> Frankly, I did not expect the difficulty to find a good solution.
> Initially I wanted the wearable computer for a music video which is to be
> recorded live with sounds from natural objects. I bought the FM transmitter
> so my cameraman will be able to hear the music while he's filming. For this
> purpose it is ideal. Then I thought it would be good to use the computer in
> it's wearable mode for public performance. I figured that one of the many
> wireless solutions would suit the purpose, but didn't reckon with the
> unusual requirements.
>
> Further searching brought me to a new technology 'PurePath' from Texas
> Instruments. It has a range comparable with WiFi (30m), while it seems to
> work with paired devices as in Bluetooth. I haven't seen consumer products
> with this technology, but development kits are available. A rather
> convincing demo is here:
>
> http://www.youtube.com/watch?v=0YsnZQUfVGs
>
> If this system can work with low latency it could be perfect for wireless
> Pd.
>
> Katja
>
>
>
>  On Fri, Mar 1, 2013 at 11:41 AM, Antoine Villeret <
> antoine.ville...@gmail.com> wrote:
>
>> hello,
>>
>>  those are good for what they have been designed for and it depends on
>> what you mean by "exellent sound quality"
>>
>>  I've made few tests on those few years ago and the bandwidth could be
>> good enough to transmit guitar/bass signal but nothing else for me
>>
>>  +
>> a
>>
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>
>> 2013/2/28 richard duckworth 
>>
>>>   Hi Katja
>>> one of these would do it - check with Thomann tech support for gain
>>> issues (these are Instrument Level input) They should be fine however as
>>> active guitar pickups (like heavy style EMG pickups) output quite high
>>> levels. These type of wireless systems tend to be very rugged, have
>>> excellent sound quality and long battery life - and you'll want these
>>> things.
>>>
>>>  http://www.thomann.de/ie/cat.html?gf=wireless_for_guitar_bass&oa=pra
>>>
>>>
>>>
>>>
>>>
>>> Message: 3
>>> Date: Thu, 28 Feb 2013 11:53:43 +0100
>>> From: katja 
>>> Subject: [PD] wireless audio from Pd to PA system
>>> To: pd-list 
>>> Message-ID:
>>> 
>>> Content-Type: text/plain; charset=ISO-8859-1
>>>
>>> For a wearable live performance computer, I am looking into the
>>> options of sending wireless audio from Pd to a PA sound system and
>>> other listeners.
>>>
>>> In a first experiment I've tried a Linex FM transmitter. Audio quality
>>> is good enough, and FM transmitters do not introduce latency. This
>>> option is cheap and flexible, as the signal can be received by simple
>>> radio's, which are even built into cell phones and media players. I
>>> would need to boost the transmission a bit to make it more reliable.
>>> This will of course make the equipment illegal. Even then, the risk
>>> that someone else is transmitting a stronger signal on the channel can
>>> not be excluded.
>>>
>>> Another option could be to send audio over Wifi. This would require
>>> WLAN to be available, and one extra computer (with audio interface) as
>>> a receiver. To avoid extra latency the audio should be sent
>>> uncompressed, like [udpsend~] / [udpreceive~] 

Re: [PD] wireless audio from Pd to PA system (katja)

2013-03-01 Thread Antoine Villeret
hello,

those are good for what they have been designed for and it depends on what
you mean by "exellent sound quality"

I've made few tests on those few years ago and the bandwidth could be good
enough to transmit guitar/bass signal but nothing else for me

+
a


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


2013/2/28 richard duckworth 

> Hi Katja
> one of these would do it - check with Thomann tech support for gain issues
> (these are Instrument Level input) They should be fine however as active
> guitar pickups (like heavy style EMG pickups) output quite high levels.
> These type of wireless systems tend to be very rugged, have excellent sound
> quality and long battery life - and you'll want these things.
>
> http://www.thomann.de/ie/cat.html?gf=wireless_for_guitar_bass&oa=pra
>
>
>
> Rich Duckworth
> Lecturer in Music Technology
> Department of Music
> House 5
> Trinity College
> Dublin 2
> Ireland
> Tel 353 1 896 1500
>
> "Digital?
> Is that the thing where they take a good old sine wave and they chop it up
> into little bits?" --- Rupert Neve
>   --
>
>
>
> Message: 3
> Date: Thu, 28 Feb 2013 11:53:43 +0100
> From: katja 
> Subject: [PD] wireless audio from Pd to PA system
> To: pd-list 
> Message-ID:
> 
> Content-Type: text/plain; charset=ISO-8859-1
>
> For a wearable live performance computer, I am looking into the
> options of sending wireless audio from Pd to a PA sound system and
> other listeners.
>
> In a first experiment I've tried a Linex FM transmitter. Audio quality
> is good enough, and FM transmitters do not introduce latency. This
> option is cheap and flexible, as the signal can be received by simple
> radio's, which are even built into cell phones and media players. I
> would need to boost the transmission a bit to make it more reliable.
> This will of course make the equipment illegal. Even then, the risk
> that someone else is transmitting a stronger signal on the channel can
> not be excluded.
>
> Another option could be to send audio over Wifi. This would require
> WLAN to be available, and one extra computer (with audio interface) as
> a receiver. To avoid extra latency the audio should be sent
> uncompressed, like [udpsend~] / [udpreceive~] can do it. This has the
> risk of packet loss and serious dropouts.
>
> I've been searching for 2.4 GHz wireless music receivers and found
> things like this:
> http://www.sitecom.com/en/wireless-music-streamer/wl-061/p/203. They
> seem to act like external soundcards for your computer. In Linux
> though I've never managed to properly connect multiple soundcards with
> Pd (in OSX it's easy using the Aggregate Device Editor from Audio MIDI
> Setup). Also I guess these devices introduce huge latency. With audio
> over bluetooth headsets I've experienced latencies up to a second.
>
> Does anyone use a satisfactory method in practice, to send audio from
> Pd without wires?
>
> Thanks,
> Katja
>
>
>
> --
>
> ___
> Pd-list mailing list
> Pd-list@iem.at
> to manage your subscription (including un-subscription) see
> http://lists.puredata.info/listinfo/pd-list
>
>
> End of Pd-list Digest, Vol 95, Issue 152
> 
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] wireless audio from Pd to PA system

2013-03-01 Thread Antoine Villeret
Hello,

every cheap systems I've tested to send data (video or sound) wireless
don't work when the emitter moves
to have a robust connection with a professional sound quality, you should
use a professional emitter like Shure UR1 with appropriate receiver.
Those can be found in any good audio hire.

best

a

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


2013/2/28 katja 

> For a wearable live performance computer, I am looking into the
> options of sending wireless audio from Pd to a PA sound system and
> other listeners.
>
> In a first experiment I've tried a Linex FM transmitter. Audio quality
> is good enough, and FM transmitters do not introduce latency. This
> option is cheap and flexible, as the signal can be received by simple
> radio's, which are even built into cell phones and media players. I
> would need to boost the transmission a bit to make it more reliable.
> This will of course make the equipment illegal. Even then, the risk
> that someone else is transmitting a stronger signal on the channel can
> not be excluded.
>
> Another option could be to send audio over Wifi. This would require
> WLAN to be available, and one extra computer (with audio interface) as
> a receiver. To avoid extra latency the audio should be sent
> uncompressed, like [udpsend~] / [udpreceive~] can do it. This has the
> risk of packet loss and serious dropouts.
>
> I've been searching for 2.4 GHz wireless music receivers and found
> things like this:
> http://www.sitecom.com/en/wireless-music-streamer/wl-061/p/203. They
> seem to act like external soundcards for your computer. In Linux
> though I've never managed to properly connect multiple soundcards with
> Pd (in OSX it's easy using the Aggregate Device Editor from Audio MIDI
> Setup). Also I guess these devices introduce huge latency. With audio
> over bluetooth headsets I've experienced latencies up to a second.
>
> Does anyone use a satisfactory method in practice, to send audio from
> Pd without wires?
>
> Thanks,
> Katja
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] RPi Video player was : Re: RPi - GEM openGL

2013-02-17 Thread Antoine Villeret
hey Simon,

I haven't check the JSON/RPC API of XBMC but yes I think there is some
possibilty here
Another way is to start with video player example like Ju said on his blog :
http://w.xuv.be/projects/raspi_video_loop
I'll give it a try next week and keep you aware.
My goal is to be able to sync several RPi in a frame accurate way.

Cheers

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


2013/2/16 Simon Wise 

> On 16/02/13 20:16, Antoine Villeret wrote:
>
>> hello,
>>
>> if by "from within PD" you mean triggering omxplayer from pd
>> you can do that either by using [shell] like Simon explained
>> or by using pdsend and pdreceive, this could be done remotely, here is an
>> how to :
>> http://antoine.villeret.free.**fr/?p=600<http://antoine.villeret.free.fr/?p=600>
>> cheers
>>
>
> yes .. a pipe works fine as well.
>
> Antoine did you check out xbmc further, I don't have a Pi here at the
> moment but have been looking at the xbmc docs and it can be controlled
> directly through a TCP port, so you should be able to do a lot more control
> (via netsend etc). Perhaps only the media centre playlist, looping and
> seeking stuff ... no crossfades that I can see. There does seem to be some
> provision for custom effects somewhere, via shaders but it seems, but
> probably only in GL, not in GL-ES. Still ... accurate seeking could be
> useful, there seems to be access to a global clock and seeks in files ...
> both with high enough resolution to sync things well. I'll test that when I
> can when I get a chance.
>
> Has anyone tried using pdp on a Pi? again, I'll have a play when I've got
> one here. Pdp has an xv window, and a movie player that uses the linux
> quicktime library ... is the quicktime library available for Pi? and if so
> does it use the built-in codecs? ... that could be a way to go for fairly
> straightforward video playback.
>
> Simon
>
>
> __**_
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] RPi - GEM openGL

2013-02-16 Thread Antoine Villeret
hello,

if by "from within PD" you mean triggering omxplayer from pd
you can do that either by using [shell] like Simon explained
or by using pdsend and pdreceive, this could be done remotely, here is an
how to :
http://antoine.villeret.free.fr/?p=600
cheers
a

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


2013/2/15 João de Brito Rocha Reis Vidigal 

> Simon,
>
> Your patch seems to be a GREAT simplification work of what I got. Thanks
> so much!
>
> I got the omxplayer working on the RPi from terminal... Perfect!
> however I can't get it to work from within PD!
> any suggestions?
>
> JV
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] How to force OSS MIDI via command line argument

2013-02-15 Thread Antoine Villeret
hi,

I need to force the use of OSS MIDI instead of alsa on my RPi.
I don't know why, alsa is the default whereas there is nothing saying that
in startup flags nor in config file.
There is a -alsamidi, but is there an -ossmidi option ?

cheers

antoine

--
do it yourself
http://antoine.villeret.free.fr
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] off topic but can be usefull casparcg beta with osc support

2013-02-11 Thread Antoine Villeret
nice,
i'm looking for the same thing running on RPi...


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


2013/2/11 Py Fave 

> a nice open source video playback server .
>
> last version supports osc .
>
> i am sure this can be useful for some people here
>
> http://casparcg.com/wiki/CasparCG_OSC_Protocol
>
> i'm in no way afilliated ..:-)
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Raspberry Pi : DSP on the GPU ? (WAS : Message from the boss of Raspberry Pi Foundation !)

2013-02-09 Thread Antoine Villeret
hi,

the only realtime audio tool which use GPU I knew is the one from
LiquidSonic
http://www.liquidsonics.com
it uses CUDA to compute reverb with convolution

This is the only application I found when I was interested in 3 years ago
for my master thesis
but it was the very first steps of CUDA, maybe more audio applications are
available now, but I didn't heart
and this tool works with a NVIDIA Geforce 8, far from RPi's GPU...

cheers

a

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


2013/2/9 chris clepper 

> GPUs are not made for very low latency processing of tiny chunks of data.
>  Trying to run the GPU at 5k to 100k FPS on 256 bytes of data is not going
> to work well at all.  Processing a few seconds of audio at once would show
> massive gains though.
>
> Just ask yourself - how many professional DAWs use the GPU to process
> their audio?  Even the one sold by the company with full access to every
> part of the GPUs they put in their own computers?
>
> Also, I don't get the obsession with the Pi.  There are now lots and lots
> of under $100 ARMv7 dual core (!) boards that run Linux and have way more
> I/O options.  Why not get something not totally out of date to begin with?
>
>
> On Sat, Feb 9, 2013 at 7:51 AM, Pierre Massat  wrote:
>
>> Hi again Katja,
>>
>> I just read through it. Couldn't find anything about having the GPU
>> process some audio. It's really mostly about why it's a bad (or good) thing
>> to keep the GPU closed-source (at least that's what I understand [?]).
>>
>> So I guess there isn't must we can do on our own to access the GPU. But
>> then, what can Eben and his team do about it ? I'd like to know what answer
>> we can give him. If he says "just waiting for an application like this" I
>> am assuming that it must have aroused his interest somehow. And I believe
>> that it would be great if people in the Pd community got involved. All I
>> can provide is some testing, but others could contribute more (if i'm not
>> mistaken, Miller Puckette did a great job fixing the analog out for
>> instance). I think we should try and play a part in the development of the
>> Pi. And if we're lucky we'll finally have that Pd box people have been
>> dreaming about for years.
>>
>> Cheers,
>>
>> Pierre.
>>
>> 2013/2/9 katja 
>>
>>> Hi Pierre,
>>>
>>> There has been intensive discussion about GPU processing on RPI:
>>>
>>> http://www.raspberrypi.org/phpBB3/viewtopic.php?f=33&t=6188
>>>
>>> Did you read it? In the light of this discussion, I wonder what Eben
>>> means when writing "We have a bunch of GPU compute available on the device
>>> just waiting for an application like this."
>>>
>>> Anyway it's great they have put your project on RPi blog. You will be
>>> famous, Pi Massat! Congrats again.
>>>
>>> Katja
>>>
>>>
>>>
>>> On Fri, Feb 8, 2013 at 10:51 AM, Pierre Massat wrote:
>>>
 Dear all,

 Please read below the message I received from Eben Upton, the boss of
 Raspberry Pi foundation.
 It looks like he was impressed by the video I made, and he says that
 there's a possibility of letting the GPU do some DSP computation.
 I guess you'll all agree that this is awesome news.

 I have no idea how we can proceed now. I think i'm absolutely incapable
 of doing anything useful in this field, so i told him that i would transfer
 this message to you, hoping that Miller, HC, Katja (and others) would know
 what needs to be done. We should probably ask him if you guys could work
 directly with their developers.

 Let me know what you think.

 Cheers!

 Pierre.

 -- Forwarded message --
 From: Eben Upton 
 Date: 2013/2/8
 Subject: Re: RPi as multi-effects for guitar
 To: Pierre Massat 


 Hi Pierre
 Awesome stuff - I think Liz is preparing a blog post about this as we
 speak. I'd be very interested in knowing a bit more about the DSP code
 that runs this stuff. We have a bunch of GPU compute available on the
 device just waiting for an application like this.

 Cheers
 Eben

 On Thu, Feb 7, 2013 at 2:29 AM, Pierre Massat 
 wrote:
 > Hi,
 >
 > I write a blog about how to make guitar effects with computers
 running Pure
 > Data in real-time.
 > When I first heard about the Raspberry Pi I thought it would be great
 if I
 > could use it for the same purpose. It would only be much cheaper, and
 much
 > smaller than my current laptop, and could fit in my hand-made
 stompbox.
 > Recent improvements in Raspbian have finally made this possible, and
 this
 > makes me very happy !
 > The Raspberry Pi is now actually capable of running rather demanding
 Pure
 > Data patches in (quasi-) real-time (at least with a latency that's low
 > enough to play live with it).
 > I quickly assembled a small patch to test it and make a video to
 demonstrate
 > that it actually work

Re: [PD] pix_opencv_blobtracker output

2013-02-08 Thread Antoine Villeret
hi,

pix_opnecv repos on my github is outdated !
i used it before having SVN access
it is still there because there is one object (patreco for pattern
recgnition) which is not yet port to the main repo
it's kind of ARToolkit but the code is ugly...
it's on my todo list...

the uptodate repos is pd's external :
https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/pix_opencv
here is attached a copy of the updated help patch

I also changed the message "blob" to "cvblob" and hope it will not be in
conflict with pd-extended

feel free to send me feedback about this object...

cheers

antoine


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


2013/2/8 Dario Pedrioli 

> Hi Antoine,
>
> thanks
>
>
> i think you mean pix_opencv_blobtrack (without "er") ?
>>
>>
> yes, sorry
>
> by the way, it's output follow the iem matrix standard :
>>  
>> followed for each blob by :
>>  
>>
>
> so, what's the right object to connect to the right output?
>
>
>> i've just push an update of help patch
>>
>
> where I can find the updated help patch?
> on https://github.com/avilleret/pix_opencv seems the help file is not
> updated
>
>
>>
>> feedbacks are welcome :-)
>> i'm always happy to see people using my work :-)
>>
>>
> And i'm happy to use your work!
>
>  Thanks
> ciao
>
>
>> cheers
>> antoine
>>
>> --
>> do it yourself
>> http://antoine.villeret.free.fr
>>
>>
>> 2013/2/7 Dario Pedrioli 
>>
>>>  Hi all,
>>>
>>> someone can explain how to use the output of pix_opencv_blobtracker?
>>>
>>> The help file give me errors on output: "Bad arguments for message
>>> 'blob' to object 'route'"
>>> Tried with print but no luck.
>>>
>>> Thanks a lot
>>>
>>> BTW: there are very cool objects in pix_opencv, thanks again!
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>
>


pix_opencv_blobtrack-help.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pix_opencv_blobtracker output

2013-02-07 Thread Antoine Villeret
hello,

i think you mean pix_opencv_blobtrack (without "er") ?

by the way, it's output follow the iem matrix standard :
 
followed for each blob by :
 

i've just push an update of help patch

feedbacks are welcome :-)
i'm always happy to see people using my work :-)

cheers
antoine

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


2013/2/7 Dario Pedrioli 

> Hi all,
>
> someone can explain how to use the output of pix_opencv_blobtracker?
>
> The help file give me errors on output: "Bad arguments for message 'blob'
> to object 'route'"
> Tried with print but no luck.
>
> Thanks a lot
>
> BTW: there are very cool objects in pix_opencv, thanks again!
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [rpi] X11 forwarding woes

2013-01-28 Thread Antoine Villeret
hi,

strange, X11 forwarding works fine for me on Raspbian
which distro are you using ?

+
a

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


2013/1/28 Charles Goyard 

> Hi list,
>
> just starting using pd on the rpi. It works well, but there's something
> strange with X11 forwarding.
>
> Doing:
> ssh -X 192.168.1.52
> pd
>
> fails with :
> X Error of failed request:  BadAccess (attempt to access private
> resource denied)
> Major opcode of failed request:  18 (X_ChangeProperty)
>
> Doing:
> ssh -Y 192.168.1.52
> pd
>
> works.
>
> Doing:
> ssh -Y 192.168.1.52
> sudo pd
>
> fails with :
> debug2: X11 connection uses different authentication protocol.
> X11 connection rejected because of wrong authentication.
> Application initialization failed: couldn't connect to display
> "localhost:10.0"
>
>
> So far I'm not that concerned with real-time priority, but what's my
> problem ?
> I found some clues on the internet but they were not helpful.
>
> Commands like xterm and wish and exported to my display as needed.
>
> Thanks for any idea.
>
> Charles
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] gpio on the raspberry pi from within pd ?

2013-01-25 Thread Antoine Villeret
hi all,

i made a small program which uses GPIO to scan a keypad matrix and send OSC
data to pd
it depends on liblo and libbcm2835
it's very specific to my project but could help someone...
code is here : https://github.com/avilleret/pianophone

cheers

a

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


2013/1/25 Charles Goyard 

> Hi Miller,
>
> Miller Puckette wrote:
> > I think either I or a grad student (we'll see) will be writing a Pd
> extern
> > to do this efficiently -- for the moment it would be possible with a
> Python
> > script (using netsend/netreceive in Pd) but having an extern would be
> more
> > lightweight and probably more robust.
>
> great, thanks! Meanwhile I found out about webiopi, which can act as a
> placeholder ATM. (http://code.google.com/p/webiopi/wiki/RESTAPI)
>
> Will you use /dev/mem and require root privileges, or the
> /sys/class/gpio filesystem?  (see
> http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29&t=9667&p=198848 for
> how to change permissions, non-standard !)
>
> --
> Charlot
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] GEM - camera lens correction or camera calibration

2013-01-08 Thread Antoine Villeret
hi,

don't hesitate to ask here if you need help to use pix_opencv_calibration i
don't know anybody using it except cyille and me and perhaps the help file
is not clear enought
it would be a good test :-)

cheers

a

PS : don't forget to check the other new cool features of pix_opencv ;-)

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


2013/1/8 Dario Pedrioli 

> Thanks a lot.
>
> ciao
> dario
>
>
> 2013/1/8 Cyrille Henry 
>
>> hello,
>>
>> up to date sources are on pd externals svn, on sourceforge.
>> http://pure-data.svn.**sourceforge.net/viewvc/pure-**
>> data/trunk/externals/
>>
>> cheers
>> c
>>
>> Le 08/01/2013 15:46, Dario Pedrioli a écrit :
>>
>>> Thanks a lot Jack and Cyrille
>>>
>>> Wow! I didn't know of the existence of pix_opencv_calibration! I will
>>> have a try as soon as possible!
>>> so 
>>> http://www.hangar.org/wikis/**lab/doku.php?id=start:**puredata_opencvis
>>>  not the main and updated page for pix_opencv stuff?
>>> what's the main repository?
>>>
>>> ciao
>>> dario
>>>
>>>
>>> __**_
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
>>> listinfo/pd-list 
>>>
>>>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] libPd PdDroidParty comport ?

2013-01-07 Thread Antoine Villeret
hi,

if you can't see console output, you can log the comport output for [ports(
message into a file with [textfile] and then open it

hope this helps

a

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


2013/1/7 Maurin Donneaud 

> I m familiar with the PD comport object but my patch is running on a
> mobile phone and i can't access the console message logs :-(
>  Maurin
>
> Le 7 janv. 2013 à 05:35, Martin Peach a écrit :
>
> On 2013-01-06 15:13, Maurin Donneaud wrote:
>
> Im trying to connect Arduino via bluetooth to libPd / PdDroidParty
>
> running on my android.
>
> Does the comport could be used for that communication ?
>
> Do anyone already try this combination?
>
>
> If you give the [devices( message to [comport] you will get a list of
> available ports in the Pd window. A bluetooth port will be one of the ports
> in the list, you can select it by name like [ devicename /dev/ttyS21 ( or
> by number as [ open 21 (.
>
> Martin
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Webcam recommendations (linux/osx)

2012-12-20 Thread Antoine Villeret
2012/12/20 J Oliver :
>> - USB cam like PSEye or logitech (don't remember equivalent model to
>> PSEye but it exists) : pros : could have good image quality, framerate
>> and resolution, cons : cable lenght limitation, mostly fixed lens and
>> sometimes fixed focus
>
> I'd be interested in hearing about this logitech equivalent. How is it 
> equivalent? also has high frame rates?
i can't remember for now, i hear one day but maybe i'm wrong...
>
> about the length of usb cables, you can get a long extender with an amplifier 
> and even chain them.
yes and you also have cat-5 extender with which you can expand up to
hundred of meters (this kind of extender is available for composite,
usb and firewire but could be expensive)
but never forget that a poor cable (or a too long one) may lead to
image loosing or less quality even if the cam "just work"
and this apply to all interfaces

+
a
>
> best,
>
> J
>
>>
>> 2012/12/20 Dario Pedrioli :
>>> We use too PS3-eye webcams on Linux for various IR input management (we
>>> don't output the input image)
>>> For our installation we have modified the lens part:removed original lens
>>> and replaced with a new one M12x0.5 lens mount + a set of cheap M12 for
>>> various distance.
>>> Image quality is not the best you can have but you have a great camera for
>>> less than 100 euro (including modifications) considering high framerate -
>>> very important for us.
>>>
>>> Ciao
>>> Dario
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
>

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


Re: [PD] Creating a line in Gem

2012-12-18 Thread Antoine Villeret
hi,

just to notice, I used to use [GEMglBegin] -> [GEMglVertex2d] ->
[GEMglVertex2d] -> [GEMglEnd] structure to draw line directly on
screen
the first GEMglVertex2d is the starting point, the second the end point
in conjunction with [gemlist] you can draw line with an arbitrary
number of segments which is -- but it's only my point of view -- more
convinient than using multiple rectangles (and it's also more
efficient because there is no extra point)
the line width is set with the [GEMglLineWidth] object...
a good example for that is the pix_opencv_countours-help.pd patch
which is in pix_opencv (but i know it's not really easy to find it nor
to build it but we are currently working to improve that)

best

a
--
do it yourself
http://antoine.villeret.free.fr
http://drii.ensad.fr
--
Google lit ce mail...
si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.fr
pour me contacter


2012/12/18 Alexandros Drymonitis :
> Thanks Cyrille, this is what I wanted.
>
>
> On Tue, Dec 18, 2012 at 2:25 PM, Cyrille Henry  wrote:
>>
>> hello,
>>
>> ok, i can see why it's complicated to use rectangle in this situation.
>> But i did not see the problem of the curve object.
>>
>>
>> in order to "give this line an angle", i think it's best to use the rotate
>> object than the shear.
>>
>> computation are not that hard with rectangle if you do it right :
>> gemhead
>> translateXYZ <- give random position
>> rotateXYZ  <- give Z rotation
>> scaleXYZ 0 1 1 <- change X scale to grow
>> translate 0.5 0 0 <- to move the primitive so that it's not center
>> rectangle 0.5 0.1 <- 0.1 is line width
>>
>> starting point is given by the initial translate.
>> ending point is just : starting point + cos(angle)*line length for X
>> coordinate,
>> replace cos with sin for Y position (be aware that Gem is in deg, while pd
>> is in rad)
>>
>>
>>
>> but if you prefer having random initial position and random final
>> position, then a [curve 2] object can be more helpful.
>>
>> see both solution in attachment.
>>
>>
>> cheers
>> Cyrille
>>
>>
>>
>>
>> Le 18/12/2012 12:46, Alexandros Drymonitis a écrit :
>>>
>>> Hi all,
>>>
>>> I've been trying to render a line in Gem, so I'm wondering if it's best
>>> to use [curve] (which is actually a curve as it indicates), or [rectangle]
>>> with a very small x value, so that it looks like a line.
>>> My problem is that I want to give this line an angle, so I've been using
>>> [shearXY] for now. I also want to make the line grow from nothing to the
>>> full desired length, but with [rectangle] it will grow from the middle, so
>>> in order to make it grow from the starting point to the ending point, you
>>> have to give [rectangle] a continuous x,y offset.
>>> This way it's really hard to determine the starting and ending point of
>>> the line. So, If for example the x,y coordinates of the starting and ending
>>> point are random, then the angle and length will also be random and you'll
>>> have to manipulate three different objects simultaneously ([rectangle],
>>> [translate] and [shearXY]), and I'm not sure if I can find the formula for
>>> all these calculations.
>>> Is there an easier technique for this?
>>>
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>

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


Re: [PD] 2 triggers to turn on 1 trigger?

2012-12-13 Thread Antoine Villeret
use logical and [&&] and  [t b f]
see attachment
+
a
--
do it yourself
http://antoine.villeret.free.fr
http://drii.ensad.fr
--
Google lit ce mail...
si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.fr
pour me contacter


2012/12/13 Sebastian Valenzuela :
> Hey everyone,
>
> Simple question I guess, but i'm having trouble with it. 3 triggers... When
> triggers 1 and 2 are ON, they turn ON trigger 3, but with any other
> configuration of the first two triggers, the third trigger is turned OFF.
> How can I do this?
>
> Thank you in advance,
> Sebastian
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>


logical_&&.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd~ & gem

2012-11-21 Thread Antoine Villeret
hi,

yes you can
i'm doing that for a video server in which each cam is processed in a
separate pd~ to optimize core loading
i'm using pix_share* to exchange data with main patch (but this is not
whithout problem...)

+
a
--
do it yourself
http://antoine.villeret.free.fr
http://drii.ensad.fr
--
Google lit ce mail...
si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.fr
pour me contacter


2012/11/21 patrick :
> hi,
>
> can i use [pd~] to open a gem patch? it doesn't create the gem window here
> when opened with pd~, but working fine when i open the gem patch directly
> (without using [pd~ start mygem.pd<)?
>
> i am trying to playback video without affecting the dsp, my solution before
> was to open 2 process and communicate with netsend/receive.
>
> thx
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list

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


Re: [PD] [PD-announce] share-mem lib

2012-11-02 Thread Antoine Villeret
nice work
thanks guys,

maybe you can add a [declare -path ..] to all examples patches so that they
will work just after the make

++
a

-- 
do it yourself
http://antoine.villeret.free.fr
http://drii.ensad.fr
--
Google lit ce mail...
si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.fr pour
me contacter



2012/11/1 Cyrille Henry 

>
>
> Le 01/11/2012 16:30, Hans-Christoph Steiner a écrit :
>
>
>> You can get binaries from any library in pure-data SVN based on the
>> Library Template from the Jenkins build server.  There will soon be a
>> Windows builder there too.  For example, here's a Mac OS X 32-bit i386
>> binary for shmem.pd_darwin:
>>
>> https://macosx105-i386.pdlab.**puredata.info/job/template-**
>> libraries/label=macosx105-**i386/ws/share_mem/shmem.pd_**darwin
>>
>> You can browse available platforms here:
>> https://macosx105-i386.pdlab.**puredata.info/job/template-**libraries/
>>
>> Also, there is a shmem.pd_linux checked into SVN, that should be removed
>> since it can be generated by typing 'make'.
>>
> oups, my mistake.
> i removed it.
> cheers
>
> c
>
>
>> .hc
>>
>> On Nov 1, 2012, at 7:15 AM, Nicolas Montgermont wrote:
>>
>>  btw : the object is still in development and may improve these days
>>> specially concerning the message syntax.
>>> we may provide osx (and ubuntu) binaries after the testing period.
>>> best,
>>> n
>>>
>>> Le 01/11/12 10:24, Cyrille Henry a écrit :
>>>
 hello,

 for now, you'll have to grab sources from svn and compile it yourself.
 examples should provide a quick overview of the usability.
 cheers
 c

 Le 01/11/2012 05:40, Phil Stone a écrit :

> Cyrille, this is very exciting. Where can we get more details?
>
>
> Phil
>
>
> On 10/31/12 4:19 PM, Cyrille Henry wrote:
>
>> hello,
>>
>> i just did a initial commit of share-mem, a lib dedicated to deal
>> with shared memory.
>>
>> background :
>> pd / pd~ communication is really slow. by example, having a pd~ patch
>> with 8 audio in and 8 out, use about 50% cpu of a recent computer for 
>> each
>> process only to deal with audio communication.
>> sending a large array from one process to the other is almost not
>> possible in RT.
>> This really limit pd~ usability.
>>
>> -
>>
>> Thanks to share memory, communication between process can be greatly
>> improve.
>> This lib is mainly composed of an external, and few abstraction and
>> examples.
>>
>>
>> Everything look stable, at least on a ubuntu (12.04) and a osX laptop.
>> Implementation follow POSIX standard, so it will unfortunately not
>> work on windows.
>>
>> everything that I need is there, even if lot's more work could be
>> made. I hope to have user feedback before making more development.
>>
>> Cheers
>> Cyrille
>>
>>
>> __**_
>> Pd-announce mailing list
>> pd-annou...@iem.at
>> http://lists.puredata.info/**listinfo/pd-announce
>>
>>
>
> __**_
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list 
>
>
 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
 listinfo/pd-list 


>>> --
>>> http://nim.on.free.fr
>>>
>>> __**_
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
>>> listinfo/pd-list 
>>>
>>
>>
>> __**_
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
>> listinfo/pd-list 
>>
>>
> __**_
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list 
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


  1   2   >