Skip to content

Commit

Permalink
[Docs] BufNMF Translation (flucoma#229)
Browse files Browse the repository at this point in the history
* grid and format

* WIP

* translation of nmf sc

* remove nooiseplay vocoder

* cleanup small errors

* make channel offset permanent

* vocoder pfft patch

* add back vocoder example with tweaks
  • Loading branch information
James Bradbury authored Jun 1, 2022
1 parent e9b91b0 commit fc500e3
Show file tree
Hide file tree
Showing 2 changed files with 3,827 additions and 9,680 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 7,
"major" : 8,
"minor" : 3,
"revision" : 4,
"architecture" : "x86",
"revision" : 0,
"architecture" : "x64",
"modernui" : 1
}
,
"rect" : [ 460.0, 328.0, 635.0, 411.0 ],
"classnamespace" : "box",
"rect" : [ 650.0, 463.0, 635.0, 501.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
Expand All @@ -36,15 +37,64 @@
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-11",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 475.0, 107.0, 72.0, 22.0 ],
"text" : "prepend set"
}

}
, {
"box" : {
"id" : "obj-5",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 401.0, 107.0, 72.0, 22.0 ],
"text" : "prepend set"
}

}
, {
"box" : {
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 3,
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 401.0, 74.0, 167.0, 22.0 ],
"text" : "route bases activations"
}

}
, {
"box" : {
"id" : "obj-1",
"linecount" : 2,
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 167.0, 25.0, 253.0, 35.0 ],
"text" : "patcherargs @bases help.nmf.bases.2 @activations help.nmf.activations.2"
}

}
, {
"box" : {
"id" : "obj-27",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 78.0, 325.0, 29.5, 22.0 ],
"style" : "",
"patching_rect" : [ 78.0, 407.0, 29.5, 22.0 ],
"text" : "*~"
}

Expand All @@ -56,8 +106,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 21.0, 325.0, 29.5, 22.0 ],
"style" : "",
"patching_rect" : [ 21.0, 407.0, 29.5, 22.0 ],
"text" : "*~"
}

Expand All @@ -69,8 +118,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 135.0, 237.0, 199.0, 22.0 ],
"style" : "",
"patching_rect" : [ 135.0, 363.0, 199.0, 22.0 ],
"text" : "*~"
}

Expand All @@ -82,9 +130,8 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 315.0, 201.0, 298.0, 22.0 ],
"style" : "",
"text" : "index~ bufnmf_help_act2"
"patching_rect" : [ 315.0, 323.0, 298.0, 22.0 ],
"text" : "index~ #0_activation"
}

}
Expand All @@ -95,8 +142,7 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 279.0, 166.0, 20.0, 22.0 ],
"style" : "",
"patching_rect" : [ 255.0, 288.0, 20.0, 22.0 ],
"text" : "t i"
}

Expand All @@ -108,9 +154,8 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 135.0, 201.0, 163.0, 22.0 ],
"style" : "",
"text" : "index~ bufnmf_help_bases2"
"patching_rect" : [ 135.0, 323.0, 107.0, 22.0 ],
"text" : "index~ #0_base"
}

}
Expand All @@ -121,8 +166,11 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 279.0, 135.0, 30.0, 22.0 ],
"style" : "",
"patching_rect" : [ 255.0, 257.0, 30.0, 22.0 ],
"saved_object_attributes" : {
"attr_comment" : ""
}
,
"text" : "in 2"
}

Expand All @@ -134,8 +182,7 @@
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "bang", "int" ],
"patching_rect" : [ 412.0, 104.0, 201.0, 22.0 ],
"style" : "",
"patching_rect" : [ 412.0, 208.0, 201.0, 22.0 ],
"text" : "t b i"
}

Expand All @@ -147,8 +194,7 @@
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 412.0, 135.0, 83.0, 22.0 ],
"style" : "",
"patching_rect" : [ 412.0, 248.0, 83.0, 22.0 ],
"text" : "getattr samps"
}

Expand All @@ -160,9 +206,8 @@
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "float", "bang" ],
"patching_rect" : [ 444.0, 163.0, 147.0, 22.0 ],
"style" : "",
"text" : "buffer~ bufnmf_help_act2"
"patching_rect" : [ 444.0, 288.0, 133.0, 22.0 ],
"text" : "buffer~ #0_activation"
}

}
Expand All @@ -173,8 +218,11 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 412.0, 76.0, 30.0, 22.0 ],
"style" : "",
"patching_rect" : [ 412.0, 175.0, 30.0, 22.0 ],
"saved_object_attributes" : {
"attr_comment" : ""
}
,
"text" : "in 3"
}

