### dumb question #1

Okay, I’m determined to learn Jitter. I’m inspired by the jitter recipes. It seems that the tutorials are the way to learn, so for the 2nd time I’m staring them again. This time, however, I’m doing it in an interactive way, making sure I don’t move on without trying to creatively process the information.

I was a little intimidated by y’all at first, but I thought I would jump right in and start asking questions. I realize that some of the info. may be covered in later chapters so feel free to just tell me to keep working through and I’ll get to my answer.

Here is a patch that I made that randomly fills a 2×2 matrix. I’m looking for an easier way to fill a larger matrix without putting a "random" module on each coordinate. I’d like to have all the coordinates continuously changing as well. I’m not so good with equations, so an answer that is more visual would help. I’m willing to work on my math though if that really is the best way.

Patch is below:

thanks!

max v2;

#N vpatcher 345 433 945 833;

#P origin 0 30;

#P toggle 36 52 15 0;

#P toggle 294 20 15 0;

#P window setfont "Sans Serif" 9.;

#P window linecount 1;

#P newex 36 86 52 196617 metro 11;

#P newex 294 56 52 196617 metro 10;

#P button 196 63 15 0;

#P newex 247 156 57 196617 pack 0 0 0;

#P message 252 185 102 196617 setcell $2 $3 val $1;

#P newex 312 100 52 196617 random 4;

#P window linecount 2;

#P newex 194 100 53 196617 random 257;

#P user jit.pwindow 411 324 82 62 0 1 0 0 1 0;

#P newex 254 100 52 196617 random 4;

#P button 126 126 15 0;

#P window linecount 1;

#P newex 139 265 46 196617 jit.print;

#P newex 131 237 105 196617 jit.matrix 1 char 2 2;

#P window linecount 8;

#P comment 437 79 100 196617 okay , randomly filling a 2×2 matrix. now , what’s an easier way to fill a larger matrix without using a random module for each coordinate?;

#P connect 14 0 12 0;

#P connect 12 0 3 0;

#P connect 8 0 1 0;

#P connect 3 0 1 0;

#P connect 1 0 2 0;

#P connect 10 0 6 0;

#P connect 11 0 10 0;

#P connect 6 0 9 0;

#P connect 9 0 8 0;

#P connect 10 0 4 0;

#P connect 4 0 9 1;

#P connect 7 0 9 2;

#P connect 13 0 11 0;

#P connect 10 0 7 0;

#P connect 1 0 5 0;

#P pop;

if you make the matrix 8 X 8 and change the two randoms that were 4 to

16, it works fine. If you double the randoms over the matrix size, it

works. Is this not what you wanted?

Keith

On 8/15/06, Tyson Rogers

>

> Okay, I’m determined to learn Jitter. I’m inspired by the jitter recipes. It seems that the tutorials are the way to learn, so for the 2nd time I’m staring them again. This time, however, I’m doing it in an interactive way, making sure I don’t move on without trying to creatively process the information.

>

> I was a little intimidated by y’all at first, but I thought I would jump right in and start asking questions. I realize that some of the info. may be covered in later chapters so feel free to just tell me to keep working through and I’ll get to my answer.

> Here is a patch that I made that randomly fills a 2×2 matrix. I’m looking for an easier way to fill a larger matrix without putting a "random" module on each coordinate. I’m not so good with equations, so an answer that is more visual would help. I’m willing to work on my math though if that really is the best way.

>

> Patch is below:

>

> thanks!

>

>

> max v2;

> #N vpatcher 345 433 945 833;

> #P origin 0 30;

> #P toggle 36 52 15 0;

> #P toggle 294 20 15 0;

> #P window setfont "Sans Serif" 9.;

> #P window linecount 1;

> #P newex 36 86 52 196617 metro 11;

> #P newex 294 56 52 196617 metro 10;

> #P button 196 63 15 0;

> #P newex 247 156 57 196617 pack 0 0 0;

> #P message 252 185 102 196617 setcell $2 $3 val $1;

> #P newex 312 100 52 196617 random 4;

> #P window linecount 2;

> #P newex 194 100 53 196617 random 257;

> #P user jit.pwindow 411 324 82 62 0 1 0 0 1 0;

> #P newex 254 100 52 196617 random 4;

> #P button 126 126 15 0;

> #P window linecount 1;

> #P newex 139 265 46 196617 jit.print;

> #P newex 131 237 105 196617 jit.matrix 1 char 2 2;

> #P window linecount 8;

> #P comment 437 79 100 196617 okay , randomly filling a 2×2 matrix. now , what’s an easier way to fill a larger matrix without using a random module for each coordinate?;

> #P connect 14 0 12 0;

> #P connect 12 0 3 0;

> #P connect 8 0 1 0;

> #P connect 3 0 1 0;

> #P connect 1 0 2 0;

> #P connect 10 0 6 0;

> #P connect 11 0 10 0;

> #P connect 6 0 9 0;

> #P connect 9 0 8 0;

> #P connect 10 0 4 0;

> #P connect 4 0 9 1;

> #P connect 7 0 9 2;

> #P connect 13 0 11 0;

> #P connect 10 0 7 0;

> #P connect 1 0 5 0;

> #P pop;

>

>

also, you could try urn and group, if you want to fill all at the same time.

