Thanks for your help. We've received your bug report.

Gen function declaration

Hi,
I would like to ask a question to people who are familiar with gen.
I’m trying to implement a factorial function like this:

factorial(N) {
if (N <= 1) {
return 1;
}
result=2;
for (i=3; i <= N; i++) {
result=(i+alpha+1)*i;
}
return result;
}

However I get the “statement missing ;” in a first line.
Can you point me out whats wrong with this function. This [...]

Trouble importing MSP Externals

1stly i’m new to max and this is probably obvious,
as an example i wish to use the OSCroute~ external from CNMAT,
i have downloaded it and all it’s cousins, i have told file preferences where this folder is with the title CNMAT,
in a new patcher, in the object explorer i type in OSC – expecting [...]

Using Sharp 2Y0A21 IR sensors with Arduino Mega

Hello i’m looking to use 3 or 4 Sharp 2Y0A21 IR sensors to map height within an area of 115cm long x 55 High, when the user lowers there hand I want it to alter a parameter (say pitch, velocity etc) . There will be 12 ‘strings’ laser beams in use so 1 IR sensor [...]

pattrstorage: recalling elements in sub patches more conveniently?

Pattr System Overlords,
With the pattrstorage / pattr system, is there a way to do the following:

Have a parent patch “ParentPatch” containing X identical sub patchers of type “SubPatch”

Each “SubPatch” has a bunch of objects who’s values I want to store and recall together as presets.

