<div dir="ltr">interesting!</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 7, 2015 at 5:45 PM,  <span dir="ltr"><<a href="mailto:01ivier@labomedia.net" target="_blank">01ivier@labomedia.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Great job !<br>
<br>
°1<div class="HOEnZb"><div class="h5"><br>
<br>
Le 07.07.2015 09:24, Chris McCormick a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi!<br>
<br>
Undoing decades of hard work by Miller, "lol" is a tiny domain-specific<br>
language implemented in vanilla Pd, saving wrists everywhere by enabling<br>
less mousey patching.<br>
<br>
<a href="https://github.com/chr15m/lolPd" rel="noreferrer" target="_blank">https://github.com/chr15m/lolPd</a><br>
<br>
lol enables the quick creation of vertical-pipeline patches for<br>
accomplishing the types of tasks that are easy in functional languages<br>
and languages like Python with e.g. list-comprehensions.<br>
<br>
For example, here is a lol one-liner that will output 16 random floats<br>
between 0 and 1 - enter the following into an empty object box:<br>
<br>
[lol range 16;<br>
bng;<br>
random 100;<br>
/ 100;]<br>
<br>
Hook that up to print statement and bang the input.<br>
<br>
Here's another contrived example for generating 10 integers counting<br>
upward, starting at whatever number is passed in:<br>
<br>
[23(<br>
 |<br>
[lol tee value;<br>
range 10;<br>
concat value;<br>
expr $f1 + $f2;]<br>
<br>
Note that you can use native Pd objects such as [expr] as above wherever<br>
they are compatible, which turns out to be quite often as Pd will<br>
generally unpack lists sent to the left input for you.<br>
<br>
Here is an example that will output 16 midi controller values the moment<br>
it is created, and you can also pass in a number to generate a different<br>
number of values on request (e.g. 32 here):<br>
<br>
[32(<br>
 |<br>
[lol tee count;<br>
loadbng;<br>
concat count;<br>
default 16;<br>
range;<br>
bng;<br>
random 128;]<br>
<br>
I made this because in recent times I have been doing a lot of<br>
algorithmic sequencing and it is laborious to make patches that generate<br>
sequences of numbers with a mouse.<br>
<br>
Please feel free to contribute any "pipeline" objects to the project<br>
that make your life easier!<br>
<br>
Have fun!<br>
<br>
Cheers,<br>
<br>
Chris.<br>
</blockquote>
<br>
<br></div></div><div class="HOEnZb"><div class="h5">
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div>