-
Notifications
You must be signed in to change notification settings - Fork 0
/
fillBuffer_whitenoise.gendsp
59 lines (57 loc) · 1.44 KB
/
fillBuffer_whitenoise.gendsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 0,
"revision" : 2,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "dsp.gen",
"rect" : [ 165.0, 480.0, 543.0, 160.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 2,
"gridsize" : [ 18.0, 18.0 ],
"gridsnaponopen" : 2,
"objectsnaponopen" : 0,
"statusbarvisible" : 2,
"toolbarvisible" : 1,
"lefttoolbarpinned" : 0,
"toptoolbarpinned" : 0,
"righttoolbarpinned" : 0,
"bottomtoolbarpinned" : 0,
"toolbars_unpinned_last_save" : 0,
"tallnewobj" : 0,
"boxanimatetime" : 200,
"enablehscroll" : 1,
"enablevscroll" : 0,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"style" : "",
"subpatcher_template" : "Akiyuki_MaxTemplate",
"boxes" : [ {
"box" : {
"code" : "Buffer buf(\"buffername\");//buffer~ \"buffername\" reference\r\nlen = dim(buf);//buffer length in samples\r\n\r\nfor (i = 0; i < len; i += 1) {\r\n\tpoke(buf, noise(), i);\r\n}",
"fontface" : 0,
"fontname" : "Lucida Console",
"fontsize" : 12.0,
"id" : "obj-6",
"maxclass" : "codebox",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 18.0, 18.0, 504.0, 126.0 ]
}
}
],
"lines" : [ ],
"autosave" : 0
}
}