Csound Csound-dev Csound-tekno Search About

[Csnd] Partials/Resyn Real Time Overhead

Date2009-05-13 15:46
FromUnUnUnium
Subject[Csnd] Partials/Resyn Real Time Overhead
Hello. I am using the partials and resyn opcodes in real time, in conjunction
with Max/MSP, and I get 100% cpu usage as soon as I activate the .csd. I am
wondering whether or not I am doing something wrong in my code, or if this
opcode is simply very cpu hungry - I am using two for stereo. If someone
could have a look I would be grateful. I have included my Csound code below
- underneath that I have included two max abstractions for those who have
max. 

Save this as "CSpvspartE.csd"





sr = 44100
kr = 4410
ksmps = 10
nchnls = 2

giCosine    ftgen   1, 0, 8193, 9, 1, 1, 90       ; cosine

chn_k  "kscalL", 1
chn_k  "kscalR", 1
chn_k  "kpitchL", 1
chn_k  "kpitchR", 1
chn_k  "kmaxL", 1
chn_k  "kmaxR", 1

chn_k "portime", 1

instr 1

;control invalues


ikscalL            chnget          "kscalL"
ikscalR            chnget          "kscalR"
gkscalL    chnget     "kscalL"
gkscalR    chnget    "kscalR"

ikpitchL            chnget          "kpitchL"
ikpitchR            chnget          "kpitchR"
gkpitchL    chnget     "kpitchL"
gkpitchR    chnget    "kpitchR"

ikmaxL            chnget          "kmaxL"
ikmaxR            chnget          "kmaxR"
gkmaxL    chnget     "kmaxL"
gkmaxR    chnget    "kmaxR"

kTime          chnget  "portime"
;kTime = 0.2

gkscalL        portk gkscalL, kTime, ikscalL
gkscalR        portk gkscalR, kTime, ikscalR

gkpitchL        portk gkpitchL, kTime, ikpitchL
gkpitchR        portk gkpitchR, kTime, ikpitchR    

gkmaxL        portk gkmaxL, kTime, ikmaxL
gkmaxR        portk gkmaxR, kTime, ikmaxR    



;synth stuff
ain inch 1          
ain2 inch 2
        
; input signal
fs1,fsi2 pvsifd ain,2048,512,1 ; ifd analysis
fs1b,fsi2b pvsifd ain2,2048,512,1 ; ifd analysis

fst  partials fs1,fsi2,.003,1,3, 500  ; partial tracking
fst2  partials fs1b,fsi2b,.003,1,3, 500  ; partial tracking
      
aout  resyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis (up a 5th)
aout2  resyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ; resynthesis (up a 5th)

denorm aout, aout2
outs aout, aout2

endin





f 0 60000           
i 1 0 60000              ; Activate the always-on chnget instrument.
e                    ; indicates the end of the score



MAX ABSTRACTIONS:

Name this "PVSParttrial" (this is the main patch):

