|
Just to follow up, I did as Davis suggested, and used the Harmon3 opcode with
spectrum and specptrk - the artifacts I mentioned are now gone. The patcher
harmonises major, minor 7th, and dim chords based on input. I will post all
the Csound and max code here for anyone who wants to have a look/play.
All the best, Jeremy
Csound code:
sr = 44100
kr = 4410
ksmps = 10
nchnls = 2
instr 1
asig, asig2, ins
w1 spectrum asig, .02, 7, 24, 12, 1, 3 ; and examine it
koct,kamp specptrk w1, 1, 6.5, 9.5, 7.5, 10, 7, .7, 0, 3, 1
a3 delay asig, .065 ; allow for ptrk delay
a4 delay asig2, .065 ; allow for ptrk delay
chn_k "threeL", 1
chn_k "threeR", 1
chn_k "fiveL", 1
chn_k "fiveR", 1
chn_k "sevenL", 1
chn_k "sevenR", 1
chn_k "porttime", 1
ithreeL chnget "threeL"
ithreeR chnget "threeR"
gkthreeL chnget "threeL"
gkthreeR chnget "threeR"
ifiveL chnget "fiveL"
ifiveR chnget "fiveR"
gkfiveL chnget "fiveL"
gkfiveR chnget "fiveR"
isevenL chnget "sevenL"
isevenR chnget "sevenR"
gksevenL chnget "sevenL"
gksevenR chnget "sevenR"
kTime chnget "porttime"
gkthreeL portk gkthreeL, kTime, ithreeL
gkthreeR portk gkthreeR, kTime, ithreeR
gkfiveL portk gkfiveL, kTime, ifiveL
gkfiveR portk gkfiveR, kTime, ifiveR
gksevenL portk gksevenL, kTime, isevenL
gksevenR portk gksevenR, kTime, isevenR
;synth stuff
aresL harmon3 a3, koct, gkthreeL, gkfiveL, gksevenL, 0, octcps(45)
aresR harmon3 a4, koct, gkthreeR, gkfiveR, gksevenR, 0, octcps(45)
;outs and envs
denorm aresL, aresR
outs aresL, aresR
endin
i 1 0 36000 ; Activate the always-on chnget instrument.
e ; indicates the end of the score
Max Patcher 1:
{
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "loadmess 2",
"fontname" : "Arial",
"hidden" : 1,
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-22",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 380.0, 59.0, 57.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "port time",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-15",
"numoutlets" : 0,
"patching_rect" : [ 364.0, 117.0, 64.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Chord types 1 - 4\n1: major\n2: minor \n3: 7th\n4 diminished",
"linecount" : 6,
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-13",
"numoutlets" : 0,
"patching_rect" : [ 297.0, 65.0, 64.0, 69.0 ]
}
}
, {
"box" : {
"maxclass" : "meter~",
"numinlets" : 1,
"id" : "obj-3",
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 84.0, 270.0, 80.0, 13.0 ]
}
}
, {
"box" : {
"maxclass" : "meter~",
"numinlets" : 1,
"id" : "obj-2",
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 79.0, 221.0, 80.0, 13.0 ]
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "*~ 0.5",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-17",
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 240.0, 259.0, 34.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "*~ 0.5",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-18",
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 196.0, 259.0, 34.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "flonum",
"fontname" : "Arial",
"minimum" : 0.1,
"numinlets" : 1,
"maximum" : 4.0,
"fontsize" : 9.0,
"id" : "obj-14",
"numoutlets" : 2,
"outlettype" : [ "float", "bang" ],
"patching_rect" : [ 363.0, 136.0, 50.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "number",
"fontname" : "Arial",
"minimum" : 1,
"numinlets" : 1,
"maximum" : 4,
"fontsize" : 9.0,
"id" : "obj-5",
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 300.0, 137.0, 50.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "ezdac~",
"numinlets" : 2,
"id" : "obj-7",
"numoutlets" : 0,
"patching_rect" : [ 211.0, 303.0, 45.0, 45.0 ]
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "open, loop 1, 1",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-6",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 126.0, 64.0, 70.0, 15.0 ]
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sfplay~ 2",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-4",
"numoutlets" : 3,
"outlettype" : [ "signal", "signal", "bang" ],
"patching_rect" : [ 142.0, 89.0, 47.0, 17.0 ],
"save" : [ "#N", "sfplay~", "", 2, 120960, 0, "", ";" ]
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "CSharmon2E2",
"fontname" : "Arial",
"numinlets" : 5,
"fontsize" : 9.0,
"id" : "obj-1",
"numoutlets" : 2,
"outlettype" : [ "signal", "signal" ],
"patching_rect" : [ 189.0, 203.0, 100.0, 17.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-22", 0 ],
"destination" : [ "obj-5", 0 ],
"hidden" : 1,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-6", 0 ],
"destination" : [ "obj-4", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-18", 0 ],
"destination" : [ "obj-7", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-17", 0 ],
"destination" : [ "obj-7", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-1", 1 ],
"destination" : [ "obj-17", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-1", 0 ],
"destination" : [ "obj-18", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-4", 0 ],
"destination" : [ "obj-1", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-4", 1 ],
"destination" : [ "obj-1", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-5", 0 ],
"destination" : [ "obj-1", 2 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-5", 0 ],
"destination" : [ "obj-1", 3 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-14", 0 ],
"destination" : [ "obj-1", 4 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
]
}
Max Patcher 2: (name "CSharmon2E2")
{
"boxes" : [ {
"box" : {
"maxclass" : "comment",
"text" : "Actual frequencies",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-46",
"numoutlets" : 0,
"patching_rect" : [ 905.0, 435.0, 150.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Actual frequencies",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-45",
"numoutlets" : 0,
"patching_rect" : [ 743.0, 436.0, 150.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Actual frequencies",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-44",
"numoutlets" : 0,
"patching_rect" : [ 576.0, 439.0, 150.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "inlet",
"numinlets" : 0,
"id" : "obj-27",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 761.0, 107.0, 15.0, 15.0 ],
"comment" : "Portime (in seconds)"
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "control porttime $1",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-26",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 975.0, 462.0, 85.0, 15.0 ]
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "p",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-62",
"numoutlets" : 3,
"outlettype" : [ "float", "float", "float" ],
"patching_rect" : [ 556.0, 165.0, 100.0, 17.0 ],
"patcher" : {
"fileversion" : 1,
"rect" : [ 187.0, 90.0, 640.0, 480.0 ],
"bglocked" : 0,
"defrect" : [ 187.0, 90.0, 640.0, 480.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 9.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"metadata" : [ ],
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "unpack 0. 0. 0.",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-32",
"numoutlets" : 3,
"outlettype" : [ "float", "float", "float" ],
"patching_rect" : [ 69.0, 129.0, 70.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "coll chords -1",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-26",
"numoutlets" : 4,
"outlettype" : [ "", "", "", "" ],
"patching_rect" : [ 50.0, 100.0, 64.0, 17.0 ],
"save" : [ "#N", "coll", "chords", 1, ";", "#T", "flags", 1, 0, ";",
"#T", 1, 1.26, 1.498, 1.888, ";", "#T", 2, 1.189, 1.498, 1.888, ";", "#T",
3, 1.26, 1.498, 1.782, ";", "#T", 4, 1.189, 1.335, 1.782, ";" ],
"saved_object_attributes" : {
"embed" : 1
}
}
}
, {
"box" : {
"maxclass" : "inlet",
"numinlets" : 0,
"id" : "obj-56",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 55.0, 40.0, 25.0, 25.0 ],
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "outlet",
"numinlets" : 1,
"id" : "obj-58",
"numoutlets" : 0,
"patching_rect" : [ 77.0, 262.0, 25.0, 25.0 ],
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "outlet",
"numinlets" : 1,
"id" : "obj-59",
"numoutlets" : 0,
"patching_rect" : [ 110.0, 262.0, 25.0, 25.0 ],
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "outlet",
"numinlets" : 1,
"id" : "obj-60",
"numoutlets" : 0,
"patching_rect" : [ 143.0, 262.0, 25.0, 25.0 ],
"comment" : ""
}
}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-32", 2 ],
"destination" : [ "obj-60", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-32", 1 ],
"destination" : [ "obj-59", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-32", 0 ],
"destination" : [ "obj-58", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-26", 0 ],
"destination" : [ "obj-32", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-56", 0 ],
"destination" : [ "obj-26", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
]
}
,
"saved_object_attributes" : {
"default_fontname" : "Arial",
"fontname" : "Arial",
"default_fontsize" : 9.0,
"fontface" : 0,
"fontsize" : 9.0,
"default_fontface" : 0,
"globalpatchername" : ""
}
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "p",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-61",
"numoutlets" : 3,
"outlettype" : [ "float", "float", "float" ],
"patching_rect" : [ 413.0, 166.0, 100.0, 17.0 ],
"patcher" : {
"fileversion" : 1,
"rect" : [ 187.0, 90.0, 640.0, 480.0 ],
"bglocked" : 0,
"defrect" : [ 187.0, 90.0, 640.0, 480.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 9.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"metadata" : [ ],
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "unpack 0. 0. 0.",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-32",
"numoutlets" : 3,
"outlettype" : [ "float", "float", "float" ],
"patching_rect" : [ 69.0, 129.0, 70.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "coll chords -1",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-26",
"numoutlets" : 4,
"outlettype" : [ "", "", "", "" ],
"patching_rect" : [ 50.0, 100.0, 64.0, 17.0 ],
"save" : [ "#N", "coll", "chords", 1, ";", "#T", "flags", 1, 0, ";",
"#T", 1, 1.26, 1.498, 1.888, ";", "#T", 2, 1.189, 1.498, 1.888, ";", "#T",
3, 1.26, 1.498, 1.782, ";", "#T", 4, 1.189, 1.335, 1.782, ";" ],
"saved_object_attributes" : {
"embed" : 1
}
}
}
, {
"box" : {
"maxclass" : "inlet",
"numinlets" : 0,
"id" : "obj-56",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 55.0, 40.0, 25.0, 25.0 ],
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "outlet",
"numinlets" : 1,
"id" : "obj-58",
"numoutlets" : 0,
"patching_rect" : [ 77.0, 262.0, 25.0, 25.0 ],
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "outlet",
"numinlets" : 1,
"id" : "obj-59",
"numoutlets" : 0,
"patching_rect" : [ 110.0, 262.0, 25.0, 25.0 ],
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "outlet",
"numinlets" : 1,
"id" : "obj-60",
"numoutlets" : 0,
"patching_rect" : [ 143.0, 262.0, 25.0, 25.0 ],
"comment" : ""
}
}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-56", 0 ],
"destination" : [ "obj-26", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-26", 0 ],
"destination" : [ "obj-32", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-32", 0 ],
"destination" : [ "obj-58", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-32", 1 ],
"destination" : [ "obj-59", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-32", 2 ],
"destination" : [ "obj-60", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
]
}
,
"saved_object_attributes" : {
"default_fontname" : "Arial",
"fontname" : "Arial",
"default_fontsize" : 9.0,
"fontface" : 0,
"fontsize" : 9.0,
"default_fontface" : 0,
"globalpatchername" : ""
}
}
}
, {
"box" : {
"maxclass" : "number",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-42",
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 821.0, 407.0, 50.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "number",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-43",
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 889.0, 396.0, 50.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "number",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-36",
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 688.0, 404.0, 50.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "number",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-38",
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 756.0, 393.0, 50.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "number",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-39",
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 536.0, 414.0, 50.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "number",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-37",
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 604.0, 403.0, 50.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "control sevenR $1",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-30",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 886.0, 462.0, 83.0, 15.0 ]
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "control sevenL $1",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-31",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 800.0, 461.0, 82.0, 15.0 ]
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "control fiveR $1",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-22",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 731.0, 461.0, 73.0, 15.0 ]
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "control fiveL $1",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-23",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 663.0, 460.0, 72.0, 15.0 ]
}
}
, {
"box" : {
"maxclass" : "inlet",
"numinlets" : 0,
"id" : "obj-12",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 514.0, 109.0, 15.0, 15.0 ],
"comment" : "Chord Type Right"
}
}
, {
"box" : {
"maxclass" : "inlet",
"hint" : "Chord type left",
"annotation" : "",
"numinlets" : 0,
"id" : "obj-13",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 413.0, 109.0, 15.0, 15.0 ],
"comment" : "Chord Type Left"
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "control threeR $1",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-9",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 578.0, 462.0, 80.0, 15.0 ]
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "control threeL $1",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-10",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 502.0, 462.0, 78.0, 15.0 ]
}
}
, {
"box" : {
"maxclass" : "toggle",
"numinlets" : 1,
"id" : "obj-20",
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 1095.0, 281.0, 20.0, 20.0 ]
}
}
, {
"box" : {
"maxclass" : "outlet",
"numinlets" : 1,
"id" : "obj-1",
"numoutlets" : 0,
"patching_rect" : [ 151.0, 638.0, 15.0, 15.0 ],
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "outlet",
"numinlets" : 1,
"id" : "obj-2",
"numoutlets" : 0,
"patching_rect" : [ 124.0, 639.0, 15.0, 15.0 ],
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadbang",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-4",
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 157.0, 419.0, 48.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "inlet",
"numinlets" : 0,
"id" : "obj-6",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 197.0, 301.0, 15.0, 15.0 ],
"comment" : "In R"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadmess 0.",
"fontname" : "Arial",
"numinlets" : 1,
"fontsize" : 9.0,
"id" : "obj-7",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 1084.0, 337.0, 63.0, 17.0 ]
}
}
, {
"box" : {
"maxclass" : "inlet",
"numinlets" : 0,
"id" : "obj-8",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 142.0, 301.0, 15.0, 15.0 ],
"comment" : "In L"
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "message $1",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-15",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 1084.0, 385.0, 63.0, 15.0 ]
}
}
, {
"box" : {
"maxclass" : "button",
"numinlets" : 1,
"id" : "obj-16",
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 157.0, 462.0, 15.0, 15.0 ]
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "csound CSharmon2E2.csd",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-17",
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 185.0, 543.0, 118.0, 15.0 ]
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "csound~",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 9.0,
"id" : "obj-18",
"numoutlets" : 6,
"outlettype" : [ "signal", "signal", "list", "int", "bang", "bang" ],
"patching_rect" : [ 143.0, 592.0, 86.5, 17.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-26", 0 ],
"destination" : [ "obj-18", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-10", 0 ],
"destination" : [ "obj-18", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"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, 152.5, 578.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-15", 0 ],
"destination" : [ "obj-18", 0 ],
"hidden" : 0,
"midpoints" : [ 1093.5, 571.0, 152.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, 152.5, 551.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-18", 0 ],
"destination" : [ "obj-2", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-9", 0 ],
"destination" : [ "obj-18", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-23", 0 ],
"destination" : [ "obj-18", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-22", 0 ],
"destination" : [ "obj-18", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-31", 0 ],
"destination" : [ "obj-18", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-30", 0 ],
"destination" : [ "obj-18", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-27", 0 ],
"destination" : [ "obj-26", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-20", 0 ],
"destination" : [ "obj-15", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"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-13", 0 ],
"destination" : [ "obj-61", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-61", 0 ],
"destination" : [ "obj-10", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-61", 1 ],
"destination" : [ "obj-23", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-61", 2 ],
"destination" : [ "obj-31", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-62", 2 ],
"destination" : [ "obj-30", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-62", 1 ],
"destination" : [ "obj-22", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-62", 0 ],
"destination" : [ "obj-9", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-12", 0 ],
"destination" : [ "obj-62", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
]
}
UnUnUnium wrote:
>
> oops! It appears I did forget the patcher! Not on a winning streak this
> week...I will include it after the message.
>
> That is a clear explanation of chnset, I was really over thinking it. I
> thought the value had to be preceded by a k,a, or i.
>
> Regarding Harmon3, am I correct in thinking that more inharmonic partials
> = more artifacts with the opcode then? What I will do is remake this code
> including the suggested Csound pitch tracking opcode over the next week
> and get back.
>
> In the mean time, here is the missing abstraction below. (CSharmon2E)
> Thanks for your help and patience!
>
> Jeremy
>
> {
> "boxes" : [ {
> "box" : {
> "maxclass" : "comment",
> "text" : "Actual frequencies",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 0,
> "id" : "obj-46",
> "fontsize" : 9.0,
> "patching_rect" : [ 905.0, 435.0, 150.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "comment",
> "text" : "Actual frequencies",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 0,
> "id" : "obj-45",
> "fontsize" : 9.0,
> "patching_rect" : [ 743.0, 436.0, 150.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "comment",
> "text" : "Actual frequencies",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 0,
> "id" : "obj-44",
> "fontsize" : 9.0,
> "patching_rect" : [ 576.0, 439.0, 150.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "comment",
> "text" : "Actual frequencies",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 0,
> "id" : "obj-33",
> "fontsize" : 9.0,
> "patching_rect" : [ 375.0, 441.0, 150.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "inlet",
> "numinlets" : 0,
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-27",
> "patching_rect" : [ 761.0, 107.0, 15.0, 15.0 ],
> "comment" : "Portime (in seconds)"
> }
>
> }
> , {
> "box" : {
> "maxclass" : "message",
> "text" : "control porttime $1",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-26",
> "fontsize" : 9.0,
> "patching_rect" : [ 975.0, 462.0, 85.0, 15.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "p",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 3,
> "outlettype" : [ "float", "float", "float" ],
> "id" : "obj-62",
> "fontsize" : 9.0,
> "patching_rect" : [ 556.0, 165.0, 100.0, 17.0 ],
> "patcher" : {
> "fileversion" : 1,
> "rect" : [ 0.0, 0.0, 640.0, 480.0 ],
> "bglocked" : 0,
> "defrect" : [ 0.0, 0.0, 640.0, 480.0 ],
> "openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
> "openinpresentation" : 0,
> "default_fontsize" : 9.0,
> "default_fontface" : 0,
> "default_fontname" : "Arial",
> "gridonopen" : 0,
> "gridsize" : [ 15.0, 15.0 ],
> "gridsnaponopen" : 0,
> "toolbarvisible" : 1,
> "boxanimatetime" : 200,
> "imprint" : 0,
> "metadata" : [ ],
> "boxes" : [ {
> "box" : {
> "maxclass" : "newobj",
> "text" : "t b i",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "bang", "int" ],
> "id" : "obj-48",
> "fontsize" : 9.0,
> "patching_rect" : [ 136.0, 156.0, 32.5, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "+ 1.",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "float" ],
> "id" : "obj-49",
> "fontsize" : 9.0,
> "patching_rect" : [ 138.0, 185.0, 32.5, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "t b i",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "bang", "int" ],
> "id" : "obj-46",
> "fontsize" : 9.0,
> "patching_rect" : [ 103.0, 156.0, 32.5, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "+ 1.",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "float" ],
> "id" : "obj-47",
> "fontsize" : 9.0,
> "patching_rect" : [ 105.0, 185.0, 32.5, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "t b i",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "bang", "int" ],
> "id" : "obj-45",
> "fontsize" : 9.0,
> "patching_rect" : [ 70.0, 156.0, 32.5, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "+ 1.",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "float" ],
> "id" : "obj-44",
> "fontsize" : 9.0,
> "patching_rect" : [ 72.0, 185.0, 32.5, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "unpack 0 0 0",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 3,
> "outlettype" : [ "int", "int", "int" ],
> "id" : "obj-32",
> "fontsize" : 9.0,
> "patching_rect" : [ 69.0, 129.0, 62.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "coll chords -1",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 4,
> "outlettype" : [ "", "", "", "" ],
> "id" : "obj-26",
> "fontsize" : 9.0,
> "patching_rect" : [ 50.0, 100.0, 64.0, 17.0 ],
> "save" : [ "#N", "coll", "chords", 1, ";", "#T", "flags", 1, 0,
> ";", "#T", 1, 4, 7, 11, ";", "#T", 2, 3, 7, 10, ";", "#T", 3, 4, 7, 10,
> ";", "#T", 4, 3, 6, 10, ";" ],
> "saved_object_attributes" : {
> "embed" : 1
> }
>
> }
>
> }
> , {
> "box" : {
> "maxclass" : "inlet",
> "numinlets" : 0,
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-56",
> "patching_rect" : [ 55.0, 40.0, 25.0, 25.0 ],
> "comment" : ""
> }
>
> }
> , {
> "box" : {
> "maxclass" : "inlet",
> "numinlets" : 0,
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-57",
> "patching_rect" : [ 105.0, 40.0, 25.0, 25.0 ],
> "comment" : ""
> }
>
> }
> , {
> "box" : {
> "maxclass" : "outlet",
> "numinlets" : 1,
> "numoutlets" : 0,
> "id" : "obj-58",
> "patching_rect" : [ 77.0, 262.0, 25.0, 25.0 ],
> "comment" : ""
> }
>
> }
> , {
> "box" : {
> "maxclass" : "outlet",
> "numinlets" : 1,
> "numoutlets" : 0,
> "id" : "obj-59",
> "patching_rect" : [ 110.0, 262.0, 25.0, 25.0 ],
> "comment" : ""
> }
>
> }
> , {
> "box" : {
> "maxclass" : "outlet",
> "numinlets" : 1,
> "numoutlets" : 0,
> "id" : "obj-60",
> "patching_rect" : [ 143.0, 262.0, 25.0, 25.0 ],
> "comment" : ""
> }
>
> }
> ],
> "lines" : [ {
> "patchline" : {
> "source" : [ "obj-26", 0 ],
> "destination" : [ "obj-32", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-32", 0 ],
> "destination" : [ "obj-45", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-45", 0 ],
> "destination" : [ "obj-44", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-45", 1 ],
> "destination" : [ "obj-44", 1 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-46", 1 ],
> "destination" : [ "obj-47", 1 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-46", 0 ],
> "destination" : [ "obj-47", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-32", 1 ],
> "destination" : [ "obj-46", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-48", 0 ],
> "destination" : [ "obj-49", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-48", 1 ],
> "destination" : [ "obj-49", 1 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-32", 2 ],
> "destination" : [ "obj-48", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-56", 0 ],
> "destination" : [ "obj-26", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-57", 0 ],
> "destination" : [ "obj-44", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-57", 0 ],
> "destination" : [ "obj-47", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-57", 0 ],
> "destination" : [ "obj-49", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-44", 0 ],
> "destination" : [ "obj-58", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-47", 0 ],
> "destination" : [ "obj-59", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-49", 0 ],
> "destination" : [ "obj-60", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> ]
> }
> ,
> "saved_object_attributes" : {
> "default_fontname" : "Arial",
> "globalpatchername" : "",
> "default_fontsize" : 9.0,
> "fontname" : "Arial",
> "default_fontface" : 0,
> "fontface" : 0,
> "fontsize" : 9.0
> }
>
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "p",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 3,
> "outlettype" : [ "float", "float", "float" ],
> "id" : "obj-61",
> "fontsize" : 9.0,
> "patching_rect" : [ 413.0, 166.0, 100.0, 17.0 ],
> "patcher" : {
> "fileversion" : 1,
> "rect" : [ 0.0, 0.0, 640.0, 480.0 ],
> "bglocked" : 0,
> "defrect" : [ 0.0, 0.0, 640.0, 480.0 ],
> "openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
> "openinpresentation" : 0,
> "default_fontsize" : 9.0,
> "default_fontface" : 0,
> "default_fontname" : "Arial",
> "gridonopen" : 0,
> "gridsize" : [ 15.0, 15.0 ],
> "gridsnaponopen" : 0,
> "toolbarvisible" : 1,
> "boxanimatetime" : 200,
> "imprint" : 0,
> "metadata" : [ ],
> "boxes" : [ {
> "box" : {
> "maxclass" : "newobj",
> "text" : "t b i",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "bang", "int" ],
> "id" : "obj-48",
> "fontsize" : 9.0,
> "patching_rect" : [ 136.0, 156.0, 32.5, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "+ 1.",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "float" ],
> "id" : "obj-49",
> "fontsize" : 9.0,
> "patching_rect" : [ 138.0, 185.0, 32.5, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "t b i",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "bang", "int" ],
> "id" : "obj-46",
> "fontsize" : 9.0,
> "patching_rect" : [ 103.0, 156.0, 32.5, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "+ 1.",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "float" ],
> "id" : "obj-47",
> "fontsize" : 9.0,
> "patching_rect" : [ 105.0, 185.0, 32.5, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "t b i",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "bang", "int" ],
> "id" : "obj-45",
> "fontsize" : 9.0,
> "patching_rect" : [ 70.0, 156.0, 32.5, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "+ 1.",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "float" ],
> "id" : "obj-44",
> "fontsize" : 9.0,
> "patching_rect" : [ 72.0, 185.0, 32.5, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "unpack 0 0 0",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 3,
> "outlettype" : [ "int", "int", "int" ],
> "id" : "obj-32",
> "fontsize" : 9.0,
> "patching_rect" : [ 69.0, 129.0, 62.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "coll chords -1",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 4,
> "outlettype" : [ "", "", "", "" ],
> "id" : "obj-26",
> "fontsize" : 9.0,
> "patching_rect" : [ 50.0, 100.0, 64.0, 17.0 ],
> "save" : [ "#N", "coll", "chords", 1, ";", "#T", "flags", 1, 0,
> ";", "#T", 1, 4, 7, 11, ";", "#T", 2, 3, 7, 10, ";", "#T", 3, 4, 7, 10,
> ";", "#T", 4, 3, 6, 10, ";" ],
> "saved_object_attributes" : {
> "embed" : 1
> }
>
> }
>
> }
> , {
> "box" : {
> "maxclass" : "inlet",
> "numinlets" : 0,
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-56",
> "patching_rect" : [ 55.0, 40.0, 25.0, 25.0 ],
> "comment" : ""
> }
>
> }
> , {
> "box" : {
> "maxclass" : "inlet",
> "numinlets" : 0,
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-57",
> "patching_rect" : [ 105.0, 40.0, 25.0, 25.0 ],
> "comment" : ""
> }
>
> }
> , {
> "box" : {
> "maxclass" : "outlet",
> "numinlets" : 1,
> "numoutlets" : 0,
> "id" : "obj-58",
> "patching_rect" : [ 77.0, 262.0, 25.0, 25.0 ],
> "comment" : ""
> }
>
> }
> , {
> "box" : {
> "maxclass" : "outlet",
> "numinlets" : 1,
> "numoutlets" : 0,
> "id" : "obj-59",
> "patching_rect" : [ 110.0, 262.0, 25.0, 25.0 ],
> "comment" : ""
> }
>
> }
> , {
> "box" : {
> "maxclass" : "outlet",
> "numinlets" : 1,
> "numoutlets" : 0,
> "id" : "obj-60",
> "patching_rect" : [ 143.0, 262.0, 25.0, 25.0 ],
> "comment" : ""
> }
>
> }
> ],
> "lines" : [ {
> "patchline" : {
> "source" : [ "obj-49", 0 ],
> "destination" : [ "obj-60", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-47", 0 ],
> "destination" : [ "obj-59", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-44", 0 ],
> "destination" : [ "obj-58", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-57", 0 ],
> "destination" : [ "obj-49", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-57", 0 ],
> "destination" : [ "obj-47", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-57", 0 ],
> "destination" : [ "obj-44", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-56", 0 ],
> "destination" : [ "obj-26", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-32", 2 ],
> "destination" : [ "obj-48", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-48", 1 ],
> "destination" : [ "obj-49", 1 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-48", 0 ],
> "destination" : [ "obj-49", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-32", 1 ],
> "destination" : [ "obj-46", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-46", 0 ],
> "destination" : [ "obj-47", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-46", 1 ],
> "destination" : [ "obj-47", 1 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-45", 1 ],
> "destination" : [ "obj-44", 1 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-45", 0 ],
> "destination" : [ "obj-44", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-32", 0 ],
> "destination" : [ "obj-45", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-26", 0 ],
> "destination" : [ "obj-32", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> ]
> }
> ,
> "saved_object_attributes" : {
> "default_fontname" : "Arial",
> "globalpatchername" : "",
> "default_fontsize" : 9.0,
> "fontname" : "Arial",
> "default_fontface" : 0,
> "fontface" : 0,
> "fontsize" : 9.0
> }
>
> }
>
> }
> , {
> "box" : {
> "maxclass" : "number",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "int", "bang" ],
> "id" : "obj-42",
> "fontsize" : 9.0,
> "patching_rect" : [ 821.0, 407.0, 50.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "number",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "int", "bang" ],
> "id" : "obj-43",
> "fontsize" : 9.0,
> "patching_rect" : [ 889.0, 396.0, 50.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "number",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "int", "bang" ],
> "id" : "obj-36",
> "fontsize" : 9.0,
> "patching_rect" : [ 688.0, 404.0, 50.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "number",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "int", "bang" ],
> "id" : "obj-38",
> "fontsize" : 9.0,
> "patching_rect" : [ 756.0, 393.0, 50.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "number",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "int", "bang" ],
> "id" : "obj-40",
> "fontsize" : 9.0,
> "patching_rect" : [ 356.0, 415.0, 50.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "number",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "int", "bang" ],
> "id" : "obj-41",
> "fontsize" : 9.0,
> "patching_rect" : [ 424.0, 404.0, 50.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "number",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "int", "bang" ],
> "id" : "obj-39",
> "fontsize" : 9.0,
> "patching_rect" : [ 536.0, 414.0, 50.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "number",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 2,
> "outlettype" : [ "int", "bang" ],
> "id" : "obj-37",
> "fontsize" : 9.0,
> "patching_rect" : [ 604.0, 403.0, 50.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "mtof",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-34",
> "fontsize" : 9.0,
> "patching_rect" : [ 398.0, 369.0, 28.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "mtof",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-35",
> "fontsize" : 9.0,
> "patching_rect" : [ 330.0, 370.0, 28.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "mtof",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-28",
> "fontsize" : 9.0,
> "patching_rect" : [ 848.0, 358.0, 28.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "mtof",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-29",
> "fontsize" : 9.0,
> "patching_rect" : [ 780.0, 359.0, 28.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "message",
> "text" : "control sevenR $1",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-30",
> "fontsize" : 9.0,
> "patching_rect" : [ 886.0, 462.0, 83.0, 15.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "message",
> "text" : "control sevenL $1",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-31",
> "fontsize" : 9.0,
> "patching_rect" : [ 800.0, 461.0, 82.0, 15.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "mtof",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-24",
> "fontsize" : 9.0,
> "patching_rect" : [ 713.0, 357.0, 28.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "mtof",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-25",
> "fontsize" : 9.0,
> "patching_rect" : [ 645.0, 358.0, 28.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "message",
> "text" : "control fiveR $1",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-22",
> "fontsize" : 9.0,
> "patching_rect" : [ 731.0, 461.0, 73.0, 15.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "message",
> "text" : "control fiveL $1",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-23",
> "fontsize" : 9.0,
> "patching_rect" : [ 663.0, 460.0, 72.0, 15.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "mtof",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-21",
> "fontsize" : 9.0,
> "patching_rect" : [ 568.0, 363.0, 28.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "mtof",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-19",
> "fontsize" : 9.0,
> "patching_rect" : [ 500.0, 364.0, 28.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "inlet",
> "numinlets" : 0,
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-12",
> "patching_rect" : [ 514.0, 109.0, 15.0, 15.0 ],
> "comment" : "Chord Type Right"
> }
>
> }
> , {
> "box" : {
> "maxclass" : "inlet",
> "hint" : "Chord type left",
> "annotation" : "",
> "numinlets" : 0,
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-13",
> "patching_rect" : [ 413.0, 109.0, 15.0, 15.0 ],
> "comment" : "Chord Type Left"
> }
>
> }
> , {
> "box" : {
> "maxclass" : "message",
> "text" : "control threeR $1",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-9",
> "fontsize" : 9.0,
> "patching_rect" : [ 578.0, 462.0, 80.0, 15.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "message",
> "text" : "control threeL $1",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-10",
> "fontsize" : 9.0,
> "patching_rect" : [ 502.0, 462.0, 78.0, 15.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "toggle",
> "numinlets" : 1,
> "numoutlets" : 1,
> "outlettype" : [ "int" ],
> "id" : "obj-20",
> "patching_rect" : [ 1095.0, 281.0, 20.0, 20.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "outlet",
> "numinlets" : 1,
> "numoutlets" : 0,
> "id" : "obj-1",
> "patching_rect" : [ 151.0, 638.0, 15.0, 15.0 ],
> "comment" : ""
> }
>
> }
> , {
> "box" : {
> "maxclass" : "outlet",
> "numinlets" : 1,
> "numoutlets" : 0,
> "id" : "obj-2",
> "patching_rect" : [ 124.0, 639.0, 15.0, 15.0 ],
> "comment" : ""
> }
>
> }
> , {
> "box" : {
> "maxclass" : "inlet",
> "numinlets" : 0,
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-3",
> "patching_rect" : [ 356.0, 109.0, 15.0, 15.0 ],
> "comment" : "Root Right"
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "loadbang",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "bang" ],
> "id" : "obj-4",
> "fontsize" : 9.0,
> "patching_rect" : [ 157.0, 419.0, 48.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "inlet",
> "numinlets" : 0,
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-5",
> "patching_rect" : [ 286.0, 109.0, 15.0, 15.0 ],
> "comment" : "Root Left"
> }
>
> }
> , {
> "box" : {
> "maxclass" : "inlet",
> "numinlets" : 0,
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-6",
> "patching_rect" : [ 197.0, 301.0, 15.0, 15.0 ],
> "comment" : "In R"
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "loadmess 0.",
> "numinlets" : 1,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-7",
> "fontsize" : 9.0,
> "patching_rect" : [ 1084.0, 337.0, 63.0, 17.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "inlet",
> "numinlets" : 0,
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-8",
> "patching_rect" : [ 142.0, 301.0, 15.0, 15.0 ],
> "comment" : "In L"
> }
>
> }
> , {
> "box" : {
> "maxclass" : "message",
> "text" : "control rootR $1",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-11",
> "fontsize" : 9.0,
> "patching_rect" : [ 424.0, 462.0, 75.0, 15.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "message",
> "text" : "control rootL $1",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-14",
> "fontsize" : 9.0,
> "patching_rect" : [ 350.0, 462.0, 73.0, 15.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "message",
> "text" : "message $1",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-15",
> "fontsize" : 9.0,
> "patching_rect" : [ 1084.0, 385.0, 63.0, 15.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "button",
> "numinlets" : 1,
> "numoutlets" : 1,
> "outlettype" : [ "bang" ],
> "id" : "obj-16",
> "patching_rect" : [ 157.0, 462.0, 15.0, 15.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "message",
> "text" : "csound CSharmon2E.csd",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 1,
> "outlettype" : [ "" ],
> "id" : "obj-17",
> "fontsize" : 9.0,
> "patching_rect" : [ 185.0, 544.0, 113.0, 15.0 ]
> }
>
> }
> , {
> "box" : {
> "maxclass" : "newobj",
> "text" : "csound~",
> "numinlets" : 2,
> "fontname" : "Arial",
> "numoutlets" : 6,
> "outlettype" : [ "signal", "signal", "list", "int", "bang", "bang" ],
> "id" : "obj-18",
> "fontsize" : 9.0,
> "patching_rect" : [ 143.0, 592.0, 86.5, 17.0 ]
> }
>
> }
> ],
> "lines" : [ {
> "patchline" : {
> "source" : [ "obj-26", 0 ],
> "destination" : [ "obj-18", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-10", 0 ],
> "destination" : [ "obj-18", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "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, 152.5, 578.0 ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-15", 0 ],
> "destination" : [ "obj-18", 0 ],
> "hidden" : 0,
> "midpoints" : [ 1093.5, 571.0, 152.5, 571.0 ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-14", 0 ],
> "destination" : [ "obj-18", 0 ],
> "hidden" : 0,
> "midpoints" : [ 359.5, 521.0, 152.5, 521.0 ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-11", 0 ],
> "destination" : [ "obj-18", 0 ],
> "hidden" : 0,
> "midpoints" : [ 433.5, 571.0, 152.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, 152.5, 551.0 ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-18", 0 ],
> "destination" : [ "obj-2", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-9", 0 ],
> "destination" : [ "obj-18", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-23", 0 ],
> "destination" : [ "obj-18", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-22", 0 ],
> "destination" : [ "obj-18", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-31", 0 ],
> "destination" : [ "obj-18", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-30", 0 ],
> "destination" : [ "obj-18", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-27", 0 ],
> "destination" : [ "obj-26", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-28", 0 ],
> "destination" : [ "obj-43", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-29", 0 ],
> "destination" : [ "obj-42", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-24", 0 ],
> "destination" : [ "obj-38", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-25", 0 ],
> "destination" : [ "obj-36", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-20", 0 ],
> "destination" : [ "obj-15", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "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-19", 0 ],
> "destination" : [ "obj-10", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-21", 0 ],
> "destination" : [ "obj-9", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-25", 0 ],
> "destination" : [ "obj-23", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-24", 0 ],
> "destination" : [ "obj-22", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-28", 0 ],
> "destination" : [ "obj-30", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-29", 0 ],
> "destination" : [ "obj-31", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-5", 0 ],
> "destination" : [ "obj-35", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-35", 0 ],
> "destination" : [ "obj-14", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-3", 0 ],
> "destination" : [ "obj-34", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-34", 0 ],
> "destination" : [ "obj-11", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-19", 0 ],
> "destination" : [ "obj-39", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-21", 0 ],
> "destination" : [ "obj-37", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-35", 0 ],
> "destination" : [ "obj-40", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-34", 0 ],
> "destination" : [ "obj-41", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-61", 2 ],
> "destination" : [ "obj-29", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-61", 1 ],
> "destination" : [ "obj-25", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-61", 0 ],
> "destination" : [ "obj-19", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-5", 0 ],
> "destination" : [ "obj-61", 1 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-13", 0 ],
> "destination" : [ "obj-61", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-12", 0 ],
> "destination" : [ "obj-62", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-3", 0 ],
> "destination" : [ "obj-62", 1 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-62", 0 ],
> "destination" : [ "obj-21", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-62", 1 ],
> "destination" : [ "obj-24", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> , {
> "patchline" : {
> "source" : [ "obj-62", 2 ],
> "destination" : [ "obj-28", 0 ],
> "hidden" : 0,
> "midpoints" : [ ]
> }
>
> }
> ]
> }
>
>
>
> dp51 wrote:
>>
>> You forgot to post the "CSharmon2E" sub-patch. It's "pinked" out in your
>> main patch.
>>
>> WRT chnset, it's pretty easy to use. Just pust something like:
>>
>> chnset 1.0, "value"
>>
>> before chnget's referencing the same channel.
>>
>> WRT harmon3, u really need to track the pitch of the incoming audio as
>> best
>> as u can. Using a non-tracked value for koct results in various
>> artifacts
>> (clicks, noise). I'm beginning to think that it's not really a bug;
>> you're just
>> not using it the way it was meant to be used (I think). In fact, you
>> would
>> probably still get artifacts with pitch-tracking if the audio is
>> spectrally diverse.
>> Here's simple example (un-comment the line that's commented to listen to
>> non-tracked version):
>>
>>
>>
>> sr = 44100
>> ksmps = 10
>> nchnls = 2
>> 0dbfs = 1
>> giSine ftgen 1, 0, 16385, 10, 1
>> instr 1
>> klfo lfo 1, .25, 1
>> klfo = klfo + 1.5
>> kcps = 440 * klfo
>> asig oscili .25, kcps, giSine
>> ares harmon3 asig, octcps(kcps), 1, 1.25, 1.68, 0, octcps(50) ;
>> matched oct
>> ;ares harmon3 asig, octcps(880), 1, 1.25, 1.68, 0, octcps(50) ;
>> constant oct
>> outch 1, ares, 2, ares
>> endin
>>
>>
>> i 1 0 86400
>> e
>>
>>
>>
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Harmon-problems-part-2-tp21887951p21982887.html
Sent from the Csound - General mailing list archive at Nabble.com.
|