{"action":"opened","issue":{"url":"https://api.github.com/repos/metrasynth/radiant-voices/issues/9","repository_url":"https://api.github.com/repos/metrasynth/radiant-voices","labels_url":"https://api.github.com/repos/metrasynth/radiant-voices/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/metrasynth/radiant-voices/issues/9/comments","events_url":"https://api.github.com/repos/metrasynth/radiant-voices/issues/9/events","html_url":"https://github.com/metrasynth/radiant-voices/issues/9","id":180485181,"number":9,"title":"MultiCtl - map/quantize values in a SunVox-compatible manner","user":{"login":"gldnspud","id":15943,"avatar_url":"https://avatars.githubusercontent.com/u/15943?v=3","gravatar_id":"","url":"https://api.github.com/users/gldnspud","html_url":"https://github.com/gldnspud","followers_url":"https://api.github.com/users/gldnspud/followers","following_url":"https://api.github.com/users/gldnspud/following{/other_user}","gists_url":"https://api.github.com/users/gldnspud/gists{/gist_id}","starred_url":"https://api.github.com/users/gldnspud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gldnspud/subscriptions","organizations_url":"https://api.github.com/users/gldnspud/orgs","repos_url":"https://api.github.com/users/gldnspud/repos","events_url":"https://api.github.com/users/gldnspud/events{/privacy}","received_events_url":"https://api.github.com/users/gldnspud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-01T23:05:08Z","updated_at":"2016-10-01T23:05:08Z","closed_at":null,"body":"There are some inconsistencies in the way we quantize vs. the way SunVox quantizes.\r\n\r\nFor example, for this test case, we calculate a value of 128. This makes sense since there are 61 quantization steps, and 16384 is exactly in the middle of the range [0, 32768].\r\n\r\nHowever, SunVox calculates 123. It only calculates 128 when the value becomes 16385.\r\n\r\n```python\r\n    # gain  qsteps  smin    smax    dmin    dmax    value   expected\r\n    (256,   61,     0,      32768,  0,      256,    16384,  123),\r\n```\r\n"}}
{"actor":{"display_login":"gldnspud"}}