home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
watch/edit Videos
My Burner - now with Video DVD burning :)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="knutinh" data-source="post: 65996" data-attributes="member: 14776"><p>I dont know any C#, but Id love to participate on algorithm/low-level implementation of a normalization routine.</p><p></p><p>If all files are converted to 44.1/16bit wav files beforehand, I think that it should be quite easy to do a file-scan for statistics, compare the given files, and do a individual file attenuation before returning to actually burning the CD.</p><p></p><p>Adobe Audition has quite nice normalisation features.</p><p></p><p>Id say that it is sufficient to scan for peak amplitude as well as average "percieved" amplitude (using some weighing filter taking our hearings increased sensitivity for midrange sounds).</p><p></p><p>Then you get two vectors:</p><p>peak1, percieved1</p><p>peak2, percieved2 </p><p>...</p><p></p><p>Now, we dont want any peak levels to exceed the maximum allowable amplitude (0dB, '1' or +/- 32768). So take the maximum</p><p></p><p>Find the global "gain factor" by checking all files percieved amplitude against peak amplitude to find the one song that limits the total gain (typically one with high peak-to-rms ratio) and use this factor with the inverse of percieved amplitude to attenuate every song.</p><p></p><p>Now, the main obstacles would be finding fast and compact means to do a full wav file convolution (weighing filter) as well as attenuation. Adobe audition is quite slow, so I think it is hard to do very fast.</p><p></p><p>BTW, the convolution would contain only a few filter taps, no need to have milimetre-precision.</p><p></p><p>The UI really should have only a simple selection for "no normalise", "normalise by peak" and "normalise by percieved soundlevel"</p><p></p><p>regards</p><p>Knut</p></blockquote><p></p>
[QUOTE="knutinh, post: 65996, member: 14776"] I dont know any C#, but Id love to participate on algorithm/low-level implementation of a normalization routine. If all files are converted to 44.1/16bit wav files beforehand, I think that it should be quite easy to do a file-scan for statistics, compare the given files, and do a individual file attenuation before returning to actually burning the CD. Adobe Audition has quite nice normalisation features. Id say that it is sufficient to scan for peak amplitude as well as average "percieved" amplitude (using some weighing filter taking our hearings increased sensitivity for midrange sounds). Then you get two vectors: peak1, percieved1 peak2, percieved2 ... Now, we dont want any peak levels to exceed the maximum allowable amplitude (0dB, '1' or +/- 32768). So take the maximum Find the global "gain factor" by checking all files percieved amplitude against peak amplitude to find the one song that limits the total gain (typically one with high peak-to-rms ratio) and use this factor with the inverse of percieved amplitude to attenuate every song. Now, the main obstacles would be finding fast and compact means to do a full wav file convolution (weighing filter) as well as attenuation. Adobe audition is quite slow, so I think it is hard to do very fast. BTW, the convolution would contain only a few filter taps, no need to have milimetre-precision. The UI really should have only a simple selection for "no normalise", "normalise by peak" and "normalise by percieved soundlevel" regards Knut [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
watch/edit Videos
My Burner - now with Video DVD burning :)
Contact us
RSS
Top
Bottom