Utilities for Max
For Cycling74 Max 8.x +
Repo will conform to cycling74 package format https://docs.cycling74.com/max7/vignettes/packages
Package version: 0.0.0-900 See file package-info.json
Began translating old can objects and writing new objects for Max 8
can.mc.* and can.mcs.* wrappers for mc.* and mcs.* externals to add support for dynamic channel and voice count, add other expected behaviors, etc.
can.mc.receive~ MC signal receive that mirrors behavior of receive~
can.mc.sfplay~
can.mcs.matrix~ Routing input channels to output channels
can.ms2hms.maxpat milliseconds to hours minutes seconds milliseconds
can.d2r degrees to radians
can.r2d radians to degress
can.interval2ratio convert semitone interval to frequency ratio
can.car2pol cartesian to polar coordinates in degrees
can.car2sphere cartesian to spherical coordinates in degrees
can.pol2car polar coordinates in degrees to cartesian
can.car2pol spherical coordinates in degrees to cartesian
degCar2pol.gendsp xy to radius and degrees azimuth
degCar2sphere.gendsp xyz to radius, degrees azimuth, degrees inclination (note: produces incorrect angles when x = 0. Use can.car2sphere instead or avoid zeros.)
degPol2car.gendsp radius and degrees azimuth to xy
degSphere2car.gendsp radius, degrees azimuth and degrees inclination to xyz
can.randdist.sphere Spherical distributions. Depends on randdist from
old version of CNMAT externals. Radius is a statistical distribution (see randdist), Azimuth and Inclination reflect a uniform spherical distribution.
can.uniformsphere Uniform random distribution on the unit sphere.
can.scurve~ S-curve signal ramp with list input similar to line~ or curve~.
can.scurve3d S-curve in 3d space with list input similar to line~ or curve~.
can.bittest logical test for individual bit of incomming integer
can.filternan detect and filter out NaN values
can.truth converts integers and strings to 0, 1 or ?.
- Integers return 0 or 1.
- "-", "f", "F", "false", "False", and "FALSE" return 0.
- "+", "t", "T", "true", "True", and "TRUE" return 1.
- Anything else returns "?"
can.g.*
can.g.folderdrop dropfile GUI for folders
can.g.mc.sfplay~ playbar GUI with MC in and out
can.g.mcs.matrix~ GUI routing input channels to output channels, with MC in and out.