Skip to content

moonlib

Contributors

People who contribute to this project.

Objects

  • absolutepath absolutepath converts a filename supplied as a symbol for use relative to the patch’s path, outputting the resulting filename as a symbol.
  • basedir basedir performs basename and dirname operations on a filesystem path supplied as a symbol.
  • char2f char2f is an ASCII utility that converts a symbol input, such as A or a, to a float output.
  • comma comma is a deprecated control object that outputs the comma (,) message.
  • dinlet~ dinlet~ creates a signal inlet with a default value, intended for use as a subpatch inlet.
  • dripchar dripchar converts an input symbol into a list of its individual characters.
  • f2char f2char is an ASCII utility that converts a float into a character symbol.
  • f2s f2s converts an input float to a symbol, using scientific-mode notation.
  • gamme gamme is a musical scale selector that uses a 12-note key set for filtering, arpeggiation, or note rounding, producing a semitone result.
  • mknob mknob is a round GUI knob for control values, accepting floats or size messages and outputting floats.
  • ndmetro ndmetro is a numerator/denominator metronome designed for continuous tempo changes, counting from 0 to NUM at a rate of MS/DENUM while remaining synchronized with an imaginary master.
  • panvol~ panvol~ applies panning and volume control to an input signal and produces two signal outputs.
  • popen popen provides process input/output on Linux, using open to start a process for writing, ropen to start one for reading, and close to quit the current process.
  • readsfv~ readsfv~ reads a large sound file in direct-to-disk mode and outputs audio through two signal outlets.
  • relativepath relativepath converts a filename for use relative to the current patch’s path, supporting patch-relative file references.
  • s2f s2f converts a symbol into a float for control-rate symbol-to-number conversion.
  • sarray sarray provides a named, shared array of symbols, with an optional initial length and default symbols for empty elements.
  • sfread2~ sfread2~ reads a sound file at a variable speed, including negative speeds, and outputs an audio signal.
  • slist slist maintains a named, shared list of symbols and supports adding symbols, reporting its length, retrieving the nth symbol (indexed from 1), finding a symbol’s index, printing, and resetting the list.
  • ssaw~ ssaw~ is a band-limited “sweet” sawtooth signal generator.
  • tabdump2 tabdump2 outputs the contents of a table as a list, with optional minimum and maximum dump limits.
  • tabenv tabenv is a non-real-time envelope follower for a table, combining aspects of tabplay~ and env~, and outputs floats.
  • tabreadl tabreadl reads a table at a float index and outputs the linearly interpolated value.
  • tabsort tabsort writes to a destination table the indices of elements in a source table, ordered by sorting the first n source elements.
  • tabsort2 tabsort2 performs a two-dimensional sort, writing to a destination table the source indices for the first N elements of two source tables, ordered decreasingly by x (columns) and y (lines).
  • wac wac is intended for use with a Wacom Graphire tablet.