Expand All @@ -186,8 +234,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 315.0, 166.0, 116.0, 22.0 ],
"style" : "",
"patching_rect" : [ 315.0, 288.0, 116.0, 22.0 ],
"text" : "%~"
}

Expand All @@ -199,8 +246,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 315.0, 135.0, 32.0, 22.0 ],
"style" : "",
"patching_rect" : [ 315.0, 248.0, 32.0, 22.0 ],
"text" : "+=~"
}

Expand All @@ -212,8 +258,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 315.0, 106.0, 35.0, 22.0 ],
"style" : "",
"patching_rect" : [ 315.0, 208.0, 35.0, 22.0 ],
"text" : "<~ 0"
}

Expand All @@ -225,8 +270,7 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 315.0, 76.0, 44.0, 22.0 ],
"style" : "",
"patching_rect" : [ 315.0, 175.0, 44.0, 22.0 ],
"text" : "delta~"
}

Expand All @@ -239,7 +283,6 @@
"numoutlets" : 3,
"outlettype" : [ "signal", "signal", "signal" ],
"patching_rect" : [ 21.0, 25.0, 133.0, 22.0 ],
"style" : "",
"text" : "fftin~ 1"
}

Expand All @@ -250,19 +293,43 @@
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 0,
"patching_rect" : [ 21.0, 373.0, 76.0, 22.0 ],
"style" : "",
"patching_rect" : [ 21.0, 444.0, 76.0, 22.0 ],
"text" : "fftout~ 1"
}

}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-1", 1 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-15", 0 ],
"source" : [ "obj-10", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-13", 0 ],
"midpoints" : [ 484.5, 162.0, 399.0, 162.0, 399.0, 279.0, 453.5, 279.0 ],
"order" : 0,
"source" : [ "obj-11", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-22", 0 ],
"midpoints" : [ 484.5, 162.0, 300.0, 162.0, 300.0, 318.0, 324.5, 318.0 ],
"order" : 1,
"source" : [ "obj-11", 0 ]
}

}
, {
"patchline" : {
Expand Down Expand Up @@ -306,6 +373,20 @@
"source" : [ "obj-19", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-11", 0 ],
"source" : [ "obj-2", 1 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"source" : [ "obj-2", 0 ]
}

}
, {
"patchline" : {
Expand All @@ -326,7 +407,7 @@
"patchline" : {
"color" : [ 0.0, 0.501961, 0.25098, 1.0 ],
"destination" : [ "obj-26", 1 ],
"midpoints" : [ 144.5, 291.5, 41.0, 291.5 ],
"midpoints" : [ 144.5, 395.5, 41.0, 395.5 ],
"order" : 1,
"source" : [ "obj-25", 0 ]
}
Expand All @@ -336,7 +417,7 @@
"patchline" : {
"color" : [ 0.0, 0.501961, 0.25098, 1.0 ],
"destination" : [ "obj-27", 1 ],
"midpoints" : [ 144.5, 291.5, 98.0, 291.5 ],
"midpoints" : [ 144.5, 395.5, 98.0, 395.5 ],
"order" : 0,
"source" : [ "obj-25", 0 ]
}
Expand Down Expand Up @@ -371,6 +452,7 @@
"patchline" : {
"color" : [ 1.0, 0.0, 0.0, 1.0 ],
"destination" : [ "obj-26", 0 ],
"midpoints" : [ 30.5, 48.0, 30.5, 48.0 ],
"source" : [ "obj-4", 0 ]
}

Expand All @@ -379,6 +461,7 @@
"patchline" : {
"color" : [ 0.0, 0.501961, 1.0, 1.0 ],
"destination" : [ "obj-27", 0 ],
"midpoints" : [ 87.5, 48.0, 87.5, 48.0 ],
"source" : [ "obj-4", 1 ]
}

Expand All @@ -387,11 +470,19 @@
"patchline" : {
"color" : [ 0.0, 0.501961, 0.25098, 1.0 ],
"destination" : [ "obj-6", 0 ],
"midpoints" : [ 144.5, 61.0, 324.5, 61.0 ],
"midpoints" : [ 144.5, 162.0, 324.5, 162.0 ],
"order" : 0,
"source" : [ "obj-4", 2 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-19", 0 ],
"midpoints" : [ 410.5, 162.0, 144.5, 162.0 ],
"source" : [ "obj-5", 0 ]
}

}
, {
"patchline" : {
Expand Down
Loading

0 comments on commit fc500e3

Please sign in to comment.