@mmortal03
Yes, and since WAVTools already supports adding first track pre-gap, it is perfect for CUETools which would provide the needed value automagically.
@Moitah
I did another test (with the new version):
Foobar2000 (upto 0.9 beta 6, dunno about newer betas) has the ability to add replaygain info into cue sheets.
For album gain it simply adds the following keywords (followed by the corresponding values) "REM REPLAYGAIN_ALBUM_GAIN" and "REM REPLAYGAIN_ALBUM_PEAK" after TITLE and before the first FILE entry. In the FILE/TRACK section it respectively adds "REM REPLAYGAIN_TRACK_GAIN" and "REM REPLAYGAIN_TRACK_PEAK" at the end. This is roughly how it is done with a single image cue sheet... now with a multi track cue sheet it is also possible but it looks a lot messier.
I dunno how, but CUETools does converting such a replaygained multi track cue sheet quite well, as far as I can see, except for one thing that makes fb2k reject such a single image cue sheet afterwards: the "REM REPLAYGAIN_*" lines are placed before the INDEX lines, but foobar2000 always puts them past the TITLE/*/INDEX lines in these single cues. It's best seen when looking at three example:
A non-compliant cue sheet after being "replaygained" by foobar2000:
PERFORMER "801"
TITLE "Live"
REM REPLAYGAIN_ALBUM_GAIN -1.16 dB
REM REPLAYGAIN_ALBUM_PEAK 0.999969
FILE "01 - Lagrima.wav" WAVE
TRACK 01 AUDIO
TITLE "Lagrima"
PERFORMER "801"
INDEX 01 00:00:00
FILE "02 - T.N.K. (Tomorrow Never Knows).wav" WAVE
REM REPLAYGAIN_TRACK_GAIN +10.39 dB
REM REPLAYGAIN_TRACK_PEAK 0.186646
TRACK 02 AUDIO
TITLE "T.N.K. (Tomorrow Never Knows)"
PERFORMER "801"
INDEX 01 00:00:00
FILE "03 - East Of Asteroid.wav" WAVE
REM REPLAYGAIN_TRACK_GAIN -2.03 dB
REM REPLAYGAIN_TRACK_PEAK 0.999969
TRACK 03 AUDIO
TITLE "East Of Asteroid"
PERFORMER "801"
INDEX 01 00:00:00
FILE "04 - Rongwrong.wav" WAVE
REM REPLAYGAIN_TRACK_GAIN -1.81 dB
REM REPLAYGAIN_TRACK_PEAK 0.904327
TRACK 04 AUDIO
TITLE "Rongwrong"
PERFORMER "801"
INDEX 01 00:00:00
FILE "05 - Sombre Reptiles.wav" WAVE
REM REPLAYGAIN_TRACK_GAIN -0.10 dB
REM REPLAYGAIN_TRACK_PEAK 0.762543
TRACK 05 AUDIO
TITLE "Sombre Reptiles"
PERFORMER "801"
INDEX 01 00:00:00
FILE "06 - Baby's On Fire.wav" WAVE
REM REPLAYGAIN_TRACK_GAIN -0.48 dB
REM REPLAYGAIN_TRACK_PEAK 0.814301
TRACK 06 AUDIO
TITLE "Baby's On Fire"
PERFORMER "801"
INDEX 01 00:00:00
FILE "07 - Diamond Head.wav" WAVE
REM REPLAYGAIN_TRACK_GAIN -1.19 dB
REM REPLAYGAIN_TRACK_PEAK 0.788879
TRACK 07 AUDIO
TITLE "Diamond Head"
PERFORMER "801"
INDEX 01 00:00:00
FILE "08 - Miss Shapiro.wav" WAVE
REM REPLAYGAIN_TRACK_GAIN -0.73 dB
REM REPLAYGAIN_TRACK_PEAK 0.807159
TRACK 08 AUDIO
TITLE "Miss Shapiro"
PERFORMER "801"
INDEX 01 00:00:00
FILE "09 - You Really Got Me.wav" WAVE
REM REPLAYGAIN_TRACK_GAIN -1.06 dB
REM REPLAYGAIN_TRACK_PEAK 0.866943
TRACK 09 AUDIO
TITLE "You Really Got Me"
PERFORMER "801"
INDEX 01 00:00:00
REM REPLAYGAIN_TRACK_GAIN -1.50 dB
REM REPLAYGAIN_TRACK_PEAK 0.784607
TRACK 10 AUDIO
TITLE "Third Uncle"
PERFORMER "801"
INDEX 00 03:21:74
FILE "10 - Third Uncle.wav" WAVE
INDEX 01 00:00:00
REM REPLAYGAIN_TRACK_GAIN -0.50 dB
REM REPLAYGAIN_TRACK_PEAK 0.764374
This was a clean single image compliant cue sheet which got replaygained:
PERFORMER "801"
TITLE "Live"
REM REPLAYGAIN_ALBUM_GAIN -1.16 dB
REM REPLAYGAIN_ALBUM_PEAK 0.999969
FILE "Live fb2k.wav" WAVE
TRACK 01 AUDIO
TITLE "Lagrima"
PERFORMER "801"
INDEX 01 00:00:00
REM REPLAYGAIN_TRACK_GAIN +10.39 dB
REM REPLAYGAIN_TRACK_PEAK 0.186646
TRACK 02 AUDIO
TITLE "T.N.K. (Tomorrow Never Knows)"
PERFORMER "801"
INDEX 01 02:33:72
REM REPLAYGAIN_TRACK_GAIN -2.03 dB
REM REPLAYGAIN_TRACK_PEAK 0.999969
TRACK 03 AUDIO
TITLE "East Of Asteroid"
PERFORMER "801"
INDEX 01 08:49:35
REM REPLAYGAIN_TRACK_GAIN -1.81 dB
REM REPLAYGAIN_TRACK_PEAK 0.904327
TRACK 04 AUDIO
TITLE "Rongwrong"
PERFORMER "801"
INDEX 01 13:47:15
REM REPLAYGAIN_TRACK_GAIN -0.10 dB
REM REPLAYGAIN_TRACK_PEAK 0.762543
TRACK 05 AUDIO
TITLE "Sombre Reptiles"
PERFORMER "801"
INDEX 01 18:52:72
REM REPLAYGAIN_TRACK_GAIN -0.48 dB
REM REPLAYGAIN_TRACK_PEAK 0.814301
TRACK 06 AUDIO
TITLE "Baby's On Fire"
PERFORMER "801"
INDEX 01 22:13:02
REM REPLAYGAIN_TRACK_GAIN -1.19 dB
REM REPLAYGAIN_TRACK_PEAK 0.788879
TRACK 07 AUDIO
TITLE "Diamond Head"
PERFORMER "801"
INDEX 01 27:16:32
REM REPLAYGAIN_TRACK_GAIN -0.73 dB
REM REPLAYGAIN_TRACK_PEAK 0.807159
TRACK 08 AUDIO
TITLE "Miss Shapiro"
PERFORMER "801"
INDEX 01 33:37:67
REM REPLAYGAIN_TRACK_GAIN -1.06 dB
REM REPLAYGAIN_TRACK_PEAK 0.866943
TRACK 09 AUDIO
TITLE "You Really Got Me"
PERFORMER "801"
INDEX 01 37:58:60
REM REPLAYGAIN_TRACK_GAIN -1.50 dB
REM REPLAYGAIN_TRACK_PEAK 0.784607
TRACK 10 AUDIO
TITLE "Third Uncle"
PERFORMER "801"
INDEX 00 41:20:59
INDEX 01 41:22:07
REM REPLAYGAIN_TRACK_GAIN -0.50 dB
REM REPLAYGAIN_TRACK_PEAK 0.764374
And this is was a replaygained multi track non-compliant cue sheet after being transformed by CUETools:
PERFORMER "801"
TITLE "Live"
REM REPLAYGAIN_ALBUM_GAIN -1.16 dB
REM REPLAYGAIN_ALBUM_PEAK 0.999969
FILE "Live.wav" WAVE
TRACK 01 AUDIO
TITLE "Lagrima"
PERFORMER "801"
REM REPLAYGAIN_TRACK_GAIN +10.39 dB
REM REPLAYGAIN_TRACK_PEAK 0.186646
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "T.N.K. (Tomorrow Never Knows)"
PERFORMER "801"
REM REPLAYGAIN_TRACK_GAIN -2.03 dB
REM REPLAYGAIN_TRACK_PEAK 0.999969
INDEX 01 02:33:72
TRACK 03 AUDIO
TITLE "East Of Asteroid"
PERFORMER "801"
REM REPLAYGAIN_TRACK_GAIN -1.81 dB
REM REPLAYGAIN_TRACK_PEAK 0.904327
INDEX 01 08:49:35
TRACK 04 AUDIO
TITLE "Rongwrong"
PERFORMER "801"
REM REPLAYGAIN_TRACK_GAIN -0.10 dB
REM REPLAYGAIN_TRACK_PEAK 0.762543
INDEX 01 13:47:15
TRACK 05 AUDIO
TITLE "Sombre Reptiles"
PERFORMER "801"
REM REPLAYGAIN_TRACK_GAIN -0.48 dB
REM REPLAYGAIN_TRACK_PEAK 0.814301
INDEX 01 18:52:72
TRACK 06 AUDIO
TITLE "Baby's On Fire"
PERFORMER "801"
REM REPLAYGAIN_TRACK_GAIN -1.19 dB
REM REPLAYGAIN_TRACK_PEAK 0.788879
INDEX 01 22:13:02
TRACK 07 AUDIO
TITLE "Diamond Head"
PERFORMER "801"
REM REPLAYGAIN_TRACK_GAIN -0.73 dB
REM REPLAYGAIN_TRACK_PEAK 0.807159
INDEX 01 27:16:32
TRACK 08 AUDIO
TITLE "Miss Shapiro"
PERFORMER "801"
REM REPLAYGAIN_TRACK_GAIN -1.06 dB
REM REPLAYGAIN_TRACK_PEAK 0.866943
INDEX 01 33:37:67
TRACK 09 AUDIO
TITLE "You Really Got Me"
PERFORMER "801"
REM REPLAYGAIN_TRACK_GAIN -1.50 dB
REM REPLAYGAIN_TRACK_PEAK 0.784607
INDEX 01 37:58:60
TRACK 10 AUDIO
TITLE "Third Uncle"
PERFORMER "801"
REM REPLAYGAIN_TRACK_GAIN -0.50 dB
REM REPLAYGAIN_TRACK_PEAK 0.764374
INDEX 00 41:20:59
INDEX 01 41:22:07
So I guess only a small tweaking of the code is necessary here...
[span style=\'font-size:8pt;line-height:100%\']Moderation: Amended to use codebox[/span]
[span style=\'font-size:8pt;line-height:100%\']-- Thx, Synthetic Soul. I knew there was a BBcode like this but I forgot its name.[/span]