Skip to content

Set Bit Depth

Description

Sets the current sample bit depth for the synthesis.

(set-bit-depth ... )

Syntax and Default Values

The (set-bit-depth ... ) function can be created using the following Lisp syntax:

(set-bit-depth bit_depth)

Parameters

The (set-bit-depth ... ) function takes one argument:

  • bit_depth: A number specifying the bit depth for samples saved in a file.

The default bit depth is 24.

Discussion

The default bit depth is 24. You should manually change this to 16 after the (new) command if you want to save sounds as 16-bit AIFF files.

There is presently no way to obtain the current bit depth using the standard (get-info ...) function.

Options

There are no special options for this function.