-
Quick question on silence detection: I only had a brief look at it so far, but could not detect an option for progress callbacks, like AAXClean itself has. Is it hidden or can it be added? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I think that would be pretty easy to add into the existing code. I tested and optimized the hell out of that silence detection routine so it runs just about as fast as the AAC can be decoded, but it runs on its own thread. Just be aware that any UI stuff done with that callback will be on a different thread than the invoker. |
Beta Was this translation helpful? Give feedback.
-
I added an overload that accepts a callback in version 0.1.7. |
Beta Was this translation helpful? Give feedback.
-
I managed to write a short test: And it's looking very good! Detected silences appear to be exactly the same as with FFmpeg (-30db, 025s), plus the increased accuracy as a bonus. FFmpeg is rounding down to 10 ms after 1000 s. And it's faster than FFmpeg. Total silence detection time is still longer with AAXClean, but only because of my parallelization in AAX Audio Converter. Also tested the progress callback, very handy! |
Beta Was this translation helpful? Give feedback.
I think that would be pretty easy to add into the existing code. I tested and optimized the hell out of that silence detection routine so it runs just about as fast as the AAC can be decoded, but it runs on its own thread. Just be aware that any UI stuff done with that callback will be on a different thread than the invoker.