|
Transform Reference Guide
|
Convert from regular (floating-point) samples to 32-bit integer samples
Syntax
ToIntegerSamples 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: IntegerSamples
State Variables
- unity
- Unity value (maximum sample amplitude)
- Type: Float
- Default: 1.0
Comments
Converts floating-point samples to 32-bit integer samples. By default, the range of floating-point samples between -1 and 1 is converted to the integer range -231 to 231. Use the "-unity" option to adjust the floating-point range (e.g., between -2 and 2, etc.).
See Also
- FromIntegerSamples
- ToInteger16Samples
- FromInteger16Samples
Open Sound World User Guide
© 2000-2004 Amar Chaudhary. All rights reserved.