From 961e7f2a903e436baeaaeabb061eb182ce5abb71 Mon Sep 17 00:00:00 2001 From: equilet <2237372+equilet@users.noreply.github.com> Date: Wed, 14 May 2025 00:02:40 -0700 Subject: [PATCH] udpated with current set of parameters and examples --- engine_voice.episodes~.maxhelp | 223 ++++++++++++++++------------- engine_voice.episodes~.maxpat | 253 ++++++++++++++++++++++++++++++--- 2 files changed, 357 insertions(+), 119 deletions(-) diff --git a/engine_voice.episodes~.maxhelp b/engine_voice.episodes~.maxhelp index 5014f37..38d2538 100644 --- a/engine_voice.episodes~.maxhelp +++ b/engine_voice.episodes~.maxhelp @@ -28,12 +28,12 @@ , { "box" : { "id" : "obj-5", - "linecount" : 22, + "linecount" : 24, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 791.0, 248.0, 278.0, 301.0 ], - "text" : "the episodes voice plays sound files of an intederminate length (meant for medium to longer sounds, but can be used with anything) from a polybuffer~ reference based on some parameters:\n\nvariety: the likelihood that a different sound will be chosen from the last. A variety of zero will simply play the last selection.\n\ndensity: the number of voices playing at once (only available in poly version)\n\nspeed: speed of playback\n\nspacing range: this is a range of time from which a delay will be produced as an offset before a new sound plays.\n\nsegment: what portion of the audio file to play \n\n* all time values are in seconds, except for \"segment\" which is a factor" + "patching_rect" : [ 791.0, 248.0, 283.0, 328.0 ], + "text" : "the episodes voice plays sound files of an intederminate length (meant for medium to longer sounds, but can be used with anything) from a polybuffer~ reference based on some parameters:\n\nvariety: the likelihood that a different sound will be chosen from the last. A variety of zero will simply play the last selection.\n\ndensity: the number of voices playing at once (only available in poly version)\n\nspeed: speed of playback\n\nspacing range: this is a range of time from which a delay will be produced as an offset before a new sound plays.\n\nsegment: what portion of the audio file to play \n\n* all time values are in seconds, except for \"segment\" which is a factor. Note that not all of these parameters need to be exposed for a given iteration of sonogarden." } } @@ -65,7 +65,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 128.0, 46.0, 58.0, 22.0 ], + "patching_rect" : [ 50.0, 48.0, 58.0, 22.0 ], "text" : "loadbang" } @@ -116,7 +116,7 @@ ] } , - "patching_rect" : [ 65.0, 168.0, 34.0, 22.0 ], + "patching_rect" : [ 574.0, 171.0, 34.0, 22.0 ], "text" : "p init" } @@ -141,13 +141,11 @@ "box" : { "fontface" : 0, "id" : "obj-20", - "linecount" : 4, "maxclass" : "o.display", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 495.0, 318.0, 263.0, 72.0 ], - "text" : "/speed : 1,\n/spacing/range : [3.01, 12.4],\n/numfiles : 73,\n/pbname : \"audiocollection\"" + "patching_rect" : [ 495.0, 318.0, 263.0, 33.0 ] } } @@ -203,18 +201,46 @@ } , "classnamespace" : "box", - "rect" : [ 72.0, 102.0, 1159.0, 743.0 ], + "rect" : [ 72.0, 102.0, 1165.0, 855.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { "box" : { - "id" : "obj-26", - "maxclass" : "meter~", + "id" : "obj-19", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 452.0, 678.0, 41.0, 22.0 ], + "text" : "set $1" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "gain~", + "multichannelvariant" : 0, "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "signal", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 375.0, 596.0, 22.0, 140.0 ] + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-2", + "maxclass" : "o.compose", + "numinlets" : 2, "numoutlets" : 1, - "orientation" : 2, - "outlettype" : [ "float" ], - "patching_rect" : [ 455.0, 522.0, 158.0, 58.0 ] + "outlettype" : [ "" ], + "patching_rect" : [ 568.0, 186.0, 60.0, 23.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 99, 108, 101, 97, 114, 0, 0, 44, 0, 0, 0 ], + "saved_bundle_length" : 32, + "text" : "/clear" } } @@ -223,16 +249,15 @@ "background_color" : [ 0.768627450980392, 0.815686274509804, 0.76078431372549, 1.0 ], "fontface" : 0, "id" : "obj-25", - "linecount" : 5, + "linecount" : 3, "maxclass" : "o.compose", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 746.0, 71.0, 213.0, 75.0 ], - "presentation_linecount" : 5, - "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 64, 20, 0, 0, 0, 0, 0, 0, 64, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -20, -52, -52, -52, -52, -52, -51, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -32, 0, 0, 0, 0, 0, 0 ], - "saved_bundle_length" : 168, - "text" : "/speed : 1,\n/spacing/range : [5., 12.],\n/segment : [0., 1.],\n/variety : 0.9,\n/density : 0.5" + "patching_rect" : [ 368.0, 108.0, 213.0, 49.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 64, 20, 0, 0, 0, 0, 0, 0, 64, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -20, -52, -52, -52, -52, -52, -51, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -32, 0, 0, 0, 0, 0, 0 ], + "saved_bundle_length" : 112, + "text" : "/spacing/range : [5., 12.],\n/variety : 0.9,\n/density : 0.5" } } @@ -260,13 +285,11 @@ "box" : { "fontface" : 0, "id" : "obj-19", - "linecount" : 41, "maxclass" : "o.display", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 100.0, 438.0, 545.0 ], - "text" : "/num/voices : 10,\n/voices/1 : {\n /speed : 1,\n /spacing/range : [5., 12.],\n /segment : [0., 1.],\n /variety : 0.9,\n /numfiles : 73,\n /pbname : \"polycollection\"\n},\n/voices/2 : {\n /speed : 1,\n /spacing/range : [5., 12.],\n /segment : [0., 1.],\n /variety : 0.9,\n /numfiles : 73,\n /pbname : \"polycollection\"\n},\n/voices/3 : {\n /speed : 1,\n /spacing/range : [5., 12.],\n /segment : [0., 1.],\n /variety : 0.9,\n /numfiles : 73,\n /pbname : \"polycollection\"\n},\n/voices/4 : {\n /speed : 1,\n /spacing/range : [5., 12.],\n /segment : [0., 1.],\n /variety : 0.9,\n /numfiles : 73,\n /pbname : \"polycollection\"\n},\n/voices/5 : {\n /speed : 1,\n /spacing/range : [5., 12.],\n /segment : [0., 1.],\n /variety : 0.9,\n /numfiles : 73,\n /pbname : \"polycollection\"\n}" + "patching_rect" : [ 50.0, 100.0, 438.0, 545.0 ] } } @@ -323,7 +346,7 @@ "numoutlets" : 2, "outlettype" : [ "", "" ], "parameter_enable" : 0, - "patching_rect" : [ 637.0, 522.0, 158.0, 30.0 ], + "patching_rect" : [ 702.0, 514.0, 158.0, 30.0 ], "setminmax" : [ 0.0, 1.0 ], "settype" : 0, "size" : 10, @@ -383,7 +406,7 @@ "box" : { "id" : "obj-13", "maxclass" : "newobj", - "numinlets" : 0, + "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patcher" : { @@ -397,17 +420,30 @@ } , "classnamespace" : "box", - "rect" : [ 59.0, 106.0, 1000.0, 780.0 ], + "rect" : [ 59.0, 106.0, 499.0, 324.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { + "box" : { + "comment" : "", + "id" : "obj-2", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 387.0, 27.0, 30.0, 30.0 ] + } + + } +, { "box" : { "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 128.0, 46.0, 58.0, 22.0 ], + "patching_rect" : [ 50.0, 59.0, 58.0, 22.0 ], "text" : "loadbang" } @@ -416,15 +452,15 @@ "box" : { "fontface" : 0, "id" : "obj-17", - "linecount" : 4, + "linecount" : 3, "maxclass" : "o.compose", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 100.0, 401.0, 62.0 ], - "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -128, 47, 112, 97, 116, 104, 0, 0, 0, 44, 115, 0, 0, 77, 97, 99, 105, 110, 116, 111, 115, 104, 32, 72, 68, 58, 47, 85, 115, 101, 114, 115, 47, 106, 109, 108, 47, 68, 111, 99, 117, 109, 101, 110, 116, 115, 47, 119, 111, 114, 107, 47, 104, 117, 103, 104, 95, 108, 105, 118, 105, 110, 103, 115, 116, 111, 110, 47, 97, 117, 100, 105, 111, 95, 102, 105, 108, 101, 115, 47, 95, 83, 111, 110, 111, 103, 97, 114, 100, 101, 110, 67, 111, 108, 108, 101, 99, 116, 105, 111, 110, 115, 47, 49, 48, 48, 54, 49, 56, 95, 48, 50, 32, 79, 98, 111, 101, 32, 71, 101, 115, 116, 117, 114, 101, 115, 47, 0, 0, 0, 0, 0, 16, 47, 99, 104, 111, 105, 99, 101, 0, 44, 105, 0, 0, 0, 0, 0, 2 ], - "saved_bundle_length" : 168, - "text" : "/path : \"Macintosh HD:/Users/jml/Documents/work/hugh_livingston/audio_files/_SonogardenCollections/100618_02 Oboe Gestures/\",\n/choice : 2" + "patching_rect" : [ 50.0, 100.0, 401.0, 49.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -128, 47, 112, 97, 116, 104, 0, 0, 0, 44, 115, 0, 0, 77, 97, 99, 105, 110, 116, 111, 115, 104, 32, 72, 68, 58, 47, 85, 115, 101, 114, 115, 47, 106, 109, 108, 47, 68, 111, 99, 117, 109, 101, 110, 116, 115, 47, 119, 111, 114, 107, 47, 104, 117, 103, 104, 95, 108, 105, 118, 105, 110, 103, 115, 116, 111, 110, 47, 97, 117, 100, 105, 111, 95, 102, 105, 108, 101, 115, 47, 95, 83, 111, 110, 111, 103, 97, 114, 100, 101, 110, 67, 111, 108, 108, 101, 99, 116, 105, 111, 110, 115, 47, 68, 101, 98, 117, 115, 115, 121, 78, 117, 97, 103, 101, 115, 70, 114, 97, 103, 109, 101, 110, 116, 115, 47, 0, 0, 0 ], + "saved_bundle_length" : 148, + "text" : "/path : \"Macintosh HD:/Users/jml/Documents/work/hugh_livingston/audio_files/_SonogardenCollections/DebussyNuagesFragments/\"" } } @@ -454,11 +490,18 @@ "source" : [ "obj-17", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-17", 1 ], + "source" : [ "obj-2", 0 ] + } + } ] } , - "patching_rect" : [ 65.0, 168.0, 34.0, 22.0 ], + "patching_rect" : [ 599.0, 343.0, 34.0, 22.0 ], "text" : "p init" } @@ -468,16 +511,15 @@ "background_color" : [ 0.768627450980392, 0.815686274509804, 0.76078431372549, 1.0 ], "fontface" : 0, "id" : "obj-16", - "linecount" : 5, + "linecount" : 3, "maxclass" : "o.compose", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 525.0, 71.0, 213.0, 75.0 ], - "presentation_linecount" : 5, - "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 63, -32, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -20, -52, -52, -52, -52, -52, -51, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], - "saved_bundle_length" : 168, - "text" : "/speed : 1,\n/spacing/range : [0.5, 2.],\n/segment : [0., 1.],\n/variety : 0.9,\n/density : 0." + "patching_rect" : [ 147.0, 108.0, 213.0, 49.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 63, -32, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -20, -52, -52, -52, -52, -52, -51, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], + "saved_bundle_length" : 112, + "text" : "/spacing/range : [0.5, 2.],\n/variety : 0.9,\n/density : 0." } } @@ -485,13 +527,11 @@ "box" : { "fontface" : 0, "id" : "obj-20", - "linecount" : 7, "maxclass" : "o.display", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 746.0, 231.0, 263.0, 110.0 ], - "text" : "/speed : 1,\n/spacing/range : [5., 12.],\n/segment : [0., 1.],\n/variety : 0.9,\n/density : 0.5,\n/numfiles : 73,\n/pbname : \"polycollection\"" + "patching_rect" : [ 637.0, 255.0, 263.0, 33.0 ] } } @@ -516,40 +556,6 @@ "viewvisibility" : 1 } - } -, { - "box" : { - "fontface" : 0, - "id" : "obj-48", - "linecount" : 2, - "maxclass" : "o.compose", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 74.0, 71.0, 206.0, 36.0 ], - "presentation_linecount" : 2, - "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 63, -124, 122, -31, 71, -82, 20, 123, 63, -39, -103, -103, -103, -103, -103, -102 ], - "saved_bundle_length" : 76, - "text" : "/speed : 1,\n/spacing/range : [0.01, 0.4]" - } - - } -, { - "box" : { - "fontface" : 0, - "id" : "obj-18", - "linecount" : 3, - "maxclass" : "o.compose", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 295.0, 77.0, 206.0, 49.0 ], - "presentation_linecount" : 3, - "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 63, -45, 51, 51, 51, 51, 51, 51, 63, -43, 30, -72, 81, -21, -123, 31, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 63, -87, -103, -103, -103, -103, -103, -102, 63, -45, 51, 51, 51, 51, 51, 51 ], - "saved_bundle_length" : 116, - "text" : "/segment : [0.3, 0.33],\n/speed : 1.5,\n/spacing/range : [0.05, 0.3]" - } - } , { "box" : { @@ -557,7 +563,7 @@ "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, - "patching_rect" : [ 348.0, 662.0, 45.0, 45.0 ] + "patching_rect" : [ 348.0, 756.0, 46.0, 46.0 ] } } @@ -570,7 +576,7 @@ "numoutlets" : 2, "outlettype" : [ "signal", "" ], "parameter_enable" : 0, - "patching_rect" : [ 348.0, 502.0, 22.0, 140.0 ] + "patching_rect" : [ 348.0, 596.0, 22.0, 140.0 ] } } @@ -579,9 +585,9 @@ "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "multichannelsignal", "", "" ], - "patching_rect" : [ 348.0, 465.0, 316.0, 22.0 ], + "numoutlets" : 4, + "outlettype" : [ "multichannelsignal", "multichannelsignal", "", "" ], + "patching_rect" : [ 348.0, 465.0, 312.0, 22.0 ], "text" : "mc.poly~ engine_voice.episodes~ @voices 10 @target 0" } @@ -602,23 +608,21 @@ ], "lines" : [ { "patchline" : { - "destination" : [ "obj-15", 0 ], + "destination" : [ "obj-12", 0 ], "source" : [ "obj-1", 1 ] } } , { "patchline" : { - "destination" : [ "obj-26", 0 ], - "order" : 0, - "source" : [ "obj-1", 0 ] + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-1", 2 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], - "order" : 1, "source" : [ "obj-1", 0 ] } @@ -636,6 +640,20 @@ "source" : [ "obj-11", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "source" : [ "obj-12", 0 ] + } + } , { "patchline" : { @@ -657,11 +675,18 @@ "source" : [ "obj-16", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-19", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-3", 0 ], - "source" : [ "obj-18", 0 ] + "source" : [ "obj-2", 0 ] } } @@ -671,6 +696,13 @@ "source" : [ "obj-25", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-3", 1 ] + } + } , { "patchline" : { @@ -690,26 +722,17 @@ } , { "patchline" : { - "destination" : [ "obj-6", 1 ], - "order" : 0, - "source" : [ "obj-4", 0 ] + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-4", 1 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], - "order" : 1, "source" : [ "obj-4", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-48", 0 ] - } - } , { "patchline" : { @@ -841,8 +864,8 @@ "id" : "obj-36", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "signal", "" ], + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "" ], "patching_rect" : [ 199.0, 419.0, 201.0, 22.0 ], "text" : "engine_voice.episodes~ aux-sender" } diff --git a/engine_voice.episodes~.maxpat b/engine_voice.episodes~.maxpat index 10b86d1..823aee1 100644 --- a/engine_voice.episodes~.maxpat +++ b/engine_voice.episodes~.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 34.0, 87.0, 1372.0, 779.0 ], + "rect" : [ 34.0, 87.0, 1568.0, 919.0 ], "gridsize" : [ 15.0, 15.0 ], "lefttoolbarpinned" : 1, "toptoolbarpinned" : 1, @@ -18,6 +18,112 @@ "bottomtoolbarpinned" : 1, "subpatcher_template" : "Untitled5_template", "boxes" : [ { + "box" : { + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 1043.0, 595.0, 81.0, 22.0 ], + "text" : "print setting..." + } + + } +, { + "box" : { + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 926.5, 455.0, 72.0, 22.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 903.0, 490.0, 72.0, 22.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "fontsize" : 12.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "FullPacket" ], + "patching_rect" : [ 903.0, 409.0, 66.0, 22.0 ], + "text" : "o.route /l /r" + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 945.0, 764.0, 64.0, 22.0 ], + "text" : "send~ ch2" + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 860.0, 764.0, 64.0, 22.0 ], + "text" : "send~ ch1" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 570.0, 805.0, 42.0, 22.0 ], + "text" : "out~ 2" + } + + } +, { + "box" : { + "fontsize" : 12.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 509.0, 681.0, 50.0, 22.0 ], + "text" : "*~ 0." + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 509.0, 800.0, 36.0, 36.0 ] + } + + } +, { "box" : { "id" : "obj-11", "maxclass" : "newobj", @@ -646,7 +752,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1027.0, 778.0, 36.0, 36.0 ] + "patching_rect" : [ 1411.0, 783.0, 36.0, 36.0 ] } } @@ -839,7 +945,7 @@ "numoutlets" : 5, "outlettype" : [ "", "", "", "", "FullPacket" ], "patching_rect" : [ 367.0, 330.0, 488.0, 22.0 ], - "text" : "o.route /gain /line /auxsend /duroff" + "text" : "o.route /gain /line /auxsend /st" } } @@ -849,7 +955,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 883.0, 794.0, 81.0, 20.0 ], + "patching_rect" : [ 1267.0, 799.0, 81.0, 20.0 ], "text" : "for [busymap]" } @@ -860,7 +966,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 836.0, 793.0, 35.0, 22.0 ], + "patching_rect" : [ 1220.0, 798.0, 35.0, 22.0 ], "text" : "out 1" } @@ -1013,7 +1119,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 550.5, 685.0, 70.0, 22.0 ], + "patching_rect" : [ 674.0, 764.0, 70.0, 22.0 ], "text" : "*~ 0." } @@ -1024,7 +1130,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 550.5, 788.0, 117.0, 22.0 ], + "patching_rect" : [ 674.0, 806.0, 117.0, 22.0 ], "text" : "send~ #1" } @@ -1047,7 +1153,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 393.0, 793.0, 52.0, 22.0 ], + "patching_rect" : [ 395.0, 798.0, 52.0, 22.0 ], "saved_object_attributes" : { "attr_comment" : "" } @@ -1359,13 +1465,13 @@ "box" : { "fontface" : 0, "id" : "obj-27", - "linecount" : 11, + "linecount" : 13, "maxclass" : "o.expr.codebox", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 50.0, 100.0, 560.0, 159.0 ], - "text" : "/segment ??= [0., 1.], \n/gain/range ??= [0.8, 1.2],\n/trajspeed/range ??= [20, 50],\n/spacing/range *= 1000.,\n\n/gain = scale(/r/gain, 0., 1., /gain/range[[0]], /gain/range[[1]]), \n/tspeed = scale(/r/tspeed, 0., 1., /trajspeed/range[[0]], /trajspeed/range[[1]]),\n/area = /segment * /buffer/len,\n/dur = abs(/area[[0]] - /area[[1]]) * (1. / /speed),\n/line = [/area[[0]], 0, /area[[1]], /dur], \n/sdelay = scale(/r/space, 0., 1., /spacing/range[[0]], /spacing/range[[1]])" + "patching_rect" : [ 50.0, 100.0, 560.0, 185.0 ], + "text" : "/segment ??= [0., 1.], \n/gain/range ??= [0.8, 1.2],\n/speed ??= 1.,\n/trajspeed/range ??= [20, 50],\n/spacing/range *= 1000.,\n\n/gain = scale(/r/gain, 0., 1., /gain/range[[0]], /gain/range[[1]]), \n/tspeed = scale(/r/tspeed, 0., 1., /trajspeed/range[[0]], /trajspeed/range[[1]]),\n/area = /segment * /buffer/len,\n/dur = abs(/area[[0]] - /area[[1]]) * (1. / /speed),\n/line = [/area[[0]], 0, /area[[1]], /dur], \n/sdelay = scale(/r/space, 0., 1., /spacing/range[[0]], /spacing/range[[1]]), \n/duroff = /dur - 20." } } @@ -2048,7 +2154,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 332.0, 631.0, 171.0, 22.0 ], + "patching_rect" : [ 332.0, 681.0, 50.0, 22.0 ], "text" : "*~ 0." } @@ -2111,10 +2217,10 @@ "id" : "obj-32", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "signal", "bang" ], - "patching_rect" : [ 484.0, 585.0, 71.0, 22.0 ], - "text" : "play~ buffet" + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "bang" ], + "patching_rect" : [ 484.0, 585.0, 81.0, 22.0 ], + "text" : "play~ buffet 2" } } @@ -2150,6 +2256,13 @@ "source" : [ "obj-1", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "source" : [ "obj-1", 3 ] + } + } , { "patchline" : { @@ -2164,6 +2277,38 @@ "source" : [ "obj-1", 2 ] } + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "order" : 3, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "order" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "order" : 1, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "order" : 2, + "source" : [ "obj-10", 0 ] + } + } , { "patchline" : { @@ -2236,10 +2381,19 @@ "source" : [ "obj-2", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "order" : 0, + "source" : [ "obj-20", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-8", 0 ], + "order" : 1, "source" : [ "obj-20", 0 ] } @@ -2264,6 +2418,36 @@ "source" : [ "obj-25", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "source" : [ "obj-26", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "order" : 1, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "order" : 0, + "source" : [ "obj-27", 0 ] + } + } , { "patchline" : { @@ -2302,6 +2486,13 @@ "source" : [ "obj-30", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "source" : [ "obj-32", 1 ] + } + } , { "patchline" : { @@ -2309,6 +2500,22 @@ "source" : [ "obj-32", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "order" : 1, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "order" : 0, + "source" : [ "obj-33", 0 ] + } + } , { "patchline" : { @@ -2454,23 +2661,31 @@ , { "patchline" : { "destination" : [ "obj-14", 0 ], - "order" : 1, + "order" : 2, "source" : [ "obj-8", 0 ] } } , { "patchline" : { - "destination" : [ "obj-30", 0 ], + "destination" : [ "obj-23", 0 ], "order" : 0, "source" : [ "obj-8", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "order" : 1, + "source" : [ "obj-8", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-34", 0 ], - "order" : 2, + "order" : 3, "source" : [ "obj-8", 0 ] } -- 2.34.1