hsc3-0.11: Haskell SuperCollider

Sound.SC3.Identifier

Description

Typeclass and functions to manage UGen identifiers.

Synopsis

Documentation

class ID a whereSource

Typeclass to constrain UGen identifiers.

Methods

resolveID :: a -> IntSource

Instances

idHash :: ID a => a -> IntSource

Hash ID to Int.

editID :: (ID a, Enum b) => a -> b -> IntSource

Resolve the ID at i and add the resolved enumeration of j.

(//) :: (ID a, Enum b) => a -> b -> IntSource

Infix alias for editID