cd to parent directory of directory containing wav files:
J:\>cd J:\Raw Audio\Various Artists\Debut LP Magazine\Debut LP Magazine - Issue 02
J:\Raw Audio\Various Artists\Debut LP Magazine\Debut LP Magazine - Issue 02>dir/b
$_57.JPG
cover.jpg
Debut LP Magazine - Issue 02 (Raw).wav
Debut LP Magazine - Issue 02 (Raw).wav.reapeaks
Debut LP Magazine - Issue 02.doc
Debut LP Magazine - Issue 02.RPP
Debut LP Magazine - Issue 02.RPP-bak
DRC-Processed.txt
Equipment.txt
info.txt
save.csv
tracklist.csv
WAV
The "info.txt" file should contain the artist names for each track encoded in the tracknames as "artist - trackname" and specify the artist as "Various Artists".
J:\Raw Audio\Various Artists\Debut LP Magazine\Debut LP Magazine - Issue 02>cat info.txt
Artist: Various Artists
Album: Debut LP Magazine - Issue 02
Year: 1984
Genre: New Wave
*
01 Swans Way - In Trance
02 Scott Walker - Track 3
03 The Waterboys - The Big Music
04 Orange Juice - A Place In Your Heart
05 The Shillelagh Sisters - Cheatin' Teasin' Man
06 Steve Levine - Waiting In Line
07 Illustrated Man - Sensation
08 Carmel - Tracks Of My Tears
09 Passion Puppets - Child
10 Flesh For Lulu - Subterraneans
11 Ultravox - Heart Of The Country
cd to the directory containing the source wav files:
J:\Raw Audio\Various Artists\Debut LP Magazine\Debut LP Magazine - Issue 02>cd WAV
The following command will generate flac files with the defaut compression level of 8 and mp3 files with a constant bitrate of 320 kbps. The album will be designated as an LP by the "-l" switch and the generated mp3's will be copied to the directory "D:\My Music\Artist\Various Artists". Since the artist name of "Various Artists" is used the "-A" switch is not needed and the script will automatically recognize the album as a compilation, extract the artists names for each track from the tracknames in the "info.txt" file and flag the ablum as a compilation with the compilation id3 tag.
J:\Raw Audio\Various Artists\Debut LP Magazine\Debut LP Magazine - Issue 02\WAV>encode.pl -lfmc 320 -P "D:\My Music\Artist\Various Artists"
================================================================================
encode.pl v6.19 (2016-11-27 Paul Rolan Perkes)
================================================================================
start: Sun Nov 27 07:05:17 2016
processing using up to 6 threads
using image file = "../cover.jpg"
reading "../info.txt"
Artist = Various Artists
Album = Debut LP Magazine - Issue 02 [LP]
Year = 1984
Genre = New Wave
Album Artist = Various Artists
Compilation = 1
Comment = Encoded from LP Record by Paul R. Perkes
extracting artists from track names
01 In Trance
02 Track 3
03 The Big Music
04 A Place In Your Heart
05 Cheatin' Teasin' Man
06 Waiting In Line
07 Sensation
08 Tracks Of My Tears
09 Child
10 Subterraneans
11 Heart Of The Country
--------------------------------------------------------------------------------
flac encoding...
file pattern = *.wav
flac 1.3.1
flac compression level = 8
output directory = ../24-bit FLAC/
encoding: 01 Swans Way - In Trance.wav --> 01 Swans Way - In Trance.flac
encoding: 02 Scott Walker - Track 3.wav --> 02 Scott Walker - Track 3.flac
encoding: 03 The Waterboys - The Big Music.wav --> 03 The Waterboys - The Big Music.flac
encoding: 04 Orange Juice - A Place In Your Heart.wav --> 04 Orange Juice - A Place In Your Heart.flac
encoding: 05 The Shillelagh Sisters - Cheatin' Teasin' Man.wav --> 05 The Shillelagh Sisters - Cheatin' Teasin' Man.flac
encoding: 06 Steve Levine - Waiting In Line.wav --> 06 Steve Levine - Waiting In Line.flac
encoding: 07 Illustrated Man - Sensation.wav --> 07 Illustrated Man - Sensation.flac
encoding: 08 Carmel - Tracks Of My Tears.wav --> 08 Carmel - Tracks Of My Tears.flac
encoding: 09 Passion Puppets - Child.wav --> 09 Passion Puppets - Child.flac
encoding: 10 Flesh For Lulu - Subterraneans.wav --> 10 Flesh For Lulu - Subterraneans.flac
encoding: 11 Ultravox - Heart Of The Country.wav --> 11 Ultravox - Heart Of The Country.flac
flac compressed size = 73.6%
flac encoding time = 19 seconds
throughput = 39.2 MB/sec
--------------------------------------------------------------------------------
mp3 encoding...
file pattern = *.wav
LAME 64bits version 3.99.5
lame bitrate = -cbr -b 320
output directory = ../MP3-320/
encoding: 01 Swans Way - In Trance.wav --> 01 Swans Way - In Trance.mp3
encoding: 02 Scott Walker - Track 3.wav --> 02 Scott Walker - Track 3.mp3
encoding: 03 The Waterboys - The Big Music.wav --> 03 The Waterboys - The Big Music.mp3
encoding: 04 Orange Juice - A Place In Your Heart.wav --> 04 Orange Juice - A Place In Your Heart.mp3
encoding: 05 The Shillelagh Sisters - Cheatin' Teasin' Man.wav --> 05 The Shillelagh Sisters - Cheatin' Teasin' Man.mp3
encoding: 06 Steve Levine - Waiting In Line.wav --> 06 Steve Levine - Waiting In Line.mp3
encoding: 07 Illustrated Man - Sensation.wav --> 07 Illustrated Man - Sensation.mp3
encoding: 08 Carmel - Tracks Of My Tears.wav --> 08 Carmel - Tracks Of My Tears.mp3
encoding: 09 Passion Puppets - Child.wav --> 09 Passion Puppets - Child.mp3
encoding: 10 Flesh For Lulu - Subterraneans.wav --> 10 Flesh For Lulu - Subterraneans.mp3
encoding: 11 Ultravox - Heart Of The Country.wav --> 11 Ultravox - Heart Of The Country.mp3
mp3 compressed size = 14.1%
mp3 encoding time = 35 seconds
throughput = 21.3 MB/sec
--------------------------------------------------------------------------------
copying mp3's to "D:\My Music\Artist\Various Artists/Debut LP Magazine - Issue 02 [LP]/"
creating destination directory "D:\My Music\Artist\Various Artists/Debut LP Magazine - Issue 02 [LP]/"
copying: 01 Swans Way - In Trance.mp3
copying: 02 Scott Walker - Track 3.mp3
copying: 03 The Waterboys - The Big Music.mp3
copying: 04 Orange Juice - A Place In Your Heart.mp3
copying: 05 The Shillelagh Sisters - Cheatin' Teasin' Man.mp3
copying: 06 Steve Levine - Waiting In Line.mp3
copying: 07 Illustrated Man - Sensation.mp3
copying: 08 Carmel - Tracks Of My Tears.mp3
copying: 09 Passion Puppets - Child.mp3
copying: 10 Flesh For Lulu - Subterraneans.mp3
copying: 11 Ultravox - Heart Of The Country.mp3
copying: cover.jpg
--------------------------------------------------------------------------------
end: Sun Nov 27 07:06:12 2016
total processing time = 55 seconds
11 flac files written to "../24-bit FLAC/" with 73.6% compressed size.
11 mp3 files written to "../MP3-320/" with 14.1% compressed size.
11 mp3 files copied to "D:\My Music\Artist\Various Artists/Debut LP Magazine - Issue 02 [LP]/"
Perl exited with active threads:
0 running and unjoined
22 finished and unjoined
0 running and detached