Skip to content

Conversation

@Phyks
Copy link

@Phyks Phyks commented Dec 2, 2013

Mult can be 32768, resulting in an overflow for int16 type which is an int between -32768 and 32767.

Changing in the line involving mult 32768 by 32767 solve this problem very easily, involving a very small loss of the amplitude precision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant