lossyWAV 1.1.0c is now available for download.
lossyWAV 1.1.0c, Copyright (C) 2007,2008 Nick Currie. Copyleft.
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful,but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see <http://www.gnu.org/licenses/>.
Process Description:
lossyWAV adds white noise to the processed output. The amount of added noise is
based on analysis of the signal levels in the frequency range 20Hz to 16kHz.
If signals above the upper limiting frequency are at an even lower level, they
can be swamped by the added noise. This is usually inaudible, but the behaviour
can be changed by specifying a higher --limit (in the range 16kHz to 20kHz).
For many audio signals, there is little content at very high frequencies, and
forcing lossyWAV to keep the added noise level lower than the content at these
frequencies can increase the bitrate dramatically for no perceptible benefit.
Usage : lossyWAV <input wav file> <options>
Example : lossyWAV musicfile.wav
Quality Options:
-I, --insane highest quality output, suitable for transcoding;
-E, --extreme high quality output, also suitable for transcoding;
-S, --standard default quality output, considered to be transparent;
-P, --portable good quality output for DAP use. Not considered to be fully
transparent, but considered fit for its intended purpose.
Standard Options:
-c, --check check if WAV file has already been processed; default=off.
errorlevel=16 if already processed, 0 if not.
-C, --correction write correction file for processed WAV file; default=off.
-f, --force forcibly over-write output file if it exists; default=off.
-h, --help display help.
-L, --longhelp display extended help.
-M, --merge merge existing lossy.wav and lwcdf.wav files.
-o, --outdir <t> destination directory for the output file(s).
-v, --version display the lossyWAV version number.
Advanced Options:
- if filename="-" then WAV input is taken from STDIN.
--blockdist show distribution of lowest significant bit of input
codec-blocks and bit-removed codec-blocks.
-D, --dither <n> enable variable PDF dither of output; default=off;
0 = rectangular; 1 = triangular; 0.5 = half way between.
-l, --limit <n> set upper frequency limit to be used in analyses to n Hz;
(16000<=n<=20000), default = 16000.
--linkchannels Revert to original single bits-to-remove value for all
channels rather than channel dependent bits-to-remove.
-q, --quality <n> quality preset (10=highest quality, 0=lowest bitrate;
default = --standard = 5; --insane = 10; --extreme = 7.5;
--portable = 2.5)
--sampledist show distribution of lowest significant bit of input
samples and bit-removed samples.
--scale <n> scaling factor from WaveGain, etc; (0.0<n<=8.0),default=1.0
-s, --shaping <n> enable fixed noise shaping; (0.00<=n<=1.00); default=q/10;
0.00 = off, 1.00 = 100% effectiveness, 0.50 = 50%, etc.
--stdinname <t> pseudo filename to use when input from STDIN.
--stdout write processed WAV output to STDOUT.
-w, --writetolog create (or append to) lossyWAV.log in the output directory.
System Options:
-B, --below set process priority to below normal.
-d, --detail enable detailed bits-to-remove information output mode
--low set process priority to low.
-n, --nowarnings suppress lossyWAV warnings.
-Q, --quiet significantly reduce screen output.
--silent no screen output.
Special thanks:
David Robinson for the publication of his lossyFLAC method, guidance, and
the motivation to implement the method as lossyWAV.
Horst Albrecht for ABX testing, valuable support in tuning the internal
presets, constructive criticism and all the feedback.
Sebastian Gesemann for the noise shaping coefficients and help in using them
in the lossyWAV noise shaping implementation.
Don Cross for the Complex-FFT algorithm used.
[/size]Link to the hydrogenaudio wiki article
Suggested foobar2000 converter setup:
lossyFLAC:Encoder: c:\windows\system32\cmd.exe
Extension: lossy.flac
Parameters: /d /c c:\"program files"\bin\lossywav - --standard --silent --stdout|c:\"program files"\bin\flac - -b 512 -5 -f -o%d
Format is: lossless or hybrid
Highest BPS mode supported: 24
lossyTAK:Encoder: c:\windows\system32\cmd.exe
Extension: lossy.tak
Parameters: /d /c c:\"program files"\bin\lossywav - --standard --silent --stdout|c:\"program files"\bin\takc -e -p2m -fsl512 -ihs - %d
Format is: lossless or hybrid
Highest BPS mode supported: 24
lossyWV:Encoder: c:\windows\system32\cmd.exe
Extension: lossy.wv
Parameters: /d /c c:\"program files"\bin\lossywav - --standard --silent --stdout|c:\"program files"\bin\wavpack -hm --blocksize=512 --merge-blocks -i - %d
Format is: lossless or hybrid
Highest BPS mode supported: 24
Enclose the element of the path containing spaces within double quotation marks ("), e.g. C:\"Program Files"\directory_where_executable_is\executable_name. This is a Windows limitation.
N.B.: lossyWAV 1.2.0 development thread here