You can make a script that starts both (a shell script in linux/OSx or a batch in Win). In linux it could be something like:
jackd --realtime -d alsa -d hw -r 44100 -p 1024 -s & pd -nogui -jack - patch.pd & java -jar processingexe.jar
(to make it executable in *unix, then run >chmod +x scriptname )
That would start the audio server, plus pd without gui and the processing executable. It depends if you need anything more, or configure other flags... but I think you get the general idea. I have a simiar script that launches a game and pd without gui to make the sound engine of that game.
best regards, Pedro
On Sun, Jun 13, 2010 at 2:52 AM, Adityo Pratomo quietdidit@gmail.comwrote:
ah yes, how can i forget processing and osc. Thanks for the suggestion guys. I've worked with Processing+Pd using OSC for my last project, so this will be easy :)
Anyway, last time, when I used both of them, I have to start both individually. Just out of curiosity, is there anyway I can embed the Processing inside Pd? So that I can just start the whole system by run the Pd patch?
Regards,
Didit
On Fri, Jun 11, 2010 at 3:48 PM, Marco Donnarumma devel@thesaddj.comwrote:
regarding mp3 your friend is [readanysf~] by August Black. Packages for linux and mac.
http://aug.ment.org/readanysf/download.php
cannot really help about the GUI issue, but something nice could be achieved using Processing for the GUI communicating OSC with Pd.
Message: 8 Date: Fri, 11 Jun 2010 09:42:10 +0700 From: Adityo Pratomo quietdidit@gmail.com Subject: [PD] play mp3 file and create graphical front end interface To: PD List Pd-list@iem.at Message-ID: AANLkTinW0Cbn0svMaWm9QtJ8BMME1MPCLmlThZ5Fw4fG@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
Hi All,
I'm currently working with my sister for a project that will involve creating a simple remix tool, in which a song will be played, and the user can create additional sounds on top of that song, recording it and thus create his/her own version of the song. I've done with the basic of the tool, it's now operational. However, I have some questions:
- Can I load an mp3 file? I use readsf~ and I think it can only read wav
and aiff file 2. Can we create a graphical front end using HTML? Or are we restricted to GrIPD to create a more informative graphical front end? If so, can grIPD work on Mac OSX, beacuse it's the OS that we're working in, and the GrIPD website don't show any information of installing it in Mac OSX.
Many thanks for your help :)
Regards,
Didit
-- mataharipertama.wordpress.com lunchboxavlab.wordpress.com