Friction:
Filter:
Classes (extension) | UGens > Filters

Friction : Filter : PureUGen : UGen : AbstractFunction : Object
ExtensionExtension

A physical model of a system with dry-friction. A chaotic filter.

Description

The input is treated as the driving force in a physical model of a mass resting on a belt, which can stick or slip relative to the belt (depending on the friction between the two). The input represents the position of the belt, and the mass is held approximately in place by a spring and a damper. The output is the position of the mass, which in very high-friction situations will be exactly the same as the input - but when the other forces can overcome the friction then stick-and-slip alternatiions will typically occur.

The model (and the diagram) is inspired by the one considered in this research artcle:

A. Luo and B. Gegg, Dynamics of a harmonically excited oscillator with dry-friction on a sinusoidally time-varying, traveling surface, International Journal of Bifurcation and Chaos, 16 (2006), pp. 3539–3566.

To create the system studied in that paper (which analyses chaotic stick-and-slip oscillations), the input should be a sinusoid added to an ever-increasing ramp value. But for musical effects you can do different things.

Note that DC offset will have a qualitative effect on the system's behaviour (because of the spring being stretched), so feel free to experiment with adding/removing DC.

Class Methods

Inherited class methods

Undocumented class methods

Friction.ar(in, friction: 0.5, spring: 0.414, damp: 0.313, mass: 0.1, beltmass: 1, mul: 1, add: 0)

Friction.kr(in, friction: 0.5, spring: 0.414, damp: 0.313, mass: 0.1, beltmass: 1, mul: 1, add: 0)

Instance Methods

Inherited instance methods

Examples