This version works for me too. Here's what I tried:
U:\test\Riff_FlacTest>flac --keep-foreign-metadata -o wavelab_test.flac wavelab.
wav
NOTE: --keep-foreign-metadata is a new feature; make sure to test the output fil
e before deleting the original.
flac 1.2.0, Copyright © 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
wavelab.wav: wrote 608385 bytes, ratio=0,502
U:\test\Riff_FlacTest>flac --keep-foreign-metadata -o audition_test.flac auditio
n.wav
NOTE: --keep-foreign-metadata is a new feature; make sure to test the output fil
e before deleting the original.
flac 1.2.0, Copyright © 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
audition.wav: wrote 615715 bytes, ratio=0,508
U:\test\Riff_FlacTest>flac -d --keep-foreign-metadata wavelab_test.flac
NOTE: --keep-foreign-metadata is a new feature; make sure to test the output fil
e before deleting the original.
flac 1.2.0, Copyright © 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
wavelab_test.flac: done
U:\test\Riff_FlacTest>flac -d --keep-foreign-metadata audition_test.flac
NOTE: --keep-foreign-metadata is a new feature; make sure to test the output fil
e before deleting the original.
flac 1.2.0, Copyright © 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
audition_test.flac: done
U:\test\Riff_FlacTest>comp wavelab_test.wav wavelab.wav
Comparing wavelab_test.wav and wavelab.wav...
Files compare OK
Compare more files (Y/N) ? y
Name of first file to compare: audition_test.wav
Name of second file to compare: audition.wav
Option:
Comparing audition_test.wav and audition.wav...
Files compare OK
Compare more files (Y/N) ? n
U:\test\Riff_FlacTest>iffscan wavelab_test.wav
block:[RIFF] size=00128d68=( 1215848) type:[WAVE]
block:[fmt ] size=00000010=( 16)
block:[LIST] size=000001de=( 478)
block:[bext] size=00000520=( 1312)
block:[smpl] size=00000024=( 36)
block:[inst] size=00000008=( 8)
block:[PAD ] size=00000882=( 2178)
block:[data] size=00127d70=( 1211760)
U:\test\Riff_FlacTest>iffscan wavelab.wav
block:[RIFF] size=00128d68=( 1215848) type:[WAVE]
block:[fmt ] size=00000010=( 16)
block:[LIST] size=000001de=( 478)
block:[bext] size=00000520=( 1312)
block:[smpl] size=00000024=( 36)
block:[inst] size=00000008=( 8)
block:[PAD ] size=00000882=( 2178)
block:[data] size=00127d70=( 1211760)
U:\test\Riff_FlacTest>iffscan audition_test.wav
block:[RIFF] size=0012a9da=( 1223130) type:[WAVE]
block:[fmt ] size=00000010=( 16)
block:[data] size=00127d70=( 1211760)
block:[LIST] size=00000216=( 534)
block:[cue ] size=0000001c=( 28)
block:[LIST] size=00000052=( 82)
block:[PAD ] size=00000dea=( 3562)
block:[SyLp] size=000000b8=( 184)
block:[smpl] size=00000024=( 36)
block:[bext] size=00000520=( 1312)
block:[cart] size=00000802=( 2050)
block:[DISP] size=00000006=( 6)
block:[_PMX] size=00000d6c=( 3436)
block:[DISP] size=00000010=( 16)
U:\test\Riff_FlacTest>iffscan audition.wav
block:[RIFF] size=0012a9da=( 1223130) type:[WAVE]
block:[fmt ] size=00000010=( 16)
block:[data] size=00127d70=( 1211760)
block:[LIST] size=00000216=( 534)
block:[cue ] size=0000001c=( 28)
block:[LIST] size=00000052=( 82)
block:[PAD ] size=00000dea=( 3562)
block:[SyLp] size=000000b8=( 184)
block:[smpl] size=00000024=( 36)
block:[bext] size=00000520=( 1312)
block:[cart] size=00000802=( 2050)
block:[DISP] size=00000006=( 6)
block:[_PMX] size=00000d6c=( 3436)
block:[DISP] size=00000010=( 16)
U:\test\Riff_FlacTest>
Unfortunately my audio editors seem to not save metadata to AIFF files so I can't help with that format.