Skip to content

Rectangular Free Bar

Description

A model of a wooden rectangular bar unattached at its edges.

(make-object 'rect-free-bar ... )

Syntax and Default Values

A 'rect-free-bar can be created using the following Lisp syntax (the default values are shown for each of the physical parameters):

(make-object 'rect-free-bar
             (modes 80)
             (length .3)
             (width .05)
             (thickness .01)
             (density 550)
             (young0 1.2e10)
             (young1 1.2e10)
             (poisson .25)
             (freq-loss 8.22e-6) 
             (const-loss 6.22))

Parameters

The arguments for the physical parameters can be either numerical values or Modalys controllers (either dynamic or constant). If a given parameter is not supplied when using the Lisp syntax, the default parameter value will be used. Unlike other Modalys objects, this object calculates the optimal number of modes based on the other parameters, so a modes parameter does not need to be provided. This object defaults to 20 points in the x direction and 9 in the z direction.

  • modes: number of modes.
  • length: length along the y-axis in meters.
  • width: width along the x-axis in meters.
  • thickness: along the z-axis in meters.
  • density: in kg/m3. See chart of material properties for wood for some appropriate values.
  • young0: Young's modulus for the x direction (width), in N/m2. See chart of wood properties for appropriate values.
  • young1: Young's modulus for the z direction (thickness), in N/m2. See chart of wood properties for appropriate values.
  • poisson: poisson ratio. See chart of wood properties for appropriate values.
  • freq-loss, const-loss: loss coefficients. See General object information.

Note that, unlike other objects, the values for freq-loss and const-loss default to values corresponding to Padouk (Pterocarpus) wood.

Accesses

A rectangular bar can be accessed in its z-direction ('normal) from any point on its surface.

(make-access my-bar my-2D-controller 'normal)
This makes an up-and-down access (in the z direction) at a point on the surface of my-plate. The point is defined by my-2D-controller where the first dimension is x and the second is y (the plate's corners being the points (0, 0), (0, 1), (1, 0) and (1, 1)). For example, in order to access the center of the plate we can say:

(make-access my-bar (const 0.5 0.5) 'normal)

Options

Tuning

A rect-free-bar can be tuned to a specific pitch, using the (set-pitch ...) function, by adjusting one of the following physical parameters:

  • 'length
  • 'thickness
  • 'density

Note that for 'size, both the x and y dimensions are scaled together proportionally in order to preserve the harmonic relationships the plate's mode frequencies.

(setq my-bar (make-object 'rect-free-bar))
(set-pitch my-bar 'length (const 220))
Adjusting the bar width does not greatly affect perceived pitch, but may change the relative harmonicity of the bar.
★     ★