In “ParentPatch” each “SubPatch” wants to have *different* presets (so just [...]

Retrieving variables from external java program

Hello. I am somewhat new at Max and I need help concerning the following.
I am creating a generative electronic music composition based on the concept of biological evolution. I have this .jar program called Biogenesis. It is a simulator of evolution through natural selection where simple segmented organisms compete for resources, reproduce and thrive in [...]

blinking red lights in video triggering audio

Hi . .
What would you say is the best way to go about analyzing a video in jitter that has multiple blinking red lights and triggering a bang (ultimately a sound) each time a light blinks on and off. i shot a bunch of night video of blinking red tower lights that we’re [...]

what happened to jit.qt.grab?!?

hi,
i am having some quite serious bugs with jit.qt.grab, most of the time resulting in max to quit instantly without any error messages. this patch used to work fine like two months ago…
the patch captures an incoming 1080psf25 video signal via “jit.qt.grab 1280 720 @unique 1 @interp 1 @colormode uyvy”. this used to work fine [...]

[Bug?] jit.gl.sketch GLU tessellation and glutessmatrix

Hi, I did several tests with the GLU tessellation and glutessmatrix in jit.gl.sketch and things did not go as I thought. With a matrix glutessmatrix it works. But with @matrixoutput in jit.gl.gridshape it does not work and it does not work with jit.gen.
In jit.gen if I change snorm to norm can be seen in [...]

How to create a polyphonic push button sampler that plays up to six sound files?

I’m pretty new to Max. How do i create a polyphonic push button sampler that plays up to six sound files simultaneously? Thanks.

"coll" object doesn`t store new data in standalone app

Hi all,
I have problem with the “coll” object, in the standalone application. I`m not able to store new data in it.
In MAX, it works, as expected, but it doesn`t work in standalone.
- I have the “coll” object.
- “embed” (Save data with patcher) is enabled.
- I save one line in to the coll (for example “1, [...]

Osc and phidgets external not working windows 7 max 6

Hi guys I have a trouble.
I’ve been trying many times to get the Cnmat OSC library: http://cnmat.berkeley.edu/patch/4029
and the Phidgets library working in max 6 with no luck.
I copied the .mxe files in the max-externals folder and the .maxhelp files in max-help folder
(I also have .help and .pat files that I don’t know where [...]

smoothing discontinuities in continuously writing buffer

Hi everyone,
I’m building an effect that writes live audio input from a saxophone to a [buffer~] continuously and then outputs grains of varying size (using Nathan Wolek’s [grain.pulse~] from his granular toolkit http://www.nathanwolek.com/tag/granular-toolkit/).
The problem is that if a new grain is selected and it happens to be where the buffer is writing, there could be [...]

[Bug?] @out_name jit.gen

hi,
With Max 6.1.6 and 6.1.7 32bit
On Mac os 10.9.2, 10.6.8 and windows 7 64bit
the @out_name of jit.gen does not work here. if I write directly in the attrui menu, it works
If I cut and copy my jit.gen I have this message: register method is called Expired invalid object.
I missed something?
look at the patch
LLT

———-begin_max5_patcher———-
2279.3oc6cs0iiZCE94To9evJpOztJaD1buOs8w9P+Erc0HB3Iw6RLofyLYZ
U+uWeABjL.w6LXRREZVMLXrgi+74b74hs2+4G+gYyWkc.WLG7qfOClM6e3kL
SVlnjYUELa91nCwoQExJNONa6VLkMeQ4CY3CL4CHOB9cvy4DFFjPxwwrzW.D
JfsAChXr78D.uc6W.HLvyY4eq33afteKglhYx2OrpzGynLZzVr7c+a4jnzlM
HaOqpEVUESRj0Ma0W+HJ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31UY3PQzS3jGTmyjOH7fmrZOSMFchgDu+
4I0Xp3uq4LZmR5iB57KyMsXUTZoMTGacaSOYtsVfv4umIzjrmesGzlvWYnFF
y6pzdf7z0P09cyq9nAM6uwTMX5pIn.KuEfPwpolSMbG2sCM417nzQ7bLMAmO
NCGVZ31fsZ4aX6NLCGF4X9CmGUfMIREdYfRsAY7r+NfIEYOhX0ew80MOCzHg
DFH3DAWFqbUatA362Uzqd3IPZHB4dSDcBSG.9p8VTawgG4owQrMLzQcwUCjR
+sRkphmZEXIhctITU31qLcRHwzvjnNra5rJ8ZallukjrKiOHWT4eteU7qPhd
tuW8sM9XuxHqVG90uy3ZxNiXvrQmQcq45LddCSmYnoKeei.x1AkrHdK8axwH
t0bfL5FEjg5PVnwmrzBtfiOcEdaRWdCDdctBoJMPkg1M73clSRQOwd3aVrGJ
E6K6KpaMnXukVxWiOCCRKAe2QmtzS9x5pPWvaP5JPG7J71jr7FeSJzRMo+3y
16qkAk9NWGBCpEgAGWByQKDye7QLsT46M9L+vfgQk+YSrhjddZGp9eCEkACx
6L2rp50SPu0dhaCicj2YvdhdF6DL9LKZoPBN9JjfZI2CuBdRoU.NfWAeVP5P
XuOVrxHDc1pSQRRmupTNeEozxpQoyUhh7Cx+0+o6cer.
———–end_max5_patcher———–

how to deal with clips and normalizing in general?

Hey folks,
i am trying to normalize a few tracks i made a while ago. I am messing around with mp3gain – which probably isnt best practice.
I wasn’t getting the results I wanted, so i exported waveforms to see whats going on.
http://www.directupload.net/file/d/3601/vsft67jg_png.htm

http://www.directupload.net/file/d/3601/iuj295v9_png.htm

So… it looks like i have a little bit of clipping going on ^^
I understand [...]

Photo resistors reversing values on Arduino

Hello I am using 6 photo resistors/LDR’s with an Arduino Mega 2560, the LDR is connected to +5V then the other leg of the LDR goes to the control cable in the Arduino (A0-A5) then finally a 10K resistor to the Arduino’s ground. The aim is to make a laser harp, with the photo resistors [...]

Ezdac only turning on for a second then switching off?

Hello,
I’ve never had any trouble using ezdac / ezadc, but for some reason recently it’s not working within any previously working patches? It’s turning on for a second then switching off immediately? I’m trying this in patches that previously worked before. Does anyone know why this is happening? Any help would be really appreciated
Thanks

deleted thread.

deleted..

Need some help in splitting some text so that I can use each token as a note

Hello,
I would like to parse some text using REGEX, pull out all the vowels, and then use each vowel serially to play some notes. It’s going alright so far, but when I have repeated vowels I get simultaneous note output. So I need to separate the tokens so I can play notes separately.
I attached my [...]

EQ with Hand Drawn Curve

I’m pretty new to MaxMSP, and I was wondering if you guys could help me with this.
I’m interested in creating an EQ plugin for Live that allows you to hand draw the EQ path/curve. I want to use a Leap Motion controller to sketch the curve for the equalizer. I’m planning on running the Leap [...]

WebGL?

I am not familiar with javascript and webGL; so my question might be out of track…
I really find that app awesome… http://madebyevan.com/webgl-water/
Is there any way I could import it and use it inside Jitter?… or in combination with Jitter through another software using Syphon or something?

Logistic population equation…?

I went through ‘Max JS Tutorial 1: Basic JavaScript’, and I found it difficult to understand the equation of logistic population equation.
f(x) = rx(1-x)
or
x = r*x*(1.-x)
in the patch
I could see the following happenings, but could not figure out the reason behind them.
As you increase the value going into the js object above 3.0, the value [...]

Max 6.1.7 Released

We are happy to share the release of Max 6.1.7 with you!
There are a number of good bug fixes in this release, as well as a few new features. Most notably, Gen can now export to VDMX ISF (“Interactive Shader Format”), and we have added a new object for performing HTTP requests, maxurl.
As always, you [...]

Removing clicks from a time based groove trigger

Hello All,
I have a M4L patch that captures audio and slices it into 8 divisions to be played on the Push (ala MLR). I’ve got this thing working pretty flawlessly except for the clicks happening when I trigger different time points in my ~groove object.
I have been debating what the best (and most efficient [...]