You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have doubt about the mu-law encoding function. I wondered why the function mulaw_encode() returns np.floor((fx + 1) / 2 * mu + 0.5) instead of fx directly.
The text was updated successfully, but these errors were encountered:
Sorry about the delay. If you look at the definition on wikipedia you'll see that the range of fx is between -1 and 1. So what we are actually doing is mu-law encoding and then quantizing the result. That's where the next step comes from. I hope that helps.
Hi bshall,
I have doubt about the mu-law encoding function. I wondered why the function mulaw_encode() returns np.floor((fx + 1) / 2 * mu + 0.5) instead of fx directly.
The text was updated successfully, but these errors were encountered: