Feb-24-2017, 04:51 PM
(Feb-24-2017, 04:36 PM)Mekire Wrote: Now, you can probably find an appropriate function in some library to normalize for you but normalizing yourself isn't that bad anyway.As I said... the whole audio part is not really my problem.. it is the python part... I have trouble using the tool and understanding how it works and what it does int the background
Speaking of normalizing...
audio = np.float32(audio) max_value = max(np.absolute(audio))This gives me an error that I do not understand in the slightest:
Output:ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Stackoverflow gives me many posts of people who have been getting this message while doing completely different things...