Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Non-primitve math UGens.
Synopsis
- ugen_if :: Num a => a -> a -> a -> a
- ugen_integral_and_fractional_parts :: UGen -> UGen
- ugen_fmidi_to_midi_detune :: UGen -> UGen
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
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