# quantize~

## Examples

## Arguments

### quantum [auto]

Sets the quantum to use for rounding calculations. The incoming calue will be rounded to the nearest value that is a multiple of 1 divided by the quantum.

## Inlets

### value [auto]

The incoming value to be quantized.

### quantum [auto]

Sets the quantum to use for rounding calculations. The incoming calue will be rounded to the nearest value that is a multiple of 1 divided by the quantum.

## Outlets

### out1 [signal]

out1## Dynamic Attributes

*
These attributes can be modified in the code during execution using the
set
object
*

### quantum [auto]

Sets the quantum to use for rounding calculations. The incoming calue will be rounded to the nearest value that is a multiple of 1 divided by the quantum.

### reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

### value [auto]

The incoming value to be quantized.

## See Also

Name | Description |
---|---|

quantize | calculate the relation of a value to a given quantum |

ceil~ | Round an input value up to the next higher integer (toward positive infinity) |

floor~ | Round an input value down to the next lower integer (toward negative infinity) |

round~ | Round to nearest integer or multiple of a given value |