• ### looking for a pmpd library tutorial

I'ma big dummy. I can tell pmpd has all the functionality I'm looking for, but following the provided examples is overwhelming. Does anyone have a tutorial (video or just instructions) on the basics of physical modelling?

Here are a few of things I'm looking to do:

Calculate velocity/acceleration from a stream of numbers: I have a camera that outputs x y & z coordinates of a tracked object. How could I figure out how fast it's currently moving?

I'd also like to do some kind of model based sonification where I hear how fast an imaginary disc is spinning: So I apply some rotational force on that disc for a certain amount of time, which speeds up how fast it spins (represented by pitch or amp mod or something), but then it slowly goes back down to 0 rpm due to friction. I don't need to "see" the object using Gem, but just calculate how fast this thing would be spinning given some force applied.

Any help appreciated. Thanks!

• Posts 3 | Views 3949
• If I want the velocity and acceleration of a number stream, [delta] from maxlib is the object I'd use. Since velocity is the 1st order derivative of position and acceleration is the 2nd order, I'd use a [delta] and a [delta 2]. [delta 2] is the same as

[delta]
[delta]

any technology distinguishable from magic
is insufficiently advanced.

• Thanks! I obviously didn't know that object existed. I'll have to test it out with some movement data to be sure, but I think this will be a huge step forward.

If I wanted a less fine grain measure (rolling velocity over the last second if I'm getting a position reading 60x/second, could I just zl group 60 and take the mean of that list every second?

Posts 3 | Views 3949
Internal error.

Oops! Looks like something went wrong!