{"action":"created","issue":{"url":"https://api.github.com/repos/csound/csound/issues/608","repository_url":"https://api.github.com/repos/csound/csound","labels_url":"https://api.github.com/repos/csound/csound/issues/608/labels{/name}","comments_url":"https://api.github.com/repos/csound/csound/issues/608/comments","events_url":"https://api.github.com/repos/csound/csound/issues/608/events","html_url":"https://github.com/csound/csound/issues/608","id":139383113,"number":608,"title":"ADSR note too short?","user":{"login":"hlolli","id":6074754,"avatar_url":"https://avatars.githubusercontent.com/u/6074754?v=3","gravatar_id":"","url":"https://api.github.com/users/hlolli","html_url":"https://github.com/hlolli","followers_url":"https://api.github.com/users/hlolli/followers","following_url":"https://api.github.com/users/hlolli/following{/other_user}","gists_url":"https://api.github.com/users/hlolli/gists{/gist_id}","starred_url":"https://api.github.com/users/hlolli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlolli/subscriptions","organizations_url":"https://api.github.com/users/hlolli/orgs","repos_url":"https://api.github.com/users/hlolli/repos","events_url":"https://api.github.com/users/hlolli/events{/privacy}","received_events_url":"https://api.github.com/users/hlolli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-08T20:19:48Z","updated_at":"2016-03-08T20:31:02Z","closed_at":null,"body":"Not sure if this is something that I should make an issue for. But I just installed fresh csound from latest develop branch on a new computer I have, and few of my instruments using adsr stopped working due to new error saying: \r\nINIT ERROR in instr 1: length of ADSR note too short\r\n\r\nHere's maybe a reproduceable code (note that the error starts as soon as the duration is less than 0.2)\r\n```\r\n<CsoundSynthesizer>\r\n<CsOptions>\r\n</CsOptions>\r\n<CsInstruments>\r\n\r\nsr = 44100\r\nksmps = 128\r\nnchnls = 2\r\n0dbfs = 1.0\r\n\r\ninstr 1\r\naoscil poscil 0.1, 200\r\naenv adsr 0.1, 0, 0.5, 0.1\r\nouts aoscil*aenv, aoscil*aenv\r\nendin\r\n\r\n</CsInstruments>\r\n<CsScore>\r\ni 1 0 0.19\r\n</CsScore>\r\n</CsoundSynthesizer>\r\n```"},"comment":{"url":"https://api.github.com/repos/csound/csound/issues/comments/193955519","html_url":"https://github.com/csound/csound/issues/608#issuecomment-193955519","issue_url":"https://api.github.com/repos/csound/csound/issues/608","id":193955519,"user":{"login":"rorywalsh","id":2689817,"avatar_url":"https://avatars.githubusercontent.com/u/2689817?v=3","gravatar_id":"","url":"https://api.github.com/users/rorywalsh","html_url":"https://github.com/rorywalsh","followers_url":"https://api.github.com/users/rorywalsh/followers","following_url":"https://api.github.com/users/rorywalsh/following{/other_user}","gists_url":"https://api.github.com/users/rorywalsh/gists{/gist_id}","starred_url":"https://api.github.com/users/rorywalsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorywalsh/subscriptions","organizations_url":"https://api.github.com/users/rorywalsh/orgs","repos_url":"https://api.github.com/users/rorywalsh/repos","events_url":"https://api.github.com/users/rorywalsh/events{/privacy}","received_events_url":"https://api.github.com/users/rorywalsh/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T20:31:02Z","updated_at":"2016-03-08T20:31:02Z","body":"The error makes sense considering your attack and decay times are more than\nyour note's duration, but I never like when updates break older instruments\nthat had been working fine. Your code is sitting between a rock and hard\nplace.\n\nOn 8 March 2016 at 20:19, Hlöðver Sigurðsson <notifications@github.com>\nwrote:\n\n> Not sure if this is something that I should make an issue for. But I just\n> installed fresh csound from latest develop branch on a new computer I have,\n> and few of my instruments using adsr stopped working due to new error\n> saying:\n> INIT ERROR in instr 1: length of ADSR note too short\n>\n> Here's maybe a reproduceable code (note that the error starts as soon as\n> the duration is less than 0.2)\n>\n>\n>\n>\n> sr = 44100\n> ksmps = 128\n> nchnls = 2\n> 0dbfs = 1.0\n>\n> instr 1\n> aoscil poscil 0.1, 200\n> aenv adsr 0.1, 0, 0.5, 0.1\n> outs aoscil*aenv, aoscil*aenv\n> endin\n>\n>\n>\n> i 1 0 0.19\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/csound/csound/issues/608>.\n>\n"}}