{"action":"created","issue":{"url":"https://api.github.com/repos/LMMS/lmms/issues/1499","repository_url":"https://api.github.com/repos/LMMS/lmms","labels_url":"https://api.github.com/repos/LMMS/lmms/issues/1499/labels{/name}","comments_url":"https://api.github.com/repos/LMMS/lmms/issues/1499/comments","events_url":"https://api.github.com/repos/LMMS/lmms/issues/1499/events","html_url":"https://github.com/LMMS/lmms/issues/1499","id":52873050,"number":1499,"title":"Organic glitches","user":{"login":"DeRobyJ","id":6437521,"avatar_url":"https://avatars.githubusercontent.com/u/6437521?v=3","gravatar_id":"","url":"https://api.github.com/users/DeRobyJ","html_url":"https://github.com/DeRobyJ","followers_url":"https://api.github.com/users/DeRobyJ/followers","following_url":"https://api.github.com/users/DeRobyJ/following{/other_user}","gists_url":"https://api.github.com/users/DeRobyJ/gists{/gist_id}","starred_url":"https://api.github.com/users/DeRobyJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeRobyJ/subscriptions","organizations_url":"https://api.github.com/users/DeRobyJ/orgs","repos_url":"https://api.github.com/users/DeRobyJ/repos","events_url":"https://api.github.com/users/DeRobyJ/events{/privacy}","received_events_url":"https://api.github.com/users/DeRobyJ/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LMMS/lmms/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/LMMS/lmms/labels/core","name":"core","color":"2c974f"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/LMMS/lmms/milestones/3","html_url":"https://github.com/LMMS/lmms/milestones/1.2.0","labels_url":"https://api.github.com/repos/LMMS/lmms/milestones/3/labels","id":614542,"number":3,"title":"1.2.0","description":"To be released during 1.6.2014 - 30.9.2014\r\n\r\n- sample-exact models\r\n- sampletracks playable from middle\r\n- tempo track?\r\n- Calf update?\r\n- LV2 support?","creator":{"login":"diizy","id":6368868,"avatar_url":"https://avatars.githubusercontent.com/u/6368868?v=3","gravatar_id":"","url":"https://api.github.com/users/diizy","html_url":"https://github.com/diizy","followers_url":"https://api.github.com/users/diizy/followers","following_url":"https://api.github.com/users/diizy/following{/other_user}","gists_url":"https://api.github.com/users/diizy/gists{/gist_id}","starred_url":"https://api.github.com/users/diizy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diizy/subscriptions","organizations_url":"https://api.github.com/users/diizy/orgs","repos_url":"https://api.github.com/users/diizy/repos","events_url":"https://api.github.com/users/diizy/events{/privacy}","received_events_url":"https://api.github.com/users/diizy/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":165,"state":"open","created_at":"2014-03-30T18:59:50Z","updated_at":"2016-02-25T13:41:11Z","due_on":null,"closed_at":null},"comments":27,"created_at":"2014-12-25T21:47:38Z","updated_at":"2016-02-26T16:51:15Z","closed_at":null,"body":"While trying some presets, I came to organic ones and I saw a little problem with all of them.\r\n\r\nAt the start and at the end of a note there is a glitch, a little click.\r\nWhat's worse is that you can't avoid it because even if you play with the envelope you will still hear it when playing a note just after or during another one.\r\n\r\nI exported some score with a 1osc preset, so without actually doing additive synthesis, let's say, and I opened it with Audacity.\r\n\r\nWell, here is the problem\r\n![screenshot_9](https://cloud.githubusercontent.com/assets/6437521/5554972/2fd76ac6-8c87-11e4-8616-f729739f78ea.png)\r\n\r\nThe two channels have different phases, and in orther to achieve this feature, they start with random initial phase.\r\n\r\nI'm not really into synthesis yet, but I do know that starting a sound with an initial phase other than 0 will lead to a click, or glitch.\r\n\r\nSo, do we need different phases for the two channels?\r\nIf yes, what about having it by letting one of the two channels start a bit after the first? Like this:\r\n\r\n![screenshot_10](https://cloud.githubusercontent.com/assets/6437521/5554978/e3a9cf9e-8c87-11e4-9669-0e7254af2fce.png)\r\n\r\nNot sure if this is a bug, but it's not like I've heard this problem before now...\r\n"},"comment":{"url":"https://api.github.com/repos/LMMS/lmms/issues/comments/189367607","html_url":"https://github.com/LMMS/lmms/issues/1499#issuecomment-189367607","issue_url":"https://api.github.com/repos/LMMS/lmms/issues/1499","id":189367607,"user":{"login":"zonkmachine","id":6368949,"avatar_url":"https://avatars.githubusercontent.com/u/6368949?v=3","gravatar_id":"","url":"https://api.github.com/users/zonkmachine","html_url":"https://github.com/zonkmachine","followers_url":"https://api.github.com/users/zonkmachine/followers","following_url":"https://api.github.com/users/zonkmachine/following{/other_user}","gists_url":"https://api.github.com/users/zonkmachine/gists{/gist_id}","starred_url":"https://api.github.com/users/zonkmachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonkmachine/subscriptions","organizations_url":"https://api.github.com/users/zonkmachine/orgs","repos_url":"https://api.github.com/users/zonkmachine/repos","events_url":"https://api.github.com/users/zonkmachine/events{/privacy}","received_events_url":"https://api.github.com/users/zonkmachine/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T16:51:15Z","updated_at":"2016-02-26T16:51:15Z","body":"At 1 percent I get just a metronome of glitches and a hint of organ in the background so our setups differ here. I also counted 80 samples first but then I've played with buffer size and at 2048 the shift start 192 samples in and are 160 long."}}