[PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids

Pagano, Patrick pat at digitalworlds.ufl.edu
Mon Aug 3 22:07:18 CEST 2015


How do i get them into a text file? 
i want them so i can use them later w/o having to grab them from the screen

Patrick Pagano B.S, M.F.A
Audio and Projection Design Faculty
Digital Worlds Institute
University of Florida, USA
(352)294-2020

________________________________________
From: Chris McCormick <chris at mccormick.cx>
Sent: Monday, August 3, 2015 12:09 AM
To: Pagano, Patrick; pd-list at iem.at
Subject: Re: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids

Hi,

On 02/08/15 03:48, Pagano, Patrick wrote:
> i need to know how to generate a list that looks like this
> so it's an 8X12 matrix of values between 0 and 255
> is there a simple way in pure data that i can create such an animal?

The following lol-script* will do this:

        lol loadbng;
        range 12;
        range 8;
        bng;
        random 255;
        gathern 8;

This will output 12 lists of 8 random integers between 0 and 255.

If you want a single list with all of the values add the following
object to the bottom of the script:

        gathern 12;

* lolPd = https://github.com/chr15m/lolPd

Cheers,

Chris.

--
http://mccormick.cx/



More information about the Pd-list mailing list