Page 1 of 1

noise of gen~ by changing values

Posted: Fri Sep 27, 2013 3:59 pm
by phattline
i have noise by changing the parameters (mouse, or CC dont matter) of my gen~ patches
click click click click click click... noise
eg. by simple using the built objects or codebox codes or simple the "mix" object:

Code: Select all

{
	"boxes" : [ 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "mix",
				"patching_rect" : [ 49.0, 166.0, 46.0, 20.0 ],
				"numinlets" : 3,
				"outlettype" : [ "" ],
				"fontsize" : 12.0,
				"numoutlets" : 1,
				"fontname" : "Arial",
				"id" : "obj-1"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "/ 127",
				"patching_rect" : [ 76.0, 138.0, 37.0, 20.0 ],
				"numinlets" : 1,
				"outlettype" : [ "" ],
				"fontsize" : 12.0,
				"numoutlets" : 1,
				"fontname" : "Arial",
				"id" : "obj-12"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "comment",
				"text" : "O1-gain",
				"patching_rect" : [ 107.0, 109.0, 59.0, 20.0 ],
				"numinlets" : 1,
				"frgb" : 0.0,
				"fontsize" : 12.0,
				"numoutlets" : 0,
				"fontname" : "Arial",
				"id" : "obj-9"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "in 7",
				"patching_rect" : [ 76.0, 109.0, 31.0, 20.0 ],
				"numinlets" : 0,
				"outlettype" : [ "" ],
				"fontsize" : 12.0,
				"numoutlets" : 1,
				"fontname" : "Arial",
				"id" : "obj-5"
			}

		}
 ],
	"lines" : [ 		{
			"patchline" : 			{
				"source" : [ "obj-5", 0 ],
				"destination" : [ "obj-12", 0 ],
				"hidden" : 0,
				"disabled" : 0
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-12", 0 ],
				"destination" : [ "obj-1", 2 ],
				"hidden" : 0,
				"disabled" : 0
			}

		}
 ],
	"appversion" : 	{
		"major" : 6,
		"minor" : 1,
		"revision" : 3,
		"architecture" : "x64"
	}

}

Re: noise of gen~ by changing values

Posted: Sat Sep 28, 2013 7:55 pm
by pid
please use "Copy Compressed" from the Max edit menu to paste code here in the future.

your parameter changes click because in your code you have not implemented any smoothing functions.

in MSP you might do this with, for example, slide~, rampsmooth~, line~, curve~, etc. in gen~ you need to build your own (e.g. use the [mix] and [history] operators together).

search over at the Cycling74 forums - a few people have posted various examples there.