| Create Digital Noise Forum Index » DIY, Physical Computing, and Advanced Topics » Building your own Pd, Max/MSP externals |
|
Page 1 of 2 Goto page 1, 2 Next |
|
| Author |
Message |
| PeterKirn |
Posted: Thu Apr 13, 2006 11:58 am |
|
|
Site Admin
Joined: 03 Feb 2006
Posts: 822
Location: New York, NY
|
Okay, lovers of Pd + Max/MSP . . .
Curious to find out if any of you are developing your own externals for Max/MSP or Pd. Both let you code in C, Max lets you code in Java and JavaScript, too, and both can be extended for C++. Not bad for tools that most people don't usually think of as development tools.
I'm experimenting at the moment in coding simple stuff in C. I've worked with JavaScript, but it's not very fast if there's any kind of parallel processing involved.
Anyone?
Also looking at planning a workshop on externals in NYC area if you're around here. |
|
|
| Back to top |
|
| brad |
Posted: Thu Apr 13, 2006 8:47 pm |
|
|
|
Joined: 13 Apr 2006
Posts: 1
|
PeterKirn wrote: Okay, lovers of Pd + Max/MSP . . .
Curious to find out if any of you are developing your own externals for Max/MSP or Pd. Both let you code in C, Max lets you code in Java and JavaScript, too, and both can be extended for C++. Not bad for tools that most people don't usually think of as development tools.
Anyone?
I'm not creating externals, but I always thought that if the complete pd API was available, I'd like to create a plugin for it for Squeak (www.squeak.org) and be able to write in Smalltalk.
The one thing that always bugged me about pd was my inability to determine the order of processing. It's based on age, not on location. That made it hard (for me anyway) to create modules that had many connections. |
_________________ ---brad--- |
|
| Back to top |
|
| Nat |
Posted: Mon Apr 17, 2006 3:53 pm |
|
|
Joined: 07 Apr 2006
Posts: 7
Location: Montréal
|
Hello,
I made the "Max ToolBox" which is an extension written in JavaScript that enhances the workflow in Max. You can do things like automatically connect group of objects, dynamically distribute objects in space, send messages to multiple objects at once and much more. People who start using it usually can't look back.
You can watch a demo video and download the extension here :
http://nat.imeem.com/blogs/areO4MEW |
|
|
| Back to top |
|
| PeterKirn |
Posted: Mon Apr 17, 2006 11:48 pm |
|
|
Site Admin
Joined: 03 Feb 2006
Posts: 822
Location: New York, NY
|
Nat, those are truly, truly awesome. I can't wait to start working with this. Thanks!
This raises some interesting questions / ideas . . . could totally change my approach to Max. For instance, you could build interesting MIDI + OSC assigning tools in this fashion. |
|
|
| Back to top |
|
| cebec |
Posted: Tue Apr 18, 2006 10:36 am |
|
|
|
Joined: 07 Apr 2006
Posts: 32
|
| thanks, Nat! I've heard your toolbox mentioned before but now I'm looking forward to trying it out, as well. |
|
|
| Back to top |
|
| thompsotd |
Posted: Tue Apr 18, 2006 11:54 am |
|
|
|
Joined: 07 Apr 2006
Posts: 87
Location: West Palm Beach
|
Nat,
Your toolbox looks great--can't wait to start using it! I agree that Max/MSP could be useful for "live programming" and that this kind of thing would be very helpful. But more importantly, just making day to day life a lot easier!
Tim |
|
|
| Back to top |
|
| Nat |
Posted: Tue Apr 18, 2006 2:53 pm |
|
|
Joined: 07 Apr 2006
Posts: 7
Location: Montréal
|
Thanks for the nice comments and front page !
The ToolBox (which will be renamed soon to PatchWeaver) was born out of frustration of having to connect stuff using the mouse over and over. I'm really glad to see people using it, and even more glad that people are enjoying Max better when they use it.
I'd be glad to hear about feature suggestions and comments if you have any. A lot of the features currently implemented were done after receiving some feedback from Max users. In the future I might also consider porting it to PD but it doesn't seem as straightforward without JavaScript.
Nat |
|
|
| Back to top |
|
| PeterKirn |
Posted: Tue Apr 18, 2006 7:01 pm |
|
|
Site Admin
Joined: 03 Feb 2006
Posts: 822
Location: New York, NY
|
I was going to ask that . . . how would one even go about doing something like this in Pd?
It's funny, patcher interfaces can be both a blessing and a curse. But this definitely gives me some ideas. I knew this was possible with JavaScript and Max, but I'd never sat down and worked it out!
Have you considered open-sourcing the code, or will this be a commercial endeavor? |
|
|
| Back to top |
|
| Nat |
Posted: Tue Apr 18, 2006 7:12 pm |
|
|
Joined: 07 Apr 2006
Posts: 7
Location: Montréal
|
Actually it is already "open source" as nothing is hidden to the user so you can modify it at will. There is no license at this time, I need to check up information about this. Perhaps it will become a donation ware but no plans to make it commerical. The basic idea is to help out other users, not make profit out of the thing. (though I won't refuse money if it comes along the way )
Nat |
|
|
| Back to top |
|
| microSH |
Posted: Tue May 30, 2006 3:49 pm |
|
|
Joined: 30 May 2006
Posts: 13
Location: Berlin, Germany
|
Hey Nat, I have to thank you in this way! Your toolbox is THE a tool I will never miss (like you said).
And it is for real a feature what I miss in PD.
Cheers & many thanks  |
|
|
| Back to top |
|
| mwdf |
Posted: Thu Jun 01, 2006 5:26 pm |
|
|
|
Joined: 10 Apr 2006
Posts: 9
Location: Madison, WI
|
That ToolBox set looks fairly fantastic, 8 out of 8 nerds agree!
I'm just ramping up on using Pd as a musical tool. Not sure if I want to buy Max/MSP, but the Javascriptability looks pretty neat.
I would really prefer if these things provided scripting language support for externals in Ruby etc., but that's just a pipe dream... I haven't looked at GridFlow yet. |
|
|
| Back to top |
|
| PeterKirn |
Posted: Thu Jun 01, 2006 5:45 pm |
|
|
Site Admin
Joined: 03 Feb 2006
Posts: 822
Location: New York, NY
|
Ooooooh, scripting in Ruby would be pretty incredible. I don't think that's likely to happen in Max, though. If that's the sort of coding you're interested in, I wonder about Trails (for fans of Java, anyway) --
https://trails.dev.java.net/
And now I'm way out of my element. |
|
|
| Back to top |
|
| wombot_ |
Posted: Thu Jun 01, 2006 8:01 pm |
|
|
|
Joined: 08 May 2006
Posts: 5
|
Well it's not quite ruby, but bot Max and PD support Python with pyext: http://grrrr.org/ext/py/
I haven't had a chance to play with this much yet, but it looks really quite powerful. |
|
|
| Back to top |
|
| PeterKirn |
Posted: Thu Jun 01, 2006 8:22 pm |
|
|
Site Admin
Joined: 03 Feb 2006
Posts: 822
Location: New York, NY
|
So, just for the record, that means you can use Max with Java, JavaScript, C, C++, and python, not to mention all the stuff in OpenGL. And you can use Pd with many of those, as well (certainly C, C++, and Python -- not sure about externals for Java and JavaScript support).
It's funny, because few people think of these as IDEs, but that's really what they are. |
|
|
| Back to top |
|
| thompsotd |
Posted: Thu Jun 01, 2006 9:26 pm |
|
|
|
Joined: 07 Apr 2006
Posts: 87
Location: West Palm Beach
|
| Add to the list Jitter's ability to interact with ActionScripts (1.0 only so far...). |
|
|
| Back to top |
|
|