{
	"boxes" : [ 		{
			"box" : 			{
				"maxclass" : "number",
				"outlettype" : [ "int", "bang" ],
				"fontname" : "Arial",
				"patching_rect" : [ 540.0, 159.0, 50.0, 17.0 ],
				"fontsize" : 9.0,
				"id" : "obj-12",
				"numinlets" : 1,
				"numoutlets" : 2
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "number",
				"outlettype" : [ "int", "bang" ],
				"fontname" : "Arial",
				"patching_rect" : [ 422.0, 98.0, 50.0, 17.0 ],
				"fontsize" : 9.0,
				"id" : "obj-10",
				"numinlets" : 1,
				"numoutlets" : 2
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "pictslider",
				"outlettype" : [ "int", "int" ],
				"patching_rect" : [ 272.0, 20.0, 100.0, 100.0 ],
				"id" : "obj-7",
				"numinlets" : 2,
				"numoutlets" : 2
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "*~ 0.2",
				"outlettype" : [ "signal" ],
				"fontname" : "Arial",
				"patching_rect" : [ 220.0, 129.0, 34.0, 17.0 ],
				"fontsize" : 9.0,
				"id" : "obj-8",
				"numinlets" : 2,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "*~ 0.2",
				"outlettype" : [ "signal" ],
				"fontname" : "Arial",
				"patching_rect" : [ 180.0, 126.0, 34.0, 17.0 ],
				"fontsize" : 9.0,
				"id" : "obj-6",
				"numinlets" : 2,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "open, loop 1, 1",
				"outlettype" : [ "" ],
				"fontname" : "Arial",
				"patching_rect" : [ 168.0, 50.0, 70.0, 15.0 ],
				"fontsize" : 9.0,
				"id" : "obj-2",
				"numinlets" : 2,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "sfplay~ 2",
				"outlettype" : [ "signal", "signal", "bang" ],
				"fontname" : "Arial",
				"patching_rect" : [ 177.0, 71.0, 47.0, 17.0 ],
				"fontsize" : 9.0,
				"id" : "obj-3",
				"numinlets" : 2,
				"numoutlets" : 3,
				"save" : [ "#N", "sfplay~", "", 2, 120960, 0, "", ";" ]
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "ezdac~",
				"patching_rect" : [ 383.0, 252.0, 45.0, 45.0 ],
				"id" : "obj-5",
				"numinlets" : 2,
				"numoutlets" : 0
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "pictslider",
				"outlettype" : [ "int", "int" ],
				"patching_rect" : [ 502.0, 9.0, 100.0, 100.0 ],
				"id" : "obj-4",
				"numinlets" : 2,
				"numoutlets" : 2
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "CSpvspartE",
				"outlettype" : [ "signal", "signal" ],
				"fontname" : "Arial",
				"patching_rect" : [ 283.0, 187.0, 127.0, 17.0 ],
				"fontsize" : 9.0,
				"id" : "obj-1",
				"numinlets" : 9,
				"numoutlets" : 2
			}

		}
 ],
	"lines" : [ 		{
			"patchline" : 			{
				"source" : [ "obj-7", 1 ],
				"destination" : [ "obj-1", 3 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

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

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-3", 1 ],
				"destination" : [ "obj-8", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-3", 0 ],
				"destination" : [ "obj-6", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-2", 0 ],
				"destination" : [ "obj-3", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

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

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-8", 0 ],
				"destination" : [ "obj-1", 1 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-6", 0 ],
				"destination" : [ "obj-1", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-1", 0 ],
				"destination" : [ "obj-5", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-1", 1 ],
				"destination" : [ "obj-5", 1 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-4", 0 ],
				"destination" : [ "obj-1", 6 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-4", 1 ],
				"destination" : [ "obj-1", 7 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-10", 0 ],
				"destination" : [ "obj-1", 4 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-10", 0 ],
				"destination" : [ "obj-1", 5 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
 ]
}


Name this "CSpvspartE":

{
	"boxes" : [ 		{
			"box" : 			{
				"maxclass" : "inlet",
				"outlettype" : [ "" ],
				"patching_rect" : [ 897.0, 289.0, 15.0, 15.0 ],
				"id" : "obj-31",
				"numinlets" : 0,
				"numoutlets" : 1,
				"comment" : "Porttime"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "control portime $1",
				"outlettype" : [ "" ],
				"fontname" : "Arial",
				"patching_rect" : [ 878.0, 381.0, 83.0, 15.0 ],
				"fontsize" : 9.0,
				"id" : "obj-30",
				"numinlets" : 2,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "zmap 0 127 0 500",
				"outlettype" : [ "float" ],
				"fontname" : "Arial",
				"patching_rect" : [ 780.0, 345.0, 83.0, 17.0 ],
				"fontsize" : 9.0,
				"id" : "obj-29",
				"numinlets" : 5,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "zmap 0 127 0 500",
				"outlettype" : [ "float" ],
				"fontname" : "Arial",
				"patching_rect" : [ 684.0, 345.0, 83.0, 17.0 ],
				"fontsize" : 9.0,
				"id" : "obj-28",
				"numinlets" : 5,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "inlet",
				"outlettype" : [ "" ],
				"patching_rect" : [ 811.0, 282.0, 15.0, 15.0 ],
				"id" : "obj-26",
				"numinlets" : 0,
				"numoutlets" : 1,
				"comment" : "max right"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "inlet",
				"outlettype" : [ "" ],
				"patching_rect" : [ 781.0, 283.0, 15.0, 15.0 ],
				"id" : "obj-27",
				"numinlets" : 0,
				"numoutlets" : 1,
				"comment" : "max left"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "control kmaxR $1",
				"outlettype" : [ "" ],
				"fontname" : "Arial",
				"patching_rect" : [ 775.0, 380.0, 81.0, 15.0 ],
				"fontsize" : 9.0,
				"id" : "obj-24",
				"numinlets" : 2,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "control kmaxL $1",
				"outlettype" : [ "" ],
				"fontname" : "Arial",
				"patching_rect" : [ 699.0, 411.0, 79.0, 15.0 ],
				"fontsize" : 9.0,
				"id" : "obj-25",
				"numinlets" : 2,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "inlet",
				"outlettype" : [ "" ],
				"patching_rect" : [ 588.0, 310.0, 15.0, 15.0 ],
				"id" : "obj-22",
				"numinlets" : 0,
				"numoutlets" : 1,
				"comment" : "pitch right"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "inlet",
				"outlettype" : [ "" ],
				"patching_rect" : [ 558.0, 311.0, 15.0, 15.0 ],
				"id" : "obj-23",
				"numinlets" : 0,
				"numoutlets" : 1,
				"comment" : "pitch left"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "control kpitchR $1",
				"outlettype" : [ "" ],
				"fontname" : "Arial",
				"patching_rect" : [ 603.0, 432.0, 83.0, 15.0 ],
				"fontsize" : 9.0,
				"id" : "obj-19",
				"numinlets" : 2,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "control kptichL $1",
				"outlettype" : [ "" ],
				"fontname" : "Arial",
				"patching_rect" : [ 527.0, 463.0, 81.0, 15.0 ],
				"fontsize" : 9.0,
				"id" : "obj-21",
				"numinlets" : 2,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "toggle",
				"outlettype" : [ "int" ],
				"patching_rect" : [ 1066.0, 77.0, 20.0, 20.0 ],
				"id" : "obj-20",
				"numinlets" : 1,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "outlet",
				"patching_rect" : [ 151.0, 638.0, 15.0, 15.0 ],
				"id" : "obj-1",
				"numinlets" : 1,
				"numoutlets" : 0,
				"comment" : ""
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "outlet",
				"patching_rect" : [ 124.0, 639.0, 15.0, 15.0 ],
				"id" : "obj-2",
				"numinlets" : 1,
				"numoutlets" : 0,
				"comment" : ""
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "inlet",
				"outlettype" : [ "" ],
				"patching_rect" : [ 319.0, 300.0, 15.0, 15.0 ],
				"id" : "obj-3",
				"numinlets" : 0,
				"numoutlets" : 1,
				"comment" : "Blur right"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "loadbang",
				"outlettype" : [ "bang" ],
				"fontname" : "Arial",
				"patching_rect" : [ 157.0, 419.0, 48.0, 17.0 ],
				"fontsize" : 9.0,
				"id" : "obj-4",
				"numinlets" : 1,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "inlet",
				"outlettype" : [ "" ],
				"patching_rect" : [ 289.0, 301.0, 15.0, 15.0 ],
				"id" : "obj-5",
				"numinlets" : 0,
				"numoutlets" : 1,
				"comment" : "Blur left"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "inlet",
				"outlettype" : [ "" ],
				"patching_rect" : [ 175.0, 301.0, 15.0, 15.0 ],
				"id" : "obj-6",
				"numinlets" : 0,
				"numoutlets" : 1,
				"comment" : "In R"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "loadmess 0.",
				"outlettype" : [ "" ],
				"fontname" : "Arial",
				"patching_rect" : [ 1001.0, 59.0, 63.0, 17.0 ],
				"fontsize" : 9.0,
				"id" : "obj-7",
				"numinlets" : 1,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "inlet",
				"outlettype" : [ "" ],
				"patching_rect" : [ 142.0, 301.0, 15.0, 15.0 ],
				"id" : "obj-8",
				"numinlets" : 0,
				"numoutlets" : 1,
				"comment" : "In L"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "zmap 0 127 0. 2.",
				"outlettype" : [ "float" ],
				"fontname" : "Arial",
				"patching_rect" : [ 437.0, 461.0, 78.0, 17.0 ],
				"fontsize" : 9.0,
				"id" : "obj-9",
				"numinlets" : 5,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "slider",
				"outlettype" : [ "" ],
				"patching_rect" : [ 435.0, 251.0, 144.0, 18.0 ],
				"id" : "obj-10",
				"numinlets" : 1,
				"bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
				"orientation" : 1,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "control kscalR $1",
				"outlettype" : [ "" ],
				"fontname" : "Arial",
				"patching_rect" : [ 437.0, 489.0, 80.0, 15.0 ],
				"fontsize" : 9.0,
				"id" : "obj-11",
				"numinlets" : 2,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "zmap 0 127 0. 2.",
				"outlettype" : [ "float" ],
				"fontname" : "Arial",
				"patching_rect" : [ 354.0, 434.0, 78.0, 17.0 ],
				"fontsize" : 9.0,
				"id" : "obj-12",
				"numinlets" : 5,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "slider",
				"outlettype" : [ "" ],
				"patching_rect" : [ 349.0, 224.0, 144.0, 18.0 ],
				"id" : "obj-13",
				"numinlets" : 1,
				"bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
				"orientation" : 1,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "control kscalL $1",
				"outlettype" : [ "" ],
				"fontname" : "Arial",
				"patching_rect" : [ 350.0, 462.0, 78.0, 15.0 ],
				"fontsize" : 9.0,
				"id" : "obj-14",
				"numinlets" : 2,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "message $1",
				"outlettype" : [ "" ],
				"fontname" : "Arial",
				"patching_rect" : [ 1001.0, 107.0, 63.0, 15.0 ],
				"fontsize" : 9.0,
				"id" : "obj-15",
				"numinlets" : 2,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "button",
				"outlettype" : [ "bang" ],
				"patching_rect" : [ 157.0, 462.0, 15.0, 15.0 ],
				"id" : "obj-16",
				"numinlets" : 1,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "csound CSpvspartE.csd",
				"outlettype" : [ "" ],
				"fontname" : "Arial",
				"patching_rect" : [ 185.0, 544.0, 107.0, 15.0 ],
				"fontsize" : 9.0,
				"id" : "obj-17",
				"numinlets" : 2,
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "csound~",
				"outlettype" : [ "signal", "signal", "list", "int", "bang", "bang" ],
				"fontname" : "Arial",
				"patching_rect" : [ 142.0, 593.0, 86.5, 17.0 ],
				"fontsize" : 9.0,
				"id" : "obj-18",
				"numinlets" : 2,
				"numoutlets" : 6
			}

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

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-5", 0 ],
				"destination" : [ "obj-12", 0 ],
				"hidden" : 0,
				"midpoints" : [ 298.0, 412.0, 363.5, 412.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-12", 0 ],
				"destination" : [ "obj-14", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-3", 0 ],
				"destination" : [ "obj-9", 0 ],
				"hidden" : 0,
				"midpoints" : [ 328.0, 410.0, 446.5, 410.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-10", 0 ],
				"destination" : [ "obj-9", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-9", 0 ],
				"destination" : [ "obj-11", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-26", 0 ],
				"destination" : [ "obj-29", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-27", 0 ],
				"destination" : [ "obj-28", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-29", 0 ],
				"destination" : [ "obj-24", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-28", 0 ],
				"destination" : [ "obj-25", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-24", 0 ],
				"destination" : [ "obj-18", 0 ],
				"hidden" : 0,
				"midpoints" : [ 784.5, 586.5, 151.5, 586.5 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-25", 0 ],
				"destination" : [ "obj-18", 0 ],
				"hidden" : 0,
				"midpoints" : [ 708.5, 571.0, 151.5, 571.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-22", 0 ],
				"destination" : [ "obj-19", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-23", 0 ],
				"destination" : [ "obj-21", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-19", 0 ],
				"destination" : [ "obj-18", 0 ],
				"hidden" : 0,
				"midpoints" : [ 612.5, 576.5, 151.5, 576.5 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-21", 0 ],
				"destination" : [ "obj-18", 0 ],
				"hidden" : 0,
				"midpoints" : [ 536.5, 586.0, 151.5, 586.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-6", 0 ],
				"destination" : [ "obj-18", 1 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-18", 1 ],
				"destination" : [ "obj-1", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-17", 0 ],
				"destination" : [ "obj-18", 0 ],
				"hidden" : 0,
				"midpoints" : [ 194.5, 578.0, 151.5, 578.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-15", 0 ],
				"destination" : [ "obj-18", 0 ],
				"hidden" : 0,
				"midpoints" : [ 1010.5, 571.0, 151.5, 571.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-14", 0 ],
				"destination" : [ "obj-18", 0 ],
				"hidden" : 0,
				"midpoints" : [ 359.5, 521.0, 151.5, 521.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-11", 0 ],
				"destination" : [ "obj-18", 0 ],
				"hidden" : 0,
				"midpoints" : [ 446.5, 571.0, 151.5, 571.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-8", 0 ],
				"destination" : [ "obj-18", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-16", 0 ],
				"destination" : [ "obj-18", 0 ],
				"hidden" : 0,
				"midpoints" : [ 166.0, 551.0, 151.5, 551.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-18", 0 ],
				"destination" : [ "obj-2", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-20", 0 ],
				"destination" : [ "obj-15", 0 ],
				"hidden" : 0,
				"midpoints" : [ 1075.5, 101.5, 1010.5, 101.5 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-7", 0 ],
				"destination" : [ "obj-15", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-16", 0 ],
				"destination" : [ "obj-17", 0 ],
				"hidden" : 0,
				"midpoints" : [ 166.0, 495.0, 194.5, 495.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-4", 0 ],
				"destination" : [ "obj-16", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-30", 0 ],
				"destination" : [ "obj-18", 0 ],
				"hidden" : 0,
				"midpoints" : [ 887.5, 576.0, 151.5, 576.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-31", 0 ],
				"destination" : [ "obj-30", 0 ],
				"hidden" : 0,
				"midpoints" : [  ]
			}

		}
 ]
}

-- 
View this message in context: http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23523259.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-05-13 16:04
FromVictor.Lazzarini@nuim.ie
Subject[Csnd] Re: Partials/Resyn Real Time Overhead
AttachmentsNone  None  

Date2009-05-13 17:15
FromUnUnUnium
Subject[Csnd] Re: Partials/Resyn Real Time Overhead
Thank you very much for your response! I have changed the parameters as you
stated (though I put ksmps to 100, so it would be a multiple of the Sampling
rate - is that wrong?)

I got the CPU usage down to about 20 percent, but now there is lots of very
unpleasant clicking and popping. Here are the new parameters:

fst  partials fs1,fsi2,.2,5,10, 500  ; partial tracking
fst2  partials fs1b,fsi2b,.2,5,10, 500  ; partial tracking
      
aout  tradsyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis (up a 5th)
aout2  tradsyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ; resynthesis (up a 5th)

Cheers, Jeremy

Victor.Lazzarini wrote:
> 
> Suggestions
> 
> 1. Try changing ksmps to 128
> 2. Use tradsyn instead of resyn
> 3. Play with the threshold for partial analysis (.003 might be
> too small?)
> 
> Victor
> 
> ----- Original Message -----
> From: UnUnUnium 
> Date: Wednesday, May 13, 2009 3:46 pm
> Subject: [Csnd]  Partials/Resyn Real Time Overhead
> To: csound@lists.bath.ac.uk
> 
>> 
>> Hello. I am using the partials and resyn opcodes in real time, 
>> in conjunction
>> with Max/MSP, and I get 100% cpu usage as soon as I activate the 
>> .csd. I am
>> wondering whether or not I am doing something wrong in my code, 
>> or if this
>> opcode is simply very cpu hungry - I am using two for stereo. If 
>> someonecould have a look I would be grateful. I have included my 
>> Csound code below
>> - underneath that I have included two max abstractions for those 
>> who have
>> max. 
>> 
>> Save this as "CSpvspartE.csd"
>> 
>> 
>> 
>> 
>> 
>> sr = 44100
>> kr = 4410
>> ksmps = 10
>> nchnls = 2
>> 
>> giCosine    ftgen   1, 0, 8193, 9, 1, 
>> 1, 90       ; cosine
>> 
>> chn_k  "kscalL", 1
>> chn_k  "kscalR", 1
>> chn_k  "kpitchL", 1
>> chn_k  "kpitchR", 1
>> chn_k  "kmaxL", 1
>> chn_k  "kmaxR", 1
>> 
>> chn_k "portime", 1
>> 
>> instr 1
>> 
>> ;control invalues
>> 
>> 
>> ikscalL            chnget          "kscalL"
>> ikscalR            chnget          "kscalR"
>> gkscalL    chnget     "kscalL"
>> gkscalR    chnget    "kscalR"
>> 
>> ikpitchL            chnget          "kpitchL"
>> ikpitchR            chnget          "kpitchR"
>> gkpitchL    chnget     "kpitchL"
>> gkpitchR    chnget    "kpitchR"
>> 
>> ikmaxL            chnget          "kmaxL"
>> ikmaxR            chnget          "kmaxR"
>> gkmaxL    chnget     "kmaxL"
>> gkmaxR    chnget    "kmaxR"
>> 
>> kTime          
>> chnget  "portime"
>> ;kTime = 0.2
>> 
>> gkscalL        portk gkscalL, 
>> kTime, ikscalL
>> gkscalR        portk gkscalR, 
>> kTime, ikscalR
>> 
>> gkpitchL        portk 
>> gkpitchL, kTime, ikpitchL
>> gkpitchR        portk 
>> gkpitchR, kTime, ikpitchR    
>> 
>> gkmaxL        portk gkmaxL, 
>> kTime, ikmaxL
>> gkmaxR        portk gkmaxR, 
>> kTime, ikmaxR    
>> 
>> 
>> 
>> ;synth stuff
>> ain inch 1          
>> ain2 inch 2
>>         
>> ; input signal
>> fs1,fsi2 pvsifd ain,2048,512,1 ; ifd analysis
>> fs1b,fsi2b pvsifd ain2,2048,512,1 ; ifd analysis
>> 
>> fst  partials fs1,fsi2,.003,1,3, 500  ; partial tracking
>> fst2  partials fs1b,fsi2b,.003,1,3, 500  ; partial tracking
>>       
>> aout  resyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis 
>> (up a 5th)
>> aout2  resyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ; 
>> resynthesis (up a 5th)
>> 
>> denorm aout, aout2
>> outs aout, aout2
>> 
>> endin
>> 
>> 
>> 
>> 
>> 
>> f 0 
>> 60000           
>> i 1 0 
>> 60000              ; Activate the always-on chnget instrument.
>> e                    ; indicates the end of the score
>> 
>> 
>> 
>> MAX ABSTRACTIONS:
>> 
>> Name this "PVSParttrial" (this is the main patch):
>> 
>> {
>> "boxes" : [         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "number",
>>                         	"outlettype" : [ "int", "bang" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 540.0, 159.0, 50.0, 17.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-12",
>>                         	"numinlets" : 1,
>>                         	"numoutlets" : 2
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "number",
>>                         	"outlettype" : [ "int", "bang" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 422.0, 98.0, 50.0, 17.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-10",
>>                         	"numinlets" : 1,
>>                         	"numoutlets" : 2
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "pictslider",
>>                         	"outlettype" : [ "int", "int" ],
>>                         	"patching_rect" : [ 272.0, 20.0, 100.0, 100.0 ],
>>                         	"id" : "obj-7",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 2
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "newobj",
>>                         	"text" : "*~ 0.2",
>>                         	"outlettype" : [ "signal" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 220.0, 129.0, 34.0, 17.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-8",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "newobj",
>>                         	"text" : "*~ 0.2",
>>                         	"outlettype" : [ "signal" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 180.0, 126.0, 34.0, 17.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-6",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "message",
>>                         	"text" : "open, loop 1, 1",
>>                         	"outlettype" : [ "" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 168.0, 50.0, 70.0, 15.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-2",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "newobj",
>>                         	"text" : "sfplay~ 2",
>>                         	"outlettype" : [ "signal", "signal", "bang" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 177.0, 71.0, 47.0, 17.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-3",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 3,
>>                         	"save" : [ "#N", "sfplay~", "", 2, 120960, 0,
>> "", ";" ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "ezdac~",
>>                         	"patching_rect" : [ 383.0, 252.0, 45.0, 45.0 ],
>>                         	"id" : "obj-5",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 0
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "pictslider",
>>                         	"outlettype" : [ "int", "int" ],
>>                         	"patching_rect" : [ 502.0, 9.0, 100.0, 100.0 ],
>>                         	"id" : "obj-4",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 2
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "newobj",
>>                         	"text" : "CSpvspartE",
>>                         	"outlettype" : [ "signal", "signal" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 283.0, 187.0, 127.0, 17.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-1",
>>                         	"numinlets" : 9,
>>                         	"numoutlets" : 2
>>                 	}
>> 
>>         	}
>>  ],
>> "lines" : [         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-7", 1 ],
>>                         	"destination" : [ "obj-1", 3 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-7", 0 ],
>>                         	"destination" : [ "obj-1", 2 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-3", 1 ],
>>                         	"destination" : [ "obj-8", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-3", 0 ],
>>                         	"destination" : [ "obj-6", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-2", 0 ],
>>                         	"destination" : [ "obj-3", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-12", 0 ],
>>                         	"destination" : [ "obj-1", 8 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-8", 0 ],
>>                         	"destination" : [ "obj-1", 1 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-6", 0 ],
>>                         	"destination" : [ "obj-1", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-1", 0 ],
>>                         	"destination" : [ "obj-5", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-1", 1 ],
>>                         	"destination" : [ "obj-5", 1 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-4", 0 ],
>>                         	"destination" : [ "obj-1", 6 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-4", 1 ],
>>                         	"destination" : [ "obj-1", 7 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-10", 0 ],
>>                         	"destination" : [ "obj-1", 4 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-10", 0 ],
>>                         	"destination" : [ "obj-1", 5 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>>  ]
>> }
>> 
>> 
>> Name this "CSpvspartE":
>> 
>> {
>> "boxes" : [         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "inlet",
>>                         	"outlettype" : [ "" ],
>>                         	"patching_rect" : [ 897.0, 289.0, 15.0, 15.0 ],
>>                         	"id" : "obj-31",
>>                         	"numinlets" : 0,
>>                         	"numoutlets" : 1,
>>                         	"comment" : "Porttime"
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "message",
>>                         	"text" : "control portime $1",
>>                         	"outlettype" : [ "" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 878.0, 381.0, 83.0, 15.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-30",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "newobj",
>>                         	"text" : "zmap 0 127 0 500",
>>                         	"outlettype" : [ "float" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 780.0, 345.0, 83.0, 17.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-29",
>>                         	"numinlets" : 5,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "newobj",
>>                         	"text" : "zmap 0 127 0 500",
>>                         	"outlettype" : [ "float" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 684.0, 345.0, 83.0, 17.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-28",
>>                         	"numinlets" : 5,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "inlet",
>>                         	"outlettype" : [ "" ],
>>                         	"patching_rect" : [ 811.0, 282.0, 15.0, 15.0 ],
>>                         	"id" : "obj-26",
>>                         	"numinlets" : 0,
>>                         	"numoutlets" : 1,
>>                         	"comment" : "max right"
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "inlet",
>>                         	"outlettype" : [ "" ],
>>                         	"patching_rect" : [ 781.0, 283.0, 15.0, 15.0 ],
>>                         	"id" : "obj-27",
>>                         	"numinlets" : 0,
>>                         	"numoutlets" : 1,
>>                         	"comment" : "max left"
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "message",
>>                         	"text" : "control kmaxR $1",
>>                         	"outlettype" : [ "" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 775.0, 380.0, 81.0, 15.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-24",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "message",
>>                         	"text" : "control kmaxL $1",
>>                         	"outlettype" : [ "" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 699.0, 411.0, 79.0, 15.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-25",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "inlet",
>>                         	"outlettype" : [ "" ],
>>                         	"patching_rect" : [ 588.0, 310.0, 15.0, 15.0 ],
>>                         	"id" : "obj-22",
>>                         	"numinlets" : 0,
>>                         	"numoutlets" : 1,
>>                         	"comment" : "pitch right"
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "inlet",
>>                         	"outlettype" : [ "" ],
>>                         	"patching_rect" : [ 558.0, 311.0, 15.0, 15.0 ],
>>                         	"id" : "obj-23",
>>                         	"numinlets" : 0,
>>                         	"numoutlets" : 1,
>>                         	"comment" : "pitch left"
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "message",
>>                         	"text" : "control kpitchR $1",
>>                         	"outlettype" : [ "" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 603.0, 432.0, 83.0, 15.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-19",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "message",
>>                         	"text" : "control kptichL $1",
>>                         	"outlettype" : [ "" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 527.0, 463.0, 81.0, 15.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-21",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "toggle",
>>                         	"outlettype" : [ "int" ],
>>                         	"patching_rect" : [ 1066.0, 77.0, 20.0, 20.0 ],
>>                         	"id" : "obj-20",
>>                         	"numinlets" : 1,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "outlet",
>>                         	"patching_rect" : [ 151.0, 638.0, 15.0, 15.0 ],
>>                         	"id" : "obj-1",
>>                         	"numinlets" : 1,
>>                         	"numoutlets" : 0,
>>                         	"comment" : ""
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "outlet",
>>                         	"patching_rect" : [ 124.0, 639.0, 15.0, 15.0 ],
>>                         	"id" : "obj-2",
>>                         	"numinlets" : 1,
>>                         	"numoutlets" : 0,
>>                         	"comment" : ""
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "inlet",
>>                         	"outlettype" : [ "" ],
>>                         	"patching_rect" : [ 319.0, 300.0, 15.0, 15.0 ],
>>                         	"id" : "obj-3",
>>                         	"numinlets" : 0,
>>                         	"numoutlets" : 1,
>>                         	"comment" : "Blur right"
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "newobj",
>>                         	"text" : "loadbang",
>>                         	"outlettype" : [ "bang" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 157.0, 419.0, 48.0, 17.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-4",
>>                         	"numinlets" : 1,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "inlet",
>>                         	"outlettype" : [ "" ],
>>                         	"patching_rect" : [ 289.0, 301.0, 15.0, 15.0 ],
>>                         	"id" : "obj-5",
>>                         	"numinlets" : 0,
>>                         	"numoutlets" : 1,
>>                         	"comment" : "Blur left"
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "inlet",
>>                         	"outlettype" : [ "" ],
>>                         	"patching_rect" : [ 175.0, 301.0, 15.0, 15.0 ],
>>                         	"id" : "obj-6",
>>                         	"numinlets" : 0,
>>                         	"numoutlets" : 1,
>>                         	"comment" : "In R"
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "newobj",
>>                         	"text" : "loadmess 0.",
>>                         	"outlettype" : [ "" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 1001.0, 59.0, 63.0, 17.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-7",
>>                         	"numinlets" : 1,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "inlet",
>>                         	"outlettype" : [ "" ],
>>                         	"patching_rect" : [ 142.0, 301.0, 15.0, 15.0 ],
>>                         	"id" : "obj-8",
>>                         	"numinlets" : 0,
>>                         	"numoutlets" : 1,
>>                         	"comment" : "In L"
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "newobj",
>>                         	"text" : "zmap 0 127 0. 2.",
>>                         	"outlettype" : [ "float" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 437.0, 461.0, 78.0, 17.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-9",
>>                         	"numinlets" : 5,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "slider",
>>                         	"outlettype" : [ "" ],
>>                         	"patching_rect" : [ 435.0, 251.0, 144.0, 18.0 ],
>>                         	"id" : "obj-10",
>>                         	"numinlets" : 1,
>>                         	"bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>                         	"orientation" : 1,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "message",
>>                         	"text" : "control kscalR $1",
>>                         	"outlettype" : [ "" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 437.0, 489.0, 80.0, 15.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-11",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "newobj",
>>                         	"text" : "zmap 0 127 0. 2.",
>>                         	"outlettype" : [ "float" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 354.0, 434.0, 78.0, 17.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-12",
>>                         	"numinlets" : 5,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "slider",
>>                         	"outlettype" : [ "" ],
>>                         	"patching_rect" : [ 349.0, 224.0, 144.0, 18.0 ],
>>                         	"id" : "obj-13",
>>                         	"numinlets" : 1,
>>                         	"bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>                         	"orientation" : 1,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "message",
>>                         	"text" : "control kscalL $1",
>>                         	"outlettype" : [ "" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 350.0, 462.0, 78.0, 15.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-14",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "message",
>>                         	"text" : "message $1",
>>                         	"outlettype" : [ "" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 1001.0, 107.0, 63.0, 15.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-15",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "button",
>>                         	"outlettype" : [ "bang" ],
>>                         	"patching_rect" : [ 157.0, 462.0, 15.0, 15.0 ],
>>                         	"id" : "obj-16",
>>                         	"numinlets" : 1,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "message",
>>                         	"text" : "csound CSpvspartE.csd",
>>                         	"outlettype" : [ "" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 185.0, 544.0, 107.0, 15.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-17",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 1
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"box" :                 	{
>>                         	"maxclass" : "newobj",
>>                         	"text" : "csound~",
>>                         	"outlettype" : [ "signal", "signal", "list",
>> "int", "bang", "bang" ],
>>                         	"fontname" : "Arial",
>>                         	"patching_rect" : [ 142.0, 593.0, 86.5, 17.0 ],
>>                         	"fontsize" : 9.0,
>>                         	"id" : "obj-18",
>>                         	"numinlets" : 2,
>>                         	"numoutlets" : 6
>>                 	}
>> 
>>         	}
>>  ],
>> "lines" : [         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-13", 0 ],
>>                         	"destination" : [ "obj-12", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-5", 0 ],
>>                         	"destination" : [ "obj-12", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 298.0, 412.0, 363.5, 412.0 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-12", 0 ],
>>                         	"destination" : [ "obj-14", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-3", 0 ],
>>                         	"destination" : [ "obj-9", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 328.0, 410.0, 446.5, 410.0 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-10", 0 ],
>>                         	"destination" : [ "obj-9", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-9", 0 ],
>>                         	"destination" : [ "obj-11", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-26", 0 ],
>>                         	"destination" : [ "obj-29", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-27", 0 ],
>>                         	"destination" : [ "obj-28", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-29", 0 ],
>>                         	"destination" : [ "obj-24", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-28", 0 ],
>>                         	"destination" : [ "obj-25", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-24", 0 ],
>>                         	"destination" : [ "obj-18", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 784.5, 586.5, 151.5, 586.5 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-25", 0 ],
>>                         	"destination" : [ "obj-18", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 708.5, 571.0, 151.5, 571.0 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-22", 0 ],
>>                         	"destination" : [ "obj-19", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-23", 0 ],
>>                         	"destination" : [ "obj-21", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-19", 0 ],
>>                         	"destination" : [ "obj-18", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 612.5, 576.5, 151.5, 576.5 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-21", 0 ],
>>                         	"destination" : [ "obj-18", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 536.5, 586.0, 151.5, 586.0 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-6", 0 ],
>>                         	"destination" : [ "obj-18", 1 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-18", 1 ],
>>                         	"destination" : [ "obj-1", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-17", 0 ],
>>                         	"destination" : [ "obj-18", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 194.5, 578.0, 151.5, 578.0 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-15", 0 ],
>>                         	"destination" : [ "obj-18", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 1010.5, 571.0, 151.5, 571.0 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-14", 0 ],
>>                         	"destination" : [ "obj-18", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 359.5, 521.0, 151.5, 521.0 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-11", 0 ],
>>                         	"destination" : [ "obj-18", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 446.5, 571.0, 151.5, 571.0 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-8", 0 ],
>>                         	"destination" : [ "obj-18", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-16", 0 ],
>>                         	"destination" : [ "obj-18", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 166.0, 551.0, 151.5, 551.0 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-18", 0 ],
>>                         	"destination" : [ "obj-2", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-20", 0 ],
>>                         	"destination" : [ "obj-15", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 1075.5, 101.5, 1010.5, 101.5 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-7", 0 ],
>>                         	"destination" : [ "obj-15", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-16", 0 ],
>>                         	"destination" : [ "obj-17", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 166.0, 495.0, 194.5, 495.0 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-4", 0 ],
>>                         	"destination" : [ "obj-16", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-30", 0 ],
>>                         	"destination" : [ "obj-18", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [ 887.5, 576.0, 151.5, 576.0 ]
>>                 	}
>> 
>>         	}
>> ,         	{
>>                 	"patchline" :                 	{
>>                         	"source" : [ "obj-31", 0 ],
>>                         	"destination" : [ "obj-30", 0 ],
>>                         	"hidden" : 0,
>>                         	"midpoints" : [  ]
>>                 	}
>> 
>>         	}
>>  ]
>> }
>> 
>> -- 
>> View this message in context: http://www.nabble.com/Partials-
>> Resyn-Real-Time-Overhead-tp23523259p23523259.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>> 
>> 
>> 
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>> "unsubscribe csound"
> 
> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,National University
> of Ireland, Maynooth
> 
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 

-- 
View this message in context: http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23525061.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2009-05-13 17:26
Fromvictor
Subject[Csnd] Re: Re: Partials/Resyn Real Time Overhead
Now you can try bringing the threshold down again until you
get a better analysis.
ksmps does not need to be a multiple of the SR, it just needs
to be integral and smaller than the hopsize.

Victor
----- Original Message ----- 
From: "UnUnUnium" 
To: 
Sent: Wednesday, May 13, 2009 5:15 PM
Subject: [Csnd] Re: Partials/Resyn Real Time Overhead


>
> Thank you very much for your response! I have changed the parameters as 
> you
> stated (though I put ksmps to 100, so it would be a multiple of the 
> Sampling
> rate - is that wrong?)
>
> I got the CPU usage down to about 20 percent, but now there is lots of 
> very
> unpleasant clicking and popping. Here are the new parameters:
>
> fst  partials fs1,fsi2,.2,5,10, 500  ; partial tracking
> fst2  partials fs1b,fsi2b,.2,5,10, 500  ; partial tracking
>
> aout  tradsyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis (up a 5th)
> aout2  tradsyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ; resynthesis (up a 5th)
>
> Cheers, Jeremy
>
> Victor.Lazzarini wrote:
>>
>> Suggestions
>>
>> 1. Try changing ksmps to 128
>> 2. Use tradsyn instead of resyn
>> 3. Play with the threshold for partial analysis (.003 might be
>> too small?)
>>
>> Victor
>>
>> ----- Original Message -----
>> From: UnUnUnium 
>> Date: Wednesday, May 13, 2009 3:46 pm
>> Subject: [Csnd] Partials/Resyn Real Time Overhead
>> To: csound@lists.bath.ac.uk
>>
>>>
>>> Hello. I am using the partials and resyn opcodes in real time,
>>> in conjunction
>>> with Max/MSP, and I get 100% cpu usage as soon as I activate the
>>> .csd. I am
>>> wondering whether or not I am doing something wrong in my code,
>>> or if this
>>> opcode is simply very cpu hungry - I am using two for stereo. If
>>> someonecould have a look I would be grateful. I have included my
>>> Csound code below
>>> - underneath that I have included two max abstractions for those
>>> who have
>>> max.
>>>
>>> Save this as "CSpvspartE.csd"
>>>
>>> 
>>>
>>> 
>>>
>>> sr = 44100
>>> kr = 4410
>>> ksmps = 10
>>> nchnls = 2
>>>
>>> giCosine ftgen 1, 0, 8193, 9, 1,
>>> 1, 90 ; cosine
>>>
>>> chn_k "kscalL", 1
>>> chn_k "kscalR", 1
>>> chn_k "kpitchL", 1
>>> chn_k "kpitchR", 1
>>> chn_k "kmaxL", 1
>>> chn_k "kmaxR", 1
>>>
>>> chn_k "portime", 1
>>>
>>> instr 1
>>>
>>> ;control invalues
>>>
>>>
>>> ikscalL chnget "kscalL"
>>> ikscalR chnget "kscalR"
>>> gkscalL chnget "kscalL"
>>> gkscalR chnget "kscalR"
>>>
>>> ikpitchL chnget "kpitchL"
>>> ikpitchR chnget "kpitchR"
>>> gkpitchL chnget "kpitchL"
>>> gkpitchR chnget "kpitchR"
>>>
>>> ikmaxL chnget "kmaxL"
>>> ikmaxR chnget "kmaxR"
>>> gkmaxL chnget "kmaxL"
>>> gkmaxR chnget "kmaxR"
>>>
>>> kTime
>>> chnget "portime"
>>> ;kTime = 0.2
>>>
>>> gkscalL portk gkscalL,
>>> kTime, ikscalL
>>> gkscalR portk gkscalR,
>>> kTime, ikscalR
>>>
>>> gkpitchL portk
>>> gkpitchL, kTime, ikpitchL
>>> gkpitchR portk
>>> gkpitchR, kTime, ikpitchR
>>>
>>> gkmaxL portk gkmaxL,
>>> kTime, ikmaxL
>>> gkmaxR portk gkmaxR,
>>> kTime, ikmaxR
>>>
>>>
>>>
>>> ;synth stuff
>>> ain inch 1
>>> ain2 inch 2
>>>
>>> ; input signal
>>> fs1,fsi2 pvsifd ain,2048,512,1 ; ifd analysis
>>> fs1b,fsi2b pvsifd ain2,2048,512,1 ; ifd analysis
>>>
>>> fst partials fs1,fsi2,.003,1,3, 500 ; partial tracking
>>> fst2 partials fs1b,fsi2b,.003,1,3, 500 ; partial tracking
>>>
>>> aout resyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis
>>> (up a 5th)
>>> aout2 resyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ;
>>> resynthesis (up a 5th)
>>>
>>> denorm aout, aout2
>>> outs aout, aout2
>>>
>>> endin
>>>
>>> 
>>>
>>> 
>>>
>>> f 0
>>> 60000
>>> i 1 0
>>> 60000 ; Activate the always-on chnget instrument.
>>> e ; indicates the end of the score
>>> 
>>> 
>>>
>>> MAX ABSTRACTIONS:
>>>
>>> Name this "PVSParttrial" (this is the main patch):
>>>
>>> {
>>> "boxes" : [ {
>>> "box" : {
>>> "maxclass" : "number",
>>> "outlettype" : [ "int", "bang" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 540.0, 159.0, 50.0, 17.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-12",
>>> "numinlets" : 1,
>>> "numoutlets" : 2
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "number",
>>> "outlettype" : [ "int", "bang" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 422.0, 98.0, 50.0, 17.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-10",
>>> "numinlets" : 1,
>>> "numoutlets" : 2
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "pictslider",
>>> "outlettype" : [ "int", "int" ],
>>> "patching_rect" : [ 272.0, 20.0, 100.0, 100.0 ],
>>> "id" : "obj-7",
>>> "numinlets" : 2,
>>> "numoutlets" : 2
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "newobj",
>>> "text" : "*~ 0.2",
>>> "outlettype" : [ "signal" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 220.0, 129.0, 34.0, 17.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-8",
>>> "numinlets" : 2,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "newobj",
>>> "text" : "*~ 0.2",
>>> "outlettype" : [ "signal" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 180.0, 126.0, 34.0, 17.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-6",
>>> "numinlets" : 2,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "message",
>>> "text" : "open, loop 1, 1",
>>> "outlettype" : [ "" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 168.0, 50.0, 70.0, 15.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-2",
>>> "numinlets" : 2,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "newobj",
>>> "text" : "sfplay~ 2",
>>> "outlettype" : [ "signal", "signal", "bang" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 177.0, 71.0, 47.0, 17.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-3",
>>> "numinlets" : 2,
>>> "numoutlets" : 3,
>>> "save" : [ "#N", "sfplay~", "", 2, 120960, 0,
>>> "", ";" ]
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "ezdac~",
>>> "patching_rect" : [ 383.0, 252.0, 45.0, 45.0 ],
>>> "id" : "obj-5",
>>> "numinlets" : 2,
>>> "numoutlets" : 0
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "pictslider",
>>> "outlettype" : [ "int", "int" ],
>>> "patching_rect" : [ 502.0, 9.0, 100.0, 100.0 ],
>>> "id" : "obj-4",
>>> "numinlets" : 2,
>>> "numoutlets" : 2
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "newobj",
>>> "text" : "CSpvspartE",
>>> "outlettype" : [ "signal", "signal" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 283.0, 187.0, 127.0, 17.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-1",
>>> "numinlets" : 9,
>>> "numoutlets" : 2
>>> }
>>>
>>> }
>>> ],
>>> "lines" : [ {
>>> "patchline" : {
>>> "source" : [ "obj-7", 1 ],
>>> "destination" : [ "obj-1", 3 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-7", 0 ],
>>> "destination" : [ "obj-1", 2 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-3", 1 ],
>>> "destination" : [ "obj-8", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-3", 0 ],
>>> "destination" : [ "obj-6", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-2", 0 ],
>>> "destination" : [ "obj-3", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-12", 0 ],
>>> "destination" : [ "obj-1", 8 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-8", 0 ],
>>> "destination" : [ "obj-1", 1 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-6", 0 ],
>>> "destination" : [ "obj-1", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-1", 0 ],
>>> "destination" : [ "obj-5", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-1", 1 ],
>>> "destination" : [ "obj-5", 1 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-4", 0 ],
>>> "destination" : [ "obj-1", 6 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-4", 1 ],
>>> "destination" : [ "obj-1", 7 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-10", 0 ],
>>> "destination" : [ "obj-1", 4 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-10", 0 ],
>>> "destination" : [ "obj-1", 5 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> ]
>>> }
>>>
>>>
>>> Name this "CSpvspartE":
>>>
>>> {
>>> "boxes" : [ {
>>> "box" : {
>>> "maxclass" : "inlet",
>>> "outlettype" : [ "" ],
>>> "patching_rect" : [ 897.0, 289.0, 15.0, 15.0 ],
>>> "id" : "obj-31",
>>> "numinlets" : 0,
>>> "numoutlets" : 1,
>>> "comment" : "Porttime"
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "message",
>>> "text" : "control portime $1",
>>> "outlettype" : [ "" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 878.0, 381.0, 83.0, 15.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-30",
>>> "numinlets" : 2,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "newobj",
>>> "text" : "zmap 0 127 0 500",
>>> "outlettype" : [ "float" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 780.0, 345.0, 83.0, 17.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-29",
>>> "numinlets" : 5,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "newobj",
>>> "text" : "zmap 0 127 0 500",
>>> "outlettype" : [ "float" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 684.0, 345.0, 83.0, 17.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-28",
>>> "numinlets" : 5,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "inlet",
>>> "outlettype" : [ "" ],
>>> "patching_rect" : [ 811.0, 282.0, 15.0, 15.0 ],
>>> "id" : "obj-26",
>>> "numinlets" : 0,
>>> "numoutlets" : 1,
>>> "comment" : "max right"
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "inlet",
>>> "outlettype" : [ "" ],
>>> "patching_rect" : [ 781.0, 283.0, 15.0, 15.0 ],
>>> "id" : "obj-27",
>>> "numinlets" : 0,
>>> "numoutlets" : 1,
>>> "comment" : "max left"
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "message",
>>> "text" : "control kmaxR $1",
>>> "outlettype" : [ "" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 775.0, 380.0, 81.0, 15.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-24",
>>> "numinlets" : 2,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "message",
>>> "text" : "control kmaxL $1",
>>> "outlettype" : [ "" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 699.0, 411.0, 79.0, 15.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-25",
>>> "numinlets" : 2,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "inlet",
>>> "outlettype" : [ "" ],
>>> "patching_rect" : [ 588.0, 310.0, 15.0, 15.0 ],
>>> "id" : "obj-22",
>>> "numinlets" : 0,
>>> "numoutlets" : 1,
>>> "comment" : "pitch right"
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "inlet",
>>> "outlettype" : [ "" ],
>>> "patching_rect" : [ 558.0, 311.0, 15.0, 15.0 ],
>>> "id" : "obj-23",
>>> "numinlets" : 0,
>>> "numoutlets" : 1,
>>> "comment" : "pitch left"
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "message",
>>> "text" : "control kpitchR $1",
>>> "outlettype" : [ "" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 603.0, 432.0, 83.0, 15.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-19",
>>> "numinlets" : 2,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "message",
>>> "text" : "control kptichL $1",
>>> "outlettype" : [ "" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 527.0, 463.0, 81.0, 15.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-21",
>>> "numinlets" : 2,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "toggle",
>>> "outlettype" : [ "int" ],
>>> "patching_rect" : [ 1066.0, 77.0, 20.0, 20.0 ],
>>> "id" : "obj-20",
>>> "numinlets" : 1,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "outlet",
>>> "patching_rect" : [ 151.0, 638.0, 15.0, 15.0 ],
>>> "id" : "obj-1",
>>> "numinlets" : 1,
>>> "numoutlets" : 0,
>>> "comment" : ""
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "outlet",
>>> "patching_rect" : [ 124.0, 639.0, 15.0, 15.0 ],
>>> "id" : "obj-2",
>>> "numinlets" : 1,
>>> "numoutlets" : 0,
>>> "comment" : ""
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "inlet",
>>> "outlettype" : [ "" ],
>>> "patching_rect" : [ 319.0, 300.0, 15.0, 15.0 ],
>>> "id" : "obj-3",
>>> "numinlets" : 0,
>>> "numoutlets" : 1,
>>> "comment" : "Blur right"
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "newobj",
>>> "text" : "loadbang",
>>> "outlettype" : [ "bang" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 157.0, 419.0, 48.0, 17.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-4",
>>> "numinlets" : 1,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "inlet",
>>> "outlettype" : [ "" ],
>>> "patching_rect" : [ 289.0, 301.0, 15.0, 15.0 ],
>>> "id" : "obj-5",
>>> "numinlets" : 0,
>>> "numoutlets" : 1,
>>> "comment" : "Blur left"
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "inlet",
>>> "outlettype" : [ "" ],
>>> "patching_rect" : [ 175.0, 301.0, 15.0, 15.0 ],
>>> "id" : "obj-6",
>>> "numinlets" : 0,
>>> "numoutlets" : 1,
>>> "comment" : "In R"
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "newobj",
>>> "text" : "loadmess 0.",
>>> "outlettype" : [ "" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 1001.0, 59.0, 63.0, 17.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-7",
>>> "numinlets" : 1,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "inlet",
>>> "outlettype" : [ "" ],
>>> "patching_rect" : [ 142.0, 301.0, 15.0, 15.0 ],
>>> "id" : "obj-8",
>>> "numinlets" : 0,
>>> "numoutlets" : 1,
>>> "comment" : "In L"
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "newobj",
>>> "text" : "zmap 0 127 0. 2.",
>>> "outlettype" : [ "float" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 437.0, 461.0, 78.0, 17.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-9",
>>> "numinlets" : 5,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "slider",
>>> "outlettype" : [ "" ],
>>> "patching_rect" : [ 435.0, 251.0, 144.0, 18.0 ],
>>> "id" : "obj-10",
>>> "numinlets" : 1,
>>> "bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>> "orientation" : 1,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "message",
>>> "text" : "control kscalR $1",
>>> "outlettype" : [ "" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 437.0, 489.0, 80.0, 15.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-11",
>>> "numinlets" : 2,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "newobj",
>>> "text" : "zmap 0 127 0. 2.",
>>> "outlettype" : [ "float" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 354.0, 434.0, 78.0, 17.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-12",
>>> "numinlets" : 5,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "slider",
>>> "outlettype" : [ "" ],
>>> "patching_rect" : [ 349.0, 224.0, 144.0, 18.0 ],
>>> "id" : "obj-13",
>>> "numinlets" : 1,
>>> "bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>> "orientation" : 1,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "message",
>>> "text" : "control kscalL $1",
>>> "outlettype" : [ "" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 350.0, 462.0, 78.0, 15.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-14",
>>> "numinlets" : 2,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "message",
>>> "text" : "message $1",
>>> "outlettype" : [ "" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 1001.0, 107.0, 63.0, 15.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-15",
>>> "numinlets" : 2,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "button",
>>> "outlettype" : [ "bang" ],
>>> "patching_rect" : [ 157.0, 462.0, 15.0, 15.0 ],
>>> "id" : "obj-16",
>>> "numinlets" : 1,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "message",
>>> "text" : "csound CSpvspartE.csd",
>>> "outlettype" : [ "" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 185.0, 544.0, 107.0, 15.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-17",
>>> "numinlets" : 2,
>>> "numoutlets" : 1
>>> }
>>>
>>> }
>>> , {
>>> "box" : {
>>> "maxclass" : "newobj",
>>> "text" : "csound~",
>>> "outlettype" : [ "signal", "signal", "list",
>>> "int", "bang", "bang" ],
>>> "fontname" : "Arial",
>>> "patching_rect" : [ 142.0, 593.0, 86.5, 17.0 ],
>>> "fontsize" : 9.0,
>>> "id" : "obj-18",
>>> "numinlets" : 2,
>>> "numoutlets" : 6
>>> }
>>>
>>> }
>>> ],
>>> "lines" : [ {
>>> "patchline" : {
>>> "source" : [ "obj-13", 0 ],
>>> "destination" : [ "obj-12", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-5", 0 ],
>>> "destination" : [ "obj-12", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 298.0, 412.0, 363.5, 412.0 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-12", 0 ],
>>> "destination" : [ "obj-14", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-3", 0 ],
>>> "destination" : [ "obj-9", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 328.0, 410.0, 446.5, 410.0 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-10", 0 ],
>>> "destination" : [ "obj-9", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-9", 0 ],
>>> "destination" : [ "obj-11", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-26", 0 ],
>>> "destination" : [ "obj-29", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-27", 0 ],
>>> "destination" : [ "obj-28", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-29", 0 ],
>>> "destination" : [ "obj-24", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-28", 0 ],
>>> "destination" : [ "obj-25", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-24", 0 ],
>>> "destination" : [ "obj-18", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 784.5, 586.5, 151.5, 586.5 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-25", 0 ],
>>> "destination" : [ "obj-18", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 708.5, 571.0, 151.5, 571.0 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-22", 0 ],
>>> "destination" : [ "obj-19", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-23", 0 ],
>>> "destination" : [ "obj-21", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-19", 0 ],
>>> "destination" : [ "obj-18", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 612.5, 576.5, 151.5, 576.5 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-21", 0 ],
>>> "destination" : [ "obj-18", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 536.5, 586.0, 151.5, 586.0 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-6", 0 ],
>>> "destination" : [ "obj-18", 1 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-18", 1 ],
>>> "destination" : [ "obj-1", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-17", 0 ],
>>> "destination" : [ "obj-18", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 194.5, 578.0, 151.5, 578.0 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-15", 0 ],
>>> "destination" : [ "obj-18", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 1010.5, 571.0, 151.5, 571.0 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-14", 0 ],
>>> "destination" : [ "obj-18", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 359.5, 521.0, 151.5, 521.0 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-11", 0 ],
>>> "destination" : [ "obj-18", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 446.5, 571.0, 151.5, 571.0 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-8", 0 ],
>>> "destination" : [ "obj-18", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-16", 0 ],
>>> "destination" : [ "obj-18", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 166.0, 551.0, 151.5, 551.0 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-18", 0 ],
>>> "destination" : [ "obj-2", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-20", 0 ],
>>> "destination" : [ "obj-15", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 1075.5, 101.5, 1010.5, 101.5 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-7", 0 ],
>>> "destination" : [ "obj-15", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-16", 0 ],
>>> "destination" : [ "obj-17", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 166.0, 495.0, 194.5, 495.0 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-4", 0 ],
>>> "destination" : [ "obj-16", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-30", 0 ],
>>> "destination" : [ "obj-18", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ 887.5, 576.0, 151.5, 576.0 ]
>>> }
>>>
>>> }
>>> , {
>>> "patchline" : {
>>> "source" : [ "obj-31", 0 ],
>>> "destination" : [ "obj-30", 0 ],
>>> "hidden" : 0,
>>> "midpoints" : [ ]
>>> }
>>>
>>> }
>>> ]
>>> }
>>>
>>> -- 
>>> View this message in context: http://www.nabble.com/Partials-
>>> Resyn-Real-Time-Overhead-tp23523259p23523259.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>> "unsubscribe csound"
>>
>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,National University
>> of Ireland, Maynooth
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23525061.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2009-05-13 17:49
FromUnUnUnium
Subject[Csnd] Re: Re: Partials/Resyn Real Time Overhead
I see, so from here some trial and error to find the best efficiency/sound
compromise.

I am still confused about the ksmps though - do you mean the Csound
parameter, or as a parameter of pvsifd?

Jeremy

Victor.Lazzarini wrote:
> 
> Now you can try bringing the threshold down again until you
> get a better analysis.
> ksmps does not need to be a multiple of the SR, it just needs
> to be integral and smaller than the hopsize.
> 
> Victor
> ----- Original Message ----- 
> From: "UnUnUnium" 
> To: 
> Sent: Wednesday, May 13, 2009 5:15 PM
> Subject: [Csnd] Re: Partials/Resyn Real Time Overhead
> 
> 
>>
>> Thank you very much for your response! I have changed the parameters as 
>> you
>> stated (though I put ksmps to 100, so it would be a multiple of the 
>> Sampling
>> rate - is that wrong?)
>>
>> I got the CPU usage down to about 20 percent, but now there is lots of 
>> very
>> unpleasant clicking and popping. Here are the new parameters:
>>
>> fst  partials fs1,fsi2,.2,5,10, 500  ; partial tracking
>> fst2  partials fs1b,fsi2b,.2,5,10, 500  ; partial tracking
>>
>> aout  tradsyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis (up a 5th)
>> aout2  tradsyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ; resynthesis (up a
>> 5th)
>>
>> Cheers, Jeremy
>>
>> Victor.Lazzarini wrote:
>>>
>>> Suggestions
>>>
>>> 1. Try changing ksmps to 128
>>> 2. Use tradsyn instead of resyn
>>> 3. Play with the threshold for partial analysis (.003 might be
>>> too small?)
>>>
>>> Victor
>>>
>>> ----- Original Message -----
>>> From: UnUnUnium 
>>> Date: Wednesday, May 13, 2009 3:46 pm
>>> Subject: [Csnd] Partials/Resyn Real Time Overhead
>>> To: csound@lists.bath.ac.uk
>>>
>>>>
>>>> Hello. I am using the partials and resyn opcodes in real time,
>>>> in conjunction
>>>> with Max/MSP, and I get 100% cpu usage as soon as I activate the
>>>> .csd. I am
>>>> wondering whether or not I am doing something wrong in my code,
>>>> or if this
>>>> opcode is simply very cpu hungry - I am using two for stereo. If
>>>> someonecould have a look I would be grateful. I have included my
>>>> Csound code below
>>>> - underneath that I have included two max abstractions for those
>>>> who have
>>>> max.
>>>>
>>>> Save this as "CSpvspartE.csd"
>>>>
>>>> 
>>>>
>>>> 
>>>>
>>>> sr = 44100
>>>> kr = 4410
>>>> ksmps = 10
>>>> nchnls = 2
>>>>
>>>> giCosine ftgen 1, 0, 8193, 9, 1,
>>>> 1, 90 ; cosine
>>>>
>>>> chn_k "kscalL", 1
>>>> chn_k "kscalR", 1
>>>> chn_k "kpitchL", 1
>>>> chn_k "kpitchR", 1
>>>> chn_k "kmaxL", 1
>>>> chn_k "kmaxR", 1
>>>>
>>>> chn_k "portime", 1
>>>>
>>>> instr 1
>>>>
>>>> ;control invalues
>>>>
>>>>
>>>> ikscalL chnget "kscalL"
>>>> ikscalR chnget "kscalR"
>>>> gkscalL chnget "kscalL"
>>>> gkscalR chnget "kscalR"
>>>>
>>>> ikpitchL chnget "kpitchL"
>>>> ikpitchR chnget "kpitchR"
>>>> gkpitchL chnget "kpitchL"
>>>> gkpitchR chnget "kpitchR"
>>>>
>>>> ikmaxL chnget "kmaxL"
>>>> ikmaxR chnget "kmaxR"
>>>> gkmaxL chnget "kmaxL"
>>>> gkmaxR chnget "kmaxR"
>>>>
>>>> kTime
>>>> chnget "portime"
>>>> ;kTime = 0.2
>>>>
>>>> gkscalL portk gkscalL,
>>>> kTime, ikscalL
>>>> gkscalR portk gkscalR,
>>>> kTime, ikscalR
>>>>
>>>> gkpitchL portk
>>>> gkpitchL, kTime, ikpitchL
>>>> gkpitchR portk
>>>> gkpitchR, kTime, ikpitchR
>>>>
>>>> gkmaxL portk gkmaxL,
>>>> kTime, ikmaxL
>>>> gkmaxR portk gkmaxR,
>>>> kTime, ikmaxR
>>>>
>>>>
>>>>
>>>> ;synth stuff
>>>> ain inch 1
>>>> ain2 inch 2
>>>>
>>>> ; input signal
>>>> fs1,fsi2 pvsifd ain,2048,512,1 ; ifd analysis
>>>> fs1b,fsi2b pvsifd ain2,2048,512,1 ; ifd analysis
>>>>
>>>> fst partials fs1,fsi2,.003,1,3, 500 ; partial tracking
>>>> fst2 partials fs1b,fsi2b,.003,1,3, 500 ; partial tracking
>>>>
>>>> aout resyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis
>>>> (up a 5th)
>>>> aout2 resyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ;
>>>> resynthesis (up a 5th)
>>>>
>>>> denorm aout, aout2
>>>> outs aout, aout2
>>>>
>>>> endin
>>>>
>>>> 
>>>>
>>>> 
>>>>
>>>> f 0
>>>> 60000
>>>> i 1 0
>>>> 60000 ; Activate the always-on chnget instrument.
>>>> e ; indicates the end of the score
>>>> 
>>>> 
>>>>
>>>> MAX ABSTRACTIONS:
>>>>
>>>> Name this "PVSParttrial" (this is the main patch):
>>>>
>>>> {
>>>> "boxes" : [ {
>>>> "box" : {
>>>> "maxclass" : "number",
>>>> "outlettype" : [ "int", "bang" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 540.0, 159.0, 50.0, 17.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-12",
>>>> "numinlets" : 1,
>>>> "numoutlets" : 2
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "number",
>>>> "outlettype" : [ "int", "bang" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 422.0, 98.0, 50.0, 17.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-10",
>>>> "numinlets" : 1,
>>>> "numoutlets" : 2
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "pictslider",
>>>> "outlettype" : [ "int", "int" ],
>>>> "patching_rect" : [ 272.0, 20.0, 100.0, 100.0 ],
>>>> "id" : "obj-7",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 2
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "newobj",
>>>> "text" : "*~ 0.2",
>>>> "outlettype" : [ "signal" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 220.0, 129.0, 34.0, 17.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-8",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "newobj",
>>>> "text" : "*~ 0.2",
>>>> "outlettype" : [ "signal" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 180.0, 126.0, 34.0, 17.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-6",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "message",
>>>> "text" : "open, loop 1, 1",
>>>> "outlettype" : [ "" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 168.0, 50.0, 70.0, 15.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-2",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "newobj",
>>>> "text" : "sfplay~ 2",
>>>> "outlettype" : [ "signal", "signal", "bang" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 177.0, 71.0, 47.0, 17.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-3",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 3,
>>>> "save" : [ "#N", "sfplay~", "", 2, 120960, 0,
>>>> "", ";" ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "ezdac~",
>>>> "patching_rect" : [ 383.0, 252.0, 45.0, 45.0 ],
>>>> "id" : "obj-5",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 0
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "pictslider",
>>>> "outlettype" : [ "int", "int" ],
>>>> "patching_rect" : [ 502.0, 9.0, 100.0, 100.0 ],
>>>> "id" : "obj-4",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 2
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "newobj",
>>>> "text" : "CSpvspartE",
>>>> "outlettype" : [ "signal", "signal" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 283.0, 187.0, 127.0, 17.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-1",
>>>> "numinlets" : 9,
>>>> "numoutlets" : 2
>>>> }
>>>>
>>>> }
>>>> ],
>>>> "lines" : [ {
>>>> "patchline" : {
>>>> "source" : [ "obj-7", 1 ],
>>>> "destination" : [ "obj-1", 3 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-7", 0 ],
>>>> "destination" : [ "obj-1", 2 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-3", 1 ],
>>>> "destination" : [ "obj-8", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-3", 0 ],
>>>> "destination" : [ "obj-6", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-2", 0 ],
>>>> "destination" : [ "obj-3", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-12", 0 ],
>>>> "destination" : [ "obj-1", 8 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-8", 0 ],
>>>> "destination" : [ "obj-1", 1 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-6", 0 ],
>>>> "destination" : [ "obj-1", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-1", 0 ],
>>>> "destination" : [ "obj-5", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-1", 1 ],
>>>> "destination" : [ "obj-5", 1 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-4", 0 ],
>>>> "destination" : [ "obj-1", 6 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-4", 1 ],
>>>> "destination" : [ "obj-1", 7 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-10", 0 ],
>>>> "destination" : [ "obj-1", 4 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-10", 0 ],
>>>> "destination" : [ "obj-1", 5 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> ]
>>>> }
>>>>
>>>>
>>>> Name this "CSpvspartE":
>>>>
>>>> {
>>>> "boxes" : [ {
>>>> "box" : {
>>>> "maxclass" : "inlet",
>>>> "outlettype" : [ "" ],
>>>> "patching_rect" : [ 897.0, 289.0, 15.0, 15.0 ],
>>>> "id" : "obj-31",
>>>> "numinlets" : 0,
>>>> "numoutlets" : 1,
>>>> "comment" : "Porttime"
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "message",
>>>> "text" : "control portime $1",
>>>> "outlettype" : [ "" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 878.0, 381.0, 83.0, 15.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-30",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "newobj",
>>>> "text" : "zmap 0 127 0 500",
>>>> "outlettype" : [ "float" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 780.0, 345.0, 83.0, 17.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-29",
>>>> "numinlets" : 5,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "newobj",
>>>> "text" : "zmap 0 127 0 500",
>>>> "outlettype" : [ "float" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 684.0, 345.0, 83.0, 17.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-28",
>>>> "numinlets" : 5,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "inlet",
>>>> "outlettype" : [ "" ],
>>>> "patching_rect" : [ 811.0, 282.0, 15.0, 15.0 ],
>>>> "id" : "obj-26",
>>>> "numinlets" : 0,
>>>> "numoutlets" : 1,
>>>> "comment" : "max right"
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "inlet",
>>>> "outlettype" : [ "" ],
>>>> "patching_rect" : [ 781.0, 283.0, 15.0, 15.0 ],
>>>> "id" : "obj-27",
>>>> "numinlets" : 0,
>>>> "numoutlets" : 1,
>>>> "comment" : "max left"
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "message",
>>>> "text" : "control kmaxR $1",
>>>> "outlettype" : [ "" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 775.0, 380.0, 81.0, 15.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-24",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "message",
>>>> "text" : "control kmaxL $1",
>>>> "outlettype" : [ "" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 699.0, 411.0, 79.0, 15.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-25",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "inlet",
>>>> "outlettype" : [ "" ],
>>>> "patching_rect" : [ 588.0, 310.0, 15.0, 15.0 ],
>>>> "id" : "obj-22",
>>>> "numinlets" : 0,
>>>> "numoutlets" : 1,
>>>> "comment" : "pitch right"
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "inlet",
>>>> "outlettype" : [ "" ],
>>>> "patching_rect" : [ 558.0, 311.0, 15.0, 15.0 ],
>>>> "id" : "obj-23",
>>>> "numinlets" : 0,
>>>> "numoutlets" : 1,
>>>> "comment" : "pitch left"
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "message",
>>>> "text" : "control kpitchR $1",
>>>> "outlettype" : [ "" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 603.0, 432.0, 83.0, 15.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-19",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "message",
>>>> "text" : "control kptichL $1",
>>>> "outlettype" : [ "" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 527.0, 463.0, 81.0, 15.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-21",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "toggle",
>>>> "outlettype" : [ "int" ],
>>>> "patching_rect" : [ 1066.0, 77.0, 20.0, 20.0 ],
>>>> "id" : "obj-20",
>>>> "numinlets" : 1,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "outlet",
>>>> "patching_rect" : [ 151.0, 638.0, 15.0, 15.0 ],
>>>> "id" : "obj-1",
>>>> "numinlets" : 1,
>>>> "numoutlets" : 0,
>>>> "comment" : ""
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "outlet",
>>>> "patching_rect" : [ 124.0, 639.0, 15.0, 15.0 ],
>>>> "id" : "obj-2",
>>>> "numinlets" : 1,
>>>> "numoutlets" : 0,
>>>> "comment" : ""
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "inlet",
>>>> "outlettype" : [ "" ],
>>>> "patching_rect" : [ 319.0, 300.0, 15.0, 15.0 ],
>>>> "id" : "obj-3",
>>>> "numinlets" : 0,
>>>> "numoutlets" : 1,
>>>> "comment" : "Blur right"
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "newobj",
>>>> "text" : "loadbang",
>>>> "outlettype" : [ "bang" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 157.0, 419.0, 48.0, 17.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-4",
>>>> "numinlets" : 1,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "inlet",
>>>> "outlettype" : [ "" ],
>>>> "patching_rect" : [ 289.0, 301.0, 15.0, 15.0 ],
>>>> "id" : "obj-5",
>>>> "numinlets" : 0,
>>>> "numoutlets" : 1,
>>>> "comment" : "Blur left"
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "inlet",
>>>> "outlettype" : [ "" ],
>>>> "patching_rect" : [ 175.0, 301.0, 15.0, 15.0 ],
>>>> "id" : "obj-6",
>>>> "numinlets" : 0,
>>>> "numoutlets" : 1,
>>>> "comment" : "In R"
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "newobj",
>>>> "text" : "loadmess 0.",
>>>> "outlettype" : [ "" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 1001.0, 59.0, 63.0, 17.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-7",
>>>> "numinlets" : 1,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "inlet",
>>>> "outlettype" : [ "" ],
>>>> "patching_rect" : [ 142.0, 301.0, 15.0, 15.0 ],
>>>> "id" : "obj-8",
>>>> "numinlets" : 0,
>>>> "numoutlets" : 1,
>>>> "comment" : "In L"
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "newobj",
>>>> "text" : "zmap 0 127 0. 2.",
>>>> "outlettype" : [ "float" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 437.0, 461.0, 78.0, 17.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-9",
>>>> "numinlets" : 5,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "slider",
>>>> "outlettype" : [ "" ],
>>>> "patching_rect" : [ 435.0, 251.0, 144.0, 18.0 ],
>>>> "id" : "obj-10",
>>>> "numinlets" : 1,
>>>> "bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>>> "orientation" : 1,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "message",
>>>> "text" : "control kscalR $1",
>>>> "outlettype" : [ "" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 437.0, 489.0, 80.0, 15.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-11",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "newobj",
>>>> "text" : "zmap 0 127 0. 2.",
>>>> "outlettype" : [ "float" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 354.0, 434.0, 78.0, 17.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-12",
>>>> "numinlets" : 5,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "slider",
>>>> "outlettype" : [ "" ],
>>>> "patching_rect" : [ 349.0, 224.0, 144.0, 18.0 ],
>>>> "id" : "obj-13",
>>>> "numinlets" : 1,
>>>> "bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>>> "orientation" : 1,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "message",
>>>> "text" : "control kscalL $1",
>>>> "outlettype" : [ "" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 350.0, 462.0, 78.0, 15.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-14",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "message",
>>>> "text" : "message $1",
>>>> "outlettype" : [ "" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 1001.0, 107.0, 63.0, 15.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-15",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "button",
>>>> "outlettype" : [ "bang" ],
>>>> "patching_rect" : [ 157.0, 462.0, 15.0, 15.0 ],
>>>> "id" : "obj-16",
>>>> "numinlets" : 1,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "message",
>>>> "text" : "csound CSpvspartE.csd",
>>>> "outlettype" : [ "" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 185.0, 544.0, 107.0, 15.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-17",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 1
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "box" : {
>>>> "maxclass" : "newobj",
>>>> "text" : "csound~",
>>>> "outlettype" : [ "signal", "signal", "list",
>>>> "int", "bang", "bang" ],
>>>> "fontname" : "Arial",
>>>> "patching_rect" : [ 142.0, 593.0, 86.5, 17.0 ],
>>>> "fontsize" : 9.0,
>>>> "id" : "obj-18",
>>>> "numinlets" : 2,
>>>> "numoutlets" : 6
>>>> }
>>>>
>>>> }
>>>> ],
>>>> "lines" : [ {
>>>> "patchline" : {
>>>> "source" : [ "obj-13", 0 ],
>>>> "destination" : [ "obj-12", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-5", 0 ],
>>>> "destination" : [ "obj-12", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 298.0, 412.0, 363.5, 412.0 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-12", 0 ],
>>>> "destination" : [ "obj-14", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-3", 0 ],
>>>> "destination" : [ "obj-9", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 328.0, 410.0, 446.5, 410.0 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-10", 0 ],
>>>> "destination" : [ "obj-9", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-9", 0 ],
>>>> "destination" : [ "obj-11", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-26", 0 ],
>>>> "destination" : [ "obj-29", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-27", 0 ],
>>>> "destination" : [ "obj-28", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-29", 0 ],
>>>> "destination" : [ "obj-24", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-28", 0 ],
>>>> "destination" : [ "obj-25", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-24", 0 ],
>>>> "destination" : [ "obj-18", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 784.5, 586.5, 151.5, 586.5 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-25", 0 ],
>>>> "destination" : [ "obj-18", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 708.5, 571.0, 151.5, 571.0 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-22", 0 ],
>>>> "destination" : [ "obj-19", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-23", 0 ],
>>>> "destination" : [ "obj-21", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-19", 0 ],
>>>> "destination" : [ "obj-18", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 612.5, 576.5, 151.5, 576.5 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-21", 0 ],
>>>> "destination" : [ "obj-18", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 536.5, 586.0, 151.5, 586.0 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-6", 0 ],
>>>> "destination" : [ "obj-18", 1 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-18", 1 ],
>>>> "destination" : [ "obj-1", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-17", 0 ],
>>>> "destination" : [ "obj-18", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 194.5, 578.0, 151.5, 578.0 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-15", 0 ],
>>>> "destination" : [ "obj-18", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 1010.5, 571.0, 151.5, 571.0 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-14", 0 ],
>>>> "destination" : [ "obj-18", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 359.5, 521.0, 151.5, 521.0 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-11", 0 ],
>>>> "destination" : [ "obj-18", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 446.5, 571.0, 151.5, 571.0 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-8", 0 ],
>>>> "destination" : [ "obj-18", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-16", 0 ],
>>>> "destination" : [ "obj-18", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 166.0, 551.0, 151.5, 551.0 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-18", 0 ],
>>>> "destination" : [ "obj-2", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-20", 0 ],
>>>> "destination" : [ "obj-15", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 1075.5, 101.5, 1010.5, 101.5 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-7", 0 ],
>>>> "destination" : [ "obj-15", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-16", 0 ],
>>>> "destination" : [ "obj-17", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 166.0, 495.0, 194.5, 495.0 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-4", 0 ],
>>>> "destination" : [ "obj-16", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-30", 0 ],
>>>> "destination" : [ "obj-18", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ 887.5, 576.0, 151.5, 576.0 ]
>>>> }
>>>>
>>>> }
>>>> , {
>>>> "patchline" : {
>>>> "source" : [ "obj-31", 0 ],
>>>> "destination" : [ "obj-30", 0 ],
>>>> "hidden" : 0,
>>>> "midpoints" : [ ]
>>>> }
>>>>
>>>> }
>>>> ]
>>>> }
>>>>
>>>> -- 
>>>> View this message in context: http://www.nabble.com/Partials-
>>>> Resyn-Real-Time-Overhead-tp23523259p23523259.html
>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe csound"
>>>
>>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,National University
>>> of Ireland, Maynooth
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23525061.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>> csound" 
> 
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 
> 

-- 
View this message in context: http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23525727.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-05-13 18:03
Fromvictor
Subject[Csnd] Re: Re: Re: Partials/Resyn Real Time Overhead
I mean the csound ksmps. It is independent of the sampling rate.

Victor
----- Original Message ----- 
From: "UnUnUnium" 
To: 
Sent: Wednesday, May 13, 2009 5:49 PM
Subject: [Csnd] Re: Re: Partials/Resyn Real Time Overhead


>
> I see, so from here some trial and error to find the best efficiency/sound
> compromise.
>
> I am still confused about the ksmps though - do you mean the Csound
> parameter, or as a parameter of pvsifd?
>
> Jeremy
>
> Victor.Lazzarini wrote:
>>
>> Now you can try bringing the threshold down again until you
>> get a better analysis.
>> ksmps does not need to be a multiple of the SR, it just needs
>> to be integral and smaller than the hopsize.
>>
>> Victor
>> ----- Original Message ----- 
>> From: "UnUnUnium" 
>> To: 
>> Sent: Wednesday, May 13, 2009 5:15 PM
>> Subject: [Csnd] Re: Partials/Resyn Real Time Overhead
>>
>>
>>>
>>> Thank you very much for your response! I have changed the parameters as
>>> you
>>> stated (though I put ksmps to 100, so it would be a multiple of the
>>> Sampling
>>> rate - is that wrong?)
>>>
>>> I got the CPU usage down to about 20 percent, but now there is lots of
>>> very
>>> unpleasant clicking and popping. Here are the new parameters:
>>>
>>> fst  partials fs1,fsi2,.2,5,10, 500  ; partial tracking
>>> fst2  partials fs1b,fsi2b,.2,5,10, 500  ; partial tracking
>>>
>>> aout  tradsyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis (up a 5th)
>>> aout2  tradsyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ; resynthesis (up a
>>> 5th)
>>>
>>> Cheers, Jeremy
>>>
>>> Victor.Lazzarini wrote:
>>>>
>>>> Suggestions
>>>>
>>>> 1. Try changing ksmps to 128
>>>> 2. Use tradsyn instead of resyn
>>>> 3. Play with the threshold for partial analysis (.003 might be
>>>> too small?)
>>>>
>>>> Victor
>>>>
>>>> ----- Original Message -----
>>>> From: UnUnUnium 
>>>> Date: Wednesday, May 13, 2009 3:46 pm
>>>> Subject: [Csnd] Partials/Resyn Real Time Overhead
>>>> To: csound@lists.bath.ac.uk
>>>>
>>>>>
>>>>> Hello. I am using the partials and resyn opcodes in real time,
>>>>> in conjunction
>>>>> with Max/MSP, and I get 100% cpu usage as soon as I activate the
>>>>> .csd. I am
>>>>> wondering whether or not I am doing something wrong in my code,
>>>>> or if this
>>>>> opcode is simply very cpu hungry - I am using two for stereo. If
>>>>> someonecould have a look I would be grateful. I have included my
>>>>> Csound code below
>>>>> - underneath that I have included two max abstractions for those
>>>>> who have
>>>>> max.
>>>>>
>>>>> Save this as "CSpvspartE.csd"
>>>>>
>>>>> 
>>>>>
>>>>> 
>>>>>
>>>>> sr = 44100
>>>>> kr = 4410
>>>>> ksmps = 10
>>>>> nchnls = 2
>>>>>
>>>>> giCosine ftgen 1, 0, 8193, 9, 1,
>>>>> 1, 90 ; cosine
>>>>>
>>>>> chn_k "kscalL", 1
>>>>> chn_k "kscalR", 1
>>>>> chn_k "kpitchL", 1
>>>>> chn_k "kpitchR", 1
>>>>> chn_k "kmaxL", 1
>>>>> chn_k "kmaxR", 1
>>>>>
>>>>> chn_k "portime", 1
>>>>>
>>>>> instr 1
>>>>>
>>>>> ;control invalues
>>>>>
>>>>>
>>>>> ikscalL chnget "kscalL"
>>>>> ikscalR chnget "kscalR"
>>>>> gkscalL chnget "kscalL"
>>>>> gkscalR chnget "kscalR"
>>>>>
>>>>> ikpitchL chnget "kpitchL"
>>>>> ikpitchR chnget "kpitchR"
>>>>> gkpitchL chnget "kpitchL"
>>>>> gkpitchR chnget "kpitchR"
>>>>>
>>>>> ikmaxL chnget "kmaxL"
>>>>> ikmaxR chnget "kmaxR"
>>>>> gkmaxL chnget "kmaxL"
>>>>> gkmaxR chnget "kmaxR"
>>>>>
>>>>> kTime
>>>>> chnget "portime"
>>>>> ;kTime = 0.2
>>>>>
>>>>> gkscalL portk gkscalL,
>>>>> kTime, ikscalL
>>>>> gkscalR portk gkscalR,
>>>>> kTime, ikscalR
>>>>>
>>>>> gkpitchL portk
>>>>> gkpitchL, kTime, ikpitchL
>>>>> gkpitchR portk
>>>>> gkpitchR, kTime, ikpitchR
>>>>>
>>>>> gkmaxL portk gkmaxL,
>>>>> kTime, ikmaxL
>>>>> gkmaxR portk gkmaxR,
>>>>> kTime, ikmaxR
>>>>>
>>>>>
>>>>>
>>>>> ;synth stuff
>>>>> ain inch 1
>>>>> ain2 inch 2
>>>>>
>>>>> ; input signal
>>>>> fs1,fsi2 pvsifd ain,2048,512,1 ; ifd analysis
>>>>> fs1b,fsi2b pvsifd ain2,2048,512,1 ; ifd analysis
>>>>>
>>>>> fst partials fs1,fsi2,.003,1,3, 500 ; partial tracking
>>>>> fst2 partials fs1b,fsi2b,.003,1,3, 500 ; partial tracking
>>>>>
>>>>> aout resyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis
>>>>> (up a 5th)
>>>>> aout2 resyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ;
>>>>> resynthesis (up a 5th)
>>>>>
>>>>> denorm aout, aout2
>>>>> outs aout, aout2
>>>>>
>>>>> endin
>>>>>
>>>>> 
>>>>>
>>>>> 
>>>>>
>>>>> f 0
>>>>> 60000
>>>>> i 1 0
>>>>> 60000 ; Activate the always-on chnget instrument.
>>>>> e ; indicates the end of the score
>>>>> 
>>>>> 
>>>>>
>>>>> MAX ABSTRACTIONS:
>>>>>
>>>>> Name this "PVSParttrial" (this is the main patch):
>>>>>
>>>>> {
>>>>> "boxes" : [ {
>>>>> "box" : {
>>>>> "maxclass" : "number",
>>>>> "outlettype" : [ "int", "bang" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 540.0, 159.0, 50.0, 17.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-12",
>>>>> "numinlets" : 1,
>>>>> "numoutlets" : 2
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "number",
>>>>> "outlettype" : [ "int", "bang" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 422.0, 98.0, 50.0, 17.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-10",
>>>>> "numinlets" : 1,
>>>>> "numoutlets" : 2
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "pictslider",
>>>>> "outlettype" : [ "int", "int" ],
>>>>> "patching_rect" : [ 272.0, 20.0, 100.0, 100.0 ],
>>>>> "id" : "obj-7",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 2
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "newobj",
>>>>> "text" : "*~ 0.2",
>>>>> "outlettype" : [ "signal" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 220.0, 129.0, 34.0, 17.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-8",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "newobj",
>>>>> "text" : "*~ 0.2",
>>>>> "outlettype" : [ "signal" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 180.0, 126.0, 34.0, 17.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-6",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "message",
>>>>> "text" : "open, loop 1, 1",
>>>>> "outlettype" : [ "" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 168.0, 50.0, 70.0, 15.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-2",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "newobj",
>>>>> "text" : "sfplay~ 2",
>>>>> "outlettype" : [ "signal", "signal", "bang" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 177.0, 71.0, 47.0, 17.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-3",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 3,
>>>>> "save" : [ "#N", "sfplay~", "", 2, 120960, 0,
>>>>> "", ";" ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "ezdac~",
>>>>> "patching_rect" : [ 383.0, 252.0, 45.0, 45.0 ],
>>>>> "id" : "obj-5",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 0
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "pictslider",
>>>>> "outlettype" : [ "int", "int" ],
>>>>> "patching_rect" : [ 502.0, 9.0, 100.0, 100.0 ],
>>>>> "id" : "obj-4",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 2
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "newobj",
>>>>> "text" : "CSpvspartE",
>>>>> "outlettype" : [ "signal", "signal" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 283.0, 187.0, 127.0, 17.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-1",
>>>>> "numinlets" : 9,
>>>>> "numoutlets" : 2
>>>>> }
>>>>>
>>>>> }
>>>>> ],
>>>>> "lines" : [ {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-7", 1 ],
>>>>> "destination" : [ "obj-1", 3 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-7", 0 ],
>>>>> "destination" : [ "obj-1", 2 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-3", 1 ],
>>>>> "destination" : [ "obj-8", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-3", 0 ],
>>>>> "destination" : [ "obj-6", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-2", 0 ],
>>>>> "destination" : [ "obj-3", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-12", 0 ],
>>>>> "destination" : [ "obj-1", 8 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-8", 0 ],
>>>>> "destination" : [ "obj-1", 1 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-6", 0 ],
>>>>> "destination" : [ "obj-1", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-1", 0 ],
>>>>> "destination" : [ "obj-5", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-1", 1 ],
>>>>> "destination" : [ "obj-5", 1 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-4", 0 ],
>>>>> "destination" : [ "obj-1", 6 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-4", 1 ],
>>>>> "destination" : [ "obj-1", 7 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-10", 0 ],
>>>>> "destination" : [ "obj-1", 4 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-10", 0 ],
>>>>> "destination" : [ "obj-1", 5 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> ]
>>>>> }
>>>>>
>>>>>
>>>>> Name this "CSpvspartE":
>>>>>
>>>>> {
>>>>> "boxes" : [ {
>>>>> "box" : {
>>>>> "maxclass" : "inlet",
>>>>> "outlettype" : [ "" ],
>>>>> "patching_rect" : [ 897.0, 289.0, 15.0, 15.0 ],
>>>>> "id" : "obj-31",
>>>>> "numinlets" : 0,
>>>>> "numoutlets" : 1,
>>>>> "comment" : "Porttime"
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "message",
>>>>> "text" : "control portime $1",
>>>>> "outlettype" : [ "" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 878.0, 381.0, 83.0, 15.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-30",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "newobj",
>>>>> "text" : "zmap 0 127 0 500",
>>>>> "outlettype" : [ "float" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 780.0, 345.0, 83.0, 17.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-29",
>>>>> "numinlets" : 5,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "newobj",
>>>>> "text" : "zmap 0 127 0 500",
>>>>> "outlettype" : [ "float" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 684.0, 345.0, 83.0, 17.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-28",
>>>>> "numinlets" : 5,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "inlet",
>>>>> "outlettype" : [ "" ],
>>>>> "patching_rect" : [ 811.0, 282.0, 15.0, 15.0 ],
>>>>> "id" : "obj-26",
>>>>> "numinlets" : 0,
>>>>> "numoutlets" : 1,
>>>>> "comment" : "max right"
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "inlet",
>>>>> "outlettype" : [ "" ],
>>>>> "patching_rect" : [ 781.0, 283.0, 15.0, 15.0 ],
>>>>> "id" : "obj-27",
>>>>> "numinlets" : 0,
>>>>> "numoutlets" : 1,
>>>>> "comment" : "max left"
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "message",
>>>>> "text" : "control kmaxR $1",
>>>>> "outlettype" : [ "" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 775.0, 380.0, 81.0, 15.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-24",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "message",
>>>>> "text" : "control kmaxL $1",
>>>>> "outlettype" : [ "" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 699.0, 411.0, 79.0, 15.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-25",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "inlet",
>>>>> "outlettype" : [ "" ],
>>>>> "patching_rect" : [ 588.0, 310.0, 15.0, 15.0 ],
>>>>> "id" : "obj-22",
>>>>> "numinlets" : 0,
>>>>> "numoutlets" : 1,
>>>>> "comment" : "pitch right"
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "inlet",
>>>>> "outlettype" : [ "" ],
>>>>> "patching_rect" : [ 558.0, 311.0, 15.0, 15.0 ],
>>>>> "id" : "obj-23",
>>>>> "numinlets" : 0,
>>>>> "numoutlets" : 1,
>>>>> "comment" : "pitch left"
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "message",
>>>>> "text" : "control kpitchR $1",
>>>>> "outlettype" : [ "" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 603.0, 432.0, 83.0, 15.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-19",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "message",
>>>>> "text" : "control kptichL $1",
>>>>> "outlettype" : [ "" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 527.0, 463.0, 81.0, 15.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-21",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "toggle",
>>>>> "outlettype" : [ "int" ],
>>>>> "patching_rect" : [ 1066.0, 77.0, 20.0, 20.0 ],
>>>>> "id" : "obj-20",
>>>>> "numinlets" : 1,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "outlet",
>>>>> "patching_rect" : [ 151.0, 638.0, 15.0, 15.0 ],
>>>>> "id" : "obj-1",
>>>>> "numinlets" : 1,
>>>>> "numoutlets" : 0,
>>>>> "comment" : ""
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "outlet",
>>>>> "patching_rect" : [ 124.0, 639.0, 15.0, 15.0 ],
>>>>> "id" : "obj-2",
>>>>> "numinlets" : 1,
>>>>> "numoutlets" : 0,
>>>>> "comment" : ""
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "inlet",
>>>>> "outlettype" : [ "" ],
>>>>> "patching_rect" : [ 319.0, 300.0, 15.0, 15.0 ],
>>>>> "id" : "obj-3",
>>>>> "numinlets" : 0,
>>>>> "numoutlets" : 1,
>>>>> "comment" : "Blur right"
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "newobj",
>>>>> "text" : "loadbang",
>>>>> "outlettype" : [ "bang" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 157.0, 419.0, 48.0, 17.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-4",
>>>>> "numinlets" : 1,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "inlet",
>>>>> "outlettype" : [ "" ],
>>>>> "patching_rect" : [ 289.0, 301.0, 15.0, 15.0 ],
>>>>> "id" : "obj-5",
>>>>> "numinlets" : 0,
>>>>> "numoutlets" : 1,
>>>>> "comment" : "Blur left"
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "inlet",
>>>>> "outlettype" : [ "" ],
>>>>> "patching_rect" : [ 175.0, 301.0, 15.0, 15.0 ],
>>>>> "id" : "obj-6",
>>>>> "numinlets" : 0,
>>>>> "numoutlets" : 1,
>>>>> "comment" : "In R"
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "newobj",
>>>>> "text" : "loadmess 0.",
>>>>> "outlettype" : [ "" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 1001.0, 59.0, 63.0, 17.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-7",
>>>>> "numinlets" : 1,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "inlet",
>>>>> "outlettype" : [ "" ],
>>>>> "patching_rect" : [ 142.0, 301.0, 15.0, 15.0 ],
>>>>> "id" : "obj-8",
>>>>> "numinlets" : 0,
>>>>> "numoutlets" : 1,
>>>>> "comment" : "In L"
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "newobj",
>>>>> "text" : "zmap 0 127 0. 2.",
>>>>> "outlettype" : [ "float" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 437.0, 461.0, 78.0, 17.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-9",
>>>>> "numinlets" : 5,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "slider",
>>>>> "outlettype" : [ "" ],
>>>>> "patching_rect" : [ 435.0, 251.0, 144.0, 18.0 ],
>>>>> "id" : "obj-10",
>>>>> "numinlets" : 1,
>>>>> "bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>>>> "orientation" : 1,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "message",
>>>>> "text" : "control kscalR $1",
>>>>> "outlettype" : [ "" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 437.0, 489.0, 80.0, 15.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-11",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "newobj",
>>>>> "text" : "zmap 0 127 0. 2.",
>>>>> "outlettype" : [ "float" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 354.0, 434.0, 78.0, 17.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-12",
>>>>> "numinlets" : 5,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "slider",
>>>>> "outlettype" : [ "" ],
>>>>> "patching_rect" : [ 349.0, 224.0, 144.0, 18.0 ],
>>>>> "id" : "obj-13",
>>>>> "numinlets" : 1,
>>>>> "bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>>>> "orientation" : 1,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "message",
>>>>> "text" : "control kscalL $1",
>>>>> "outlettype" : [ "" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 350.0, 462.0, 78.0, 15.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-14",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "message",
>>>>> "text" : "message $1",
>>>>> "outlettype" : [ "" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 1001.0, 107.0, 63.0, 15.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-15",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "button",
>>>>> "outlettype" : [ "bang" ],
>>>>> "patching_rect" : [ 157.0, 462.0, 15.0, 15.0 ],
>>>>> "id" : "obj-16",
>>>>> "numinlets" : 1,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "message",
>>>>> "text" : "csound CSpvspartE.csd",
>>>>> "outlettype" : [ "" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 185.0, 544.0, 107.0, 15.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-17",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 1
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "box" : {
>>>>> "maxclass" : "newobj",
>>>>> "text" : "csound~",
>>>>> "outlettype" : [ "signal", "signal", "list",
>>>>> "int", "bang", "bang" ],
>>>>> "fontname" : "Arial",
>>>>> "patching_rect" : [ 142.0, 593.0, 86.5, 17.0 ],
>>>>> "fontsize" : 9.0,
>>>>> "id" : "obj-18",
>>>>> "numinlets" : 2,
>>>>> "numoutlets" : 6
>>>>> }
>>>>>
>>>>> }
>>>>> ],
>>>>> "lines" : [ {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-13", 0 ],
>>>>> "destination" : [ "obj-12", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-5", 0 ],
>>>>> "destination" : [ "obj-12", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 298.0, 412.0, 363.5, 412.0 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-12", 0 ],
>>>>> "destination" : [ "obj-14", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-3", 0 ],
>>>>> "destination" : [ "obj-9", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 328.0, 410.0, 446.5, 410.0 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-10", 0 ],
>>>>> "destination" : [ "obj-9", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-9", 0 ],
>>>>> "destination" : [ "obj-11", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-26", 0 ],
>>>>> "destination" : [ "obj-29", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-27", 0 ],
>>>>> "destination" : [ "obj-28", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-29", 0 ],
>>>>> "destination" : [ "obj-24", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-28", 0 ],
>>>>> "destination" : [ "obj-25", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-24", 0 ],
>>>>> "destination" : [ "obj-18", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 784.5, 586.5, 151.5, 586.5 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-25", 0 ],
>>>>> "destination" : [ "obj-18", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 708.5, 571.0, 151.5, 571.0 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-22", 0 ],
>>>>> "destination" : [ "obj-19", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-23", 0 ],
>>>>> "destination" : [ "obj-21", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-19", 0 ],
>>>>> "destination" : [ "obj-18", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 612.5, 576.5, 151.5, 576.5 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-21", 0 ],
>>>>> "destination" : [ "obj-18", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 536.5, 586.0, 151.5, 586.0 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-6", 0 ],
>>>>> "destination" : [ "obj-18", 1 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-18", 1 ],
>>>>> "destination" : [ "obj-1", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-17", 0 ],
>>>>> "destination" : [ "obj-18", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 194.5, 578.0, 151.5, 578.0 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-15", 0 ],
>>>>> "destination" : [ "obj-18", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 1010.5, 571.0, 151.5, 571.0 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-14", 0 ],
>>>>> "destination" : [ "obj-18", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 359.5, 521.0, 151.5, 521.0 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-11", 0 ],
>>>>> "destination" : [ "obj-18", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 446.5, 571.0, 151.5, 571.0 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-8", 0 ],
>>>>> "destination" : [ "obj-18", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-16", 0 ],
>>>>> "destination" : [ "obj-18", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 166.0, 551.0, 151.5, 551.0 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-18", 0 ],
>>>>> "destination" : [ "obj-2", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-20", 0 ],
>>>>> "destination" : [ "obj-15", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 1075.5, 101.5, 1010.5, 101.5 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-7", 0 ],
>>>>> "destination" : [ "obj-15", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-16", 0 ],
>>>>> "destination" : [ "obj-17", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 166.0, 495.0, 194.5, 495.0 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-4", 0 ],
>>>>> "destination" : [ "obj-16", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-30", 0 ],
>>>>> "destination" : [ "obj-18", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ 887.5, 576.0, 151.5, 576.0 ]
>>>>> }
>>>>>
>>>>> }
>>>>> , {
>>>>> "patchline" : {
>>>>> "source" : [ "obj-31", 0 ],
>>>>> "destination" : [ "obj-30", 0 ],
>>>>> "hidden" : 0,
>>>>> "midpoints" : [ ]
>>>>> }
>>>>>
>>>>> }
>>>>> ]
>>>>> }
>>>>>
>>>>> -- 
>>>>> View this message in context: http://www.nabble.com/Partials-
>>>>> Resyn-Real-Time-Overhead-tp23523259p23523259.html
>>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe csound"
>>>>
>>>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,National 
>>>> University
>>>> of Ireland, Maynooth
>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>> "unsubscribe
>>>> csound"
>>>>
>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23525061.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23525727.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2009-05-13 19:11
FromUnUnUnium
Subject[Csnd] Re: Re: Re: Partials/Resyn Real Time Overhead
I see! I was confused about that. This is what lead me to believe that ksmps
was tied to the SR : http://www.csounds.com/man/syntax/header.htm


Victor.Lazzarini wrote:
> 
> I mean the csound ksmps. It is independent of the sampling rate.
> 
> Victor
> ----- Original Message ----- 
> From: "UnUnUnium" 
> To: 
> Sent: Wednesday, May 13, 2009 5:49 PM
> Subject: [Csnd] Re: Re: Partials/Resyn Real Time Overhead
> 
> 
>>
>> I see, so from here some trial and error to find the best
>> efficiency/sound
>> compromise.
>>
>> I am still confused about the ksmps though - do you mean the Csound
>> parameter, or as a parameter of pvsifd?
>>
>> Jeremy
>>
>> Victor.Lazzarini wrote:
>>>
>>> Now you can try bringing the threshold down again until you
>>> get a better analysis.
>>> ksmps does not need to be a multiple of the SR, it just needs
>>> to be integral and smaller than the hopsize.
>>>
>>> Victor
>>> ----- Original Message ----- 
>>> From: "UnUnUnium" 
>>> To: 
>>> Sent: Wednesday, May 13, 2009 5:15 PM
>>> Subject: [Csnd] Re: Partials/Resyn Real Time Overhead
>>>
>>>
>>>>
>>>> Thank you very much for your response! I have changed the parameters as
>>>> you
>>>> stated (though I put ksmps to 100, so it would be a multiple of the
>>>> Sampling
>>>> rate - is that wrong?)
>>>>
>>>> I got the CPU usage down to about 20 percent, but now there is lots of
>>>> very
>>>> unpleasant clicking and popping. Here are the new parameters:
>>>>
>>>> fst  partials fs1,fsi2,.2,5,10, 500  ; partial tracking
>>>> fst2  partials fs1b,fsi2b,.2,5,10, 500  ; partial tracking
>>>>
>>>> aout  tradsyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis (up a
>>>> 5th)
>>>> aout2  tradsyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ; resynthesis (up a
>>>> 5th)
>>>>
>>>> Cheers, Jeremy
>>>>
>>>> Victor.Lazzarini wrote:
>>>>>
>>>>> Suggestions
>>>>>
>>>>> 1. Try changing ksmps to 128
>>>>> 2. Use tradsyn instead of resyn
>>>>> 3. Play with the threshold for partial analysis (.003 might be
>>>>> too small?)
>>>>>
>>>>> Victor
>>>>>
>>>>> ----- Original Message -----
>>>>> From: UnUnUnium 
>>>>> Date: Wednesday, May 13, 2009 3:46 pm
>>>>> Subject: [Csnd] Partials/Resyn Real Time Overhead
>>>>> To: csound@lists.bath.ac.uk
>>>>>
>>>>>>
>>>>>> Hello. I am using the partials and resyn opcodes in real time,
>>>>>> in conjunction
>>>>>> with Max/MSP, and I get 100% cpu usage as soon as I activate the
>>>>>> .csd. I am
>>>>>> wondering whether or not I am doing something wrong in my code,
>>>>>> or if this
>>>>>> opcode is simply very cpu hungry - I am using two for stereo. If
>>>>>> someonecould have a look I would be grateful. I have included my
>>>>>> Csound code below
>>>>>> - underneath that I have included two max abstractions for those
>>>>>> who have
>>>>>> max.
>>>>>>
>>>>>> Save this as "CSpvspartE.csd"
>>>>>>
>>>>>> 
>>>>>>
>>>>>> 
>>>>>>
>>>>>> sr = 44100
>>>>>> kr = 4410
>>>>>> ksmps = 10
>>>>>> nchnls = 2
>>>>>>
>>>>>> giCosine ftgen 1, 0, 8193, 9, 1,
>>>>>> 1, 90 ; cosine
>>>>>>
>>>>>> chn_k "kscalL", 1
>>>>>> chn_k "kscalR", 1
>>>>>> chn_k "kpitchL", 1
>>>>>> chn_k "kpitchR", 1
>>>>>> chn_k "kmaxL", 1
>>>>>> chn_k "kmaxR", 1
>>>>>>
>>>>>> chn_k "portime", 1
>>>>>>
>>>>>> instr 1
>>>>>>
>>>>>> ;control invalues
>>>>>>
>>>>>>
>>>>>> ikscalL chnget "kscalL"
>>>>>> ikscalR chnget "kscalR"
>>>>>> gkscalL chnget "kscalL"
>>>>>> gkscalR chnget "kscalR"
>>>>>>
>>>>>> ikpitchL chnget "kpitchL"
>>>>>> ikpitchR chnget "kpitchR"
>>>>>> gkpitchL chnget "kpitchL"
>>>>>> gkpitchR chnget "kpitchR"
>>>>>>
>>>>>> ikmaxL chnget "kmaxL"
>>>>>> ikmaxR chnget "kmaxR"
>>>>>> gkmaxL chnget "kmaxL"
>>>>>> gkmaxR chnget "kmaxR"
>>>>>>
>>>>>> kTime
>>>>>> chnget "portime"
>>>>>> ;kTime = 0.2
>>>>>>
>>>>>> gkscalL portk gkscalL,
>>>>>> kTime, ikscalL
>>>>>> gkscalR portk gkscalR,
>>>>>> kTime, ikscalR
>>>>>>
>>>>>> gkpitchL portk
>>>>>> gkpitchL, kTime, ikpitchL
>>>>>> gkpitchR portk
>>>>>> gkpitchR, kTime, ikpitchR
>>>>>>
>>>>>> gkmaxL portk gkmaxL,
>>>>>> kTime, ikmaxL
>>>>>> gkmaxR portk gkmaxR,
>>>>>> kTime, ikmaxR
>>>>>>
>>>>>>
>>>>>>
>>>>>> ;synth stuff
>>>>>> ain inch 1
>>>>>> ain2 inch 2
>>>>>>
>>>>>> ; input signal
>>>>>> fs1,fsi2 pvsifd ain,2048,512,1 ; ifd analysis
>>>>>> fs1b,fsi2b pvsifd ain2,2048,512,1 ; ifd analysis
>>>>>>
>>>>>> fst partials fs1,fsi2,.003,1,3, 500 ; partial tracking
>>>>>> fst2 partials fs1b,fsi2b,.003,1,3, 500 ; partial tracking
>>>>>>
>>>>>> aout resyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis
>>>>>> (up a 5th)
>>>>>> aout2 resyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ;
>>>>>> resynthesis (up a 5th)
>>>>>>
>>>>>> denorm aout, aout2
>>>>>> outs aout, aout2
>>>>>>
>>>>>> endin
>>>>>>
>>>>>> 
>>>>>>
>>>>>> 
>>>>>>
>>>>>> f 0
>>>>>> 60000
>>>>>> i 1 0
>>>>>> 60000 ; Activate the always-on chnget instrument.
>>>>>> e ; indicates the end of the score
>>>>>> 
>>>>>> 
>>>>>>
>>>>>> MAX ABSTRACTIONS:
>>>>>>
>>>>>> Name this "PVSParttrial" (this is the main patch):
>>>>>>
>>>>>> {
>>>>>> "boxes" : [ {
>>>>>> "box" : {
>>>>>> "maxclass" : "number",
>>>>>> "outlettype" : [ "int", "bang" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 540.0, 159.0, 50.0, 17.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-12",
>>>>>> "numinlets" : 1,
>>>>>> "numoutlets" : 2
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "number",
>>>>>> "outlettype" : [ "int", "bang" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 422.0, 98.0, 50.0, 17.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-10",
>>>>>> "numinlets" : 1,
>>>>>> "numoutlets" : 2
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "pictslider",
>>>>>> "outlettype" : [ "int", "int" ],
>>>>>> "patching_rect" : [ 272.0, 20.0, 100.0, 100.0 ],
>>>>>> "id" : "obj-7",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 2
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "newobj",
>>>>>> "text" : "*~ 0.2",
>>>>>> "outlettype" : [ "signal" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 220.0, 129.0, 34.0, 17.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-8",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "newobj",
>>>>>> "text" : "*~ 0.2",
>>>>>> "outlettype" : [ "signal" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 180.0, 126.0, 34.0, 17.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-6",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "message",
>>>>>> "text" : "open, loop 1, 1",
>>>>>> "outlettype" : [ "" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 168.0, 50.0, 70.0, 15.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-2",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "newobj",
>>>>>> "text" : "sfplay~ 2",
>>>>>> "outlettype" : [ "signal", "signal", "bang" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 177.0, 71.0, 47.0, 17.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-3",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 3,
>>>>>> "save" : [ "#N", "sfplay~", "", 2, 120960, 0,
>>>>>> "", ";" ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "ezdac~",
>>>>>> "patching_rect" : [ 383.0, 252.0, 45.0, 45.0 ],
>>>>>> "id" : "obj-5",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 0
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "pictslider",
>>>>>> "outlettype" : [ "int", "int" ],
>>>>>> "patching_rect" : [ 502.0, 9.0, 100.0, 100.0 ],
>>>>>> "id" : "obj-4",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 2
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "newobj",
>>>>>> "text" : "CSpvspartE",
>>>>>> "outlettype" : [ "signal", "signal" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 283.0, 187.0, 127.0, 17.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-1",
>>>>>> "numinlets" : 9,
>>>>>> "numoutlets" : 2
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> ],
>>>>>> "lines" : [ {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-7", 1 ],
>>>>>> "destination" : [ "obj-1", 3 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-7", 0 ],
>>>>>> "destination" : [ "obj-1", 2 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-3", 1 ],
>>>>>> "destination" : [ "obj-8", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-3", 0 ],
>>>>>> "destination" : [ "obj-6", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-2", 0 ],
>>>>>> "destination" : [ "obj-3", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-12", 0 ],
>>>>>> "destination" : [ "obj-1", 8 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-8", 0 ],
>>>>>> "destination" : [ "obj-1", 1 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-6", 0 ],
>>>>>> "destination" : [ "obj-1", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-1", 0 ],
>>>>>> "destination" : [ "obj-5", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-1", 1 ],
>>>>>> "destination" : [ "obj-5", 1 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-4", 0 ],
>>>>>> "destination" : [ "obj-1", 6 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-4", 1 ],
>>>>>> "destination" : [ "obj-1", 7 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-10", 0 ],
>>>>>> "destination" : [ "obj-1", 4 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-10", 0 ],
>>>>>> "destination" : [ "obj-1", 5 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> ]
>>>>>> }
>>>>>>
>>>>>>
>>>>>> Name this "CSpvspartE":
>>>>>>
>>>>>> {
>>>>>> "boxes" : [ {
>>>>>> "box" : {
>>>>>> "maxclass" : "inlet",
>>>>>> "outlettype" : [ "" ],
>>>>>> "patching_rect" : [ 897.0, 289.0, 15.0, 15.0 ],
>>>>>> "id" : "obj-31",
>>>>>> "numinlets" : 0,
>>>>>> "numoutlets" : 1,
>>>>>> "comment" : "Porttime"
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "message",
>>>>>> "text" : "control portime $1",
>>>>>> "outlettype" : [ "" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 878.0, 381.0, 83.0, 15.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-30",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "newobj",
>>>>>> "text" : "zmap 0 127 0 500",
>>>>>> "outlettype" : [ "float" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 780.0, 345.0, 83.0, 17.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-29",
>>>>>> "numinlets" : 5,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "newobj",
>>>>>> "text" : "zmap 0 127 0 500",
>>>>>> "outlettype" : [ "float" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 684.0, 345.0, 83.0, 17.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-28",
>>>>>> "numinlets" : 5,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "inlet",
>>>>>> "outlettype" : [ "" ],
>>>>>> "patching_rect" : [ 811.0, 282.0, 15.0, 15.0 ],
>>>>>> "id" : "obj-26",
>>>>>> "numinlets" : 0,
>>>>>> "numoutlets" : 1,
>>>>>> "comment" : "max right"
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "inlet",
>>>>>> "outlettype" : [ "" ],
>>>>>> "patching_rect" : [ 781.0, 283.0, 15.0, 15.0 ],
>>>>>> "id" : "obj-27",
>>>>>> "numinlets" : 0,
>>>>>> "numoutlets" : 1,
>>>>>> "comment" : "max left"
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "message",
>>>>>> "text" : "control kmaxR $1",
>>>>>> "outlettype" : [ "" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 775.0, 380.0, 81.0, 15.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-24",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "message",
>>>>>> "text" : "control kmaxL $1",
>>>>>> "outlettype" : [ "" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 699.0, 411.0, 79.0, 15.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-25",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "inlet",
>>>>>> "outlettype" : [ "" ],
>>>>>> "patching_rect" : [ 588.0, 310.0, 15.0, 15.0 ],
>>>>>> "id" : "obj-22",
>>>>>> "numinlets" : 0,
>>>>>> "numoutlets" : 1,
>>>>>> "comment" : "pitch right"
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "inlet",
>>>>>> "outlettype" : [ "" ],
>>>>>> "patching_rect" : [ 558.0, 311.0, 15.0, 15.0 ],
>>>>>> "id" : "obj-23",
>>>>>> "numinlets" : 0,
>>>>>> "numoutlets" : 1,
>>>>>> "comment" : "pitch left"
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "message",
>>>>>> "text" : "control kpitchR $1",
>>>>>> "outlettype" : [ "" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 603.0, 432.0, 83.0, 15.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-19",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "message",
>>>>>> "text" : "control kptichL $1",
>>>>>> "outlettype" : [ "" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 527.0, 463.0, 81.0, 15.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-21",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "toggle",
>>>>>> "outlettype" : [ "int" ],
>>>>>> "patching_rect" : [ 1066.0, 77.0, 20.0, 20.0 ],
>>>>>> "id" : "obj-20",
>>>>>> "numinlets" : 1,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "outlet",
>>>>>> "patching_rect" : [ 151.0, 638.0, 15.0, 15.0 ],
>>>>>> "id" : "obj-1",
>>>>>> "numinlets" : 1,
>>>>>> "numoutlets" : 0,
>>>>>> "comment" : ""
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "outlet",
>>>>>> "patching_rect" : [ 124.0, 639.0, 15.0, 15.0 ],
>>>>>> "id" : "obj-2",
>>>>>> "numinlets" : 1,
>>>>>> "numoutlets" : 0,
>>>>>> "comment" : ""
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "inlet",
>>>>>> "outlettype" : [ "" ],
>>>>>> "patching_rect" : [ 319.0, 300.0, 15.0, 15.0 ],
>>>>>> "id" : "obj-3",
>>>>>> "numinlets" : 0,
>>>>>> "numoutlets" : 1,
>>>>>> "comment" : "Blur right"
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "newobj",
>>>>>> "text" : "loadbang",
>>>>>> "outlettype" : [ "bang" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 157.0, 419.0, 48.0, 17.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-4",
>>>>>> "numinlets" : 1,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "inlet",
>>>>>> "outlettype" : [ "" ],
>>>>>> "patching_rect" : [ 289.0, 301.0, 15.0, 15.0 ],
>>>>>> "id" : "obj-5",
>>>>>> "numinlets" : 0,
>>>>>> "numoutlets" : 1,
>>>>>> "comment" : "Blur left"
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "inlet",
>>>>>> "outlettype" : [ "" ],
>>>>>> "patching_rect" : [ 175.0, 301.0, 15.0, 15.0 ],
>>>>>> "id" : "obj-6",
>>>>>> "numinlets" : 0,
>>>>>> "numoutlets" : 1,
>>>>>> "comment" : "In R"
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "newobj",
>>>>>> "text" : "loadmess 0.",
>>>>>> "outlettype" : [ "" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 1001.0, 59.0, 63.0, 17.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-7",
>>>>>> "numinlets" : 1,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "inlet",
>>>>>> "outlettype" : [ "" ],
>>>>>> "patching_rect" : [ 142.0, 301.0, 15.0, 15.0 ],
>>>>>> "id" : "obj-8",
>>>>>> "numinlets" : 0,
>>>>>> "numoutlets" : 1,
>>>>>> "comment" : "In L"
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "newobj",
>>>>>> "text" : "zmap 0 127 0. 2.",
>>>>>> "outlettype" : [ "float" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 437.0, 461.0, 78.0, 17.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-9",
>>>>>> "numinlets" : 5,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "slider",
>>>>>> "outlettype" : [ "" ],
>>>>>> "patching_rect" : [ 435.0, 251.0, 144.0, 18.0 ],
>>>>>> "id" : "obj-10",
>>>>>> "numinlets" : 1,
>>>>>> "bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>>>>> "orientation" : 1,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "message",
>>>>>> "text" : "control kscalR $1",
>>>>>> "outlettype" : [ "" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 437.0, 489.0, 80.0, 15.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-11",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "newobj",
>>>>>> "text" : "zmap 0 127 0. 2.",
>>>>>> "outlettype" : [ "float" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 354.0, 434.0, 78.0, 17.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-12",
>>>>>> "numinlets" : 5,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "slider",
>>>>>> "outlettype" : [ "" ],
>>>>>> "patching_rect" : [ 349.0, 224.0, 144.0, 18.0 ],
>>>>>> "id" : "obj-13",
>>>>>> "numinlets" : 1,
>>>>>> "bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>>>>> "orientation" : 1,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "message",
>>>>>> "text" : "control kscalL $1",
>>>>>> "outlettype" : [ "" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 350.0, 462.0, 78.0, 15.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-14",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "message",
>>>>>> "text" : "message $1",
>>>>>> "outlettype" : [ "" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 1001.0, 107.0, 63.0, 15.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-15",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "button",
>>>>>> "outlettype" : [ "bang" ],
>>>>>> "patching_rect" : [ 157.0, 462.0, 15.0, 15.0 ],
>>>>>> "id" : "obj-16",
>>>>>> "numinlets" : 1,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "message",
>>>>>> "text" : "csound CSpvspartE.csd",
>>>>>> "outlettype" : [ "" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 185.0, 544.0, 107.0, 15.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-17",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 1
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "box" : {
>>>>>> "maxclass" : "newobj",
>>>>>> "text" : "csound~",
>>>>>> "outlettype" : [ "signal", "signal", "list",
>>>>>> "int", "bang", "bang" ],
>>>>>> "fontname" : "Arial",
>>>>>> "patching_rect" : [ 142.0, 593.0, 86.5, 17.0 ],
>>>>>> "fontsize" : 9.0,
>>>>>> "id" : "obj-18",
>>>>>> "numinlets" : 2,
>>>>>> "numoutlets" : 6
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> ],
>>>>>> "lines" : [ {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-13", 0 ],
>>>>>> "destination" : [ "obj-12", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-5", 0 ],
>>>>>> "destination" : [ "obj-12", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 298.0, 412.0, 363.5, 412.0 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-12", 0 ],
>>>>>> "destination" : [ "obj-14", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-3", 0 ],
>>>>>> "destination" : [ "obj-9", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 328.0, 410.0, 446.5, 410.0 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-10", 0 ],
>>>>>> "destination" : [ "obj-9", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-9", 0 ],
>>>>>> "destination" : [ "obj-11", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-26", 0 ],
>>>>>> "destination" : [ "obj-29", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-27", 0 ],
>>>>>> "destination" : [ "obj-28", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-29", 0 ],
>>>>>> "destination" : [ "obj-24", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-28", 0 ],
>>>>>> "destination" : [ "obj-25", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-24", 0 ],
>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 784.5, 586.5, 151.5, 586.5 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-25", 0 ],
>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 708.5, 571.0, 151.5, 571.0 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-22", 0 ],
>>>>>> "destination" : [ "obj-19", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-23", 0 ],
>>>>>> "destination" : [ "obj-21", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-19", 0 ],
>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 612.5, 576.5, 151.5, 576.5 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-21", 0 ],
>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 536.5, 586.0, 151.5, 586.0 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-6", 0 ],
>>>>>> "destination" : [ "obj-18", 1 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-18", 1 ],
>>>>>> "destination" : [ "obj-1", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-17", 0 ],
>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 194.5, 578.0, 151.5, 578.0 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-15", 0 ],
>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 1010.5, 571.0, 151.5, 571.0 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-14", 0 ],
>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 359.5, 521.0, 151.5, 521.0 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-11", 0 ],
>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 446.5, 571.0, 151.5, 571.0 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-8", 0 ],
>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-16", 0 ],
>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 166.0, 551.0, 151.5, 551.0 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-18", 0 ],
>>>>>> "destination" : [ "obj-2", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-20", 0 ],
>>>>>> "destination" : [ "obj-15", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 1075.5, 101.5, 1010.5, 101.5 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-7", 0 ],
>>>>>> "destination" : [ "obj-15", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-16", 0 ],
>>>>>> "destination" : [ "obj-17", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 166.0, 495.0, 194.5, 495.0 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-4", 0 ],
>>>>>> "destination" : [ "obj-16", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-30", 0 ],
>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ 887.5, 576.0, 151.5, 576.0 ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> , {
>>>>>> "patchline" : {
>>>>>> "source" : [ "obj-31", 0 ],
>>>>>> "destination" : [ "obj-30", 0 ],
>>>>>> "hidden" : 0,
>>>>>> "midpoints" : [ ]
>>>>>> }
>>>>>>
>>>>>> }
>>>>>> ]
>>>>>> }
>>>>>>
>>>>>> -- 
>>>>>> View this message in context: http://www.nabble.com/Partials-
>>>>>> Resyn-Real-Time-Overhead-tp23523259p23523259.html
>>>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to this list.
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe csound"
>>>>>
>>>>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,National 
>>>>> University
>>>>> of Ireland, Maynooth
>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23525061.html
>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe
>>>> csound"
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23525727.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>> csound" 
> 
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 
> 

-- 
View this message in context: http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23526665.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-05-13 21:14
Fromvictor
Subject[Csnd] Re: Re: Re: Re: Partials/Resyn Real Time Overhead
yes, it can be confusing, but it is kr that is tied to sr. No need to
define that if you define ksmps and sr, though.
----- Original Message ----- 
From: "UnUnUnium" 
To: 
Sent: Wednesday, May 13, 2009 7:11 PM
Subject: [Csnd] Re: Re: Re: Partials/Resyn Real Time Overhead


>
> I see! I was confused about that. This is what lead me to believe that 
> ksmps
> was tied to the SR : http://www.csounds.com/man/syntax/header.htm
>
>
> Victor.Lazzarini wrote:
>>
>> I mean the csound ksmps. It is independent of the sampling rate.
>>
>> Victor
>> ----- Original Message ----- 
>> From: "UnUnUnium" 
>> To: 
>> Sent: Wednesday, May 13, 2009 5:49 PM
>> Subject: [Csnd] Re: Re: Partials/Resyn Real Time Overhead
>>
>>
>>>
>>> I see, so from here some trial and error to find the best
>>> efficiency/sound
>>> compromise.
>>>
>>> I am still confused about the ksmps though - do you mean the Csound
>>> parameter, or as a parameter of pvsifd?
>>>
>>> Jeremy
>>>
>>> Victor.Lazzarini wrote:
>>>>
>>>> Now you can try bringing the threshold down again until you
>>>> get a better analysis.
>>>> ksmps does not need to be a multiple of the SR, it just needs
>>>> to be integral and smaller than the hopsize.
>>>>
>>>> Victor
>>>> ----- Original Message ----- 
>>>> From: "UnUnUnium" 
>>>> To: 
>>>> Sent: Wednesday, May 13, 2009 5:15 PM
>>>> Subject: [Csnd] Re: Partials/Resyn Real Time Overhead
>>>>
>>>>
>>>>>
>>>>> Thank you very much for your response! I have changed the parameters 
>>>>> as
>>>>> you
>>>>> stated (though I put ksmps to 100, so it would be a multiple of the
>>>>> Sampling
>>>>> rate - is that wrong?)
>>>>>
>>>>> I got the CPU usage down to about 20 percent, but now there is lots of
>>>>> very
>>>>> unpleasant clicking and popping. Here are the new parameters:
>>>>>
>>>>> fst  partials fs1,fsi2,.2,5,10, 500  ; partial tracking
>>>>> fst2  partials fs1b,fsi2b,.2,5,10, 500  ; partial tracking
>>>>>
>>>>> aout  tradsyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis (up a
>>>>> 5th)
>>>>> aout2  tradsyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ; resynthesis (up a
>>>>> 5th)
>>>>>
>>>>> Cheers, Jeremy
>>>>>
>>>>> Victor.Lazzarini wrote:
>>>>>>
>>>>>> Suggestions
>>>>>>
>>>>>> 1. Try changing ksmps to 128
>>>>>> 2. Use tradsyn instead of resyn
>>>>>> 3. Play with the threshold for partial analysis (.003 might be
>>>>>> too small?)
>>>>>>
>>>>>> Victor
>>>>>>
>>>>>> ----- Original Message -----
>>>>>> From: UnUnUnium 
>>>>>> Date: Wednesday, May 13, 2009 3:46 pm
>>>>>> Subject: [Csnd] Partials/Resyn Real Time Overhead
>>>>>> To: csound@lists.bath.ac.uk
>>>>>>
>>>>>>>
>>>>>>> Hello. I am using the partials and resyn opcodes in real time,
>>>>>>> in conjunction
>>>>>>> with Max/MSP, and I get 100% cpu usage as soon as I activate the
>>>>>>> .csd. I am
>>>>>>> wondering whether or not I am doing something wrong in my code,
>>>>>>> or if this
>>>>>>> opcode is simply very cpu hungry - I am using two for stereo. If
>>>>>>> someonecould have a look I would be grateful. I have included my
>>>>>>> Csound code below
>>>>>>> - underneath that I have included two max abstractions for those
>>>>>>> who have
>>>>>>> max.
>>>>>>>
>>>>>>> Save this as "CSpvspartE.csd"
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>> sr = 44100
>>>>>>> kr = 4410
>>>>>>> ksmps = 10
>>>>>>> nchnls = 2
>>>>>>>
>>>>>>> giCosine ftgen 1, 0, 8193, 9, 1,
>>>>>>> 1, 90 ; cosine
>>>>>>>
>>>>>>> chn_k "kscalL", 1
>>>>>>> chn_k "kscalR", 1
>>>>>>> chn_k "kpitchL", 1
>>>>>>> chn_k "kpitchR", 1
>>>>>>> chn_k "kmaxL", 1
>>>>>>> chn_k "kmaxR", 1
>>>>>>>
>>>>>>> chn_k "portime", 1
>>>>>>>
>>>>>>> instr 1
>>>>>>>
>>>>>>> ;control invalues
>>>>>>>
>>>>>>>
>>>>>>> ikscalL chnget "kscalL"
>>>>>>> ikscalR chnget "kscalR"
>>>>>>> gkscalL chnget "kscalL"
>>>>>>> gkscalR chnget "kscalR"
>>>>>>>
>>>>>>> ikpitchL chnget "kpitchL"
>>>>>>> ikpitchR chnget "kpitchR"
>>>>>>> gkpitchL chnget "kpitchL"
>>>>>>> gkpitchR chnget "kpitchR"
>>>>>>>
>>>>>>> ikmaxL chnget "kmaxL"
>>>>>>> ikmaxR chnget "kmaxR"
>>>>>>> gkmaxL chnget "kmaxL"
>>>>>>> gkmaxR chnget "kmaxR"
>>>>>>>
>>>>>>> kTime
>>>>>>> chnget "portime"
>>>>>>> ;kTime = 0.2
>>>>>>>
>>>>>>> gkscalL portk gkscalL,
>>>>>>> kTime, ikscalL
>>>>>>> gkscalR portk gkscalR,
>>>>>>> kTime, ikscalR
>>>>>>>
>>>>>>> gkpitchL portk
>>>>>>> gkpitchL, kTime, ikpitchL
>>>>>>> gkpitchR portk
>>>>>>> gkpitchR, kTime, ikpitchR
>>>>>>>
>>>>>>> gkmaxL portk gkmaxL,
>>>>>>> kTime, ikmaxL
>>>>>>> gkmaxR portk gkmaxR,
>>>>>>> kTime, ikmaxR
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ;synth stuff
>>>>>>> ain inch 1
>>>>>>> ain2 inch 2
>>>>>>>
>>>>>>> ; input signal
>>>>>>> fs1,fsi2 pvsifd ain,2048,512,1 ; ifd analysis
>>>>>>> fs1b,fsi2b pvsifd ain2,2048,512,1 ; ifd analysis
>>>>>>>
>>>>>>> fst partials fs1,fsi2,.003,1,3, 500 ; partial tracking
>>>>>>> fst2 partials fs1b,fsi2b,.003,1,3, 500 ; partial tracking
>>>>>>>
>>>>>>> aout resyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis
>>>>>>> (up a 5th)
>>>>>>> aout2 resyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ;
>>>>>>> resynthesis (up a 5th)
>>>>>>>
>>>>>>> denorm aout, aout2
>>>>>>> outs aout, aout2
>>>>>>>
>>>>>>> endin
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>> f 0
>>>>>>> 60000
>>>>>>> i 1 0
>>>>>>> 60000 ; Activate the always-on chnget instrument.
>>>>>>> e ; indicates the end of the score
>>>>>>> 
>>>>>>> 
>>>>>>>
>>>>>>> MAX ABSTRACTIONS:
>>>>>>>
>>>>>>> Name this "PVSParttrial" (this is the main patch):
>>>>>>>
>>>>>>> {
>>>>>>> "boxes" : [ {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "number",
>>>>>>> "outlettype" : [ "int", "bang" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 540.0, 159.0, 50.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-12",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 2
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "number",
>>>>>>> "outlettype" : [ "int", "bang" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 422.0, 98.0, 50.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-10",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 2
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "pictslider",
>>>>>>> "outlettype" : [ "int", "int" ],
>>>>>>> "patching_rect" : [ 272.0, 20.0, 100.0, 100.0 ],
>>>>>>> "id" : "obj-7",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 2
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "*~ 0.2",
>>>>>>> "outlettype" : [ "signal" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 220.0, 129.0, 34.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-8",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "*~ 0.2",
>>>>>>> "outlettype" : [ "signal" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 180.0, 126.0, 34.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-6",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "open, loop 1, 1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 168.0, 50.0, 70.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-2",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "sfplay~ 2",
>>>>>>> "outlettype" : [ "signal", "signal", "bang" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 177.0, 71.0, 47.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-3",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 3,
>>>>>>> "save" : [ "#N", "sfplay~", "", 2, 120960, 0,
>>>>>>> "", ";" ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "ezdac~",
>>>>>>> "patching_rect" : [ 383.0, 252.0, 45.0, 45.0 ],
>>>>>>> "id" : "obj-5",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 0
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "pictslider",
>>>>>>> "outlettype" : [ "int", "int" ],
>>>>>>> "patching_rect" : [ 502.0, 9.0, 100.0, 100.0 ],
>>>>>>> "id" : "obj-4",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 2
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "CSpvspartE",
>>>>>>> "outlettype" : [ "signal", "signal" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 283.0, 187.0, 127.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-1",
>>>>>>> "numinlets" : 9,
>>>>>>> "numoutlets" : 2
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> ],
>>>>>>> "lines" : [ {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-7", 1 ],
>>>>>>> "destination" : [ "obj-1", 3 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-7", 0 ],
>>>>>>> "destination" : [ "obj-1", 2 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-3", 1 ],
>>>>>>> "destination" : [ "obj-8", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-3", 0 ],
>>>>>>> "destination" : [ "obj-6", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-2", 0 ],
>>>>>>> "destination" : [ "obj-3", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-12", 0 ],
>>>>>>> "destination" : [ "obj-1", 8 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-8", 0 ],
>>>>>>> "destination" : [ "obj-1", 1 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-6", 0 ],
>>>>>>> "destination" : [ "obj-1", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-1", 0 ],
>>>>>>> "destination" : [ "obj-5", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-1", 1 ],
>>>>>>> "destination" : [ "obj-5", 1 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-4", 0 ],
>>>>>>> "destination" : [ "obj-1", 6 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-4", 1 ],
>>>>>>> "destination" : [ "obj-1", 7 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-10", 0 ],
>>>>>>> "destination" : [ "obj-1", 4 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-10", 0 ],
>>>>>>> "destination" : [ "obj-1", 5 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> ]
>>>>>>> }
>>>>>>>
>>>>>>>
>>>>>>> Name this "CSpvspartE":
>>>>>>>
>>>>>>> {
>>>>>>> "boxes" : [ {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 897.0, 289.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-31",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "Porttime"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control portime $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 878.0, 381.0, 83.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-30",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "zmap 0 127 0 500",
>>>>>>> "outlettype" : [ "float" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 780.0, 345.0, 83.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-29",
>>>>>>> "numinlets" : 5,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "zmap 0 127 0 500",
>>>>>>> "outlettype" : [ "float" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 684.0, 345.0, 83.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-28",
>>>>>>> "numinlets" : 5,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 811.0, 282.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-26",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "max right"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 781.0, 283.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-27",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "max left"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control kmaxR $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 775.0, 380.0, 81.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-24",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control kmaxL $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 699.0, 411.0, 79.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-25",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 588.0, 310.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-22",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "pitch right"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 558.0, 311.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-23",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "pitch left"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control kpitchR $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 603.0, 432.0, 83.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-19",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control kptichL $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 527.0, 463.0, 81.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-21",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "toggle",
>>>>>>> "outlettype" : [ "int" ],
>>>>>>> "patching_rect" : [ 1066.0, 77.0, 20.0, 20.0 ],
>>>>>>> "id" : "obj-20",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "outlet",
>>>>>>> "patching_rect" : [ 151.0, 638.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-1",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 0,
>>>>>>> "comment" : ""
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "outlet",
>>>>>>> "patching_rect" : [ 124.0, 639.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-2",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 0,
>>>>>>> "comment" : ""
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 319.0, 300.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-3",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "Blur right"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "loadbang",
>>>>>>> "outlettype" : [ "bang" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 157.0, 419.0, 48.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-4",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 289.0, 301.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-5",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "Blur left"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 175.0, 301.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-6",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "In R"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "loadmess 0.",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 1001.0, 59.0, 63.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-7",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 142.0, 301.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-8",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "In L"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "zmap 0 127 0. 2.",
>>>>>>> "outlettype" : [ "float" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 437.0, 461.0, 78.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-9",
>>>>>>> "numinlets" : 5,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "slider",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 435.0, 251.0, 144.0, 18.0 ],
>>>>>>> "id" : "obj-10",
>>>>>>> "numinlets" : 1,
>>>>>>> "bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>>>>>> "orientation" : 1,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control kscalR $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 437.0, 489.0, 80.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-11",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "zmap 0 127 0. 2.",
>>>>>>> "outlettype" : [ "float" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 354.0, 434.0, 78.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-12",
>>>>>>> "numinlets" : 5,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "slider",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 349.0, 224.0, 144.0, 18.0 ],
>>>>>>> "id" : "obj-13",
>>>>>>> "numinlets" : 1,
>>>>>>> "bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>>>>>> "orientation" : 1,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control kscalL $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 350.0, 462.0, 78.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-14",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "message $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 1001.0, 107.0, 63.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-15",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "button",
>>>>>>> "outlettype" : [ "bang" ],
>>>>>>> "patching_rect" : [ 157.0, 462.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-16",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "csound CSpvspartE.csd",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 185.0, 544.0, 107.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-17",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "csound~",
>>>>>>> "outlettype" : [ "signal", "signal", "list",
>>>>>>> "int", "bang", "bang" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 142.0, 593.0, 86.5, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-18",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 6
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> ],
>>>>>>> "lines" : [ {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-13", 0 ],
>>>>>>> "destination" : [ "obj-12", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-5", 0 ],
>>>>>>> "destination" : [ "obj-12", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 298.0, 412.0, 363.5, 412.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-12", 0 ],
>>>>>>> "destination" : [ "obj-14", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-3", 0 ],
>>>>>>> "destination" : [ "obj-9", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 328.0, 410.0, 446.5, 410.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-10", 0 ],
>>>>>>> "destination" : [ "obj-9", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-9", 0 ],
>>>>>>> "destination" : [ "obj-11", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-26", 0 ],
>>>>>>> "destination" : [ "obj-29", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-27", 0 ],
>>>>>>> "destination" : [ "obj-28", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-29", 0 ],
>>>>>>> "destination" : [ "obj-24", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-28", 0 ],
>>>>>>> "destination" : [ "obj-25", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-24", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 784.5, 586.5, 151.5, 586.5 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-25", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 708.5, 571.0, 151.5, 571.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-22", 0 ],
>>>>>>> "destination" : [ "obj-19", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-23", 0 ],
>>>>>>> "destination" : [ "obj-21", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-19", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 612.5, 576.5, 151.5, 576.5 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-21", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 536.5, 586.0, 151.5, 586.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-6", 0 ],
>>>>>>> "destination" : [ "obj-18", 1 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-18", 1 ],
>>>>>>> "destination" : [ "obj-1", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-17", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 194.5, 578.0, 151.5, 578.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-15", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 1010.5, 571.0, 151.5, 571.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-14", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 359.5, 521.0, 151.5, 521.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-11", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 446.5, 571.0, 151.5, 571.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-8", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-16", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 166.0, 551.0, 151.5, 551.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-18", 0 ],
>>>>>>> "destination" : [ "obj-2", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-20", 0 ],
>>>>>>> "destination" : [ "obj-15", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 1075.5, 101.5, 1010.5, 101.5 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-7", 0 ],
>>>>>>> "destination" : [ "obj-15", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-16", 0 ],
>>>>>>> "destination" : [ "obj-17", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 166.0, 495.0, 194.5, 495.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-4", 0 ],
>>>>>>> "destination" : [ "obj-16", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-30", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 887.5, 576.0, 151.5, 576.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-31", 0 ],
>>>>>>> "destination" : [ "obj-30", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> ]
>>>>>>> }
>>>>>>>
>>>>>>> -- 
>>>>>>> View this message in context: http://www.nabble.com/Partials-
>>>>>>> Resyn-Real-Time-Overhead-tp23523259p23523259.html
>>>>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to this list.
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe csound"
>>>>>>
>>>>>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,National
>>>>>> University
>>>>>> of Ireland, Maynooth
>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to this list.
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>
>>>>>
>>>>> -- 
>>>>> View this message in context:
>>>>> http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23525061.html
>>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>> "unsubscribe
>>>> csound"
>>>>
>>>>
>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23525727.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23526665.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2009-05-14 02:36
FromAndres Cabrera
Subject[Csnd] Re: Re: Re: Re: Partials/Resyn Real Time Overhead
Hi,

You should use the newer manual:

http://www.csounds.com/manual/html/index.html
http://www.csounds.com/manual/html/OrchTop.html#OrchHeader

Cheers,
Andrés

On Wed, May 13, 2009 at 1:11 PM, UnUnUnium  wrote:
>
> I see! I was confused about that. This is what lead me to believe that ksmps
> was tied to the SR : http://www.csounds.com/man/syntax/header.htm
>
>
> Victor.Lazzarini wrote:
>>
>> I mean the csound ksmps. It is independent of the sampling rate.
>>
>> Victor
>> ----- Original Message -----
>> From: "UnUnUnium" 
>> To: 
>> Sent: Wednesday, May 13, 2009 5:49 PM
>> Subject: [Csnd] Re: Re: Partials/Resyn Real Time Overhead
>>
>>
>>>
>>> I see, so from here some trial and error to find the best
>>> efficiency/sound
>>> compromise.
>>>
>>> I am still confused about the ksmps though - do you mean the Csound
>>> parameter, or as a parameter of pvsifd?
>>>
>>> Jeremy
>>>
>>> Victor.Lazzarini wrote:
>>>>
>>>> Now you can try bringing the threshold down again until you
>>>> get a better analysis.
>>>> ksmps does not need to be a multiple of the SR, it just needs
>>>> to be integral and smaller than the hopsize.
>>>>
>>>> Victor
>>>> ----- Original Message -----
>>>> From: "UnUnUnium" 
>>>> To: 
>>>> Sent: Wednesday, May 13, 2009 5:15 PM
>>>> Subject: [Csnd] Re: Partials/Resyn Real Time Overhead
>>>>
>>>>
>>>>>
>>>>> Thank you very much for your response! I have changed the parameters as
>>>>> you
>>>>> stated (though I put ksmps to 100, so it would be a multiple of the
>>>>> Sampling
>>>>> rate - is that wrong?)
>>>>>
>>>>> I got the CPU usage down to about 20 percent, but now there is lots of
>>>>> very
>>>>> unpleasant clicking and popping. Here are the new parameters:
>>>>>
>>>>> fst  partials fs1,fsi2,.2,5,10, 500  ; partial tracking
>>>>> fst2  partials fs1b,fsi2b,.2,5,10, 500  ; partial tracking
>>>>>
>>>>> aout  tradsyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis (up a
>>>>> 5th)
>>>>> aout2  tradsyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ; resynthesis (up a
>>>>> 5th)
>>>>>
>>>>> Cheers, Jeremy
>>>>>
>>>>> Victor.Lazzarini wrote:
>>>>>>
>>>>>> Suggestions
>>>>>>
>>>>>> 1. Try changing ksmps to 128
>>>>>> 2. Use tradsyn instead of resyn
>>>>>> 3. Play with the threshold for partial analysis (.003 might be
>>>>>> too small?)
>>>>>>
>>>>>> Victor
>>>>>>
>>>>>> ----- Original Message -----
>>>>>> From: UnUnUnium 
>>>>>> Date: Wednesday, May 13, 2009 3:46 pm
>>>>>> Subject: [Csnd] Partials/Resyn Real Time Overhead
>>>>>> To: csound@lists.bath.ac.uk
>>>>>>
>>>>>>>
>>>>>>> Hello. I am using the partials and resyn opcodes in real time,
>>>>>>> in conjunction
>>>>>>> with Max/MSP, and I get 100% cpu usage as soon as I activate the
>>>>>>> .csd. I am
>>>>>>> wondering whether or not I am doing something wrong in my code,
>>>>>>> or if this
>>>>>>> opcode is simply very cpu hungry - I am using two for stereo. If
>>>>>>> someonecould have a look I would be grateful. I have included my
>>>>>>> Csound code below
>>>>>>> - underneath that I have included two max abstractions for those
>>>>>>> who have
>>>>>>> max.
>>>>>>>
>>>>>>> Save this as "CSpvspartE.csd"
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>> sr = 44100
>>>>>>> kr = 4410
>>>>>>> ksmps = 10
>>>>>>> nchnls = 2
>>>>>>>
>>>>>>> giCosine ftgen 1, 0, 8193, 9, 1,
>>>>>>> 1, 90 ; cosine
>>>>>>>
>>>>>>> chn_k "kscalL", 1
>>>>>>> chn_k "kscalR", 1
>>>>>>> chn_k "kpitchL", 1
>>>>>>> chn_k "kpitchR", 1
>>>>>>> chn_k "kmaxL", 1
>>>>>>> chn_k "kmaxR", 1
>>>>>>>
>>>>>>> chn_k "portime", 1
>>>>>>>
>>>>>>> instr 1
>>>>>>>
>>>>>>> ;control invalues
>>>>>>>
>>>>>>>
>>>>>>> ikscalL chnget "kscalL"
>>>>>>> ikscalR chnget "kscalR"
>>>>>>> gkscalL chnget "kscalL"
>>>>>>> gkscalR chnget "kscalR"
>>>>>>>
>>>>>>> ikpitchL chnget "kpitchL"
>>>>>>> ikpitchR chnget "kpitchR"
>>>>>>> gkpitchL chnget "kpitchL"
>>>>>>> gkpitchR chnget "kpitchR"
>>>>>>>
>>>>>>> ikmaxL chnget "kmaxL"
>>>>>>> ikmaxR chnget "kmaxR"
>>>>>>> gkmaxL chnget "kmaxL"
>>>>>>> gkmaxR chnget "kmaxR"
>>>>>>>
>>>>>>> kTime
>>>>>>> chnget "portime"
>>>>>>> ;kTime = 0.2
>>>>>>>
>>>>>>> gkscalL portk gkscalL,
>>>>>>> kTime, ikscalL
>>>>>>> gkscalR portk gkscalR,
>>>>>>> kTime, ikscalR
>>>>>>>
>>>>>>> gkpitchL portk
>>>>>>> gkpitchL, kTime, ikpitchL
>>>>>>> gkpitchR portk
>>>>>>> gkpitchR, kTime, ikpitchR
>>>>>>>
>>>>>>> gkmaxL portk gkmaxL,
>>>>>>> kTime, ikmaxL
>>>>>>> gkmaxR portk gkmaxR,
>>>>>>> kTime, ikmaxR
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ;synth stuff
>>>>>>> ain inch 1
>>>>>>> ain2 inch 2
>>>>>>>
>>>>>>> ; input signal
>>>>>>> fs1,fsi2 pvsifd ain,2048,512,1 ; ifd analysis
>>>>>>> fs1b,fsi2b pvsifd ain2,2048,512,1 ; ifd analysis
>>>>>>>
>>>>>>> fst partials fs1,fsi2,.003,1,3, 500 ; partial tracking
>>>>>>> fst2 partials fs1b,fsi2b,.003,1,3, 500 ; partial tracking
>>>>>>>
>>>>>>> aout resyn fst, gkscalL, gkpitchL, gkmaxL, 1 ; resynthesis
>>>>>>> (up a 5th)
>>>>>>> aout2 resyn fst2, gkscalR, gkpitchR, gkmaxR, 1 ;
>>>>>>> resynthesis (up a 5th)
>>>>>>>
>>>>>>> denorm aout, aout2
>>>>>>> outs aout, aout2
>>>>>>>
>>>>>>> endin
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>> f 0
>>>>>>> 60000
>>>>>>> i 1 0
>>>>>>> 60000 ; Activate the always-on chnget instrument.
>>>>>>> e ; indicates the end of the score
>>>>>>> 
>>>>>>> 
>>>>>>>
>>>>>>> MAX ABSTRACTIONS:
>>>>>>>
>>>>>>> Name this "PVSParttrial" (this is the main patch):
>>>>>>>
>>>>>>> {
>>>>>>> "boxes" : [ {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "number",
>>>>>>> "outlettype" : [ "int", "bang" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 540.0, 159.0, 50.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-12",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 2
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "number",
>>>>>>> "outlettype" : [ "int", "bang" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 422.0, 98.0, 50.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-10",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 2
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "pictslider",
>>>>>>> "outlettype" : [ "int", "int" ],
>>>>>>> "patching_rect" : [ 272.0, 20.0, 100.0, 100.0 ],
>>>>>>> "id" : "obj-7",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 2
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "*~ 0.2",
>>>>>>> "outlettype" : [ "signal" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 220.0, 129.0, 34.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-8",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "*~ 0.2",
>>>>>>> "outlettype" : [ "signal" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 180.0, 126.0, 34.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-6",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "open, loop 1, 1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 168.0, 50.0, 70.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-2",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "sfplay~ 2",
>>>>>>> "outlettype" : [ "signal", "signal", "bang" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 177.0, 71.0, 47.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-3",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 3,
>>>>>>> "save" : [ "#N", "sfplay~", "", 2, 120960, 0,
>>>>>>> "", ";" ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "ezdac~",
>>>>>>> "patching_rect" : [ 383.0, 252.0, 45.0, 45.0 ],
>>>>>>> "id" : "obj-5",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 0
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "pictslider",
>>>>>>> "outlettype" : [ "int", "int" ],
>>>>>>> "patching_rect" : [ 502.0, 9.0, 100.0, 100.0 ],
>>>>>>> "id" : "obj-4",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 2
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "CSpvspartE",
>>>>>>> "outlettype" : [ "signal", "signal" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 283.0, 187.0, 127.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-1",
>>>>>>> "numinlets" : 9,
>>>>>>> "numoutlets" : 2
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> ],
>>>>>>> "lines" : [ {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-7", 1 ],
>>>>>>> "destination" : [ "obj-1", 3 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-7", 0 ],
>>>>>>> "destination" : [ "obj-1", 2 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-3", 1 ],
>>>>>>> "destination" : [ "obj-8", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-3", 0 ],
>>>>>>> "destination" : [ "obj-6", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-2", 0 ],
>>>>>>> "destination" : [ "obj-3", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-12", 0 ],
>>>>>>> "destination" : [ "obj-1", 8 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-8", 0 ],
>>>>>>> "destination" : [ "obj-1", 1 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-6", 0 ],
>>>>>>> "destination" : [ "obj-1", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-1", 0 ],
>>>>>>> "destination" : [ "obj-5", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-1", 1 ],
>>>>>>> "destination" : [ "obj-5", 1 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-4", 0 ],
>>>>>>> "destination" : [ "obj-1", 6 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-4", 1 ],
>>>>>>> "destination" : [ "obj-1", 7 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-10", 0 ],
>>>>>>> "destination" : [ "obj-1", 4 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-10", 0 ],
>>>>>>> "destination" : [ "obj-1", 5 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> ]
>>>>>>> }
>>>>>>>
>>>>>>>
>>>>>>> Name this "CSpvspartE":
>>>>>>>
>>>>>>> {
>>>>>>> "boxes" : [ {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 897.0, 289.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-31",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "Porttime"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control portime $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 878.0, 381.0, 83.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-30",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "zmap 0 127 0 500",
>>>>>>> "outlettype" : [ "float" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 780.0, 345.0, 83.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-29",
>>>>>>> "numinlets" : 5,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "zmap 0 127 0 500",
>>>>>>> "outlettype" : [ "float" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 684.0, 345.0, 83.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-28",
>>>>>>> "numinlets" : 5,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 811.0, 282.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-26",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "max right"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 781.0, 283.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-27",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "max left"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control kmaxR $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 775.0, 380.0, 81.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-24",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control kmaxL $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 699.0, 411.0, 79.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-25",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 588.0, 310.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-22",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "pitch right"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 558.0, 311.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-23",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "pitch left"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control kpitchR $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 603.0, 432.0, 83.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-19",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control kptichL $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 527.0, 463.0, 81.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-21",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "toggle",
>>>>>>> "outlettype" : [ "int" ],
>>>>>>> "patching_rect" : [ 1066.0, 77.0, 20.0, 20.0 ],
>>>>>>> "id" : "obj-20",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "outlet",
>>>>>>> "patching_rect" : [ 151.0, 638.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-1",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 0,
>>>>>>> "comment" : ""
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "outlet",
>>>>>>> "patching_rect" : [ 124.0, 639.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-2",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 0,
>>>>>>> "comment" : ""
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 319.0, 300.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-3",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "Blur right"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "loadbang",
>>>>>>> "outlettype" : [ "bang" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 157.0, 419.0, 48.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-4",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 289.0, 301.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-5",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "Blur left"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 175.0, 301.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-6",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "In R"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "loadmess 0.",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 1001.0, 59.0, 63.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-7",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "inlet",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 142.0, 301.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-8",
>>>>>>> "numinlets" : 0,
>>>>>>> "numoutlets" : 1,
>>>>>>> "comment" : "In L"
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "zmap 0 127 0. 2.",
>>>>>>> "outlettype" : [ "float" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 437.0, 461.0, 78.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-9",
>>>>>>> "numinlets" : 5,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "slider",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 435.0, 251.0, 144.0, 18.0 ],
>>>>>>> "id" : "obj-10",
>>>>>>> "numinlets" : 1,
>>>>>>> "bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>>>>>> "orientation" : 1,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control kscalR $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 437.0, 489.0, 80.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-11",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "zmap 0 127 0. 2.",
>>>>>>> "outlettype" : [ "float" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 354.0, 434.0, 78.0, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-12",
>>>>>>> "numinlets" : 5,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "slider",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "patching_rect" : [ 349.0, 224.0, 144.0, 18.0 ],
>>>>>>> "id" : "obj-13",
>>>>>>> "numinlets" : 1,
>>>>>>> "bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
>>>>>>> "orientation" : 1,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "control kscalL $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 350.0, 462.0, 78.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-14",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "message $1",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 1001.0, 107.0, 63.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-15",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "button",
>>>>>>> "outlettype" : [ "bang" ],
>>>>>>> "patching_rect" : [ 157.0, 462.0, 15.0, 15.0 ],
>>>>>>> "id" : "obj-16",
>>>>>>> "numinlets" : 1,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "message",
>>>>>>> "text" : "csound CSpvspartE.csd",
>>>>>>> "outlettype" : [ "" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 185.0, 544.0, 107.0, 15.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-17",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 1
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "box" : {
>>>>>>> "maxclass" : "newobj",
>>>>>>> "text" : "csound~",
>>>>>>> "outlettype" : [ "signal", "signal", "list",
>>>>>>> "int", "bang", "bang" ],
>>>>>>> "fontname" : "Arial",
>>>>>>> "patching_rect" : [ 142.0, 593.0, 86.5, 17.0 ],
>>>>>>> "fontsize" : 9.0,
>>>>>>> "id" : "obj-18",
>>>>>>> "numinlets" : 2,
>>>>>>> "numoutlets" : 6
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> ],
>>>>>>> "lines" : [ {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-13", 0 ],
>>>>>>> "destination" : [ "obj-12", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-5", 0 ],
>>>>>>> "destination" : [ "obj-12", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 298.0, 412.0, 363.5, 412.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-12", 0 ],
>>>>>>> "destination" : [ "obj-14", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-3", 0 ],
>>>>>>> "destination" : [ "obj-9", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 328.0, 410.0, 446.5, 410.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-10", 0 ],
>>>>>>> "destination" : [ "obj-9", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-9", 0 ],
>>>>>>> "destination" : [ "obj-11", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-26", 0 ],
>>>>>>> "destination" : [ "obj-29", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-27", 0 ],
>>>>>>> "destination" : [ "obj-28", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-29", 0 ],
>>>>>>> "destination" : [ "obj-24", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-28", 0 ],
>>>>>>> "destination" : [ "obj-25", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-24", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 784.5, 586.5, 151.5, 586.5 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-25", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 708.5, 571.0, 151.5, 571.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-22", 0 ],
>>>>>>> "destination" : [ "obj-19", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-23", 0 ],
>>>>>>> "destination" : [ "obj-21", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-19", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 612.5, 576.5, 151.5, 576.5 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-21", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 536.5, 586.0, 151.5, 586.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-6", 0 ],
>>>>>>> "destination" : [ "obj-18", 1 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-18", 1 ],
>>>>>>> "destination" : [ "obj-1", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-17", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 194.5, 578.0, 151.5, 578.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-15", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 1010.5, 571.0, 151.5, 571.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-14", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 359.5, 521.0, 151.5, 521.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-11", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 446.5, 571.0, 151.5, 571.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-8", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-16", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 166.0, 551.0, 151.5, 551.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-18", 0 ],
>>>>>>> "destination" : [ "obj-2", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-20", 0 ],
>>>>>>> "destination" : [ "obj-15", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 1075.5, 101.5, 1010.5, 101.5 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-7", 0 ],
>>>>>>> "destination" : [ "obj-15", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-16", 0 ],
>>>>>>> "destination" : [ "obj-17", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 166.0, 495.0, 194.5, 495.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-4", 0 ],
>>>>>>> "destination" : [ "obj-16", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-30", 0 ],
>>>>>>> "destination" : [ "obj-18", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ 887.5, 576.0, 151.5, 576.0 ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> , {
>>>>>>> "patchline" : {
>>>>>>> "source" : [ "obj-31", 0 ],
>>>>>>> "destination" : [ "obj-30", 0 ],
>>>>>>> "hidden" : 0,
>>>>>>> "midpoints" : [ ]
>>>>>>> }
>>>>>>>
>>>>>>> }
>>>>>>> ]
>>>>>>> }
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context: http://www.nabble.com/Partials-
>>>>>>> Resyn-Real-Time-Overhead-tp23523259p23523259.html
>>>>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to this list.
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe csound"
>>>>>>
>>>>>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,National
>>>>>> University
>>>>>> of Ireland, Maynooth
>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to this list.
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23525061.html
>>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23525727.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Partials-Resyn-Real-Time-Overhead-tp23523259p23526665.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



-- 


Andrés