• No results found

all values in coll will be reflected in the jit.cellblock object, also when coll is modified with a new value

freesoundsearch external (non-comercial extension object developed by Nao Tokui) allows to search and preview an audio file from Freesound, a collaborative database of Creative Commons licensed sounds. Download it from here:

http

:// www . sonasphere . com / blog /? p =1201

Once installed, you can recall it as any other object pressing n in an empty space of your patch:

● sending login to the inlet with arguments username and password sets the authentication

● when login is correct, the 3rd outlet sends a 1

● sending search with argument “search query terms” (with quotation marks) sets the seach text

● min_duration followed by a float sets the minimum duration of the sample

● max_duration followed by a float sets the maximum duration of the sample

● the same with min_bitrate, min_bitdepth, min_samplerate

● messages available to specify the search target (adding 0 or 1):

○ search_descriptions

○ search_tags

○ search_filenames

○ search_usernames

● download_dir and the path (beware: you must specify a UNIX path instead of a Max path)

○ "/Users/bodsiin/Experiments" - good!

○ "Snow Leopard:/Users/bodsiin/Experiments" not good

● search result is available in the left outlet

● when search is finished, a bang is sent to the 4th outlet jit.uldl object uploads and downloads from internet

jit.str.regexp perform regular expression analysis with Jitter matrices. As an application, it can parse an HTML previously downloaded with jit.uldl to extract for example a gif file.

conversors

fromsymbol transforms a symbol into individual numbers or messages.

tosymbol converts messages, numbers, or lists to a single symbol.

sampstoms~ converts time from samples to milliseconds and mstosamps~ the opposite.

sprintf combines symbols, organize lists of numbers, or format messages or menu items.

regexp object searches for in the string or text sent to it and can perform several operations:

patcher or p object creates a subpatch that lives in the patcher object.

● To see the content of the patcher double-click it

● The number of inlets in a patcher object is determined by the number of inlet objects contained within its subpatch window.

● The messaging which the patcher object can handle depends upon the patch you embed within it.

● apple + shift + e encapsulates selected elements in a patch object.

● apple + shift + d decapsulates selected patch object.

poly~ object is similar to patcher but allows one or more instances (copies) of a patcher to be loaded.

● The patcher filename and the number of instances are arguments.

● The maximum number of instances is 1023.

● You can have multiple in and out object with the same index.

zl is a list processing object, with the argument delace de-interlieves a list. For example, given the list “a 6 d 6 f 9 n 3 j 6” in the left inlet, would send the list with the odd elements “a d f n j” to the left inlet and the list with the even elements “6 6 9 3 6” to the right inlet.

ftom object converts frequency in Hz to MIDI pitch or note number (0-127).

mtof object converts MIDI note number to Hz

Both ftom and mtof have signal equivalents ftom~ and mtof~

atodb object converts linear amplitude (0. to 1.) to decibels (-inf to 0.) dbtoa objects converts decibels to amplitude

iter object breaks up a list into a series of numbers.

scale object maps a given range of values into a different one.

● scale 0 127 -1. -1. accepts in the left inlet any number (integer) from 0 to 127 and transforms it in a float between -1. and 1. in a linear way

● The 5th argument that scale can take is exponential base value (default 1 means linear)

● If all 4 first arguments are integers, the output will be integer, otherwise float

jit.rgb2luma object converts the RGB video signal that receives in the inlet to monochrome video signal that sends to the left outlet.

function object transforms values from a certain range to another following a breakpoint injective function, so f(x)≠f(x’) for all x, x’ that belongs to the domain (x axis)

● to add a new point, just click (in locked mode) on the function object canvas

● sending a message with a list of two values, adds the point (first value=x, second value=y)

● sending clear message to the inlet we erase the function

● sending dump message to the inlet sends all points out dump outlet (third outlet), optional argument names receive object

● listdump message send all points out dump outlet as one list, optional argument names receive object

● float in the left inlet produces interpolated y for this x at left outlet

● bang in the left inlet outputs all breakpoints in line format (initial value followed by a list of deltatime-value pairs) in the second outlet

● bang in the 4th outlet is received when function is changed by mouse action

notein object converts received MIDI notes (for example played with a MIDI keyboard) to numbers where the pitch or frequency of the note (range 0-127) is sent to the first outlet, the velocity which is more or less the volume of the note (range 0-127) is sent to the second outlet and the MIDI channel is sent to the third outlet.

operators

arithmetic

You can flip the order of the operation with the character !

sumlist is a Jasch external that calculates the sum of a list.

Note: download Jasch externals from http :// www . jasch . ch / dl /

expr object evaluates an expression involving the first (up to) nine inlets.

● Inlets can receive variables or constants: integers ($i1-$i9), floats ($f1-$f9) or symbols ($s1-$s9)

● The operators are +, -, *, /, &, |, &&, ||, !, ~, and ^

vexpr object behaves like expr but we can operate with lists also:

when scalarmode 1 is sent to vexpr, input of length 1 is applied to each element of the other lists:

logic

Evaluating if two numbers are equal:

The same is valid for not equal, greater, greater or equal and so on...

Logical AND OR:

statistics

mean finds the running average of a stream of incoming numbers.

● stream input can be numbers or floats

● when a list is received, past numbers are cleared and gives average of list

● average float is received in left outlet

● right outlet keeps track of the number of elements considered in the average computation

Related documents