counter Reference

A sample-rate counter

counter

Examples

Constructors

  • { arguments={incr, max}, inlets={reset} }
  • { arguments={max}, inlets={incr, reset} }
  • { arguments={}, inlets={incr, reset, max} }

Inlets

incr

Typefloat

amount to add per sample

reset

Typefloat

non-zero value resets the count

max

Typefloat

count limit (zero means no limit)

Attributes

init [float] (default: 0)

g/s(set)

Specify the initial count

Common Box Attributes

See Also

Name Description
accum
counter
history
mulequals
plusequals