Home · Standalone · rtcmix~ · iRTcmix · Tutorials · Reference |

RTcmix an open-source digital signal processing and sound synthesis language |
about · links · contact |

mod - modulus command
## Synopsis
modval =
## Description
The wrap command apparently does the same thing.
## Arguments*p0, p1*-
The parameters used to perform the
*a mod b*(in this case,*p0 mod p1*) operation. Essentially**mod**gives the remainder of dividing*p0*into*p1*.*Modular*(or "clock") arithmetic is very useful in western, 12-note/octave music.
## Examplesmodout = mod(3, 12) ## See Also |