From e1decdb60ef1033494751dfdd65cf5a7ba60f06d Mon Sep 17 00:00:00 2001 From: Benjamin Schulz Date: Thu, 8 Aug 2013 15:11:55 +0200 Subject: [PATCH] * setting SFC_SET_SCALE_FLOAT_INT_READ to SF_TRUE to fix https://github.com/beschulz/wav2json/pull/7 --- src/wav2json.cpp | 8 ++++++-- tests/32bit.wav.json | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/wav2json.cpp b/src/wav2json.cpp index 21002cb..820efb8 100644 --- a/src/wav2json.cpp +++ b/src/wav2json.cpp @@ -98,7 +98,7 @@ void compute_waveform( using std::endl; // you can change it to float or short, short was much faster for me. - typedef float sample_type; + typedef short sample_type; samples = std::min(wav.frames(), (sf_count_t)samples); @@ -123,6 +123,10 @@ void compute_waveform( channel = Options::LEFT; } + // https://github.com/beschulz/wav2json/pull/7 + // http://www.mega-nerd.com/libsndfile/api.html#note2 + const_cast(wav).command(SFC_SET_SCALE_FLOAT_INT_READ, 0, SF_TRUE); + /* the processing works like this: for each vertical pixel in the image (x), read frames_per_pixel frames from @@ -131,7 +135,7 @@ void compute_waveform( for (size_t x = 0; x < samples; ++x) { // read frames - sf_count_t n = const_cast(wav).readf(&block[0], frames_per_pixel) * wav.channels(); + sf_count_t n = const_cast(wav).read(&block[0], frames_per_pixel) * wav.channels(); assert(n <= (sf_count_t)block.size()); // find min and max diff --git a/tests/32bit.wav.json b/tests/32bit.wav.json index 678a77f..ff833d3 100644 --- a/tests/32bit.wav.json +++ b/tests/32bit.wav.json @@ -1,5 +1,5 @@ { "_generator":"wav2json version 0.2 on Darwin (http://goo.gl/af7wg)", - "left":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,3.05176e-05,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,3.05176e-05,3.05176e-05,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0], - "right":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,3.05176e-05,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,3.05176e-05,3.05176e-05,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.05176e-05,3.05176e-05,3.05176e-05,3.05176e-05,0,0,0,0] + "left":[0,0,0,0,0,0.0010376,0.00271606,0.00405884,0.00439453,0.00546265,0.006073,0.0055542,0.00543213,0.00448608,0.00302124,0.0022583,0.00152588,0.000854492,0.00180054,0.00238037,0.00204468,0.00384521,0.0369263,0.0750732,0.116119,0.166229,0.217072,0.244385,0.246674,0.234985,0.19339,0.145355,0.101685,0.0472107,0.0376282,0.0393982,0.019928,0.0702515,0.169861,0.251465,0.266052,0.246948,0.161469,0.0400696,0.0993958,0.121643,0.116791,0.0613708,0.107819,0.239899,0.392914,0.49704,0.521271,0.509613,0.428986,0.28537,0.104828,0.222137,0.37207,0.441711,0.455109,0.441681,0.35141,0.207306,0.0597229,0.123535,0.144867,0.127441,0.0570374,0.112976,0.211273,0.266449,0.268372,0.232422,0.134491,0.105621,0.279297,0.436554,0.516785,0.525177,0.498993,0.392365,0.200165,0.173798,0.377472,0.523102,0.576202,0.573914,0.509216,0.354492,0.115479,0.321472,0.520233,0.621552,0.631287,0.602478,0.49823,0.321716,0.129364,0.0983276,0.181915,0.254913,0.325775,0.383301,0.434967,0.479584,0.488495,0.462311,0.376648,0.263916,0.115692,0.189484,0.360443,0.513458,0.610779,0.631653,0.619141,0.540924,0.394135,0.205597,0.135071,0.283569,0.353241,0.36731,0.35675,0.304688,0.247772,0.208984,0.214447,0.243805,0.264954,0.270416,0.272278,0.263794,0.226959,0.166168,0.100739,0.0692139,0.192352,0.30838,0.406555,0.456482,0.45813,0.420319,0.351715,0.281281,0.229767,0.198547,0.188812,0.187073,0.161957,0.10318,0.0410461,0.15506,0.278809,0.386536,0.482452,0.529938,0.534607,0.515869,0.467712,0.374054,0.227631,0.0960999,0.288147,0.417419,0.48111,0.493958,0.484741,0.412262,0.305115,0.206329,0.132385,0.0975952,0.0886841,0.0892029,0.0726624,0.108917,0.27002,0.422791,0.547913,0.596344,0.594757,0.542999,0.430267,0.252228,0.125244,0.355042,0.565491,0.718597,0.765198,0.756866,0.666779,0.49881,0.297729,0.083374,0.277924,0.398987,0.444275,0.447906,0.436218,0.403137,0.354767,0.294312,0.243011,0.18927,0.120117,0.0698853,0.0554199,0.0681763,0.10495,0.134125,0.133118,0.0975342,0.0393066,0.0777283,0.131256,0.16745,0.203125,0.251251,0.316833,0.381836,0.436798,0.489746,0.542053,0.556946,0.54892,0.488159,0.366302,0.190643,0.131439,0.314209,0.45163,0.53595,0.583313,0.584473,0.538269,0.434387,0.304993,0.155121,0.0359802,0.059906,0.0565491,0.0331421,0.123505,0.214508,0.263641,0.265747,0.219574,0.0982056,0.189362,0.342163,0.419647,0.433502,0.41861,0.337524,0.225739,0.131439,0.0623169,0.0227051,0.0439148,0.0584412,0.0705566,0.0737,0.0664368,0.0587158,0.0566406,0.104218,0.178101,0.245636,0.311768,0.366821,0.383453,0.373322,0.305908,0.17099,0.119476,0.2883,0.429108,0.538696,0.633392,0.693512,0.699371,0.673706,0.597107,0.463684,0.277008,0.104889,0.0993042,0.212677,0.329895,0.459778,0.588135,0.711151,0.804108,0.830078,0.815155,0.7229,0.559845,0.324158,0.15448,0.405334,0.559418,0.610931,0.608337,0.554443,0.440796,0.283203,0.115204,0.152069,0.244598,0.259216,0.243866,0.17392,0.058197,0.189026,0.250031,0.251373,0.202332,0.0846558,0.181061,0.313751,0.39032,0.402191,0.388336,0.315613,0.192688,0.0513611,0.157288,0.256836,0.335449,0.406036,0.45636,0.472351,0.468323,0.433472,0.36969,0.28656,0.214966,0.149902,0.0790405,0.0460205,0.143616,0.248779,0.329956,0.384491,0.409088,0.408661,0.393646,0.350677,0.280884,0.193085,0.106232,0.0482788,0.0587769,0.0717468,0.0889587,0.128479,0.166138,0.171112,0.158569,0.106293,0.0665894,0.176117,0.253693,0.270111,0.251862,0.168549,0.0551147,0.118774,0.15686,0.15155,0.082428,0.183136,0.385498,0.570557,0.702728,0.741028,0.729248,0.6203,0.419617,0.161835,0.244202,0.436737,0.603333,0.6987,0.716034,0.698792,0.631958,0.512482,0.352631,0.178711,0.070343,0.178223,0.260773,0.317657,0.339142,0.340668,0.33551,0.32489,0.307281,0.283112,0.219452,0.104187,0.138092,0.265045,0.332733,0.344421,0.337646,0.295197,0.227295,0.16806,0.110962,0.0396423,0.0691223,0.105835,0.125061,0.12384,0.0953979,0.0367737,0.0653992,0.0884705,0.0853577,0.0415344,0.144836,0.278961,0.388184,0.453522,0.46051,0.424622,0.313568,0.15451,0.185883,0.39447,0.568542,0.682556,0.71344,0.703308,0.614685,0.456451,0.25,0.0782471,0.210846,0.287933,0.326416,0.366241,0.424377,0.48877,0.548004,0.594086,0.610016,0.604797,0.543884,0.418427,0.25354,0.0754089,0.230164,0.378693,0.502197,0.627441,0.739136,0.803009,0.812927,0.787903,0.682922,0.517731,0.329742,0.135742,0.156952,0.308655,0.436005,0.537628,0.624084,0.68512,0.71106,0.71228,0.687073,0.606079,0.447571,0.23114,0.170319,0.364441,0.524536,0.635651,0.666199,0.659363,0.601685,0.500763,0.346558,0.151154,0.126648,0.208832,0.218689,0.193359,0.111816,0.0654297,0.145447,0.173828,0.171204,0.111633,0.120636,0.292328,0.454102,0.566956,0.60199,0.59491,0.52475,0.386047,0.204712,0.117737,0.285706,0.401978,0.4487,0.451355,0.424255,0.345825,0.257263,0.191895,0.137238,0.0853577,0.0278931,0.0924683,0.165253,0.231354,0.285797,0.32312,0.331543,0.314758,0.236908,0.121429,0.0802917,0.197784,0.287506,0.34021,0.365234,0.365631,0.333313,0.267151,0.178253,0.0579224,0.162292,0.253021,0.278625,0.269928,0.205261,0.0923462,0.151886,0.268494,0.310486,0.306366,0.249939,0.147064,0.0412598,0.115906,0.130646,0.1185,0.0790405,0.0393982,0.00567627,0.0207214,0.0896606,0.187988,0.314178,0.464661,0.610535,0.712616,0.744446,0.730347,0.618561,0.420258,0.181732,0.218475,0.429626,0.597809,0.690918,0.711121,0.709839,0.687531,0.652496,0.613831,0.555481,0.475159,0.378296,0.254547,0.108582,0.0960999,0.196655,0.287659,0.35907,0.407654,0.422638,0.411133,0.34613,0.253906,0.161987,0.0990906,0.107391,0.175629,0.258667,0.318359,0.338989,0.3349,0.276733,0.142334,0.156128,0.330444,0.476074,0.572205,0.610565,0.609833,0.562866,0.44873,0.281891,0.0892639,0.34259,0.569275,0.729401,0.779572,0.769501,0.66748,0.489746,0.280548,0.0672913,0.213318,0.296783,0.321899,0.322205,0.307587,0.281982,0.260986,0.267944,0.270569,0.267639,0.260864,0.233368,0.174835,0.111938,0.0458374,0.0976562,0.177948,0.228668,0.237305,0.226807,0.18335,0.119293,0.0437012,0.0603333,0.0903015,0.11084,0.11264,0.101715,0.0732117,0.0360718,0.00888062,0.00228882,0.015625,0.0244751,0.0307617,0.0418701,0.0553284,0.0692749,0.093811,0.119781,0.139069,0.168274,0.195068,0.197418,0.17218,0.105164,0.0329895,0.101562,0.145813,0.154358,0.135956,0.071228,0.0924072,0.19986,0.28891,0.332275,0.330994,0.283051,0.171112,0.0850525,0.244904,0.39975,0.524323,0.603302,0.623474,0.606415,0.507172,0.346924,0.157745,0.127319,0.213989,0.235352,0.230469,0.189789,0.129395,0.0784302,0.0706787,0.110962,0.152344,0.174957,0.176971,0.167114,0.131195,0.0949097,0.0871277,0.108582,0.151947,0.192291,0.209808,0.210999,0.196289,0.153595,0.0830994,0.108917,0.256042,0.394257,0.509003,0.58313,0.593445,0.565369,0.452728,0.264404,0.118774,0.324188,0.481293,0.577545,0.6203,0.621948,0.580231,0.469421,0.316162,0.138123,0.179718,0.323669,0.39505,0.407867,0.394958,0.337372,0.259094,0.209473,0.228943,0.282074,0.317322,0.322937,0.310913,0.249481,0.125916,0.174164,0.375061,0.549866,0.675568,0.738434,0.741486,0.700775,0.588898,0.425323,0.221741,0.122314,0.300171,0.43045,0.480499,0.480743,0.456573,0.423523,0.391083,0.373962,0.375885,0.381042,0.376251,0.336578,0.257019,0.140656,0.098877,0.229309,0.320465,0.362091,0.363861,0.336456,0.286133,0.238586,0.202911,0.223114,0.276062,0.33609,0.382324,0.403625,0.4039,0.378632,0.310455,0.182434,0.123932,0.315918,0.488708,0.611786,0.662933,0.662689,0.615875], + "right":[0,0,0,0,0,0.0010376,0.00271606,0.00405884,0.00439453,0.00546265,0.006073,0.0055542,0.00543213,0.00448608,0.00302124,0.0022583,0.00152588,0.000854492,0.00180054,0.00238037,0.00204468,0.00384521,0.0369263,0.0750732,0.116119,0.166229,0.217072,0.244385,0.246674,0.234985,0.19339,0.145355,0.101685,0.0472107,0.0376282,0.0393982,0.019928,0.0702515,0.169861,0.251465,0.266052,0.246948,0.161469,0.0400696,0.0993958,0.121643,0.116791,0.0613708,0.107819,0.239899,0.392914,0.49704,0.521271,0.509613,0.428986,0.28537,0.104828,0.222137,0.37207,0.441711,0.455109,0.441681,0.35141,0.207306,0.0597229,0.123535,0.144867,0.127441,0.0570374,0.112976,0.211273,0.266449,0.268372,0.232422,0.134491,0.105621,0.279297,0.436554,0.516785,0.525177,0.498993,0.392365,0.200165,0.173798,0.377472,0.523102,0.576202,0.573914,0.509216,0.354492,0.115479,0.321472,0.520233,0.621552,0.631287,0.602478,0.49823,0.321716,0.129364,0.0983276,0.181915,0.254913,0.325775,0.383301,0.434967,0.479584,0.488495,0.462311,0.376648,0.263916,0.115692,0.189484,0.360443,0.513458,0.610779,0.631653,0.619141,0.540924,0.394135,0.205597,0.135071,0.283569,0.353241,0.36731,0.35675,0.304688,0.247772,0.208984,0.214447,0.243805,0.264954,0.270416,0.272278,0.263794,0.226959,0.166168,0.100739,0.0692139,0.192352,0.30838,0.406555,0.456482,0.45813,0.420319,0.351715,0.281281,0.229767,0.198547,0.188812,0.187073,0.161957,0.10318,0.0410461,0.15506,0.278809,0.386536,0.482452,0.529938,0.534607,0.515869,0.467712,0.374054,0.227631,0.0960999,0.288147,0.417419,0.48111,0.493958,0.484741,0.412262,0.305115,0.206329,0.132385,0.0975952,0.0886841,0.0892029,0.0726624,0.108917,0.27002,0.422791,0.547913,0.596344,0.594757,0.542999,0.430267,0.252228,0.125244,0.355042,0.565491,0.718597,0.765198,0.756866,0.666779,0.49881,0.297729,0.083374,0.277924,0.398987,0.444275,0.447906,0.436218,0.403137,0.354767,0.294312,0.243011,0.18927,0.120117,0.0698853,0.0554199,0.0681763,0.10495,0.134125,0.133118,0.0975342,0.0393066,0.0777283,0.131256,0.16745,0.203125,0.251251,0.316833,0.381836,0.436798,0.489746,0.542053,0.556946,0.54892,0.488159,0.366302,0.190643,0.131439,0.314209,0.45163,0.53595,0.583313,0.584473,0.538269,0.434387,0.304993,0.155121,0.0359802,0.059906,0.0565491,0.0331421,0.123505,0.214508,0.263641,0.265747,0.219574,0.0982056,0.189362,0.342163,0.419647,0.433502,0.41861,0.337524,0.225739,0.131439,0.0623169,0.0227051,0.0439148,0.0584412,0.0705566,0.0737,0.0664368,0.0587158,0.0566406,0.104218,0.178101,0.245636,0.311768,0.366821,0.383453,0.373322,0.305908,0.17099,0.119476,0.2883,0.429108,0.538696,0.633392,0.693512,0.699371,0.673706,0.597107,0.463684,0.277008,0.104889,0.0993042,0.212677,0.329895,0.459778,0.588135,0.711151,0.804108,0.830078,0.815155,0.7229,0.559845,0.324158,0.15448,0.405334,0.559418,0.610931,0.608337,0.554443,0.440796,0.283203,0.115204,0.152069,0.244598,0.259216,0.243866,0.17392,0.058197,0.189026,0.250031,0.251373,0.202332,0.0846558,0.181061,0.313751,0.39032,0.402191,0.388336,0.315613,0.192688,0.0513611,0.157288,0.256836,0.335449,0.406036,0.45636,0.472351,0.468323,0.433472,0.36969,0.28656,0.214966,0.149902,0.0790405,0.0460205,0.143616,0.248779,0.329956,0.384491,0.409088,0.408661,0.393646,0.350677,0.280884,0.193085,0.106232,0.0482788,0.0587769,0.0717468,0.0889587,0.128479,0.166138,0.171112,0.158569,0.106293,0.0665894,0.176117,0.253693,0.270111,0.251862,0.168549,0.0551147,0.118774,0.15686,0.15155,0.082428,0.183136,0.385498,0.570557,0.702728,0.741028,0.729248,0.6203,0.419617,0.161835,0.244202,0.436737,0.603333,0.6987,0.716034,0.698792,0.631958,0.512482,0.352631,0.178711,0.070343,0.178223,0.260773,0.317657,0.339142,0.340668,0.33551,0.32489,0.307281,0.283112,0.219452,0.104187,0.138092,0.265045,0.332733,0.344421,0.337646,0.295197,0.227295,0.16806,0.110962,0.0396423,0.0691223,0.105835,0.125061,0.12384,0.0953979,0.0367737,0.0653992,0.0884705,0.0853577,0.0415344,0.144836,0.278961,0.388184,0.453522,0.46051,0.424622,0.313568,0.15451,0.185883,0.39447,0.568542,0.682556,0.71344,0.703308,0.614685,0.456451,0.25,0.0782471,0.210846,0.287933,0.326416,0.366241,0.424377,0.48877,0.548004,0.594086,0.610016,0.604797,0.543884,0.418427,0.25354,0.0754089,0.230164,0.378693,0.502197,0.627441,0.739136,0.803009,0.812927,0.787903,0.682922,0.517731,0.329742,0.135742,0.156952,0.308655,0.436005,0.537628,0.624084,0.68512,0.71106,0.71228,0.687073,0.606079,0.447571,0.23114,0.170319,0.364441,0.524536,0.635651,0.666199,0.659363,0.601685,0.500763,0.346558,0.151154,0.126648,0.208832,0.218689,0.193359,0.111816,0.0654297,0.145447,0.173828,0.171204,0.111633,0.120636,0.292328,0.454102,0.566956,0.60199,0.59491,0.52475,0.386047,0.204712,0.117737,0.285706,0.401978,0.4487,0.451355,0.424255,0.345825,0.257263,0.191895,0.137238,0.0853577,0.0278931,0.0924683,0.165253,0.231354,0.285797,0.32312,0.331543,0.314758,0.236908,0.121429,0.0802917,0.197784,0.287506,0.34021,0.365234,0.365631,0.333313,0.267151,0.178253,0.0579224,0.162292,0.253021,0.278625,0.269928,0.205261,0.0923462,0.151886,0.268494,0.310486,0.306366,0.249939,0.147064,0.0412598,0.115906,0.130646,0.1185,0.0790405,0.0393982,0.00567627,0.0207214,0.0896606,0.187988,0.314178,0.464661,0.610535,0.712616,0.744446,0.730347,0.618561,0.420258,0.181732,0.218475,0.429626,0.597809,0.690918,0.711121,0.709839,0.687531,0.652496,0.613831,0.555481,0.475159,0.378296,0.254547,0.108582,0.0960999,0.196655,0.287659,0.35907,0.407654,0.422638,0.411133,0.34613,0.253906,0.161987,0.0990906,0.107391,0.175629,0.258667,0.318359,0.338989,0.3349,0.276733,0.142334,0.156128,0.330444,0.476074,0.572205,0.610565,0.609833,0.562866,0.44873,0.281891,0.0892639,0.34259,0.569275,0.729401,0.779572,0.769501,0.66748,0.489746,0.280548,0.0672913,0.213318,0.296783,0.321899,0.322205,0.307587,0.281982,0.260986,0.267944,0.270569,0.267639,0.260864,0.233368,0.174835,0.111938,0.0458374,0.0976562,0.177948,0.228668,0.237305,0.226807,0.18335,0.119293,0.0437012,0.0603333,0.0903015,0.11084,0.11264,0.101715,0.0732117,0.0360718,0.00888062,0.00228882,0.015625,0.0244751,0.0307617,0.0418701,0.0553284,0.0692749,0.093811,0.119781,0.139069,0.168274,0.195068,0.197418,0.17218,0.105164,0.0329895,0.101562,0.145813,0.154358,0.135956,0.071228,0.0924072,0.19986,0.28891,0.332275,0.330994,0.283051,0.171112,0.0850525,0.244904,0.39975,0.524323,0.603302,0.623474,0.606415,0.507172,0.346924,0.157745,0.127319,0.213989,0.235352,0.230469,0.189789,0.129395,0.0784302,0.0706787,0.110962,0.152344,0.174957,0.176971,0.167114,0.131195,0.0949097,0.0871277,0.108582,0.151947,0.192291,0.209808,0.210999,0.196289,0.153595,0.0830994,0.108917,0.256042,0.394257,0.509003,0.58313,0.593445,0.565369,0.452728,0.264404,0.118774,0.324188,0.481293,0.577545,0.6203,0.621948,0.580231,0.469421,0.316162,0.138123,0.179718,0.323669,0.39505,0.407867,0.394958,0.337372,0.259094,0.209473,0.228943,0.282074,0.317322,0.322937,0.310913,0.249481,0.125916,0.174164,0.375061,0.549866,0.675568,0.738434,0.741486,0.700775,0.588898,0.425323,0.221741,0.122314,0.300171,0.43045,0.480499,0.480743,0.456573,0.423523,0.391083,0.373962,0.375885,0.381042,0.376251,0.336578,0.257019,0.140656,0.098877,0.229309,0.320465,0.362091,0.363861,0.336456,0.286133,0.238586,0.202911,0.223114,0.276062,0.33609,0.382324,0.403625,0.4039,0.378632,0.310455,0.182434,0.123932,0.315918,0.488708,0.611786,0.662933,0.662689,0.615875] }