Max 5 to Max 4.6 using SuperCollider MaxPat

phiol's icon

Hi all

Sorry in advance for my ignorance.

I've downloaded Fredrik Olofsson's patch and can't get it to work.
Of course I know nothing about superCollider which doesn't help.

I've done what the read me says:
Created an extension folder in here:
osx: ~/Library/Application Support/SuperCollider/Extensions/

- placed the MaxPat.sc in there/ restarted Sc/ typed in the post window MaxPat.sc/ pressed enter to execute it / all I get is errors and nils

-I'm on a powerbook g4 running Os x 10.4.11
-Have dowloaded the latest version of the patch
and the latest version of SuperCollider.

I have sniffed @ the help files on how to use extensions. But can't figure it out !!

I've read other post in this forum which only say "Wow! it work like a charm"

So it seems easy.
I guess I need an even more step by step.
Like where do i place my max5 patch and how will it open in max 4.6.

Sorry again for my ignorance, but any help on this would be great.

thanks a lot

phil

efe's icon

launch the supercollider application and type MaxPat. Double click it and then press cmd+Y. You should see that the class file pops up. That means that your class was correctly loaded so it is 'recognized' by the program. If not, please check that your extensions folder is on the correct search path. You can also place the class on the main sc folder, on the SCClassLibrary.
If you still have problems, please copy+paste here what the post window yields so I can take a look.

Emmanuel

phiol's icon

Thanks a lot Emmanuel

I figure it out in the meantime.

What i did wrong was that I didn't load the MaxPat folder in the extensions but the MaxPat file.

I was then able to open the MaxPat.html

And from there by scrolling down

I saw the

Patch conversion examples (max5 to max4)

//simple example - convert and save on the desktop
a= MaxPat.read("/Applications/Max5/examples/max-tricks/buttonflower.maxpat");
a.saveAsMax4("~/Desktop/buttonflower.pat");

And tested each line by pressing (enter)

and voilà! it worked.

hope this post will help others

thanks again Emmanuel , I will still try you cmd+Y method.

phil