Source Code of Max/MSP Objects

manfredi's icon

Hi,

I've developed a little software by Max/MSP, but now I want to make it more efficient through the transcription in C or C++. Do you know if there is the possibility to have the source code of the following objects?

Slider
Toggle
Split
Gate
Preset
Meter
Ctlin
Pink
Pipe
Select
Textbutton
Key
Sfplay
Del
If
Metro
Counter
Clocker
Ubutton

Thank you very much

Emmanuel Jourdan's icon

Some of the objects you mention are included in the SDK, for the other you'll have to code 'em. But do you have efficiency issues?

Peter Castine's icon

I would reiterate EJ's question. However, I would also suggest that if you want, for whatever reason, to gain practical experience in writing externals, many of the tasks listed will provide admirable lessons.

That said, some of the tasks are fairly trivial (gate, split); others require more background, be it in drawing (UI objects like slider, the otherwise simple toggle, meter~, etc.), DSP (pink~ uses a very clever algorithm), interfacing with the OS (key) and MIDI (ctlin), etc.etc.

If you want to learn: get the SDK; set up a development environment; start with something like a simple [plus] object; then get a couple of straight-forward objects like [split] and [counter] under your belt. From there it might make sense to take one chapter (or section) of the SDK documentation at a time and develop objects that are related to that theme (timing, drawing, etc.)

Hope this helps.

manfredi's icon

I'm not a programmer, so I'll meet an expert to start a collaboration. He asked me to find information about the SDK. The software is really simple, but the Max/MSP version of it is not so efficient and not customizable by the user.

I'm particularly interested in the sfplay~ source code. I'm going to seek for it in the SDK.

Thank you