Back to Music front pageBack to CDM community forum indexBack to Motion front page
Create Digital Noise Forum Index  »  DIY, Physical Computing, and Advanced Topics  »  Building your own Pd, Max/MSP externals
 This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Page 1 of 2    Goto page 1, 2  Next

Building your own Pd, Max/MSP externals

Author Message
PeterKirn
Posted: Thu Apr 13, 2006 11:58 am Reply with quote
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.
View user's profile Send private message Visit poster's website
brad
Posted: Thu Apr 13, 2006 8:47 pm Reply with quote
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---
View user's profile Send private message
Nat
Posted: Mon Apr 17, 2006 3:53 pm Reply with quote
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
View user's profile Send private message Visit poster's website
PeterKirn
Posted: Mon Apr 17, 2006 11:48 pm Reply with quote
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.
View user's profile Send private message Visit poster's website
cebec
Posted: Tue Apr 18, 2006 10:36 am Reply with quote
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.
View user's profile Send private message
thompsotd
Posted: Tue Apr 18, 2006 11:54 am Reply with quote
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
View user's profile Send private message Visit poster's website
Nat
Posted: Tue Apr 18, 2006 2:53 pm Reply with quote
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
View user's profile Send private message Visit poster's website
PeterKirn
Posted: Tue Apr 18, 2006 7:01 pm Reply with quote
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?
View user's profile Send private message Visit poster's website
Nat
Posted: Tue Apr 18, 2006 7:12 pm Reply with quote
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 Razz )

Nat
View user's profile Send private message Visit poster's website
microSH
Posted: Tue May 30, 2006 3:49 pm Reply with quote
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 Exclamation
View user's profile Send private message
mwdf
Posted: Thu Jun 01, 2006 5:26 pm Reply with quote
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.
View user's profile Send private message Visit poster's website AIM Address
PeterKirn
Posted: Thu Jun 01, 2006 5:45 pm Reply with quote
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.
View user's profile Send private message Visit poster's website
wombot_
Posted: Thu Jun 01, 2006 8:01 pm Reply with quote
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.
View user's profile Send private message
PeterKirn
Posted: Thu Jun 01, 2006 8:22 pm Reply with quote
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.
View user's profile Send private message Visit poster's website
thompsotd
Posted: Thu Jun 01, 2006 9:26 pm Reply with quote
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...).
View user's profile Send private message Visit poster's website
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Page 1 of 2    Goto page 1, 2  Next
All times are GMT - 4 Hours
The time now is Tue Feb 09, 2010 4:24 am
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum