{"issue":{"state":"open","pull_request":{"diff_url":"https://github.com/scottransom/presto/pull/13.diff","html_url":"https://github.com/scottransom/presto/pull/13","patch_url":"https://github.com/scottransom/presto/pull/13.patch"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/8603870e7ffa96fdf686ef5ac9a8e84d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"8603870e7ffa96fdf686ef5ac9a8e84d","url":"https://api.github.com/users/gdesvignes","login":"gdesvignes","id":169226},"milestone":null,"labels":[],"updated_at":"2011-11-10T18:10:17Z","assignee":null,"closed_at":null,"comments":1,"url":"https://api.github.com/repos/scottransom/presto/issues/13","body":"Hi Scott,\r\n\r\nI found a bug when using <8 bits filterbank files in sigproc.py. Can you check it ?\r\n\r\nGreg","html_url":"https://github.com/scottransom/presto/issues/13","number":13,"title":"Bug in sigproc.py","id":2197329,"created_at":"2011-11-10T12:25:19Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/fd8e71405bcd3efac5cb6aea94b07c0d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"fd8e71405bcd3efac5cb6aea94b07c0d","url":"https://api.github.com/users/scottransom","login":"scottransom","id":132898},"updated_at":"2011-11-10T18:10:17Z","url":"https://api.github.com/repos/scottransom/presto/issues/comments/2698798","body":"Interesting.  Gregory:  so I assume that you've tested this quite a bit with 4-bit data?  And having bytes_per_sample be a float hasn't caused any problems?  (for instance, that makes numsamples a float.  And in the next line, I use the modulo operator assuming that I'm dealing with ints (%).   Maybe a better solution for this would be to move from bytes_per_sample as a float to bits_per_sample as an int?","id":2698798,"created_at":"2011-11-10T18:10:17Z"}}