-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Error: expects at least 3 parameters. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Random Sample Pack Generator Original code: bYtE-sMaShEr (aka Shaun Winters) 2008 Rewritten in PHP, the most hated of all loafs, by conner_bw (aka Dac Chartrand) Usage: rndpack [options] numSamples outputPath inputPath[...inputPath] Options: -R Recursive -E [ext[,ext]] Restrict extension -P Preserve filenames -U [bytes] Upper filesize limit -L [bytes] Lower filesize limit Example: Generate 100 sample pack, recursively searching through input paths for mp3s and wavs: rndpack -r -e wav,mp3 100 ./samples/random "./samples/drum kits" ./samples/noises Warning: This is a homebrew music community tool designed to simplify the creative process. It is unforgiving, and may glitch out if used incorrectly. Use at your own risk!