Forums > Dev

Preliminary Jitter 1.6 SDK

July 11, 2006 | 1:17 am

Here is the preliminary version of the Jitter 1.6 SDK, which includes
XCode Universal Binary projects.

http://www.cycling74.com/download/jitter160sdk.dmg

In addition, there is finally an html Jitter API Reference, and a
higher level Jitter Programming Guide which is relevant to all
versions of Jitter programming (CFM, and Windows). More information
in the readme below. You’ll notice that there are also updated
CodeWarrior and VS project files in this SDK.

Please let us know if you encounter any problems.

Thanks,
Joshua

Jitter 1.6 SDK:

- As of version 1.6, Macintosh Jitter objects are now all Mach-O
Universal Binary executable format, and require XCode 2.2 or higher
to compile and OS X.3.9 or higher to run.

- The Jitter Programming Guide is now online at:

http://www.cycling74.com/twiki/bin/view/ProductDocumentation/JitterSDK

- The Jitter API Reference is avaliable in this archive in the folder
JitterAPIReference. Open the file named "index.html"

- For Mach-O Universal Binary specific external development details,
please consult the following link for standard Max/MSP objects. The
only difference for Jitter objects is that they also include a few
more frameworks such as JitterAPI.framework and OpenGL.framework.

http://www.cycling74.com/twiki/bin/view/ProductDocumentation/MaxUBSDK

Jitter CFM (1.5.3 and earlier):

- The CFM SDK project files are in CW 9 format, ending in the suffix
".mcp". CW 9 or higher is recommended for performing and debugging OS
X builds.

- The SDK project files require that the "c74support" folder is
located in the same folder as the CodeWarrior compiler. Also place
the Max and MSP includes, included in the MaxMSP SDK, inside this "
c74support" folder.


July 13, 2006 | 11:07 pm

On Jul 11, 2006, at 1:12 AM, Roby Steinmetzer wrote:
>
> I was trying to compile the jit.hello project from the examples.
> I had to modify the settings for Prefix Header from "../../
> c74support-private/max-includes/macho-prefix.pch" to "../../
> c74support/max-includes/macho-prefix.h".
> After that the project compiled fine.

Okay new version of the Jitter 1.6 SDK which solves this problem in
all project files is at the same location:

http://www.cycling74.com/download/jitter160sdk.dmg

The Jitter API Reference is also now online for your convenience:

http://www.cycling74.com/twiki/bin/view/ProductDocumentation/JitterSDK

Let us know if you encounter any other problems or have feedback on
how we can improve the SDK.

Thanks,
Joshua


July 19, 2006 | 10:12 pm

Hello
I made my first steps with jitter 1.6 SDK.
I incuded some things from the jit.poke example in my existing external. No I can change direct data in a named matrix. I use this for displaying about 24 channel Oszillograph, and it is fast!

But there are 2 problems.
#1.
I can clear the matrix with:
jit_object_method(x->matrix,_jit_sym_clear);
But I can’t set the matrix to "white". I thought i can do it with _jit_sym_setall , but it did not work. To send a bang directly did not work too.

#2.
Is it possible to run my external on max/msp 4.5.7 ?

Thank’s for the greate SDK!!!

Regards from the night in switzerland,
Oliver


July 19, 2006 | 10:54 pm

On Jul 19, 2006, at 3:12 PM, Oliver Brodwolf wrote:
> But there are 2 problems.
> #1.
> I can clear the matrix with:
> jit_object_method(x->matrix,_jit_sym_clear);
> But I can’t set the matrix to "white". I thought i can do it with
> _jit_sym_setall , but it did not work. To send a bang directly did
> not work too.

I would imagine you are not sending the data to the setall method
correctly. If you can show the way you’re calling setall, we could
probably offer more insight. There is an example of calling the
setall method in the SDK max.jit.op.c file.

Since it is a typed A_GIMME method, two ways to do this are:

// #1 untyped jit_object_method:
// note the redundant symbolic argument!!!, because untyped, just
calls through
// directly into function with any arguments *following* the first
symbol, so
// we need to include an extra symbol arg (or NULL dummy arg as does
max.jit.op.c)
jit_object_method(x,_jit_sym_setall,_jit_sym_setall,argc,argv);

// #2 typed object_method_typed:
object_method_typed(x,_jit_sym_setall,argc,argv,NULL);

In the above, argc and argv, of course are the A_GIMME style arg
count and t_atom arg vectors. Hope this helps.

> #2.
> Is it possible to run my external on max/msp 4.5.7 ?

Sorry, but you will need to build a CFM version using CodeWarrior and
the corresponding CW project files. There is no Mach-O support for
Jitter 1.5.X/MaxMSP4.5.X

-Joshua


July 19, 2006 | 11:50 pm

Hello Joshua

It works!!

t_atom aFarbe[4];

SETLONG (aFarbe,240);
SETLONG (aFarbe+1,240);

jit_object_method(x->matrix,_jit_sym_setall,0L,4,aFarbe);

Thank you.

Regards, Oliver


Viewing 5 posts - 1 through 5 (of 5 total)