function add5(note,cursor,endtick) { note.color = 'darkblue'; console.log("Ryhtmus Name ---->" + rythmusname + " <---------" ); var objRhytmus={"Id": cursor.tick, "Rythmusname": rythmusname} var json2 = JSON.stringify(objRhytmus); console.log("id++++" + json2) //score.setMetaTag("Theory",json2) cursor.setMetaTag("Theory",json2) //var JsonObject= JSON.parse(json2); }