Skip to content

easyflow

A large library of Pure Data abstractions providing message/list utilities, numeric operations, GUI helpers, routing tools, and signal abstractions such as spigot~. Its cataloged objects include range mapping, probabilistic triggering, list searching, and Graph-on-Parent tooling.

Contributors

People who contribute to this project.

Objects

  • ++v ++v is a shorthand for the ++value object.
  • ++value ++value provides a pre-increment operator for a named Pd value.
  • --v --v is a shorthand for --value.
  • --value --value provides a pre-decrement operation for a named Pd value, such as $0-apple.
  • addList addList adds a list to a Pd message box.
  • addNoise addNoise takes a number and adds a random number to it, providing a simple way to introduce noise into numeric values.
  • alternate alternate routes each received message to one of its two outlets, alternating between the left and right outlets on successive messages.
  • alternatingSwitch2 alternatingSwitch2 is an automatic counterpart to switch2, and this help patch states that it currently behaves exactly like alternate.
  • any any stores any kind of data, serving a purpose similar to Pd's f object but for arbitrary data.
  • arrayList arrayList holds a list and supports indexed operations similar to Java’s ArrayList, including getting, setting, and removing elements, clearing the list, and outputting the entire list.
  • callMethod The available help patch does not document callMethod directly; it only refers readers to the help file for the public object.
  • chanceBang chanceBang outputs a bang according to a specified percentage chance, making it useful for probabilistic triggering.
  • colorCirc colorCirc creates a colored circle of fixed size for visually marking send/receive names and value (v) objects.
  • colorCircF colorCircF is a factory abstraction that creates colored circles used to mark send/receive names and value (v) objects, making related elements easier to find in a patch.
  • colorCnv colorCnv creates a colored rectangle of fixed size for marking related send/receive and value objects.
  • colorCnvF colorCnvF is a factory abstraction that creates a colored colorCnv canvas for visually marking related send and receive objects with the same name.
  • colorDef colorDef defines a named color for use with automatic color highlighting.
  • colorHighlighting colorHighlighting is the main object that stores colors associated with names, while colorDef defines those associations.
  • colorNames colorNames lets you select colors by name, for example through a guilla/dropdownMenu.
  • colorSyntax colorSyntax outputs a color value from a color-name symbol or a three-value list, for use with Pd GUI color messages.
  • colorTri colorTri is a factory abstraction used to mark variable send/receive names with color.
  • colorTriF colorTriF is a factory abstraction that creates a colored triangle used to mark variable send/receive names.
  • compare compare compares data streams containing both floats and symbols.
  • copyList copyList takes an incoming list and copies it to message boxes.
  • curves curves converts input values through selectable curve functions, including exponential, bounce, sine, logarithmic, window, and linear mappings.
  • curvesmap curvesmap maps values from a specified input range to a specified output range using any curve supported by curves.
  • curvesmap~ curvesmap~ is a signal-rate abstraction that maps an input range to an output range using curve types supported by curves~.
  • curves~ curves~ is the signal-rate version of curves, transforming an input signal with selectable curves such as exponential, bounce, sine, logarithmic, window, and linear range-mapping functions.
  • dbg dbg conditionally prints its input only when a specified value is enabled, making it useful for controlled debugging output.
  • deleteScalar deleteScalar deletes a scalar from a Pd data-holding subpatch, providing a way to remove stored scalar data.
  • dictionary dictionary is an associative array that stores values under keys.
  • digitCount digitCount outputs the number of digits in a number.
  • doubleClick doubleClick outputs a bang when it detects two input events within a specified time interval, providing double-click-style detection.
  • easyflow-info easyflow-info provides an overview of the abstractions included in the easyflow package, organizing their names into categories such as Color, Signals, Utilities, Flow control, Math, Lists, and Collections.
  • error error provides a mechanism for abstractions such as easyflow/sublist to report errors to the Pd console.
  • for for iterates over every integer in a range, similarly to a for loop in a textual language.
  • gateCounter gateCounter acts as a gate that, when open, passes its input through the left outlet.
  • getAllScalars getAllScalars reads a data-holding subpatch and outputs a pointer to each scalar it contains.
  • getFile getFile takes an input file path as a symbol, but the help patch does not state what it outputs or its broader purpose.
  • getFolder getFolder takes an input file path as a symbol.
  • getMember getMember does not have standalone documentation in this help patch; it directs users to the help file for the public object.
  • getNofScalars getNofScalars outputs the number of scalars in a specified Pd data structure, serving as a way to count its scalar elements.
  • getNthScalar getNthScalar retrieves the scalar at a selected index from a named data-holding subpatch, providing a pointer that can be used with set to modify that scalar.
  • gopTool gopTool quickly adjusts a Pure Data patch’s Graph-on-Parent settings and produces a coords message for the canvas.
  • hexCharToDec easyflow/hexCharToDec converts a hexadecimal character to a decimal number.
  • hexColor hexColor accepts a hexadecimal color code and outputs its decimal representation, suitable for use in Pd color messages.
  • hold hold linearly interpolates an input number down to 0 over a specified hold time in milliseconds.
  • hsb hsb appears to be related to hue, saturation, and brightness, but this help patch only refers to hueSaturationBrightness and provides no behavioral or usage details.
  • hsl The hsl help patch does not document the object's behavior directly; it only refers to the help file for hueSaturationLuminosity.
  • hueSaturationBrightness hueSaturationBrightness outputs a number representing a color in the HSB color space, with hue, saturation, and brightness each ranging from 0 to 255.
  • hueSaturationLuminosity hueSaturationLuminosity outputs a numeric representation of a color in the HSL color space, with hue, saturation, and luminosity each ranging from 0 to 255.
  • ifValue ifValue conditionally passes incoming data through its left side according to a value.
  • iterator iterator provides step-by-step iteration through a list, inspired by Java’s Iterator interface, and outputs a bang when iteration is complete.
  • keepMax keepMax outputs the largest number received since initialization.
  • keepMin keepMin outputs the smallest number received since initialization or the last bang on its cold inlet.
  • keyChange keyChange works like keyname, but outputs only when the keyboard state changes, making it useful for suppressing repeated output while a key is held down.
  • l2r The help patch appears to identify l2r with left2right, although its text inconsistently says “r2l.” It provides no further evidence about the object’s behavior, purpose, or usage..
  • labelCnv labelCnv creates a colored rectangle with a variable size, intended for use as a visual label or canvas.
  • labelCnvF labelCnvF is a factory object that creates a colored canvas with label text and automatically resizes the canvas as needed.
  • left2right left2right takes a list and outputs its elements from left to right.
  • listCollect listCollect is an abstraction for reconstructing a list from elements produced while processing an original list.
  • listCompare listCompare compares two lists for equality.
  • listConcatenate listConcatenate concatenates the elements of an incoming message into a single symbol, for example turning list c o o l into cool.
  • listIntersection listIntersection calculates the intersection of two Pd lists, whose elements are floats or symbols.
  • listMax listMax outputs the maximum numeric value in a list.
  • listMin listMin outputs the minimum numeric value in a list, making it useful for finding a list’s smallest number.
  • listMoses listMoses routes an incoming list through either its left or right outlet.
  • listOperator listOperator applies a binary operator to each element of a list.
  • listPick listPick picks elements from a previously stored list.
  • listRandom listRandom takes a list and outputs one of its elements.
  • listRemove listRemove removes the n-th element from an input list; for example, listRemove 3 targets the third element.
  • listReplace listReplace replaces every occurrence of a specified element in a list.
  • listReplaceAtIndex listReplaceAtIndex is an abstraction that substitutes an item at a specified index in a list.
  • listReverse listReverse takes a list and outputs its elements in reverse order.
  • listSearch listSearch searches a list for a specified element and outputs the indexes of all its occurrences.
  • listSearchAndRemove listSearchAndRemove removes every occurrence of a specified element from a list.
  • listSearchIterator listSearchIterator searches a list for occurrences of a specified value and outputs -1 when none is found.
  • listShuffle listShuffle randomizes the positions of elements in a list.
  • listSplitOnChar listSplitOnChar splits a list wherever a given symbol occurs and outputs the resulting parts.
  • listToSymbol easyflow/listToSymbol converts a list into a symbol while preserving spaces by adding the special blank character.
  • listUniques listUniques removes duplicate elements from a list, leaving only unique elements.
  • listsOfLength listsOfLength passes through lists whose length matches the desired length.
  • lowerCase easyflow/lowerCase converts an input symbol to lowercase, providing a simple way to normalize symbol capitalization.
  • map easyflow/map converts a stream of numbers from one numeric range to another.
  • map~ easyflow/map~ converts a signal from one range to another, such as mapping an osc~ signal from -1–1 to 0–255.
  • member The member help patch does not document member directly; it only refers the reader to the help file for the public object.
  • method The help patch does not provide enough information to describe method; it only directs the reader to the help file for the public object.
  • methodInput The help patch provides no direct documentation for methodInput; it only refers users to the help file for the public object.
  • methodOutput The available help patch does not document methodOutput directly; it only instructs the user to see the help file for the public object.
  • metrosnap~ metrosnap~ conveniently combines snapshot~ with a metro to periodically sample a signal.
  • mixAB mixAB provides a slider for mixing between two streams, as demonstrated by blending two random melodies.
  • mixAB~ mixAB~ provides equal-power panning with a built-in GUI.
  • nearest nearest rounds an input float to the nearest integer, providing an easy-to-remember alternative to an equivalent expression.
  • numberSymbol numberSymbol converts numbers to symbols, allowing numeric values and symbols to be mixed in the same data stream.
  • numbersBetween numbersBetween partitions a numeric stream according to whether each value is within, below, or above a given range.
  • objAccess objAccess is documented indirectly: its help patch instructs users to consult the help file for the public object.
  • passNthElement passNthElement takes a list and outputs only the element at a selected index, serving a purpose similar to list-abs/list-nth and listPick.
  • passPair passPair takes a list and passes its nth element together with the following element, providing access to adjacent pairs.
  • popLastN popLastN passes a list without its last N elements, providing a way to remove elements from the end of a list.
  • printHere printHere acts like an on-patch console for displaying incoming messages, resizing as needed and showing up to eight lines by default.
  • private The help patch does not provide enough information to describe private; it only directs the user to the help file for the public object.
  • public public exposes an abstraction’s public member variables and methods so they can be accessed wirelessly by identifier through objects such as getMember, setMember, and callMethod.
  • r2l r2l is an abbreviation for right2left.
  • randomList randomList takes a number and outputs a list of random values.
  • redGreenBlue redGreenBlue outputs an integer representing an RGB color from red, green, and blue values.
  • rgb rgb is an abbreviation for redGreenBlue.
  • right2left right2left takes a list and outputs its elements, apparently iterating from right to left as indicated by its name and the related left2right object.
  • roundIfVeryClose roundIfVeryClose rounds a float to the nearest integer when its difference from that integer is below a configurable threshold, making it useful for cleaning up numbers shown in displays.
  • searchIncomingLists searchIncomingLists searches an incoming list for a specified element and outputs the indexes of all its occurrences.
  • searchIncomingStrings searchIncomingStrings searches incoming strings for configured substring needles and outputs a list of the indexes where matches are found, or -1 when none are found.
  • setMember The setMember help patch does not document the object directly; it instructs the user to see the help file for public.
  • spigot~ spigot~ works like spigot for signals, using a fade-in or fade-out instead of immediately blocking the signal when switched on or off.
  • stringLength stringLength is a shorthand object for getting the length of a string.
  • stringReplace stringReplace replaces every instance of a given substring in a string.
  • stringSearch stringSearch finds occurrences of one or more needle strings within a haystack string and outputs a list of the matching indexes, or -1 when no match is found.
  • sublist sublist extracts a sublist between specified start and end indexes.
  • sublistIterator sublistIterator iterates over an input list as sublists of predefined sizes, making it useful for stepping through grouped fields such as a person’s name and address.
  • substring substring takes a symbol and outputs the portion selected by two 0-based indexes, with the first index inclusive and the second exclusive.
  • switch2 switch2 selects which of its two inlets is passed to its output.
  • switch2~ switch2~ routes its audio input to either its left or right outlet, like easyflow/switch but for audio.
  • switch3 The help patch provides no description of switch3 itself; it only refers the reader to another help file and lists easyflow-info and switch2.
  • switch3~ The available help patch does not describe switch3~; it only refers the reader to another help file and lists easyflow-info and switch2~.
  • switch4 The provided help patch does not contain enough information to describe switch4; it only refers to another help file and lists easyflow-info and switch2.
  • switch4~ The switch4~ help patch provides no behavioral documentation and only directs the reader to another help file.
  • switch5 The switch5 help patch provides no description or usage example for switch5; it only refers to another help file and lists easyflow-info and switch2.
  • switch5~ The provided help patch does not contain enough information to describe switch5~.
  • switch6 The available help patch does not describe switch6; it only refers the reader to another help file and lists easyflow-info and switch2.
  • switch6~ The switch6~ help patch does not document the object’s behavior directly; it only refers the reader to another help file.
  • switch7 The available help patch does not describe the behavior or purpose of switch7; it only refers the reader to another help file.
  • switch7~ The available help patch does not document switch7~; it only directs the reader to another help file and mentions easyflow-info and switch2~.
  • symbolSplit symbolSplit splits a symbol at a specified character.
  • symbolToFloat symbolToFloat converts numeric symbols into floats.
  • symbolize symbolize is a shortcut for adding a symbol selector to messages.
  • tab+ tab+ provides a short way to increment values in a Pd table.
  • tab- tab- provides a short way to decrement values in a Pd table.
  • tabCopy tabCopy copies one array into another and resizes the destination array.
  • tabReverse tabReverse reverses the contents of an array, providing an in-place way to invert its element order.
  • tabReverseCopy tabReverseCopy reverses the contents of one array and writes the result to another array.
  • unitTesting unitTesting runs unit tests on a Pd object by comparing its actual output with the expected output.
  • upperCase upperCase converts an input symbol to uppercase, providing a simple way to normalize symbol capitalization.
  • v++ v++ is a shorthand for value++.
  • v-- v-- is a shorthand for the value-- object.
  • value++ value++ provides a shorthand post-increment operator for a Pd value.
  • value-- value-- provides a post-decrement operator as shorthand for working with a Pd value.
  • valueOp valueOp reads two named value objects and performs a specified operation on their stored values.
  • valueOpSet valueOpSet reads two value objects, performs the specified operation on their values, and outputs the result.
  • weightedRandom weightedRandom takes a list of alternating elements and weights, then outputs a random element according to those weights.