How to normalize audio input?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello, does anybody know how wavrecord function scales PCM format (range 0-256 or 0-65536) into -1;1 interval? many thanks for answers
0 Commenti
Risposte (3)
Daniel Shub
il 24 Mag 2013
The wavrecord function does not do the scaling but rather the recsnd function handles the scaling. The recsnd function is/was not a well defined entity since it was a platform dependent mex file and in some cases it used audiorecorder. The wavrecord function is now obsolete and is slated to be removed, so there is no single version...
That said, (x-128)/128 is probably a reasonable approximation of the conversion. Do you have reason to doubt this?
0 Commenti
Antonio Ferreras
il 22 Ott 2019
The problem con mapminmax is that it introduces a continuus bias
0 Commenti
Vedere anche
Categorie
Scopri di più su Audio I/O and Waveform Generation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!