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

Hans-Christoph Steiner hans at at.or.at
Fri Nov 2 16:40:38 CET 2012


No declaration at all will take us to the bad old days when there was no way to resolve which [prepend], [counter], [scale], etc. that a given patch needed except to guess.  Or if you find the patch on the net, the [declare -lib] will tell you that you need to get the 'share-mem' library in order for the patch to work.  Otherwise, you have to guess where [shmem] came from.

.hc

On Nov 2, 2012, at 11:08 AM, Miller Puckette wrote:

> However, the "declare -path" won't make it _not_ work and will fix the
> example if a 'user' downloads it without changing their Pd installation
> (as someone like me would normally do.)  So I'd recommend the "-path" option
> as the easier way to get started up.  Once correctly "installed", ideally,
> it shouldn't need any declarations at all.
> 
> cheers
> M
> 
> On Fri, Nov 02, 2012 at 11:03:36AM -0400, Hans-Christoph Steiner wrote:
>> 
>> The downside of using [declare -path ..] is that if someone edits an example and saves it somewhere else, it'll no longer work.  An alternative is to use [declare -lib share-mem], then it'll work wherever as long as share-mem is installed.  The downside there is that the library needs to be in the standard install location or the path in order for that to work.  For development, I often put a symlink in ~/pd-externals to the folder in SVN, then it works everywhere.
>> 
>> .hc
>> 
>> On Nov 2, 2012, at 7:48 AM, Cyrille Henry wrote:
>> 
>>> yes, thanks!
>>> c
>>> 
>>> 
>>> Le 02/11/2012 12:34, Antoine Villeret a écrit :
>>>> 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 <http://free.fr> pour me contacter
>>>> 
>>>> 
>>>> 
>>>> 2012/11/1 Cyrille Henry <ch at chnry.net <mailto:ch at chnry.net>>
>>>> 
>>>> 
>>>> 
>>>>   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 <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/ <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-announce at iem.at <mailto:Pd-announce at iem.at>
>>>>                       http://lists.puredata.info/__listinfo/pd-announce <http://lists.puredata.info/listinfo/pd-announce>
>>>> 
>>>> 
>>>> 
>>>>                   _________________________________________________
>>>>                   Pd-list at iem.at <mailto:Pd-list at iem.at> mailing list
>>>>                   UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>>>> 
>>>> 
>>>>               _________________________________________________
>>>>               Pd-list at iem.at <mailto:Pd-list at iem.at> mailing list
>>>>               UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>>>> 
>>>> 
>>>>           --
>>>>           http://nim.on.free.fr
>>>> 
>>>>           _________________________________________________
>>>>           Pd-list at iem.at <mailto:Pd-list at iem.at> mailing list
>>>>           UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>>>> 
>>>> 
>>>> 
>>>>       _________________________________________________
>>>>       Pd-list at iem.at <mailto:Pd-list at iem.at> mailing list
>>>>       UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>>>> 
>>>> 
>>>>   _________________________________________________
>>>>   Pd-list at iem.at <mailto:Pd-list at iem.at> mailing list
>>>>   UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>>>> 
>>>> 
>>> 
>>> _______________________________________________
>>> Pd-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>> 
>> 
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list