Yeah you can, I downloaded command line tools for my OS X (10.8.5) from the Developer Downloads area. However I still got this error after "make":
cc -I"/Applications/Pd-extended.app/Contents/Resources/include/pd" -DPD -DVERSION='"0.0"' -arch ppc -arch i386 -arch x86_64 -mmacosx-version-min=10.4 -fPIC -I/sw/include -Wall -W -g -ftree-vectorize -ftree-vectorizer-verbose=2 -fast -o "vphasor~.o" -c "vphasor~.c"
clang: error: unknown argument: '-ftree-vectorizer-verbose=2' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [vphasor~.o] Error 1
I'm gonna go ahead and install xCode 5.1 and then try installing command line tools again from there.
Hi all. I'm having trouble testing Pd patches via webPd as instructed in this step-by-step guide .
I've made a patch (using only the available objects) that includes a synth and a "dsp 1" message so that when the patch is loaded a middle C should start sounding. I included this patch in a folder with webPd.js and jquery.js libraries, and followed the example for the index.html file. To mock same origin policy, I used python through the terminal to enable a web server using the "python -m SimpleHTTPServer" command line, and got the following on the terminal:
Serving HTTP on 0.0.0.0 port 8000 ...
Which seems fine, however, whenever I access the link http://localhost:8000/index.html, I got no sound at all despite the fact everything seems ok in the terminal:
184.108.40.206.in-addr.arpa - - [16/Dec/2016 14:39:07] "GET /index.html HTTP/1.1" 200 -
220.127.116.11.in-addr.arpa - - [16/Dec/2016 14:39:08] "GET /js/jquery.js HTTP/1.1" 200 -
18.104.22.168.in-addr.arpa - - [16/Dec/2016 14:39:08] "GET /js/webpd-latest.min.js HTTP/1.1" 200 -
22.214.171.124.in-addr.arpa - - [16/Dec/2016 14:39:08] "GET /patches/myPatch.pd HTTP/1.1" 200 -
I tried as well running things locally in Firefox by changing the "security.fileuri.strict_origin_policy" to false. I'm using Firefix 48.0.2.
I wonder if I'm missing something very obvious but I've checked the index.html and it includes the Pd.start(), and so the patch should start sounding when the url is loaded (shouldn't it?). Also, I think the problem lives in the way I'm avoiding the same origin policy since b2renger webPd examples (which run online) also won't run locally on my machine.
Any hints on what I'm doing wrong? Here's my patch myProject.zip
Have you checked the [readsf] help? I think you need to specify a path to a soundfile for each playback... but I'm not sure!
For what you say, I think you'll be better of using [soundfiler] + [tabplay~]...
[tabplay~] actually receives the bang message you're looking for.
Hi Alexandro, and thanks for your advice. I tried what you suggested and initially got this error message:
/bin/sh: cc: command not found
make: *** [vphasor~.o] Error 127
I deleted the folder, unzipped and re-do your instructions and still got the same.
Should I end up with a .pd_darwin file?
Yeah, I mean, will I have to know xCode for this?
I like very much patching but have none experience with code export or compiling stuff...
my OSX is 10.8.5.
do you know any web references that could guide anybody through this process? I definitely wanna dive into this, especially if it is usable for libpd as well (I mean, compiling this objects and then using them with libpd).
That is a great envelope, thanks for sharing.
As it has been pointed out in various threads long ago, the tricky thing about sample-rate-clocks is that converting phasor~ into messages/bangs loses sample-per-sample accuracy (and enters into the block domain) (link) (link).
Is it possible to modify somehow the attached patch so that we never leave the signal-domain?
Here's the patch:
I think Denken plugin is awesome. So long I have been able to use zexy/maxlib objects in vanilla.
I tried the same for Maelstrom's phasor objects (http://forum.pdpatchrepo.info/topic/10192/vphasor-and-vphasor2-subsample-accurate-phasors
) but I couldn't find them when using Help ---> Find Externals.
I'm using vanilla 0.47.1.
Any hints on this?
Im kind of in the same point, but my question is how to write osc messages from pd to modul8; I already addressed the messages to the IP address & UDP port that appears on the global osc module from pd to modul8, but I dont know the sintaxis.
Any help will be appreciate.
Thanks for advice,