wav2json
wav2json copied to clipboard
How to create json data in window?
Hello,
I need json data create from mp3 or wav file.
Confuse how to do in window?
look forward your reply
Hi,
currently there are no project files for Visual Studio. But it should not be too hard to create them manually. Getting the dependencies up and running is the "hard part".
If you tell me what you're trying to do, I might be able to help.
-- Benjamin
On 7 August 2015 at 15:58, Sunil [email protected] wrote:
Hello,
I need json data create from mp3 or wav file.
Confuse how to do in window?
look forward your reply
— Reply to this email directly or view it on GitHub https://github.com/beschulz/wav2json/issues/14.
Hello,
Is below format creating using your script?
I am working on music site, one of reference site created json data from mp3 file. is that possible? [0.854584,0.911011,0.837006,0.913971,0.848511,0.936554,0.853058,0.909363,0.827545,0.914246,0.829834,0.912018,0.824585,0.904938,0.819,0.906891,0.834839,0.93396,0.821899,0.917908,0.815979,0.918518,0.821136,0.902557,0.817047,0.819092,0.909637,0.824615,0.94574,0.815643,0.896606,0.836639,0.936127,0.817474,0.90976,0.822449,0.943848,0.817322,0.922333,0.82251,0.903351,0.823517,0.932526,0.827179,0.920898,0.817383,0.917297,0.822845,0.894348,0.804169,0.81781,0.921875,0.82486,0.916718,0.817291,0.916779,0.835052,0.898834,0.826416,0.932007,0.844696,0.919586,0.834717,0.923065,0.800751,0.768677,0.92627,0.942657,0.788513,0.934204,0.831573,0.85495,0.795135,0.934204,0.760956,0.817505,0.935486,0.81601,0.939972,0.808075,0.850098,0.915466,0.928406,0.815125,0.923553,0.813171,0.896088,0.813995,0.850983,0.774933,0.923676,0.805084,0.914429,0.74231,0.909576,0.833588,0.867859,0.830505,0.910828,0.797516,0.861877,0.929321,0.844666,0.938416,0.785339,0.882172,0.887695,0.934906,0.794312,0.917511,0.842224,0.940063,0.833008,0.903961,0.795898,0.906769,0.792358,0.934143,0.74054,0.895386,0.867371,0.928345,0.874969,0.908997,0.80835,0.785645,0.913788,0.880402,0.923431,0.907074,0.91983,0.899231,0.498322,0.960052,0.96582,0.86084,0.947021,0.900513,0.92099,0.880798,0.926331,0.784973,0.930603,0.803497,0.930847,0.897644,0.910095,0.881592,0.910797,0.881531,0.780884,0.936249,0.888397,0.886719,0.907227,0.886353,0.930939,0.931183,0.787628,0.933014,0.784943,0.904388,0.887177,0.879578,0.857605,0.929565,0.838593,0.936707,0.792908,0.909698,0.849854,0.889618,0.867462,0.938995,0.905212,0.809143,0.952087,0.881409,0.890717,0.87851,0.889771,0.907776,0.954193,0.815094,0.941223,0.796509,0.913635,0.891022,0.910614,0.879456,0.934021,0.816223,0.940948,0.803619,0.905029,0.915436,0.923615,0.849304,0.198273,0.851929,0.930206,0.973267,0.90686,0.945618,0.887177,0.929321,0.925079,0.867767,0.888275,0.935455,0.864258,0.954376,0.891754,0.965942,0.929626,0.939148,0.870026,0.93161,0.85968,0.943634,0.917236,0.965118,0.949799,0.955688,0.863342,0.874023,0.910431,0.907104,0.944427,0.878571,0.933319,0.972473,0.910065,0.88562,0.951874,0.886963,0.925781,0.914978,0.926849,0.880707,0.933685,0.862244,0.943634,0.854431,0.941711,0.917236,0.913483,0.887451,0.964722,0.883026,0.89505,0.916992,0.896362,0.933685,0.886444,0.926941,0.97464,0.933655,0.882874,0.906921,0.907776,0.908722,0.917084,0.91864,0.904358,0.956055,0.683136,0.441345,0.259857,0.27948,0.213898,0.270264,0.48642,0.42392,0.300781,0.263275,0.230225,0.35965,0.247925,0.330017,0.288971,0.288391,0.325348,0.407166,0.311646,0.316467,0.366119,0.358307,0.367554,0.607788,0.576111,0.46051,0.579681,0.59726,0.524506,0.785248,0.786591,0.701904,0.594788,0.398224,0.563568,0.613678,0.538391,0.844086,0.785034,0.805664,0.62558,0.650513,0.483948,0.683044,0.613068,0.699188,0.838593,0.850067,0.769623,0.594025,0.929321,0.906372,0.7612,0.930908,0.889832,0.903015,0.838104,0.872498,0.837311,0.846497,0.903778,0.779022,0.911346,0.893372,0.924286,0.916595,0.893616,0.89563,0.945648,0.820526,0.927094,0.881622,0.934784,0.866913,0.936066,0.881653,0.95343,0.758545,0.894867,0.891235,0.927795,0.796997,0.0282898,0.84198,0.846436,0.997345,0.90625,0.913727,0.901855,0.928467,0.970123,0.948853,0.869537,0.954865,0.867096,0.911743,0.887939,0.922821,0.897339,0.945374,0.903839,0.945007,0.842316,0.934235,0.882111,0.901672,0.863342,0.972351,0.802216,0.901764,0.895325,0.917053,0.943115,0.903992,0.983978,0.965942,0.907043,0.899536,0.921814,0.938477,0.965973,0.865997,0.919525,0.792389,0.977936,0.881165,0.943176,0.751526,0.950836,0.888306,0.968536,0.847656,0.970306,0.80249,0.884979,0.962036,0.796722,0.942657,0.874207,0.947723,0.965881,0.921539,0.882233,0.940033,0.819153,0.91626,0.88385,0.984528,0.887817,0.982483,0.914062,0.963776,0.839508,0.924561,0.884552,0.930023,0.885559,0.992584,0.851318,0.879486,0.956024,0.830933,0.948181,0.945984,0.931671,0.993591,0.898376,0.908661,0.958008,0.823547,0.928772,0.882446,0.953949,0.94101,0.959351,0.869965,0.940521,0.90509,0.924164,0.90274,0.963776,0.899384,0.0279541,0.849548,0.942383,0.972839,0.914764,0.904449,0.91687,0.929535,0.960358,0.935974,0.87561,0.941803,0.892578,0.896942,0.913116,0.957397,0.90033,0.963043,0.924774,0.935547,0.862671,0.904968,0.909332,0.937561,0.874054,0.973389,0.841766,0.864807,0.937531,0.904724,0.954895,0.897095,0.913605,0.944702,0.92041,0.884064,0.940826,0.912781,0.941589,0.896118,0.930298,0.916626,0.923523,0.871826,0.934113,0.892242,0.951813,0.889374,0.915131,0.871979,0.940491,0.855621,0.864502,0.950897,0.888275,0.941284,0.886017,0.959656,0.966675,0.934753,0.866333,0.955444,0.89325,0.907104,0.89621,0.915649,0.903961,0.95047,0.874817,0.904236,0.890381,0.916809,0.88089,0.961914,0.917419,0.945435,0.802551,0.911682,0.930817,0.933014,0.920898,0.976532,0.928864,0.514404,0.0661011,0.908081,0.924683,0.855072,0.953064,0.863251,0.876373,0.838959,0.921387,0.846466,0.916412,0.763885,0.988098,0.848236,0.883484,0.850525,0.942047,0.829041,0.860748,0.920746,0.831726,0.956635,0.853546,0.873322,0.921692,0.919464,0.843079,0.9245,0.803406,0.949921,0.854828,0.868622,0.813629,0.955841,0.897583,0.933685,0.750092,0.927002,0.871307,0.897125,0.870087,0.975983,0.812286,0.901459,0.954895,0.833008,0.913818,0.886688,0.925354,0.97522,0.926819,0.904358,0.951447,0.834045,0.920563,0.896301,0.908234,0.902008,0.969788,0.841492,0.93927,0.800201,0.913483,0.902527,0.926697,0.865814,0.898346,0.862762,0.935364,0.931519,0.887146,0.936493,0.917877,0.913971,0.91153,0.926819,0.843445,0.936981,0.897766,0.905334,0.88147,0.930939,0.908508,0.95163,0.854156,0.9664,0.900146,0.900208,0.907166,0.940155,0.859131,0.961151,0.837769,0.91629,0.911255,0.911621,0.900085,0.939575,0.922943,0.924255,0.949585,0.880737,0.914429,0.880737,0.896271,0.900146,0.946503,0.92572,0.976959,0.864258,0.949524,0.918427,0.900391,0.899963,0.972229,0.893036,0.953857,0.793152,0.905121,0.967621,0.931274,0.911835,0.975586,0.936768,0.973053,0.946259,0.867188,0.96875,0.908295,0.894501,0.908417,0.984253,0.966095,0.200043,0.935638,0.945892,0.927643,0.88382,0.889038,0.971649,0.917847,0.946045,0.796082,0.898743,0.951752,0.874542,0.927063,0.940002,0.930145,0.923035,0.951141,0.885712,0.957153,0.858917,0.911041,0.877045,0.971008,0.939941,0.932129,0.878296,0.947784,0.844238,0.919098,0.888092,0.907227,0.857025,0.921692,0.821381,0.9422,0.942383,0.894836,0.923279,0.888641,0.912567,0.865906,0.92804,0.846802,0.933502,0.830475,0.940826,0.874054,0.874695,0.830261,0.925903,0.860779,0.924438,0.75589,0.921173,0.868225,0.931671,0.785126,0.964355,0.846558,0.838196,0.867035,0.79071,0.934814,0.856934,0.884399,0.322205,0.00259399,0.914215,0.885925,0.795074,0.890015,0.785187,0.90451,0.790039,0.884003,0.78421,0.906189,0.790863,0.884186,0.784851,0.901031,0.790894,0.881744,0.753906,0.80719,0.893158,0.791382,0.888,0.784973,0.889862,0.791138,0.889038,0.784546,0.898132,0.791229,0.881317,0.78772,0.894348,0.794006,0.881256,0.797791,0.888306,0.791931,0.894806,0.792084,0.883636,0.791199,0.888885,0.779175,0.798401,0.902008,0.791382,0.880188,0.784454,0.906708,0.791229,0.889709,0.784851,0.897186,0.791351,0.883881,0.787476,0.896484,0.791107,0.874176,0.784821,0.880615,0.791229,0.896332,0.784271,0.887177,0.791077,0.880432,0.728638]
You can have a look at the json files in the example directory. But essentially that is the output, yes. wav2json only supports the file formats supported by libsndfile (wav, flag, ogg). But it's of course possible to decode mp3 files into wav files before passing them to wav2json (ffmpeg, etc.).
"waveform":[0.854584,0.911011,0.837006,0.913971,0.848511,0.936554,0.853058,0.909363,0.827545,0.914246,0.829834,0.912018,0.824585,0.904938,0.819,0.906891,0.834839,0.93396,0.821899,0.917908,0.815979,0.918518,0.821136,0.902557,0.817047,0.819092,0.909637,0.824615,0.94574,0.815643,0.896606,0.836639,0.936127,0.817474,0.90976,0.822449,0.943848,0.817322,0.922333,0.82251,0.903351,0.823517,0.932526,0.827179,0.920898,0.817383,0.917297,0.822845,0.894348,0.804169,0.81781,0.921875,0.82486,0.916718,0.817291,0.916779,0.835052,0.898834,0.826416,0.932007,0.844696,0.919586,0.834717,0.923065,0.800751,0.768677,0.92627,0.942657,0.788513,0.934204,0.831573,0.85495,0.795135,0.934204,0.760956,0.817505,0.935486,0.81601,0.939972,0.808075,0.850098,0.915466,0.928406,0.815125,0.923553,0.813171,0.896088,0.813995,0.850983,0.774933,0.923676,0.805084,0.914429,0.74231,0.909576,0.833588,0.867859,0.830505,0.910828,0.797516,0.861877,0.929321,0.844666,0.938416,0.785339,0.882172,0.887695,0.934906,0.794312,0.917511,0.842224,0.940063,0.833008,0.903961,0.795898,0.906769,0.792358,0.934143,0.74054,0.895386,0.867371,0.928345,0.874969,0.908997,0.80835,0.785645,0.913788,0.880402,0.923431,0.907074,0.91983,0.899231,0.498322,0.960052,0.96582,0.86084,0.947021,0.900513,0.92099,0.880798,0.926331,0.784973,0.930603,0.803497,0.930847,0.897644,0.910095,0.881592,0.910797,0.881531,0.780884,0.936249,0.888397,0.886719,0.907227,0.886353,0.930939,0.931183,0.787628,0.933014,0.784943,0.904388,0.887177,0.879578,0.857605,0.929565,0.838593,0.936707,0.792908,0.909698,0.849854,0.889618,0.867462,0.938995,0.905212,0.809143,0.952087,0.881409,0.890717,0.87851,0.889771,0.907776,0.954193,0.815094,0.941223,0.796509,0.913635,0.891022,0.910614,0.879456,0.934021,0.816223,0.940948,0.803619,0.905029,0.915436,0.923615,0.849304,0.198273,0.851929,0.930206,0.973267,0.90686,0.945618,0.887177,0.929321,0.925079,0.867767,0.888275,0.935455,0.864258,0.954376,0.891754,0.965942,0.929626,0.939148,0.870026,0.93161,0.85968,0.943634,0.917236,0.965118,0.949799,0.955688,0.863342,0.874023,0.910431,0.907104,0.944427,0.878571,0.933319,0.972473,0.910065,0.88562,0.951874,0.886963,0.925781,0.914978,0.926849,0.880707,0.933685,0.862244,0.943634,0.854431,0.941711,0.917236,0.913483,0.887451,0.964722,0.883026,0.89505,0.916992,0.896362,0.933685,0.886444,0.926941,0.97464,0.933655,0.882874,0.906921,0.907776,0.908722,0.917084,0.91864,0.904358,0.956055,0.683136,0.441345,0.259857,0.27948,0.213898,0.270264,0.48642,0.42392,0.300781,0.263275,0.230225,0.35965,0.247925,0.330017,0.288971,0.288391,0.325348,0.407166,0.311646,0.316467,0.366119,0.358307,0.367554,0.607788,0.576111,0.46051,0.579681,0.59726,0.524506,0.785248,0.786591,0.701904,0.594788,0.398224,0.563568,0.613678,0.538391,0.844086,0.785034,0.805664,0.62558,0.650513,0.483948,0.683044,0.613068,0.699188,0.838593,0.850067,0.769623,0.594025,0.929321,0.906372,0.7612,0.930908,0.889832,0.903015,0.838104,0.872498,0.837311,0.846497,0.903778,0.779022,0.911346,0.893372,0.924286,0.916595,0.893616,0.89563,0.945648,0.820526,0.927094,0.881622,0.934784,0.866913,0.936066,0.881653,0.95343,0.758545,0.894867,0.891235,0.927795,0.796997,0.0282898,0.84198,0.846436,0.997345,0.90625,0.913727,0.901855,0.928467,0.970123,0.948853,0.869537,0.954865,0.867096,0.911743,0.887939,0.922821,0.897339,0.945374,0.903839,0.945007,0.842316,0.934235,0.882111,0.901672,0.863342,0.972351,0.802216,0.901764,0.895325,0.917053,0.943115,0.903992,0.983978,0.965942,0.907043,0.899536,0.921814,0.938477,0.965973,0.865997,0.919525,0.792389,0.977936,0.881165,0.943176,0.751526,0.950836,0.888306,0.968536,0.847656,0.970306,0.80249,0.884979,0.962036,0.796722,0.942657,0.874207,0.947723,0.965881,0.921539,0.882233,0.940033,0.819153,0.91626,0.88385,0.984528,0.887817,0.982483,0.914062,0.963776,0.839508,0.924561,0.884552,0.930023,0.885559,0.992584,0.851318,0.879486,0.956024,0.830933,0.948181,0.945984,0.931671,0.993591,0.898376,0.908661,0.958008,0.823547,0.928772,0.882446,0.953949,0.94101,0.959351,0.869965,0.940521,0.90509,0.924164,0.90274,0.963776,0.899384,0.0279541,0.849548,0.942383,0.972839,0.914764,0.904449,0.91687,0.929535,0.960358,0.935974,0.87561,0.941803,0.892578,0.896942,0.913116,0.957397,0.90033,0.963043,0.924774,0.935547,0.862671,0.904968,0.909332,0.937561,0.874054,0.973389,0.841766,0.864807,0.937531,0.904724,0.954895,0.897095,0.913605,0.944702,0.92041,0.884064,0.940826,0.912781,0.941589,0.896118,0.930298,0.916626,0.923523,0.871826,0.934113,0.892242,0.951813,0.889374,0.915131,0.871979,0.940491,0.855621,0.864502,0.950897,0.888275,0.941284,0.886017,0.959656,0.966675,0.934753,0.866333,0.955444,0.89325,0.907104,0.89621,0.915649,0.903961,0.95047,0.874817,0.904236,0.890381,0.916809,0.88089,0.961914,0.917419,0.945435,0.802551,0.911682,0.930817,0.933014,0.920898,0.976532,0.928864,0.514404,0.0661011,0.908081,0.924683,0.855072,0.953064,0.863251,0.876373,0.838959,0.921387,0.846466,0.916412,0.763885,0.988098,0.848236,0.883484,0.850525,0.942047,0.829041,0.860748,0.920746,0.831726,0.956635,0.853546,0.873322,0.921692,0.919464,0.843079,0.9245,0.803406,0.949921,0.854828,0.868622,0.813629,0.955841,0.897583,0.933685,0.750092,0.927002,0.871307,0.897125,0.870087,0.975983,0.812286,0.901459,0.954895,0.833008,0.913818,0.886688,0.925354,0.97522,0.926819,0.904358,0.951447,0.834045,0.920563,0.896301,0.908234,0.902008,0.969788,0.841492,0.93927,0.800201,0.913483,0.902527,0.926697,0.865814,0.898346,0.862762,0.935364,0.931519,0.887146,0.936493,0.917877,0.913971,0.91153,0.926819,0.843445,0.936981,0.897766,0.905334,0.88147,0.930939,0.908508,0.95163,0.854156,0.9664,0.900146,0.900208,0.907166,0.940155,0.859131,0.961151,0.837769,0.91629,0.911255,0.911621,0.900085,0.939575,0.922943,0.924255,0.949585,0.880737,0.914429,0.880737,0.896271,0.900146,0.946503,0.92572,0.976959,0.864258,0.949524,0.918427,0.900391,0.899963,0.972229,0.893036,0.953857,0.793152,0.905121,0.967621,0.931274,0.911835,0.975586,0.936768,0.973053,0.946259,0.867188,0.96875,0.908295,0.894501,0.908417,0.984253,0.966095,0.200043,0.935638,0.945892,0.927643,0.88382,0.889038,0.971649,0.917847,0.946045,0.796082,0.898743,0.951752,0.874542,0.927063,0.940002,0.930145,0.923035,0.951141,0.885712,0.957153,0.858917,0.911041,0.877045,0.971008,0.939941,0.932129,0.878296,0.947784,0.844238,0.919098,0.888092,0.907227,0.857025,0.921692,0.821381,0.9422,0.942383,0.894836,0.923279,0.888641,0.912567,0.865906,0.92804,0.846802,0.933502,0.830475,0.940826,0.874054,0.874695,0.830261,0.925903,0.860779,0.924438,0.75589,0.921173,0.868225,0.931671,0.785126,0.964355,0.846558,0.838196,0.867035,0.79071,0.934814,0.856934,0.884399,0.322205,0.00259399,0.914215,0.885925,0.795074,0.890015,0.785187,0.90451,0.790039,0.884003,0.78421,0.906189,0.790863,0.884186,0.784851,0.901031,0.790894,0.881744,0.753906,0.80719,0.893158,0.791382,0.888,0.784973,0.889862,0.791138,0.889038,0.784546,0.898132,0.791229,0.881317,0.78772,0.894348,0.794006,0.881256,0.797791,0.888306,0.791931,0.894806,0.792084,0.883636,0.791199,0.888885,0.779175,0.798401,0.902008,0.791382,0.880188,0.784454,0.906708,0.791229,0.889709,0.784851,0.897186,0.791351,0.883881,0.787476,0.896484,0.791107,0.874176,0.784821,0.880615,0.791229,0.896332,0.784271,0.887177,0.791077,0.880432,0.728638],"bpm":"120",
possible same output?
similar, but not the same. wav2json also does not provide information about bpm.
is there any other script get waveform data from mp3?
I do believe #12 is related.
@sunilit42 did you find any script to convert jason data from wav or mp3? Im also looking for windows version(c#)
i have some issue with wav2json.
i'm using audiowaveform to displaying waveforms. but i need json file for large size of files. i have installed wav2svg but the json format not support with audiowaveform dataURI.
Hello, Could U tell me how to use in Visual Stdio??? Thx