Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: wapet with automatic ReplayGain (for lossless)! (Read 3909 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

wapet with automatic ReplayGain (for lossless)!

About one month I switched from using Vorbis ripped with CDex to Monkey´s Audio ripped with EAC. First I was very disappointed that EAC could not write APE-Tags to my apes automatically, but then found wapet and it worked fine. But still I had to run replaygain with foobar.
I thought that this can be done by wapet, it writes the tags, why shouldn´t it write the replaygain info in the tag, too? OK, but where does it get the replaygain info from? First idea was to decode the encoded file again, calculate the replaygain and tag the file. But why to decode it again? EAC creates a temp file which will be identical to my new decoded file, since monkey´s audio is lossless. So I yust I implemented a simple wav parser and the replaygain analysis into wapet, which calculates the replaygain from the original wav faster than foobar does from the ape. But only radio gain is supported.

Usage is simple:
Without replaygain (yust normal):
Quote
%d -t "Artist=%a" -t "Title=%t" -t "Album=%g" -t "Year=%y" -t "Track=%n" -t "Genre=%m" "mac.exe" %s %d -c4000

With replaygain:
Quote
%d -rg %s -t "Artist=%a" -t "Title=%t" -t "Album=%g" -t "Year=%y" -t "Track=%n" -t "Genre=%m" "mac.exe" %s %d -c4000


This patched version with sourcecode is attached. I can´t really code C, so code looks not very good, maybe Case can clean it up and make an official release from it. I hope for someone else this is as usefull as for me.

wapet with automatic ReplayGain (for lossless)!

Reply #1
This might not help you with replay gain, but EAC works nicely with macdll.dll.  Rips and converts to monkey's audio with tags and all, in one step.