Usage ./wing_split_import.sh [--dry-run] --schema <schema_file> <SD_MOUNT_PATH> <DEST_ROOT> <STARRT_INDEX(0|32)>
Imports all recording sessions from one or two WLIVE SD-cards by extracting mono or stereo wav-files according the channel scheme defined in the external file <schema_file>.
The schema/output files are indexed 1-based. The offset depends on the card to import from: 0 for 1st card, 32 for 2nd card...
All files are extracted to <DEST_ROOT> into sub-folders named by a timestamp YYYYMMDD-hhmmss derived from the FAT-timestamp of the original foldernames on the SD-cards, appended by the naming of the session name found in SE_LOG.bin (if abvailable).
All wav-files are named <NN><m|s>-YYYMMDD-hhmmss[-name].wav with NN as the channel number from the SD-card, and m/s for mono/stereo.
The channel scheme should be self-explaining :-)
Unused/not needed channels can be omitted!
Example:
./wlive_split_import.sh --schema wlive_schema_ejb.sh /Volumes/Card1 ./import 0
Extracts tracks/channels 1-32 from Card1 to ./import
Note: needs ffmpeg! --> brew install ffmpeg...
Usage: ./wing_sd_import.sh [--dry-run] <SD_MOUNT_PATH>
Import recordings from a WLIVE SD card and rename them according to the hex coded FAT Timestamp and eventually available Track naming from the SE_LOG.BIN file. Naming scheme:
- YYYMMDD-HHMMSS-NAME-ID.wav
Use --dry-run to test befor copying...
Examples:
copy '/Volumes/AP32-1/X_LIVE/5C233EE7/00000001.WAV' -> './Import/20260103-075514-TEST123456789012345-01.wav'
copy '/Volumes/AP32-1/X_LIVE/5C233F01/00000001.WAV' -> './Import/20260103-075602-ABCDEFGHIJKLMNOPQRS-01.wav'
copy '/Volumes/AP32-1/X_LIVE/5C233F50/00000001.WAV' -> './Import/20260103-075832-01.wav'