There is also the summary I wrote in the INSTALL.txt (with feedback from Lucas and Christof): https://github.com/pure-data/pure-data/blob/master/INSTALL.txt#L274 <https://github.com/pure-data/pure-data/blob/master/INSTALL.txt#L274>
Is there something here we need to add?
> On Mar 20, 2018, at 12:00 PM, pd-list-request(a)lists.iem.at wrote:
>
> From: oliver <oliver(a)klingt.org <mailto:oliver@klingt.org>>
> To: "pd-list(a)mail.iem.at <mailto:pd-list@mail.iem.at>" <pd-list(a)mail.iem.at <mailto:pd-list@mail.iem.at>>
> Subject: [PD] compiling PD on windows
> Message-ID: <c1e40019-9cd6-ba95-aa9a-b61dd0726848(a)klingt.org <mailto:c1e40019-9cd6-ba95-aa9a-b61dd0726848@klingt.org>>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> hi, list !
>
> Recently Lucas Cordiviola generously helped me getting on my feet
> compiling PD for myself on a windows system. He wrote a very useful and
> clear description how this can be done effectively and i thought this
> could be interesting for other windows PD users as well.
--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
jit_expr is a clone of the pure data expr/expr~/fexpr~ objects. It
just-in-time compiles its expressions so they should be much more optimized
than the original. If all works as designed, they should use less CPU than
the equivalent vanilla, non-expr, patching and have a significant CPU
advantage over the original expr objects.
I've put the external, compiled for 64-bit Mac-OS and 64-bit Linux, up on
deken: in pd, go to help menu, find externals, search for "jit_expr".
After installing the external you should be able to change any of your expr
family of objects to just in time compile by loading the library, [declare
-lib jit_expr], and then prefixing the object name with "jit/", for example
[jit/fexpr~ $x1[0] + $y1[-1]].
I believe they are feature complete with the originals but I'd love to know
if there is anything that I'm missing or any bugs that you discover.
I'm not exactly sure how to profile pure data patches. If anyone has a good
approach or original expr~/fexpr~ patches that use a lot of CPU you can
share, let me know.
Compiling in the object takes a little bit of time, so the initial
instantiation of the object/expression will be a bit slower than the
original, FYI.
Please report any issues here:
https://github.com/x37v/jit-expr/issues
BTW, if you're curious to see the llvm assembly produced by your
expression, send the |print( message into the left most inlet of your
object then check out the pd console.
I would love help building Windows and 32-bit Linux versions of the
externals. I'm guessing we could also do raspi/arm builds but we'd need
some changes to the source code as it uses llvm and explicitly generates
code for x86 right now.
The source code can be found in the git repo:
https://github.com/x37v/jit-expr
-Alex Norman
_______________________________________________
Pd-announce mailing list
Pd-announce(a)lists.iem.at
https://lists.puredata.info/listinfo/pd-announce
[shell] and xdotool on Linux
On Mar 16, 2018 4:04 PM, "Max" <abonnements(a)revolwear.com> wrote:
> long time ago I've used popen and cliclick [1] on OS X to do this.
> Don't know of similar tools fo other OSes, they might exist.
>
> [1] https://www.bluem.net/en/projects/cliclick/
>
>
> On 16.03.2018 15:11, Csaba Láng wrote:
>
>> Dear list,
>>
>> is it possible to send out mouse clicks from PD to a webpage for example?
>> Means telling the system the x and y positions of the mouse and a click
>> on this position?
>>
>> Best,
>>
>> Popesz
>>
>>
>> _______________________________________________
>> Pd-list(a)lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
>> stinfo/pd-list
>>
>>
>
> _______________________________________________
> Pd-list(a)lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
> stinfo/pd-list
>
Hi,
I found a buffer overflow via makefilename which segfaults Pd. Have
attached a patch which replicates this behaviour. Let me know if more
info is needed.
Cheers,
Chris.
--
http://mccormick.cx/
Hello,
I want to broadcast a live audio stream from a performance in a library:
two musicians are playing on controllers + Pd patch. There is no
acoustic sound, people visiting the library can just watch the silent
performance. If these visitors want to listen, they can go to a website
and listen through the media player on their smart phone or laptop. I
want the latency to be less than 1 second (or better: less than 500ms)
to ensure that the audience can experience a relation between the sound
(from the webstream) and the visual performance.
Does anyone have experience with this kind of setup and is it possible
to have such a low latency through a web broadcast? (or do I have to
look for another solution, perhaps FM sender?) In older posts of this
mailing list people were talking about latencies from 1 to 10 seconds.
Which external shall I use to send the sound in Pd to Icecast? I guess
oggcast~ or mp3cast~ , or is there a better solution (= lower
latencies) outside Pd?
best,
Hans Roels
--
Hi,
Building on the excellent work of Nicolas Lhommet[1] this is a small
system for making browser based user interfaces with which to control
your Pd patches:
https://github.com/chr15m/pd-ws/
Here's an animated GIF of a user interface built with NexusUI.js[2]
controlling a Pd patch:
https://raw.githubusercontent.com/chr15m/pd-ws/master/screencast.gif
I would be good to fold this functionality into PdDroidParty / PdParty
such that if an index.html exists in a droidparty project folder then
that will be used as the primary interface in place of the
gui-patch-faking that goes on at the moment. This will allow for much
richer user interfaces for Pd patches on mobile devices. Interested to
hear what you think of that, Dan.
Thanks to Nicolas for kindly allowing me to re-license this
collaborative work under the GPLv3.
Cheers,
Chris.
[1] https://sourceforge.net/projects/websocketserverinapatch/
[2] http://nexus-js.github.io/ui/
--
http://mccormick.cx/
yap, it looks there are some issue loading the objects. if you go to
Browser list and then launch jit_expr help, then you'd be able to load
the object.
I also tried creating [jit_expr/jit_expr] that returns an error:
jit/expr,expr~,fexpr~ version 0.1 maximum object loading depth 1000 reached
but after that I'm able to load the object.
I'm using Pd 0.48.0 on Linux 64bit
cheers,
Mario
Hi list, Miller.
A little late to the game I started to use [clone]. Some observations:
1. If the abstraction name already exists as an external, it fails to
instantiate. Meaning you can't do [clone spigot 10] or [clone disk 4]. I
think this is a bug, as the local abstraction should override any built
in objects or externals.
2. In the helpfile the example is [clone clone-subpatch 16] which is
confusing, I think it should be [clone clone-abstraction 16] because
that's what it is in Pd terminology, right? (A subpatch being [pd subpatch])
3. When saving a cloned abstraction that has ben opened through the
clone object it closes itself. That probably has a technical reason but
for the user experience it is a little annoying.
But generally I really like the functionality of it. Greatly simplifies
some of my patches. I hope my feedback was helpful.
m.
Hi,
this is ground breaking, absolutely amazing. correct me if I'm wrong,
but that means with this tool we now have something like gen~ in Max
(btw, I know there's Faust that works with Pd). anyway, super cool, I'll
give it a try asap.
cheers,
Mario