Welcome Guest ( Log In | Register )

> Upload forum rules

- No over 30 sec clips of copyrighted music. Cite properly and never more than necessary for the discussion.

- No copyrighted software without permission.

- Click here for complete Hydrogenaudio Terms of Service

Reply to this topicStart new topic
wapet with automatic ReplayGain (for lossless)!, patched wapet with Replaygain routines
post Feb 4 2004, 20:36
Post #1

Group: Members
Posts: 296
Joined: 27-July 02
From: Germany
Member No.: 2821

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):
%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:
%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.
Attached File(s)
Attached File  wapet_replaygain.zip ( 29.35K ) Number of downloads: 277
Go to the top of the page
+Quote Post
post Feb 4 2004, 21:20
Post #2

Group: Members
Posts: 265
Joined: 15-December 03
Member No.: 10452

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.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 28th November 2015 - 18:55