Skip to content

Spring Connection

Description

This connection allows the energy from one object to be transferred to another via a spring which acts as a harmonic oscillator.

(make-connection 'spring ... )

Syntax and Default Values

The 'spring connection can be created using the following Lisp syntax:

(make-connection 'spring acc_ref1 acc_ref2 stiffness_ctl freq-loss const-loss weight)

Parameters

The 'spring connection takes six arguments:

  • acc_ref1: access on the first object.
  • acc_ref2: access on the other object (or on the same object!).
  • stiffness_ctl: controller defining the stiffness of the spring for the harmonic oscillator.
  • freq-loss: decay of the sound proportionally to the square of the frequencies.
  • const-loss: a common base for the decay of all frequencies.
  • weight: (optional) controller weighing the interaction.

Note the two accesses can optionally be on the same object, instead of different objects!

The parameters for stiffness, freq-loss and const-loss are all controllers. See the General Object information section for a discussion of these parameters.

The weight controller is optional. If not provided, it defaults to 1.

Discussion

This connection allows the energy from one object to be transferred to another via matched impedance. It will create a harmonic oscillator of appropriate weight between the two accesses. It is an interesting alternative to the 'adhere connection.

Options

There are no special options for this connection.

★     ★