Skip to content

Commit 824231a

Browse files
committed
v0.0.1
0 parents  commit 824231a

File tree

1,989 files changed

+361974
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,989 files changed

+361974
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
project(mqtt-client-object)
2+
3+
add_subdirectory(modules/euclidean_pattern)
4+

README.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Very simple euclidean pattern generator for Max and Pure Data
2+
3+
usage:
4+
5+
[make_pattern ones zeros (
6+
7+
generates patterns that contains 0 and 1:
8+
[make_pattern 3 4 ( -> 1 0 0 1 0 1 0
9+
10+
[make_fractions ones zeros (
11+
generates time values (0..1) when [1] elements appear in sequence
12+
13+
[make_fractions 3 4 ( -> 0. 0.428571 0.714286
14+
15+
Alex Nadzharov, 2021
16+
MIT
17+
18+
19+
build:
20+
./scripts/build-osx.sh from repository dir
Lines changed: 305 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,305 @@
1+
{
2+
"patcher" : {
3+
"fileversion" : 1,
4+
"appversion" : {
5+
"major" : 7,
6+
"minor" : 3,
7+
"revision" : 4,
8+
"architecture" : "x64",
9+
"modernui" : 1
10+
}
11+
,
12+
"rect" : [ 223.0, 236.0, 823.0, 510.0 ],
13+
"bglocked" : 0,
14+
"openinpresentation" : 0,
15+
"default_fontsize" : 12.0,
16+
"default_fontface" : 0,
17+
"default_fontname" : "Arial",
18+
"gridonopen" : 1,
19+
"gridsize" : [ 15.0, 15.0 ],
20+
"gridsnaponopen" : 1,
21+
"objectsnaponopen" : 1,
22+
"statusbarvisible" : 2,
23+
"toolbarvisible" : 1,
24+
"lefttoolbarpinned" : 0,
25+
"toptoolbarpinned" : 0,
26+
"righttoolbarpinned" : 0,
27+
"bottomtoolbarpinned" : 0,
28+
"toolbars_unpinned_last_save" : 0,
29+
"tallnewobj" : 0,
30+
"boxanimatetime" : 200,
31+
"enablehscroll" : 1,
32+
"enablevscroll" : 1,
33+
"devicewidth" : 0.0,
34+
"description" : "",
35+
"digest" : "",
36+
"tags" : "",
37+
"style" : "",
38+
"subpatcher_template" : "",
39+
"boxes" : [ {
40+
"box" : {
41+
"id" : "obj-17",
42+
"linecount" : 18,
43+
"maxclass" : "comment",
44+
"numinlets" : 1,
45+
"numoutlets" : 0,
46+
"patching_rect" : [ 510.0, 240.0, 285.0, 248.0 ],
47+
"style" : "",
48+
"text" : "Very simple euclidean pattern generator for Max andPpure Data\n\nusage:\n\n[make_pattern ones zeros ( \t\n\ngenerates patterns that contains 0 and 1:\n[make_pattern 3 4 ( -> 1 0 0 1 0 1 0\n\n[make_fractions ones zeros (\ngenerates time values (0..1) when [1] elements appear in sequence\n\n[make_fractions 3 4 ( -> 0. 0.428571 0.714286\n\nAlex Nadzharov, 2021\nMIT License\n"
49+
}
50+
51+
}
52+
, {
53+
"box" : {
54+
"id" : "obj-15",
55+
"maxclass" : "comment",
56+
"numinlets" : 1,
57+
"numoutlets" : 0,
58+
"patching_rect" : [ 405.0, 107.0, 75.0, 20.0 ],
59+
"style" : "",
60+
"text" : "total length"
61+
}
62+
63+
}
64+
, {
65+
"box" : {
66+
"id" : "obj-13",
67+
"maxclass" : "comment",
68+
"numinlets" : 1,
69+
"numoutlets" : 0,
70+
"patching_rect" : [ 330.0, 30.0, 165.0, 20.0 ],
71+
"style" : "",
72+
"text" : "more simple usage:"
73+
}
74+
75+
}
76+
, {
77+
"box" : {
78+
"id" : "obj-9",
79+
"maxclass" : "multislider",
80+
"numinlets" : 1,
81+
"numoutlets" : 2,
82+
"orientation" : 0,
83+
"outlettype" : [ "", "" ],
84+
"parameter_enable" : 0,
85+
"patching_rect" : [ 45.0, 354.0, 279.0, 119.0 ],
86+
"presentation_rect" : [ 245.0, 351.0, 0.0, 0.0 ],
87+
"setminmax" : [ 0.0, 1.0 ],
88+
"setstyle" : 1,
89+
"size" : 4,
90+
"style" : ""
91+
}
92+
93+
}
94+
, {
95+
"box" : {
96+
"id" : "obj-8",
97+
"maxclass" : "multislider",
98+
"numinlets" : 1,
99+
"numoutlets" : 2,
100+
"outlettype" : [ "", "" ],
101+
"parameter_enable" : 0,
102+
"patching_rect" : [ 45.0, 285.0, 279.0, 51.0 ],
103+
"setminmax" : [ 0.0, 1.0 ],
104+
"setstyle" : 1,
105+
"size" : 16,
106+
"style" : ""
107+
}
108+
109+
}
110+
, {
111+
"box" : {
112+
"id" : "obj-5",
113+
"maxclass" : "newobj",
114+
"numinlets" : 2,
115+
"numoutlets" : 1,
116+
"outlettype" : [ "" ],
117+
"patching_rect" : [ 334.0, 149.0, 56.0, 22.0 ],
118+
"style" : "",
119+
"text" : "pack 0 0"
120+
}
121+
122+
}
123+
, {
124+
"box" : {
125+
"id" : "obj-4",
126+
"maxclass" : "newobj",
127+
"numinlets" : 2,
128+
"numoutlets" : 1,
129+
"outlettype" : [ "int" ],
130+
"patching_rect" : [ 350.0, 107.0, 35.0, 22.0 ],
131+
"style" : "",
132+
"text" : "!- 16"
133+
}
134+
135+
}
136+
, {
137+
"box" : {
138+
"id" : "obj-2",
139+
"maxclass" : "slider",
140+
"numinlets" : 1,
141+
"numoutlets" : 1,
142+
"outlettype" : [ "" ],
143+
"parameter_enable" : 0,
144+
"patching_rect" : [ 334.0, 60.0, 161.0, 23.0 ],
145+
"size" : 17.0,
146+
"style" : ""
147+
}
148+
149+
}
150+
, {
151+
"box" : {
152+
"id" : "obj-12",
153+
"maxclass" : "message",
154+
"numinlets" : 2,
155+
"numoutlets" : 1,
156+
"outlettype" : [ "" ],
157+
"patching_rect" : [ 190.0, 186.0, 125.0, 22.0 ],
158+
"style" : "",
159+
"text" : "make_fractions $1 $2"
160+
}
161+
162+
}
163+
, {
164+
"box" : {
165+
"id" : "obj-10",
166+
"maxclass" : "newobj",
167+
"numinlets" : 1,
168+
"numoutlets" : 1,
169+
"outlettype" : [ "int" ],
170+
"patching_rect" : [ 190.0, 221.0, 106.0, 22.0 ],
171+
"style" : "",
172+
"text" : "euclidean_pattern"
173+
}
174+
175+
}
176+
, {
177+
"box" : {
178+
"contdata" : 1,
179+
"id" : "obj-7",
180+
"maxclass" : "multislider",
181+
"numinlets" : 1,
182+
"numoutlets" : 2,
183+
"outlettype" : [ "", "" ],
184+
"parameter_enable" : 0,
185+
"patching_rect" : [ 45.0, 60.0, 95.0, 76.0 ],
186+
"setminmax" : [ 0.0, 16.0 ],
187+
"settype" : 0,
188+
"size" : 2,
189+
"style" : ""
190+
}
191+
192+
}
193+
, {
194+
"box" : {
195+
"id" : "obj-6",
196+
"maxclass" : "message",
197+
"numinlets" : 2,
198+
"numoutlets" : 1,
199+
"outlettype" : [ "" ],
200+
"patching_rect" : [ 45.0, 186.0, 117.0, 22.0 ],
201+
"style" : "",
202+
"text" : "make_pattern $1 $2"
203+
}
204+
205+
}
206+
, {
207+
"box" : {
208+
"id" : "obj-1",
209+
"maxclass" : "newobj",
210+
"numinlets" : 1,
211+
"numoutlets" : 1,
212+
"outlettype" : [ "int" ],
213+
"patching_rect" : [ 45.0, 221.0, 106.0, 22.0 ],
214+
"style" : "",
215+
"text" : "euclidean_pattern"
216+
}
217+
218+
}
219+
],
220+
"lines" : [ {
221+
"patchline" : {
222+
"destination" : [ "obj-8", 0 ],
223+
"source" : [ "obj-1", 0 ]
224+
}
225+
226+
}
227+
, {
228+
"patchline" : {
229+
"destination" : [ "obj-9", 0 ],
230+
"midpoints" : [ 199.5, 351.0, 54.5, 351.0 ],
231+
"source" : [ "obj-10", 0 ]
232+
}
233+
234+
}
235+
, {
236+
"patchline" : {
237+
"destination" : [ "obj-10", 0 ],
238+
"source" : [ "obj-12", 0 ]
239+
}
240+
241+
}
242+
, {
243+
"patchline" : {
244+
"destination" : [ "obj-4", 0 ],
245+
"order" : 0,
246+
"source" : [ "obj-2", 0 ]
247+
}
248+
249+
}
250+
, {
251+
"patchline" : {
252+
"destination" : [ "obj-5", 0 ],
253+
"order" : 1,
254+
"source" : [ "obj-2", 0 ]
255+
}
256+
257+
}
258+
, {
259+
"patchline" : {
260+
"destination" : [ "obj-5", 1 ],
261+
"source" : [ "obj-4", 0 ]
262+
}
263+
264+
}
265+
, {
266+
"patchline" : {
267+
"destination" : [ "obj-7", 0 ],
268+
"midpoints" : [ 343.5, 181.0, 212.0, 181.0, 212.0, 49.0, 54.5, 49.0 ],
269+
"source" : [ "obj-5", 0 ]
270+
}
271+
272+
}
273+
, {
274+
"patchline" : {
275+
"destination" : [ "obj-1", 0 ],
276+
"source" : [ "obj-6", 0 ]
277+
}
278+
279+
}
280+
, {
281+
"patchline" : {
282+
"destination" : [ "obj-12", 0 ],
283+
"order" : 0,
284+
"source" : [ "obj-7", 0 ]
285+
}
286+
287+
}
288+
, {
289+
"patchline" : {
290+
"destination" : [ "obj-6", 0 ],
291+
"order" : 1,
292+
"source" : [ "obj-7", 0 ]
293+
}
294+
295+
}
296+
],
297+
"dependency_cache" : [ {
298+
"name" : "euclidean_pattern.mxo",
299+
"type" : "iLaX"
300+
}
301+
],
302+
"autosave" : 0
303+
}
304+
305+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>English</string>
7+
<key>CFBundleExecutable</key>
8+
<string>euclidean_pattern</string>
9+
<key>CFBundleGetInfoString</key>
10+
<string></string>
11+
<key>CFBundleIconFile</key>
12+
<string></string>
13+
<key>CFBundleIdentifier</key>
14+
<string></string>
15+
<key>CFBundleInfoDictionaryVersion</key>
16+
<string>6.0</string>
17+
<key>CFBundleLongVersionString</key>
18+
<string></string>
19+
<key>CFBundleName</key>
20+
<string></string>
21+
<key>CFBundlePackageType</key>
22+
<string>APPL</string>
23+
<key>CFBundleShortVersionString</key>
24+
<string></string>
25+
<key>CFBundleSignature</key>
26+
<string>????</string>
27+
<key>CFBundleVersion</key>
28+
<string></string>
29+
<key>CSResourcesFileMapped</key>
30+
<true/>
31+
<key>NSHumanReadableCopyright</key>
32+
<string></string>
33+
</dict>
34+
</plist>
Binary file not shown.

0 commit comments

Comments
 (0)