Here is a simple macOS command line utility for repairing incorrect sample-rates of AIFF/AIFF-C files.
https://github.com/Darryl-Ramm/affix
A .dmg disk image containing a universal binary (i.e. Intel and Apple Silicon) command line program can be downloaded on that github page.
Occasionally folks find out the hard way how it's possible to end up with audio files that contain audio that is not at the sample rate that the file believes it is at. Meaning the sample rate in the header of the AIFF/AIFF-C or WAV file is not the correct value. It can sometimes be a pain getting such a file to the right sample rate. Since I was messing around with AIFF/AIFF-C files anyhow I decided to share this simple utility. See the Readme.md file on github or us the affix -h help option.
In the case of AIFF/AIFF-C files the sample rate is stored as a 80 bit floating point value in the file's COMM chunk. affix is very simple, and just overwrite that value in-situ. That is the only change made, no changes are made to the audio content. affix does attempt to do some basic file validation, and should standard and many weird versions of AIFF/AIFF-C files. You should be able to just keep playing with changing the sample rate in the file until playback sounds correct, e.g. when testing by playing back a file with an audio player program. For importing into Pro Tools sessions the content may still need to be converted to the session sample rate, but at least now it will be starting with the correct sample rate information in the file.
There is some checking of the file format and the program should be fairly robust. But, but, but... read the non-liability terms in the license, be careful and always be aware of folk handing out random software... make sure you have content backed up before messing with this or any other utility.
affix is licensed under the MIT open source license. There is enough code in the program to show basic handling of AIFF/AIFF-C files that might be handy for others, say getting started with AIFF/AIFF-C file repair. It would be fairly straightforward to implement a WAV file version of affix, or to add WAV file support to this program. But I'm kinda busy right now.