I have some WAV format audio files with a frequency of 48Khz and I want to load them into the program I'm making. The program however only accepts up to 44.1Khz (CD music quality) due to hardware restrictions, so I need some way to convert my audio file's hz. To be clear I don't think this is pitch shifting like this question says because I want the files to sound about the same rather than sounding deeper.
Ideally I'd like to use a commandline tool that just takes in the WAV files and outputs new 44.1KHz options so I can automate the build process (And if it can handle other formats like OOG, thats a bonus). Also I'm not terribly familiar with sound terminology so there might be a super obvious answer I'm missing.