24 result(s) matching "midivice-darwin", (0.02 seconds)
Hi folks, I was wondering if anybody had a darwin for the MIDIvice external. I want to use a CMLabs Motormix, though haven't much experience compiling, cheers mdf
Compiler flags for building an external in darwin
Okay I give up. I cannot find this documented anywhere. I want to build an external on Mac OS X (Darwin) using a traditional Makefile and GCC. There's a tutorial that tells you how to set up an Xcode project, but I don't want to use Xcode. I can't figure out how to extrapolate what the compiler and linker flags should be based on the Xcode build options. I tried using the same flags that are used in linux but no dice, gcc for mac is definitely different enough that I need to know the right flags to use. Any help is appreciated. Thanks.
Help with darwin install
hello, I am not a programmer and have been having trouble installing objects, and my searching this forum and the list haven't yielded clear results. I am on .39.3 and an intel mac. found space~ and wanted to install it, but where do I put the darwin file? I tried putting it in the Pd application plug-in zone to no avail. Is there another step to compiling externals like this? I attached what I downloaded.. db [http://www.pdpatchrepo.info/hurleur/space-0.4alpha-darwin.tar.gz] : http://www.pdpatchrepo.info/hurleur/space-0.4alpha-darwin.tar.gz
Compiler flags for building an external in darwin
NAME=external~ CFLAGS = -std=c99 -DPD -O3 -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -DMUUG\_INTERPOLATE=1 -DMUUG\_TILDE\_TABLE\_SIZE=512 UNIVERSAL=-arch i386 -arch ppc DARWINCFLAGS = $(CFLAGS) -DDARWIN $(UNIVERSAL) -pedantic DARWIN\_LIBS=$(UNIVERSAL) linux: $(NAME).pd\_linux .SUFFIXES: .pd\_linux .c.pd\_linux: gcc $(CFLAGS) -o $\*.o -c $\*.c ld -export\_dynamics -shared -o $\*.pd\_linux $\*.o strip --strip-unneeded $\*.pd\_linux darwin: $(NAME).pd\_darwin .SUFFIXES: .pd\_darwin .c.pd\_darwin: cc $(DARWINCFLAGS) -o $\*.o -c $\*.c cc -bundle -undefined suppress -flat\_namespace $(DARWIN\_LIBS) -o $\*.pd\_darwin $\*.o clean: rm \*.o rm $(NAME).pd\* --------------------------- Set the variable in the first line (the name of the external) for OS X run: \>make darwin In this example it will compile the file external~.c to external~.o and than link external~.pd\_darwin
Zexy compiling os x
ok, here's the deal. i'm trying to install zexy 2.1\. i'm using pd 0.41-1, on a macbook pro os x.4.11 with xcode. i've put the zexy-2.1 folder in ~/Library/Application Support/Pd i've changed the terminal directory to the src folder within this directory, and executed "./configure" successfully. the problem comes in the next step. the linux install instructions say type "make" followed by "make install". once i've run "make", it comes up with the following: zexy.h:38:18: error: m\_pd.h: No such file or directory and from what i've read, m\_pd.h is quite important. the terminal also displays lots of other error messages, mainly starting with: a2l.c:XX: i've also tried this command, which is stated in the install instructions: "make -f makefile.darwin" but it comes up with this: make: makefile.darwin: No such file or directory make: \*\*\* No rule to make target \`makefile.darwin'. Stop. this makes sense, as "makefile.darwin" is not included in the src directory (or anywhere in "zexy-2.1" for that matter) i'm new to all this compiling malarkey, so any help on this matter would be greatly appreciated. cheers dom
Anyone for a nice cup of tea?
Thanks a lot ! I succed to make my faking bubbles (using ead~) installing pd extended 39 (windows) ... But it's so much better to add only missing externals ! Just one thing anyway : the links (delta~.pd darwin and ead~.pd darwin) above is for mac ? What about PC (and windows) ? By advance thank you.
\> Maybe I'll post it once I do some fine-tuning. Please do. It should be interesting. The disadvantage of using writesf~ is that you're using the computers disk which is far slower than ram. Depending on the machine this might cause performance issues. One way to get around this on linux is to use RAMFS or TMPFS. It lets you use a chunk of ram as if it were a disk, allowing you to "save" file there. [http://en.wikipedia.org/wiki/TMPFS] There is a way to do this on OS X: [http://lists.apple.com/archives/darwin-kernel/2004/Sep/msg00004.html] as well. : http://en.wikipedia.org/wiki/TMPFS : http://lists.apple.com/archives/darwin-kernel/2004/Sep/msg00004.html
Anyone for a nice cup of tea?
whats a darwin file? do i just delete the \_darwin from it?
hello. ok, this is a really boring problem but i would appreciate a couple of pointers if you;ve got the time. trying to compile the externals package from source forge. have unziped the .tar and put it here: /Applications/Pd-0.39-2.app/Contents/Resources/extra/pd-externals-20030311 i ran make in in the .../build/darwin file and got a bunch of error reports from the attempt to compile the first object in the list (aenv~.c), final error was: Error 2 I then altered the following parts of the makefile, following an attempt to understand what the readme was going on about: prefix=$(DESTDIR)/Applications/Pd-0.39-2.app/Contents/extra PDEXECUTABLE = /Applications/Pd-0.39-2.app/Contents/Resources/bin/pd then ran make again, got another bunch of error reports but this time resulting in Error 1 the first line of the error report is as follows: In file included from ../src/aenv~.c:1: ../../aenv~/aenv~.c:18:18: m\_pd.h: No such file or directory anyone spot my mistake(s)? will.
Anyone interested in hacking plugin~ for OSX?!?
As we are all aware, PD on osx is a bastard child of sorts... a pale reflection of it's Linux counterpart, due, in part, to the lack of development for the OS (I'm assuming because mac guys like myself don't "code" the way Linux guys do!) Well, fellow PD users, I think it's high time some of the inequity is evened out! There are a bunch of externals that ship with the OSX installer (the Pd-0.38-4-extended-RC1 being the best) but none include all of the externals because many have simply not been coded for use on ppc darwin. The most egregious of omissions is the plugin~ object which makes it possible to run LADSPA (and other i think) plugin's through PD! This saves considerable time and aggravation writing your own crappy reverb patch which takes up half your CPU! Anyone interested in working on this external, and others? I've been attempting to fix it myself for a while, but I simply don't have the programming experience required. I do, however, have a nice G5 and an interest in working through problems if anyone with coding knowledge is interested in working with me. We could make it an instructive, cross-platform collaboration and use this forum as our go-between. If anyone's interested, drop a reply on me, and we'll get going! -Scacinto
Zexys logical~ operators not being created ???
For some reason the following operators could not be created. \[ \>~\] , \[<~\] , \[==~\] , \[&&~\], \[ ||~ \] I am using PD 0.40.3 -extended running on a 2.2Ghz macbook, OSX 10.5.6\. Everything should be in the correct places as when I use the browser to look through the libraries it finds the help file but not the object. Everything else seems to be working \[sgn~\], \[abs~\] ect. I have found the darwin files within the extras folder. Not really too sure where to go from here. Any clues ?? Thanks y'all
Newb problem w/ Gem, click here to feel smart
OK I'm new to pd, using Mac 10.4 I just installed pd for the first time. I used pd-extended. My friend sent my a patch with some Gem objects, but the objects aren't loading (red dotted lines). Here's what I get: /Applications/Pd/Pd-extended.app/Contents/Resources/extra/pdp.pd\_darwin: dlopen(/Applications/Pd/Pd-extended.app/Contents/Resources/extra/pdp.pd\_darwin, 10): Library not loaded: /usr/X11R6/lib/libX11.6.dylib Referenced from: /Applications/Pd/Pd-extended.app/Contents/Resources/extra/pdp.pd\_darwin Reason: image not found pdp: can't load library What does this mean? I have X11\. I've tried to use the readme's and FAQ's for help. I'm not sure I understand their directions completely, but regardless, I installed extended and the darwin file is in extra's so it should work, right?
Darwiinremoteosc and pd
hello, im new here. first thanks for your code, its very useful, but i have a some questions about it, why do you use the 47110 port in the dumpOSC object? are you using some driver for read the connection? for my project im using darwiin 0.6 as a driver, im proving with the old default ports that uses ( 5600 and 5602), but i dont receive answer. in other hand, i try the hid object without results. the hid object just read my keyboard and my mouse. thanks again for your help
Problems editing paths in extended .40.3 on mac
hi list, I am having trouble editing the search paths on extended .40.3 on OS X 10.4.9.. I don't recall this ever happening before, but I can't edit the path to point to different libraries, basically cannot access the contents of Pd.app when prompted. Anyone have this problem? thanks, db edit: so my main problem is that I cannot load GEM, reason: image not found... when I add other libraries to the startup, they load fine, and the path is changed, however, GEM will not load via this method, any ideas? in the contents of Pd-\>rescources-\>extras---- there is a GEM.pd.darwin file, should this be placed somewhere else?
Just uploaded **bb\_mp3caster**, a gui abstraction for \[mp3cast~\] that streams mp3 audio to Icecast, Shoutcast, and Darwin Streaming Servers. Not that streaming with \[mp3cast~\] is terribly difficult or complex, but now you don't have to think about it.
Terminal/pd problem in Mac OS X...
Hi, I hope this is an easily-solved problem. I have Mac OS X 10.3.9... I'm just starting out with the Terminal utility/UNIX commands/Darwin, etc. I just downloaded pd 0.37 and now when I want to open a normal terminal window, pd opens by default and I don't know how to get out of pd. I checked through the documentation and couldn't find an answer there. I'm hoping there's a simple UNIX command to exit pd and start over as a default Terminal window, or to be able to open pd when I want, not by default every time I open a terminal window. Thanks for any help. : )
Compiler flags for building an external in darwin
I didn't make it up. I got from an external called buzz~ (can't see to find it anywhere). It's licensed under the same license as PD so you have to give credit to Frank Barknecht. But I believe I've seen the same Makefile on other externals. The only change I had to make for darwin was: -arch i386 -arch ppc -pedantic
Passing GemList flow across a network-
The solutions that I've found so far don't actually send GEM or OpenGL data across the network, but rather use co-operative patches on the client and server machines so that control data is passed from the client to an identical GEM chain on the server. You can find these examples in NetPD ([http://www.netpd.org]) and PixelTANGO ([http://www.tot.sat.qc.ca/logiciels\_pixeltango.html]). While this is an acceptable approach for some applications, this will only work if you are generating all audio and video from within PD and GEM. Otherwise you will run into sync issues with live or pre-recorded audio and video. There is a PDP method of streaming audio and video live to a streaming server, but I am concerned about the additional CPU power required to convert from GEM to PDP and then stream. I hope to test this soon using Darwin Streaming Server. : http://www.netpd.org : http://www.tot.sat.qc.ca/logiciels_pixeltango.html
Vst~ for OSX
Sorry to ask but...... Has anyone found a darwin port of the vst~ external, or compiled one themselves? t'would be nice to av
Fftease on Pd 0.39.3
Here they are.. Enjoy! :) [http://www.pdpatchrepo.info/hurleur/darwin\_i86.zip] : http://www.pdpatchrepo.info/hurleur/darwin_i86.zip
Switching to OSX
In OSX (darwin) Paths that start with / are from root so: /Applications Is The applications folder which resides at the root level of your hard drive. Paths that start with ~/ are in your userspace.. soo: ~/Documents is your documents folder. (/Users/XXXyouruserXXX/Documents) OSX arranges .app packages so that they can be double-clicked. I think that's what you are talking about in the first part? What's inside the package is binaries, libraries, documentation, etc... I wouldn't put anything (other than binaries, libraries, etc.) inside the package, as it makes a bitch to upgrade. I like hardoff's way, but you could just as easily make a directory in your home directory called PD or whatever, and then more directories in there for abstractions, sounds, vids. then these would just be at; ~/PD/(Abstractions, sounds...) slightly more typing, but more organized maybe? As far as Paths, the best way I've found to add paths is with a .plist editor. there's another post somewhere about this.
Problem compiling external on Windows
Great tutorial, very detailed! Thanks for this addition.. Sorry for coming later on this subject but I'll try to add few lines about compiling externals in Win without going through MSVC Express edition (by the way: what are the limitations of the express edition w.r.t. the full package?). Even if MSVC offers an integrated environment for developing there can be some good reasons for giving a try to the old-man "unix" way of compiling, which in windows is best represented by MINGW32 and cygwin. Both offers linux-like environments (i.e. command line tools) for compiling and other shell tasks which, sometimes, in windows are a pain in the ass. There are at least three good reasons for giving a look at mingw: 1) gives strong linux compatibility on external compilation (almost same command lines arguments etc.) 2) there is the possibility to use makefiles in an almost straightforward way (with minor modifications to linux makefiles). 3) no dependency on expensive MS programs (except for the small, bug-free Operating System ;-) I did this exercise by porting the E. Lyon "LyonPoutpourry" externals for win ([http://www.sarc.qub.ac.uk/~elyon/LyonSoftware/Pd/]). Give a look at the win source package: inside there is a makefile for darwin (MAC) linux and win. I added the latter, and as you can see the modifications are minor. ----------- 1\. Prelude: compilation environment ------------------ First of all we have to set once for all the compilation environment. Let's forget for the moment cygwin and concentrate on mingw32 ([http://www.mingw.org/]). The following is taken from (H.C. Steiner's wiki [http://www.puredata.org/docs/developer/mingw]) Download the MinGW package installer and run it: ([http://prdownloads.sourceforge.net/mingw/MinGW-5.1.1.exe]) Choose the Candidate distribution. Install the defaults and add the g++ compiler, g77 compiler, and MinGW make or you can just download my MinGW install, MinGW-Pd.tar.bz2, and uncompress it so that its installed into C:\\MinGW. Then we need MSYS which is a shell (an interpreter of the commands, like a colorful dos prompt ;-) [http://prdownloads.sourceforge.net/mingw/MSYS-1.0.10.exe] Now you will be using the MSYS shell that was installed from the MSYS installer. You can launch it from the Desktop shortcut or Start -\> Programs -\> MinGW -\> MSYS -\> msys ----------- 2\. Allegro: compilation trial ------------------ a. open MSYS b. at the prompt type: cd c: (or the drive you whish to go for the pd external compilation) c. go to the external directory (note the backslashes instead of slashes !), mine is external-compiling. Inside I have helloworld.c cd alberto/backup/PureData\_Archive/patches/AlbertoZ/external-compiling/ d. copy m\_pd.h (from the PD distribution directory) into external-compiling (or whatever is its name) e. type: gcc -c helloworld.c -o helloworld.o f. type: ld -export\_dynamic -shared -o helloworld.dll helloworld.o c:/Programmi/pd039e xt4/bin/pd.dll (this is the linker step. note that I linked to a particular version of pd.dll - 0.39 extended test 4, so probably (I'm not sure about this) the external will run on 0.39 only. Can someone confrm this?) g. If everything was ok then you should have a helloworld.dll in your directory. Move it on the extra folder of your pd distribution (I assume that extra folder is in the pd predefined path) and make a new patch with the helloworld object. Again, if everything is correct, you should have a "Hello world!!" printed on the console. ----------- 3\. Adagio: makefile ------------------ A makefile can be used for compilation. Even if a simple helloworld application does not need it, complex programs may do. The makefile.win is attached with this post. Modify it according to your path in Make sure you have helloworld.c m\_pd.h makefile.win in your directory. Now type at MSYS prompt: make -f makefile.win This will automatically produce: the object, the linker step (the dll) and will copy the helloworld.dll in the extra folder of you pd distribution (overwriting the existing one ;-). ----------- 4\. Allegro con brio: conclusions ------------------ Why not give a try to the old-man compilation on Win? :-) ----------- 5\. Minuetto: greetings ------------------ I apologize if I said some crap somewhere, just let me know if it doesn't work. Have fun! Best regards, Alberto : http://www.sarc.qub.ac.uk/~elyon/LyonSoftware/Pd/ : http://www.mingw.org/ : http://www.puredata.org/docs/developer/mingw : http://prdownloads.sourceforge.net/mingw/MinGW-5.1.1.exe : http://prdownloads.sourceforge.net/mingw/MSYS-1.0.10.exe
Extended Libraries in pd 0.40.2 (OS X)
As far as I can gather, as an alternative to starting from the Terminal with -lib flags, you can use property list editor to edit this; ~/Library/Preferences/org.puredata.pd.plist Add a property (loadlibXX) for each new binary (.darwin) which you put (or compile) in the extra directory and make sure the value of the property "nlibs" reflects the number of binaries you have installed. If you notice, you can also add paths in the same manner, for your abstractions.
Changing channelnumbers/safe problem
i just found out that if i use midiin and midiparse it shows the correct midi in channels of mydevices. if i use ctlin it shows strange changing numbers. i tried midiformat for midiout but that seems not to work on pd extended for osx intel. is this a bug in pd, mididriver of osx or the ctlin object? i makes me a bit nervous because i am life musician and each time i play i need to find out with which numbers i am presented now... some ideas? greets geraeuscht.