CNMAT Flashback

A look back at some items in our archives.

Archive Browser

Browse CNMAT content by type
Tool

expr+sprintf

Max's expr and sprintf externals are essential tools because of their extreme generality. expr allows the construction of almost any mathematical expression, and sprintf provides the full generality of C's sprintf() procedure for formatting text strings.

Unfortunately, both of these tools are hampered in critical and confusing ways by the way Max itself deals with text.

Tool

int+frac

Given a float, output the integer part (rounding towards zero) and the fractional part (a float of the same sign as the input, with absolute value between 0 and 1).

version 1.1

Tool

pan+amp~

controls stereo panning and amplitude in dB for a mono audio signal

Tool

rcalib

adjusts a running stream of numbers to the required range

Tool

rzcalib

adjusts a running stream of numbers to the required range, and adjusts the zero point

Tool

nearly==

Just like ==, except that there's tolerance factor for the maximum allowable difference between two "nearly" equal values.

Pages