{"comment":{"url":"https://api.github.com/repos/bion/ewi_interface/comments/9793995","html_url":"https://github.com/bion/ewi_interface/commit/ab242608ac0076385e0a7d0b8b389b737afdf184#commitcomment-9793995","id":9793995,"user":{"login":"bion","id":473671,"avatar_url":"https://avatars.githubusercontent.com/u/473671?v=3","gravatar_id":"","url":"https://api.github.com/users/bion","html_url":"https://github.com/bion","followers_url":"https://api.github.com/users/bion/followers","following_url":"https://api.github.com/users/bion/following{/other_user}","gists_url":"https://api.github.com/users/bion/gists{/gist_id}","starred_url":"https://api.github.com/users/bion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bion/subscriptions","organizations_url":"https://api.github.com/users/bion/orgs","repos_url":"https://api.github.com/users/bion/repos","events_url":"https://api.github.com/users/bion/events{/privacy}","received_events_url":"https://api.github.com/users/bion/received_events","type":"User","site_admin":false},"position":719,"line":719,"path":"main.scd","commit_id":"ab242608ac0076385e0a7d0b8b389b737afdf184","created_at":"2015-02-18T06:49:07Z","updated_at":"2015-02-18T06:49:07Z","body":":rotating_light: this `.release` method is the reason the synths for buttons 14-20 don't stop when you tell them to. from [the docs](http://doc.sccode.org/Classes/Node.html#-release):\r\n\r\n> This is a convenience method which assumes that the synth contains an envelope generator (an EnvGen, Linen, or similar UGen) running a sustaining envelope (see Env) and that it's gate argument is set to a control called \\gate. This method will cause the envelope to release.\r\n\r\nthe synthdefs for buttons 1-13 all have an `EnvGen` ugen that has its `gate` argument assigned to the `gate` arg for the enclosing synthdef (egh, that's not an easy sentence to read), so when you call `release` on a synth made from one of them, it works. all the synths after 13 don't, so if you want to stop them you can either (1) call `.free` on them instead, or (2) add an `EnvGen` with the proper `gate` argument song and dance.\r\n\r\n2 is probably the better option because 1 will result in an abrupt click if there's sound happening when you free it."}}