[Beginner question] live audiovisualization with particle system

Dec 8, 2012 at 3:10pm

[Beginner question] live audiovisualization with particle system

Hello community,

i want to create a live audiovisualization system. The idea is that the parameters of a particle system are controlled by several audiodescriptors. Therefore i need some initial help or a starting point. Are there any good tutorials or references out there.

Best regards,

Valyo

#65567
Dec 8, 2012 at 5:31pm

These are relatively simple things to do in max but they require basic knowledge in a lot of areas.

The built in tutorials are the best you’ll find. Flip through them and you’ll find most of the topics you’re looking for. Honestly, I’d start at the beginning with max, move to MSP and finally to Jitter. They go really quick so don’t be daunted by how many there are.

Finally take a look at jit.p.vishnu.

#236202
Jan 11, 2013 at 4:53pm

i went through some jitter example patches and tutorials and finally got something to work, but the problem seems to be that after a certain amount of time the particles vanish from the screen. Is there a possibility to prevent the particles from doing that by giving them some kind of boundary?

Here is the patcher

Attachments:
  1. particles.maxpat
#236203
Jan 11, 2013 at 5:00pm

check out the jit.p.bounds object

#236204
Jan 11, 2013 at 5:39pm

i get a “mismatch dim”-error. is it possible that the jit.p.bounds object only works with vishnu and shiva?

#236205
Jan 11, 2013 at 10:40pm

the jit.p.* objects pass 2D matrices. the second row of the matrix contains the previous iterations values.
if you are using a homemade particle generator, you *should* still be able to use p.bounds, as long as you provide this second row to your particle matrix. “jit.concat @concatdim 1″ can help you to join two 1D matrices into a single 2D matrix.

check out the “Discussion” section of the jit.p.shiva reference file for an in-depth description of the jitter particle objects.

#236206
Jan 12, 2013 at 1:13pm

Thanks for your help.

I changed the dimensions of the matrix to 2. now the error is gone, but the particles seem to ignore the boundaries.
This whole thing is really getting frustrating.

#236207
Jan 12, 2013 at 6:08pm

post what you’ve got so far. make it as simple as possible showing what you’re trying to do,.

#236208
Jan 12, 2013 at 6:50pm

I’m really confident with the reaction/movement of the particles, but the problem is, that they disappear after a couple of minutes.
I would like to give them so kind of border from which they bounce off.

thanks in advance.

Attachments:
  1. particles2.maxpat
#236209
Jan 14, 2013 at 1:50pm

Has someone any idea. I’m so desperate right now. ;(

#236210
Jan 14, 2013 at 2:07pm

Few will deal with a messy patch. Fewer will deal with a patch that hasn’t been whittled down to *just the part that malfunctions.*

the process goes like this:

1:delete a few object s
2:make sure that something is malfunctioning
3: IF something is malfunctioning THEN go to one. ELSE post patch.

You can take a ton out of this patch and I assume it will still malfunction. do that and see what happens.

#236211
Jan 14, 2013 at 9:30pm

you’re not going to be able to use the p.bounds object with your particle generator unless your matrices are formatted correctly for the jit.p.* objects. as mentioned, take a look at the reference page to learn this formatting.

it expects 2D matrices, of size nX2, of at least 5 planes. the size of the first dim is the number of particles. the second row is the previous iteration values. the first plane is the particle id, and the second plane is the particle lifetime. the next 3 are position, xyz values.

all those things are needed if you want to use p.bounds.

alternatively, you could create your own bounds logic simply by testing if the position is outside a certain range, and if so, reversing it’s direction. this can be done with simple jit.op operators, or probably a better option, jit.gen.

#236212

You must be logged in to reply to this topic.