# zl

## List to 3plane 2D matrix

This example shows a way to divide your list into three-item groups with zl.group, then put each of those values into one of the three planes of jit.matrix.

## Upsampling number lists with Jitter

The term "upsample" is used in digital audio and video to mean increasing the sampling resolution of a sound or an image. More generally the term can be used to mean increasing the size of a set of numbers by some factor, keeping the original numbers and using interpolation to determine the values of the new intermediate numbers.

## Use floats with poly

To use floating point numbers with the poly object separate the integer portion and the fractional portion. Then recombine them after the poly object, as in the example.

## Extract Indices

In the first example, you can retrieve specific indices from a list using zl lookup.

The second example lets you input two values to be set as a maximum and minimum value of a range, and output a series of integers in that range.

## Fitting text to a window

This example shows you how you can implement twitter posts into a video without using JavaScript. There is also some information about text wrapping in the forum if you're interested.

## Interweave Lists

While zl lace interweaves two lists, zl group allows you to interweave more than two lists. Retrieve the length of the list using zl, send it to uzi to retrieve the data in each index stored in the coll files, and pack them all to be interweaved by zl group

## Initialize a multislider with a sine function

Question: How does one fill a multislider of 512 sliders (range -1. to 1.) with a sine wave?

## Interleave two lists

If you have two lists that you want to combine, you can do so using zl object with an argument lace. However, it will only output a list that is twice as long as the shorter of the two lists. Hence, it's best if the two lists are the same length.

## Generate MIDI notes

Here are three ways of generating MIDI notes. Admittedly they don't result in very interesting music, but they show ways how numbers can be converted for usage as pitch information.