Both the GUI version and the CLI version require macOS 12 since v0.5.1 release.
r128x is released under GPLv3 license.
For releases earlier than 0.4, please check the repo under the previous maintainer:
Note: GPLv3 does not hinder the copies of the compiled binaries to be sold as long as the source code is publicly available.
Binaries of all versions are not provided anymore since the release of v0.5.1.
You are expected to either compile the binary by yourself or buy at Mac App Store.
The charged fee is not mandatory since you can always compile the binaries for your own purposes.
Xcode 15 is recommended for the compilation. Apple always eager to push its latest toolchain as a hard requirement for compiling Xcode projects.
WARNING:
// If you compile for distributing to someone else,
// you MUST change the bundle identifier of the app in the Xcode project settings.
- Use Xcode to open the
r128x.xcodeproj
project file. - Menu: Product -> Archive.
- After the compilation finishes, the organizer shows up. If it doesn't show up, check Menu: Window -> Organizer.
- In the organizer, find your compiled archive, and then click the "Distribute App" button -> "Custom" -> "Direct Distribution".
- Specify your developer certificate during the process and finish the code-signing & notarization process.
- Export the app once the notarization is succeeded.
If not compile-for-share but for this computer only:
- Use Xcode to open the
r128x.xcodeproj
project file. - Menu: Product -> Run.
- Use Xcode to open the
R128xSPM
SPM Package from the./SPMPackages
folder. - Menu: Project -> Archive.
- After the compilation finishes, the organizer shows up. If it doesn't show up, check Menu: Window -> Organizer.
- In the organizer, find your compiled archive, and then click the "Distribute App" button -> "Custom" -> "Direct Distribution".
- Specify your developer certificate during the process and finish the code-signing & notarization process.
- Export the app once the notarization is succeeded.
If not compile-for-share but for this computer only, you can use commandline to compile the project. Please refer to related Swift documentation.
r128x is a tool for measuring Integrated Loudness, Loudness range and Maximum True Peak of audio files on the Mac OS X system with an Intel processor.
It uses libebur128 (https://github.com/jiixyj/libebur128) for the Integrated Loudness and Loudness Range measures.
It uses CoreAudio's AudioConverter service to oversample audio data and obtain the Maximum True Peak.
It uses CoreAudio ExtAudioFile's service to read the samples from an audio file.
You can build two different binaries from the sources : a command line utility (r128x-cli) and a graphical interface utility (r128x-swiftui).
You can build the executables from the Xcode project, or use the provided executables.
Just drag the executable file to your hard drive. /usr/local/bin/ should be a nice place to put the command line binary r128x-cli if you want it to be in your $PATH.
r128x-cli /some/audio/file.wav Will print out the file name, the Integrated Loudness in LUFS, the Loudness range in LU, the Maximum True Peak in dBTP. Will print an error message in case of unsupported file or if an error occurs during processing.
r128x-swiftui supports drag and drop of audio files. You can also use the file selector.
Channel mapping is static, using the default libebur128 channel mapping : L / R / C / LFE / Ls / Rs. You will have incorrect results if your file's channels mapping is different. As r128x uses CoreAudio to read audio files, only file formats/codecs supported by CoreAudio are supported by r128x. ** CoreAudio may support new formats per certain macOS releases. Please file issues if new formats are implementable in r128x.**
The current maintainer Shiki Suen can only use the following languages:
- English, Japanese, Simplified Chinese, Traditional Chinese
Therefore, the French localization has to be discontinued.
The App still offers the French UI (translated using DeepL). Pull Requests for improving French Translations are still welcomed.