|
Transform Reference Guide
|
Convert from regular (floating-point) samples to 16-bit integer samples
Syntax
ToInteger16Samples options
Options
- -name
- Optional user-defined name for the transform
- -unity
- Unity value (maximum sample amplitude)
- Type: Float
- Default: 1.0
Inlets
- samplesIn
- input Samples
- Type: Samples
Outlets
- integerSamplesOut
- converted integer samples
- Type: Integer16Samples
State Variables
- unity
- Unity value (maximum sample amplitude)
- Type: Float
- Default: 1.0
Comments
Converts floating-point samples to 16-bit integer samples. By default, the range of floating-point samples between -1 and 1 is converted to the integer range -215 to 215. Use the "-unity" option to adjust the floating-point range (e.g., between -2 and 2, etc.).
See Also
- FromInteger16Samples
- ToIntegerSamples
- FromIntegerSamples
Open Sound World User Guide
© 2000-2004 Amar Chaudhary. All rights reserved.