Skip to content

List Manipulations

MR.list library:

download

This is a collection of abstractions that deal with manipulating and examining lists. The following modules are included:

MR.list.clip:

MR.list.clip.maxhelp

Here incoming lists or streams of numbers are constrained within a given range using either a clip, fold, a wrap function.

MR.list.distance:

MR.list.dist.maxhelp

Given a target list in the right inlet, the list from the left inlet is used to compute a correlation coefficient to determine the relative “sameness” of the or more lists.

MR.list.interval:

MR.list.interval.maxhelp

Calculate the distance between consecutive members of a list.

MR.list.is:

MR.list.is.maxhelp

This abstraction analyzes and reports on the makeup of a list. The information can be printed to the Max window, surveyed in a jit.cellblock or accessed individually via the outlets.

MR.list.iter:

MR.list.iter.maxhelp

An abstraction to iterate over members of a list over a specific time interval and number of list members.

MR.list.jitter:

MR.list.jitter.maxhelp

Calculate the delta values of a list and sum them. If the delta exceeds a threshold, output new list, else output old one again.

MR.list.pad:

MR.list.pad.maxhelp

Pad a list to an arbitrary length, interpolating between it’s original values.

MR.list.slide:

MR.list.slide.maxhelp

A simple abstraction that uses the principle of the object on entire lists. See the   object helpful for more information.

MR.list.stretch:

MR.list.stretch.maxhelp

This takes a list and stretches/compresses the internal by a given ration (optionally applying wrap, fold, clip operations).

MR.list.%:

MR%.maxhelp

Works just like the [%] object (modulo), but also accepts lists as input.

MRlistInterp:

MRlistInterp.maxhelp

This is an external based on the java external ej.iterp by Emanuel Jordan and interpolates between 8 different lists.

 

There is also a number of abstractions I build way back in Max4, which you can explore and have some fun with. No guarantee that they will work or make sense…

 

Happy Patching!