This is a very interested thread - I read it all. What happened to Slim Devices considering adding a plug-in? I cross my fingers it will be added to SqueezeCenter some day.
On my wishlist I have: 1. OK if the plugin ignores files that are not FLAC 2. Let it be an on-the-fly (streamed) process. 3. Reduce level by e.g. 2 dB 4. Analyze portions of e.g. 1.5 seconds - focusing on middle 500 ms. Ignore content below 10 Hz. If clipping is found in the middle 500 ms (should give you at least 5 cycles of 10 Hz to work on), take care to match the music coming before and after (unclipped portions) regarding frequency content, etc. and make e.g. a "linear" level connection from before to after clipping, assumed to make it sound apparently natural in the restored section. 5. If the 2 dB was not enough for your restoration algorithm (i.e. if there's still flat clipping), use "rounding" within your 2 dB to make soft clipping and repeat the process (once ... if still clipping - accept it and let it pass). 6. Let go of the first 500 ms (send to Squeezebox). Push second and third 500 ms ahead and load new portion of 500 ms. Repeat step 3/4. 7. I don't want L/R channel to be gain regulated differently - if the channels are different in gain to begin with, keep it that way. 8. I hope the plugin can be made sufficiently simple that it can run in an environment with a low-power CPU (like my Synology NAS, which has a Marvel CPU and 128 Mb RAM ... AFAIR). 9. I suppose if the FLAC is a 16 bit audio signal, that bits can be added at the top (as zeros) and the plugin works with the newly achieved additional bits to get 2 dB headroom. This could also be done with 24 bit audio (just add bits at the top). 10. Upsampling, Dithering and such is in the domain of SoX ... not the plugin, so anything desirable here I'll let up to other plugins. One of the primary purposes of such a plugin would be to change the music that doesn't sound good into something that sounds reasonably good to the ear. -- cfuttrup ------------------------------------------------------------------------ cfuttrup's Profile: http://forums.slimdevices.com/member.php?userid=32784 View this thread: http://forums.slimdevices.com/showthread.php?t=57872 _______________________________________________ audiophiles mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/audiophiles
