{"slug":"chorales","number":6,"topic":"music","title":"Bach's chorale melodies","aspect":1.0,"lede":"The top line of 382 chorales harmonised by J. S. Bach: 17,966 notes.","reading":"The twelve notes sit on a circle so that notes a fifth apart are neighbours. Each curve joins two notes that follow one another in a melody, and is heavier the more often that happens. Each mark outside the ring is 60 notes. 83% of all moves are a single step up or down the scale.","source":{"name":"JSB Chorales dataset (Boulanger-Lewandowski, Bengio and Vincent, 2012)","url":"https://github.com/czhuang/JSB-Chorales-dataset"},"method":"The soprano voice of each chorale, with repeated notes merged. Notes are counted by pitch class as written, without transposing the chorales to one key. A single step is a move of one or two semitones.","dots":{"x":[469,481,494,506,519,531,469,481,494,506,519,531,469,481,494,506,519,531,469,481,494,506,519,531,469,481,494,506,519,531,469,481,494,506,347,336,325,315,304,293,341,330,319,308,298,287,335,324,313,302,291,280,796,802,809,815,821,827,807,813,819,826,832,838,818,824,830,837,843,849,829,835,841,847,854,860,839,846,852,858,864,871,850,857,863,869,875,882,861,867,874,880,886,892,872,140,140,140,140,140,140,128,128,827,821,815,809,802,796,838,832,826,819,813,807,849,843,837,830,824,818,860,854,847,841,835,829,871,864,858,852,293,304,315,325,336,347,287,298,308,319,330,341,280,291,302,531,519,506,494,481,469,531,519,506,494,481,469,531,519,653,664,675,685,696,707,659,670,681,692,702,713,665,676,687,698,709,720,672,683,693,704,715,726,678,689,700,710,721,732,684,695,204,198,191,185,179,173,860,860,860,860,860,860,872,872,872,872,872,872,885,885,885,885,885,885,898,898,898,898,898,898,910,910,910,910,910,910,922,922,922,922,922,922,935,935,935,935,935,935,948,948,948,948,948,173,179,185,191,198,204,162,168,174,181,187,193,151,157,163,170,707,696,685,675,664,653,713,702,692,681,670,659,720,709,698,687,676,665,726,715,704,693,683,672,732,721,710,700,689,678,738,727,717,706,695,684,745,734,723,712],"y":[140,140,140,140,140,140,128,128,128,128,128,128,115,115,115,115,115,115,103,103,103,103,103,103,90,90,90,90,90,90,78,78,78,78,827,821,815,809,802,796,838,832,826,819,813,807,849,843,837,830,824,818,293,304,315,325,336,347,287,298,308,319,330,341,280,291,302,313,324,335,274,285,296,307,317,328,268,279,290,300,311,322,262,273,283,294,305,316,255,266,277,288,299,310,249,531,519,506,494,481,469,531,519,653,664,675,685,696,707,659,670,681,692,702,713,665,676,687,698,709,720,672,683,693,704,715,726,678,689,700,710,204,198,191,185,179,173,193,187,181,174,168,162,182,176,170,860,860,860,860,860,860,872,872,872,872,872,872,885,885,173,179,185,191,198,204,162,168,174,181,187,193,151,157,163,170,176,182,140,146,153,159,165,171,129,136,142,148,154,161,118,125,707,696,685,675,664,653,469,481,494,506,519,531,469,481,494,506,519,531,469,481,494,506,519,531,469,481,494,506,519,531,469,481,494,506,519,531,469,481,494,506,519,531,469,481,494,506,519,531,469,481,494,506,519,347,336,325,315,304,293,341,330,319,308,298,287,335,324,313,302,796,802,809,815,821,827,807,813,819,826,832,838,818,824,830,837,843,849,829,835,841,847,854,860,839,846,852,858,864,871,850,857,863,869,875,882,861,867,874,880],"s":"1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111","c":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","o":[300,300,300,300,300,300,358,358,358,358,358,358,417,417,417,417,417,417,475,475,475,475,475,475,533,533,533,533,533,533,592,592,592,592,300,300,300,300,300,300,358,358,358,358,358,358,417,417,417,417,417,417,300,300,300,300,300,300,358,358,358,358,358,358,417,417,417,417,417,417,475,475,475,475,475,475,533,533,533,533,533,533,592,592,592,592,592,592,650,650,650,650,650,650,708,300,300,300,300,300,300,358,358,300,300,300,300,300,300,358,358,358,358,358,358,417,417,417,417,417,417,475,475,475,475,475,475,533,533,533,533,300,300,300,300,300,300,358,358,358,358,358,358,417,417,417,300,300,300,300,300,300,358,358,358,358,358,358,417,417,300,300,300,300,300,300,358,358,358,358,358,358,417,417,417,417,417,417,475,475,475,475,475,475,533,533,533,533,533,533,592,592,300,300,300,300,300,300,300,300,300,300,300,300,358,358,358,358,358,358,417,417,417,417,417,417,475,475,475,475,475,475,533,533,533,533,533,533,592,592,592,592,592,592,650,650,650,650,650,650,708,708,708,708,708,300,300,300,300,300,300,358,358,358,358,358,358,417,417,417,417,300,300,300,300,300,300,358,358,358,358,358,358,417,417,417,417,417,417,475,475,475,475,475,475,533,533,533,533,533,533,592,592,592,592,592,592,650,650,650,650]},"lines":[{"p":[785,500,756,507,731,516,708,526,688,538,670,551,656,566,644,583,636,602,630,622,627,644,626,667,629,692,634,719,642,747],"c":1,"w":2,"a":82,"o":0,"d":0},{"p":[642,253,634,281,629,308,626,333,627,356,630,378,636,398,644,417,656,434,670,449,688,462,708,474,731,484,756,493,785,500],"c":1,"w":2,"a":75,"o":10,"d":0},{"p":[500,215,507,244,516,269,526,292,538,312,551,330,566,344,583,356,602,364,622,370,644,373,667,374,692,371,719,366,747,358],"c":1,"w":2,"a":67,"o":19,"d":0},{"p":[747,358,726,378,708,398,693,419,681,439,673,459,668,480,667,500,668,520,673,541,681,561,693,581,708,602,726,622,747,642],"c":1,"w":2,"a":62,"o":29,"d":0},{"p":[500,215,504,255,509,294,515,333,522,372,530,411,538,449,548,487,559,525,570,563,583,600,596,637,611,674,626,710,642,747],"c":1,"w":2,"a":60,"o":38,"d":0},{"p":[358,747,381,715,405,683,430,652,455,622,481,592,508,563,535,535,563,508,592,481,622,455,652,430,683,405,715,381,747,358],"c":1,"w":1,"a":47,"o":48,"d":0},{"p":[358,747,378,726,398,708,419,693,439,681,459,673,480,668,500,667,520,668,541,673,561,681,581,693,602,708,622,726,642,747],"c":1,"w":1,"a":46,"o":57,"d":0},{"p":[500,215,493,244,484,269,474,292,462,312,449,330,434,344,417,356,398,364,378,370,356,373,333,374,308,371,281,366,253,358],"c":0,"w":1,"a":38,"o":67,"d":0},{"p":[785,500,745,496,706,491,667,485,628,478,589,470,551,462,513,452,475,441,437,430,400,417,363,404,326,389,290,374,253,358],"c":0,"w":1,"a":38,"o":76,"d":0},{"p":[357,253,378,274,398,292,419,307,439,319,459,327,480,332,500,333,520,332,541,327,561,319,581,307,602,292,622,274,642,253],"c":0,"w":1,"a":36,"o":86,"d":0},{"p":[747,642,719,634,692,629,667,626,644,627,622,630,602,636,583,644,566,656,551,670,538,688,526,708,516,731,507,756,500,785],"c":0,"w":1,"a":35,"o":95,"d":0},{"p":[500,785,504,745,509,706,515,667,522,628,530,589,538,551,548,513,559,475,570,437,583,400,596,363,611,326,626,290,642,253],"c":0,"w":1,"a":33,"o":105,"d":0},{"p":[747,642,715,619,683,595,652,570,622,545,592,519,563,492,535,465,508,437,481,408,455,378,430,348,405,317,381,285,357,253],"c":0,"w":1,"a":31,"o":114,"d":0},{"p":[747,358,710,374,674,389,637,404,600,417,563,430,525,441,487,452,449,462,411,470,372,478,333,485,294,491,255,496,215,500],"c":0,"w":0,"a":26,"o":124,"d":0},{"p":[747,358,727,374,710,389,697,404,687,417,681,430,679,441,679,452,684,462,692,470,704,478,719,485,737,491,759,496,785,500],"c":0,"w":0,"a":24,"o":133,"d":0},{"p":[253,643,290,626,326,611,363,596,400,583,437,570,475,559,513,548,551,538,589,530,628,522,667,515,706,509,745,504,785,500],"c":0,"w":0,"a":24,"o":143,"d":0},{"p":[215,500,244,493,269,484,292,474,312,462,330,449,344,434,356,417,364,398,370,378,373,356,374,333,371,308,366,281,357,253],"c":0,"w":0,"a":21,"o":152,"d":0},{"p":[747,642,723,633,701,626,682,622,665,621,651,622,640,625,631,631,625,640,622,651,621,665,622,682,626,701,633,723,642,747],"c":0,"w":0,"a":20,"o":162,"d":0},{"p":[500,215,508,248,518,278,530,307,544,334,559,359,577,383,596,404,617,423,641,441,666,456,693,470,722,482,752,492,785,500],"c":0,"w":0,"a":20,"o":171,"d":0},{"p":[500,215,504,241,509,263,515,281,522,296,530,308,538,316,548,321,559,321,570,319,583,313,596,303,611,290,626,273,642,253],"c":0,"w":0,"a":19,"o":181,"d":0},{"p":[500,785,493,756,484,731,474,708,462,688,449,670,434,656,417,644,398,636,378,630,356,627,333,626,308,629,281,634,253,643],"c":0,"w":0,"a":19,"o":190,"d":0},{"p":[747,358,723,381,701,405,682,430,665,455,651,481,640,508,631,535,625,563,622,592,621,622,622,652,626,683,633,715,642,747],"c":0,"w":0,"a":19,"o":200,"d":0},{"p":[747,642,727,626,710,611,697,596,687,583,681,570,679,559,679,548,684,538,692,530,704,522,719,515,737,509,759,504,785,500],"c":0,"w":0,"a":19,"o":210,"d":0},{"p":[747,358,723,367,701,374,682,378,665,379,651,378,640,375,631,369,625,360,622,349,621,335,622,318,626,299,633,277,642,253],"c":0,"w":0,"a":18,"o":219,"d":0},{"p":[642,253,630,288,620,324,611,359,605,394,600,429,597,465,596,500,597,535,600,571,605,606,611,641,620,676,630,712,642,747],"c":0,"w":0,"a":17,"o":229,"d":0},{"p":[215,500,255,504,294,509,333,515,372,522,411,530,449,538,487,548,525,559,563,570,600,583,637,596,674,611,710,626,747,642],"c":0,"w":0,"a":16,"o":238,"d":0},{"p":[747,358,712,370,676,380,641,389,606,395,571,400,535,403,500,404,465,403,429,400,394,395,359,389,324,380,288,370,253,358],"c":0,"w":0,"a":16,"o":248,"d":0},{"p":[747,642,723,619,701,595,682,570,665,545,651,519,640,492,631,465,625,437,622,408,621,378,622,348,626,317,633,285,642,253],"c":0,"w":0,"a":16,"o":257,"d":0},{"p":[642,253,619,277,595,299,570,318,545,335,519,349,492,360,465,369,437,375,408,378,378,379,348,378,317,374,285,367,253,358],"c":0,"w":0,"a":16,"o":267,"d":0},{"p":[747,358,715,367,683,374,652,378,622,379,592,378,563,375,535,369,508,360,481,349,455,335,430,318,405,299,381,277,357,253],"c":0,"w":0,"a":16,"o":276,"d":0},{"p":[357,253,382,281,407,308,434,333,461,356,489,378,518,398,548,417,579,434,611,449,644,462,678,474,713,484,748,493,785,500],"c":0,"w":0,"a":16,"o":286,"d":0},{"p":[500,215,507,252,516,287,526,322,538,356,551,389,566,421,583,452,602,482,622,511,644,539,667,566,692,593,719,618,747,642],"c":0,"w":0,"a":15,"o":295,"d":0},{"p":[642,253,619,285,595,317,570,348,545,378,519,408,492,437,465,465,437,492,408,519,378,545,348,570,317,595,285,619,253,643],"c":0,"w":0,"a":15,"o":305,"d":0},{"p":[358,747,366,719,371,692,374,667,373,644,370,622,364,602,356,583,344,566,330,551,312,538,292,526,269,516,244,507,215,500],"c":0,"w":0,"a":15,"o":314,"d":0},{"p":[500,215,496,241,491,263,485,281,478,296,470,308,462,316,452,321,441,321,430,319,417,313,404,303,389,290,374,273,357,253],"c":0,"w":0,"a":15,"o":324,"d":0},{"p":[358,747,382,719,407,692,434,667,461,644,489,622,518,602,548,583,579,566,611,551,644,538,678,526,713,516,748,507,785,500],"c":0,"w":0,"a":15,"o":333,"d":0},{"p":[253,643,274,622,292,602,307,581,319,561,327,541,332,520,333,500,332,480,327,459,319,439,307,419,292,398,274,378,253,358],"c":0,"w":0,"a":15,"o":343,"d":0},{"p":[500,785,508,752,518,722,530,693,544,666,559,641,577,617,596,596,617,577,641,559,666,544,693,530,722,518,752,508,785,500],"c":0,"w":0,"a":15,"o":352,"d":0},{"p":[358,747,381,723,405,701,430,682,455,665,481,651,508,640,535,631,563,625,592,622,622,621,652,622,683,626,715,633,747,642],"c":0,"w":0,"a":15,"o":362,"d":0},{"p":[357,253,367,277,374,299,378,318,379,335,378,349,375,360,369,369,360,375,349,378,335,379,318,378,299,374,277,367,253,358],"c":0,"w":0,"a":15,"o":371,"d":0},{"p":[500,785,504,759,509,737,515,719,522,704,530,692,538,684,548,679,559,679,570,681,583,687,596,697,611,710,626,727,642,747],"c":0,"w":0,"a":15,"o":381,"d":0},{"p":[253,358,285,381,317,405,348,430,378,455,408,481,437,508,465,535,492,563,519,592,545,622,570,652,595,683,619,715,642,747],"c":0,"w":0,"a":14,"o":390,"d":0},{"p":[747,358,719,382,692,407,667,434,644,461,622,489,602,518,583,548,566,579,551,611,538,644,526,678,516,713,507,748,500,785],"c":0,"w":0,"a":14,"o":400,"d":0},{"p":[358,747,374,727,389,710,404,697,417,687,430,681,441,679,452,679,462,684,470,692,478,704,485,719,491,737,496,759,500,785],"c":0,"w":0,"a":14,"o":410,"d":0},{"p":[500,215,496,255,491,294,485,333,478,372,470,411,462,449,452,487,441,525,430,563,417,600,404,637,389,674,374,710,358,747],"c":0,"w":0,"a":14,"o":419,"d":0},{"p":[215,500,241,496,263,491,281,485,296,478,308,470,316,462,321,452,321,441,319,430,313,417,303,404,290,389,273,374,253,358],"c":0,"w":0,"a":14,"o":429,"d":0},{"p":[500,215,492,248,482,278,470,307,456,334,441,359,423,383,404,404,383,423,359,441,334,456,307,470,278,482,248,492,215,500],"c":0,"w":0,"a":13,"o":438,"d":0},{"p":[215,500,252,493,287,484,322,474,356,462,389,449,421,434,452,417,482,398,511,378,539,356,566,333,593,308,618,281,642,253],"c":0,"w":0,"a":13,"o":448,"d":0},{"p":[253,643,285,633,317,626,348,622,378,621,408,622,437,625,465,631,492,640,519,651,545,665,570,682,595,701,619,723,642,747],"c":0,"w":0,"a":13,"o":457,"d":0},{"p":[357,253,374,290,389,326,404,363,417,400,430,437,441,475,452,513,462,551,470,589,478,628,485,667,491,706,496,745,500,785],"c":0,"w":0,"a":13,"o":467,"d":0},{"p":[747,642,712,630,676,620,641,611,606,605,571,600,535,597,500,596,465,597,429,600,394,605,359,611,324,620,288,630,253,643],"c":0,"w":0,"a":13,"o":476,"d":0},{"p":[358,747,367,723,374,701,378,682,379,665,378,651,375,640,369,631,360,625,349,622,335,621,318,622,299,626,277,633,253,643],"c":0,"w":0,"a":13,"o":486,"d":0},{"p":[358,747,367,715,374,683,378,652,379,622,378,592,375,563,369,535,360,508,349,481,335,455,318,430,299,405,277,381,253,358],"c":0,"w":0,"a":12,"o":495,"d":0},{"p":[500,785,493,748,484,713,474,678,462,644,449,611,434,579,417,548,398,518,378,489,356,461,333,434,308,407,281,382,253,358],"c":0,"w":0,"a":12,"o":505,"d":0},{"p":[215,500,241,504,263,509,281,515,296,522,308,530,316,538,321,548,321,559,319,570,313,583,303,596,290,611,273,626,253,643],"c":0,"w":0,"a":12,"o":514,"d":0},{"p":[500,215,493,252,484,287,474,322,462,356,449,389,434,421,417,452,398,482,378,511,356,539,333,566,308,593,281,618,253,643],"c":0,"w":0,"a":12,"o":524,"d":0},{"p":[500,215,500,256,500,296,500,337,500,378,500,419,500,459,500,500,500,541,500,581,500,622,500,663,500,704,500,744,500,785],"c":0,"w":0,"a":12,"o":533,"d":0},{"p":[357,253,378,288,398,324,419,359,439,394,459,429,480,465,500,500,520,535,541,571,561,606,581,641,602,676,622,712,642,747],"c":0,"w":0,"a":12,"o":543,"d":0},{"p":[357,253,367,285,374,317,378,348,379,378,378,408,375,437,369,465,360,492,349,519,335,545,318,570,299,595,277,619,253,643],"c":0,"w":0,"a":12,"o":552,"d":0},{"p":[215,500,248,508,278,518,307,530,334,544,359,559,383,577,404,596,423,617,441,641,456,666,470,693,482,722,492,752,500,785],"c":0,"w":0,"a":12,"o":562,"d":0},{"p":[215,500,252,507,287,516,322,526,356,538,389,551,421,566,452,583,482,602,511,622,539,644,566,667,593,692,618,719,642,747],"c":0,"w":0,"a":12,"o":571,"d":0},{"p":[215,500,256,500,296,500,337,500,378,500,419,500,459,500,500,500,541,500,581,500,622,500,663,500,704,500,744,500,785,500],"c":0,"w":0,"a":12,"o":581,"d":0},{"p":[358,747,370,712,380,676,389,641,395,606,400,571,403,535,404,500,403,465,400,429,395,394,389,359,380,324,370,288,357,253],"c":0,"w":0,"a":12,"o":590,"d":0}],"labels":[{"t":"C","x":500,"y":179,"a":"c","r":0,"m":0,"c":4},{"t":"C♯","x":340,"y":778,"a":"c","r":0,"m":0,"c":4},{"t":"D","x":778,"y":340,"a":"c","r":0,"m":0,"c":4},{"t":"E♭","x":179,"y":500,"a":"c","r":0,"m":0,"c":4},{"t":"E","x":778,"y":660,"a":"c","r":0,"m":0,"c":4},{"t":"F","x":339,"y":222,"a":"c","r":0,"m":0,"c":4},{"t":"F♯","x":500,"y":821,"a":"c","r":0,"m":0,"c":4},{"t":"G","x":660,"y":222,"a":"c","r":0,"m":0,"c":4},{"t":"A♭","x":222,"y":661,"a":"c","r":0,"m":0,"c":4},{"t":"A","x":821,"y":500,"a":"c","r":0,"m":0,"c":4},{"t":"B♭","x":222,"y":340,"a":"c","r":0,"m":0,"c":4},{"t":"B","x":660,"y":778,"a":"c","r":0,"m":0,"c":4}]}