On 8/15/06, keith manlove

> if you make the matrix 8 X 8 and change the two randoms that were 4 to

> 16, it works fine. If you double the randoms over the matrix size, it

> works. Is this not what you wanted?

>

> Keith

>

> On 8/15/06, Tyson Rogers

> >

> > Okay, I’m determined to learn Jitter. I’m inspired by the jitter recipes. It seems that the tutorials are the way to learn, so for the 2nd time I’m staring them again. This time, however, I’m doing it in an interactive way, making sure I don’t move on without trying to creatively process the information.

> >

> > I was a little intimidated by y’all at first, but I thought I would jump right in and start asking questions. I realize that some of the info. may be covered in later chapters so feel free to just tell me to keep working through and I’ll get to my answer.

> > Here is a patch that I made that randomly fills a 2×2 matrix. I’m looking for an easier way to fill a larger matrix without putting a "random" module on each coordinate. I’m not so good with equations, so an answer that is more visual would help. I’m willing to work on my math though if that really is the best way.

> >

> > Patch is below:

> >

> > thanks!

> >

> >

> > max v2;

> > #N vpatcher 345 433 945 833;

> > #P origin 0 30;

> > #P toggle 36 52 15 0;

> > #P toggle 294 20 15 0;

> > #P window setfont "Sans Serif" 9.;

> > #P window linecount 1;

> > #P newex 36 86 52 196617 metro 11;

> > #P newex 294 56 52 196617 metro 10;

> > #P button 196 63 15 0;

> > #P newex 247 156 57 196617 pack 0 0 0;

> > #P message 252 185 102 196617 setcell $2 $3 val $1;

> > #P newex 312 100 52 196617 random 4;

> > #P window linecount 2;

> > #P newex 194 100 53 196617 random 257;

> > #P user jit.pwindow 411 324 82 62 0 1 0 0 1 0;

> > #P newex 254 100 52 196617 random 4;

> > #P button 126 126 15 0;

> > #P window linecount 1;

> > #P newex 139 265 46 196617 jit.print;

> > #P newex 131 237 105 196617 jit.matrix 1 char 2 2;

> > #P window linecount 8;

> > #P comment 437 79 100 196617 okay , randomly filling a 2×2 matrix. now , what’s an easier way to fill a larger matrix without using a random module for each coordinate?;

> > #P connect 14 0 12 0;

> > #P connect 12 0 3 0;

> > #P connect 8 0 1 0;

> > #P connect 3 0 1 0;

> > #P connect 1 0 2 0;

> > #P connect 10 0 6 0;

> > #P connect 11 0 10 0;

> > #P connect 6 0 9 0;

> > #P connect 9 0 8 0;

> > #P connect 10 0 4 0;

> > #P connect 4 0 9 1;

> > #P connect 7 0 9 2;

> > #P connect 13 0 11 0;

> > #P connect 10 0 7 0;

> > #P connect 1 0 5 0;

> > #P pop;

> >

> >

>

jit.noise ?

On 8/15/06, keith manlove

> if you make the matrix 8 X 8 and change the two randoms that were 4 to

> 16, it works fine. If you double the randoms over the matrix size, it

> works. Is this not what you wanted?

>

> Keith

>

> On 8/15/06, Tyson Rogers

> >

> > Here is a patch that I made that randomly fills a 2×2 matrix. I’m looking for an easier way to fill a larger matrix without putting a "random" module on each coordinate. I’m not so good with equations, so an answer that is more visual would help. I’m willing to work on my math though if that really is the best way.

> >

Thanks!

Keith, what does doubling the randoms over the matrix size do?

Scott, I think jit.noise is doing exactly what I was trying to do.

I’m going to keep working through the tutorials, I think I have the jist of what I needed.

Thanks for your help.

Hi Tyson,

jit.noise i nice and fast but is only one kind of noise. There are

some really beautiful noise options in jit.bfg which runs slower but

is vast in possiblities.

wes

On 8/15/06, Tyson Rogers

>

> Thanks!

>

> Keith, what does doubling the randoms over the matrix size do?

>

> Scott, I think jit.noise is doing exactly what I was trying to do.

>

> I’m going to keep working through the tutorials, I think I have the jist of what I needed.

>

> Thanks for your help.

>

>

On 15-Aug-2006, at 22:36, Wesley Smith wrote:

> jit.noise i nice and fast but is only one kind of noise. There are

> some really beautiful noise options in jit.bfg which runs slower but

> is vast in possiblities.

There are also vast possibilities in the new Litter Bundle for Jitter

package: Gaussian noise, exponential noise, Poisson noise, beta and

arc-sine noise, band-limited white noise, and much more.

And they’re fast.

A public beta will be coming out very soon. Stay tuned.

— Peter

————– http://www.bek.no/~pcastine/Litter/ ————-

Peter Castine | +–> Litter Power & Litter Bundle for Jitter

| Industry-strength math for everyday use

|…………………………………………..

Composer | iCE: Essential Tools for Sequencing, Recording

Sonic Artist | & Interface Building in Max/MSP

Software Developer | Nortron: The Idea Palette

| http://www.dspaudio.com/

|…………………………………………..

p@castine.de | http://www.castine.de/ home|chez nous|wir

Forums > Jitter