hsc3-0.21: Haskell SuperCollider
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.Sc3.Ugen.Math.Composite

Description

Non-primitve math Ugens.

Synopsis

Documentation

ugen_if :: Num a => a -> a -> a -> a Source #

Select q or r by p, ie. if p == 1 then q else if p == 0 then r.

ugen_integral_and_fractional_parts :: Ugen -> Ugen Source #

Separate input into integral and fractional parts.

>>> ugen_integral_and_fractional_parts 1.5 == mce2 1 0.5
True

ugen_fmidi_to_midi_detune :: Ugen -> Ugen Source #

Fractional midi into integral midi and cents detune.

>>> ugen_fmidi_to_midi_detune 60.5 == mce2 60 50
True