We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Bark.py there are two functions for converting between Hz and Bark units:
Bark.py
def hz2bark(self, f): # HZ2BARK Converts frequencies Hertz (Hz) to Bark # z = 6 * np.arcsinh(f/600) return z def bark2hz(self, z): # BARK2HZ Converts frequencies Bark to Hertz (HZ) # f = 650*np.sinh(z/7) return f
These functions are not inverses of each other.
If we assume that hz2bark(f) is correct, then the correct inverse is f = 600*np.sinh(z/6), not f = 650*np.sinh(z/7).
hz2bark(f)
f = 600*np.sinh(z/6)
f = 650*np.sinh(z/7)
The difference between the correct and incorrect version is shown below
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In
Bark.py
there are two functions for converting between Hz and Bark units:These functions are not inverses of each other.
If we assume that
hz2bark(f)
is correct, then the correct inverse isf = 600*np.sinh(z/6)
, notf = 650*np.sinh(z/7)
.The difference between the correct and incorrect version is shown below
The text was updated successfully, but these errors were encountered: