Page 1 of 1

Something about PlaySound () and FLAC

Posted: Thu Jun 01, 2023 3:39 am
by es_91
With the ZIP/RAR-like compression FLAC offers, a nice phenomenon acts:

If you turn down the volume of your sources the bitrate of a FLAC file shirks enormous.

This gives nice compression; since the CD introduced 16 bit Sound but roughly 12 bit sounds good enough on most machines, the savings of about 50% seem handy.

Only problem is you would need a PlaySound () command that allows for volumes of about 200%, 400%, ...

and there is none, but maybe a workaround? Can i put more than 100% volume in any API/PB sound command?

Re: Something about PlaySound () and FLAC

Posted: Sat Jun 03, 2023 3:56 pm
by chris_b
but maybe a workaround?
You can truncate least significant bits of audio prior to conversion to FLAC. ie. take 16-bit audio and reduce to 6.25% of original level, then amplify by 1600%.

I did a couple of quick tests and increasing the volume back to original level still yields more or less same compression benefits you described.