{"action":"created","issue":{"url":"https://api.github.com/repos/bmcfee/librosa/issues/156","labels_url":"https://api.github.com/repos/bmcfee/librosa/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/bmcfee/librosa/issues/156/comments","events_url":"https://api.github.com/repos/bmcfee/librosa/issues/156/events","html_url":"https://github.com/bmcfee/librosa/pull/156","id":55225423,"number":156,"title":"Add automatic res_type detection for CQT","user":{"login":"ebattenberg","id":1377402,"avatar_url":"https://avatars.githubusercontent.com/u/1377402?v=3","gravatar_id":"","url":"https://api.github.com/users/ebattenberg","html_url":"https://github.com/ebattenberg","followers_url":"https://api.github.com/users/ebattenberg/followers","following_url":"https://api.github.com/users/ebattenberg/following{/other_user}","gists_url":"https://api.github.com/users/ebattenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/ebattenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebattenberg/subscriptions","organizations_url":"https://api.github.com/users/ebattenberg/orgs","repos_url":"https://api.github.com/users/ebattenberg/repos","events_url":"https://api.github.com/users/ebattenberg/events{/privacy}","received_events_url":"https://api.github.com/users/ebattenberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-22T23:38:40Z","updated_at":"2015-01-23T01:29:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bmcfee/librosa/pulls/156","html_url":"https://github.com/bmcfee/librosa/pull/156","diff_url":"https://github.com/bmcfee/librosa/pull/156.diff","patch_url":"https://github.com/bmcfee/librosa/pull/156.patch"},"body":"See #154 .\r\n\r\nThis automatically detects the required resampling quality.  Using 'sinc_best' is really slow.  If we can get away with 'sinc_fastest' we should use it.\r\n\r\nI have two concerns:\r\n1. What is the upper passband limit of the highest frequency filter?  `fmax*(1+1/Q)` or `fmax*(1+0.5/Q)`?\r\n2. What happens when scikits.samplerate isn't available?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bmcfee/librosa/issues/comments/71133211","html_url":"https://github.com/bmcfee/librosa/pull/156#issuecomment-71133211","issue_url":"https://api.github.com/repos/bmcfee/librosa/issues/156","id":71133211,"user":{"login":"ebattenberg","id":1377402,"avatar_url":"https://avatars.githubusercontent.com/u/1377402?v=3","gravatar_id":"","url":"https://api.github.com/users/ebattenberg","html_url":"https://github.com/ebattenberg","followers_url":"https://api.github.com/users/ebattenberg/followers","following_url":"https://api.github.com/users/ebattenberg/following{/other_user}","gists_url":"https://api.github.com/users/ebattenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/ebattenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebattenberg/subscriptions","organizations_url":"https://api.github.com/users/ebattenberg/orgs","repos_url":"https://api.github.com/users/ebattenberg/repos","events_url":"https://api.github.com/users/ebattenberg/events{/privacy}","received_events_url":"https://api.github.com/users/ebattenberg/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T01:29:21Z","updated_at":"2015-01-23T01:29:21Z","body":"Here are three examples with sinc fastest, medimum, and best, respectively.  I used sr=44100, fmin = 31Hz, bins_per_octave=12, and n_bins=114.  This gives a top center frequency of 21186, so it's pushing Nyquist.\r\n\r\n![figure_fastest](https://cloud.githubusercontent.com/assets/1377402/5868273/f9f8218a-a25b-11e4-9725-bb7c2cda29da.png)\r\n![figure_medium](https://cloud.githubusercontent.com/assets/1377402/5868274/ffb3d542-a25b-11e4-839c-9961626df91a.png)\r\n![figure_best](https://cloud.githubusercontent.com/assets/1377402/5868275/03764322-a25c-11e4-9065-f96a24d46c8d.png)\r\n\r\n\r\n\r\n"}}