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: REACT 2 Released (Read 1281149 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

REACT 2 Released

Reply #1200
I think at this point we would have to call it a fork; however I have indicated that I have little interest in doing anything more with REACT 2.0.

I suspect that Akkurat will adopt any reasonable suggestions that users have, just as I tried to do previously, which means that I should never feel the need to release another 2.0 mod myself.

I would recommend users to switch to Akkurat's mod, if they are having issues with 2.0.ssb16p, or require any new functionality that he adds.
I'm on a horse.

REACT 2 Released

Reply #1201
I'm sorry if I missed this earlier in the thread but are you taking over development or is this a "fork" from Synthetic Soul's mod?
I think at this point we would have to call it a fork; however I have indicated that I have little interest in doing anything more with REACT 2.0.

It's obviously a fork, that's why it's named differently. We agreed that this is the best way to handle this situation.

I suspect that Akkurat will adopt any reasonable suggestions that users have, just as I tried to do previously, which means that I should never feel the need to release another 2.0 mod myself.

Correct. "Reasonable suggestions", very well put.


OT: @Synthetic Soul: Are you doing anything else than monitoring this forum? I just can't believe (again) how fast you reply to inquiries, participate in various threads, etc. ... HA addict?

OT2: Was HA down for a moment today?

REACT 2 Released

Reply #1202
Akkurat,

Thank You, for your work on fixing bugs and problems

REACT 2 Released

Reply #1203
Is it possible to compress the files for archiving purposes with PKZip or Rar, after everything is done?
After Processing likely?

REACT 2 Released

Reply #1204
Of course.  You would just need to add the code to the relevant config.
I'm on a horse.

 

REACT 2 Released

Reply #1205
Hi!


I've got 2 problems.

1. When using React, EAC is not anymore copying the .m3u lists and the logfile into the destination folders, but in the "root-folder" . How can I change that? (I'm encoding to Flac and mp3)
Furthermore, It would be great, if I can define, that the .cue-sheets are only copied to the flac-folder.

My second problem is, that the cover downloader isn't working. It isn't finding anything on amazon's server (Connection refused)

Daniel

REACT 2 Released

Reply #1206
1. When using React, EAC is not anymore copying the .m3u lists and the logfile into the destination folders, but in the "root-folder" . How can I change that? (I'm encoding to Flac and mp3)

You should not use the EAC "Create '.m3u' playlist on extraction" option (in EAC Options -> Tools). Instead read the following guide: REACT:Creating A Playlist and then you have to edit your REACT-track.cfg file (I take it that you're ripping into tracks, not images?). Here's some instructions:

1. Find the following text: IF @Flac@==1
2. Remove the REM text from the REM COPY /Y "@eaclog@" "EAClog.txt" line found couple of lines below
3. Use the new knowledge found from the REACT:Creating A Playlist guide and add the required lines to generate a playlist (between PUSHD %TrackDir_... and POPD lines!)
4. Repeat steps 1-3 for MP3 files (search for IF @LameMP3@==1)

Furthermore, It would be great, if I can define, that the .cue-sheets are only copied to the flac-folder.

Again, edit your REACT-track.cfg file:

1. Find the following text: IF @Flac@==1
2. Add the following line between PUSHD %TrackDir_Flac% and POPD lines:
Code: [Select]
if exist "@albumfile@.[*].cue" copy "@albumfile@.[*].cue" .

Pay attention to the line ending period character, dont remove it!

My second problem is, that the cover downloader isn't working. It isn't finding anything on amazon's server (Connection refused)

What version are you using? The one in REACT download is quite old, you might want to try Album Art Downloader XUI. Just download the zipped one and extract it to the \REACT2\coverdownloader folder. Also remember to change the following setting to 1 in your REACT.ini file:
Code: [Select]
CoverDownloaderXUI=0

REACT 2 Released

Reply #1207
Hi, thanks for your answer;)

The CoverDownloader is now working quite well,

but, unfotunately, creating the m3u-files and copying the cue-sheet isn't working.

I did it like that:

Code: [Select]
...
REM ---- Post-processing ----


rem ** Scan and compute ReplayGain and add cover picture for supported formats.
rem ** NB: The following will only work if at least the last track is selected,
rem ** and it is a regular audio track.

IF NOT @track@==@numtracks@ GOTO end_post_process

    REM ** More multiprocessing. Last edit. --nago
    :checktmp
    IF NOT EXIST processing[*].tmp GOTO allProcsClear
      ECHO Waiting for all other processes to clear...
      ECHO If REACT hangs here and there are no other tracks being encoded,
      ECHO please delete all processing[#].tmp files in
      ECHO "@sourcedir@"
      PING 1.1.1.1 -n 1 -w 10000 >NUL
    GOTO checktmp
    :allProcsClear

    SET add_rg=@ReplayGain@
    SET aac_enc=@NeroAac@
    IF @iTunesAac@==1 SET aac_enc=1

    IF NOT @ReplayGain@==1 GOTO end_RG
        SET RG_MetaFlac=--add-replay-gain
        SET RG_MetaMP3=--replay-gain
    :end_RG

    IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
        SET RG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
        SET RG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
        SET add_rg=1
    :end_apply_AG


    REM ** Audio Formats:

    IF @Flac@==1 (
        PUSHD %TrackDir_Flac%
        @tools@\Tag.exe --playlist --sort track --a-artist "@cdartist@" --a-title "@album@" --plname temp.m3u *.flac
        REM ** Workaround for %-chars disappearing from the playlist filename when using tag.exe.
        REN temp.m3u "$artist$ - $album$.m3u"
            IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
            COPY /Y "@eaclog@" "EAClog.txt"
        if exist "@albumfile@.[*].cue" copy "@albumfile@.[*].cue"
        POPD
    )

    IF @Wavpack@==1 (
        PUSHD %TrackDir_Wavpack%
            IF %add_rg%==1 @tools@\wvgain.exe -a *.wv
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @LameMP3@==1 (
        PUSHD %TrackDir_MP3%
        @tools@\Tag.exe --playlist --sort track --a-artist "@cdartist@" --a-title "@album@" --plname temp.m3u *.mp3
        REM ** Workaround for %-chars disappearing from the playlist filename when using tag.exe.
        REN temp.m3u "$artist$ - $album$.m3u"
            IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
            COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )
...


and

Code: [Select]
[Settings]
Version=2.0.ssb16
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=1
CoverDownloader=C:\Programme\REACT2\coverdownloader\AlbumArtDownloader\AlbumArt.exe
CoverDownloaderXUI=1
EAC=C:\Programme\Exact Audio Copy\EAC.exe
Tools=C:\Programme\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=1
Wavpack=0
Tak=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
mymusic=Z:
OutRoot=@mymusic@
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$ ($year$) - $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$ ($year$) - $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$ - ($year$) $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$ - ($year$) $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$ - ($year$) $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$ - ($year$) $album$
TrackName_SA=$cdartist$ - $title$
TrackName_VA=$cdartist$ - $title$
TrackName_SA_acdir=$cdartist - $~t
TrackName_VA_acdir=$cdartist - $~t [$~a]

[UserSettings]
Debug=0
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=1
UseWaveGainAG=0
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_Tak=-pN -overwrite
Opt_LameMP3=-b 128
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_Tak=1.0.1
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=



... Something totally different: Sometimes, there's a file named thumbs.db created. Do I need this file? How can I avoid creating it?

Daniel

REACT 2 Released

Reply #1208
I'm sorry for the slow replys, I'm quite busy and the "midnight summer day" (boozing) party in Finland is just beginning..    (I just bought myself a fine bottle of single malt whisky (Talisker) to tickle my taste buds.)

The CoverDownloader is now working quite well, but, unfotunately, creating the m3u-files and copying the cue-sheet isn't working.

I see that you haven't changed the CreateAllCuesheets=0 option to 1 in your INI file.. you did want to create the cuefiles, right? There's nothing to copy if you don't create them first.

As for the playlists, did you download and copy the Tag.exe to your \REACT2\tools folder? (You can find it also in the FLAC installation folder.)

By the way, did the logfile copy work?

You can put the Debug=0 option temporarily to 1 in INI file if you still have problems.. then just watch what possible error messages appear in the DOS window.. or you can post it here if you can't decipher the output.

Sometimes, there's a file named thumbs.db created. Do I need this file? How can I avoid creating it?

No you don't. Here's the explanation & disabling tip for Windows XP.

P.S. You can use CODEBOX tags here when pasting lots of code.

REACT 2 Released

Reply #1209
Quote
I see that you haven't changed the CreateAllCuesheets=0 option to 1 in your INI file.. you did want to create the cuefiles, right? There's nothing to copy if you don't create them first.


I thought this is just for creating ALL the cue-sheets (for what should I need 4 cue-sheets?!).

But, I changed it to "1" and it copied all the cue-sheets. How can I tell REACT to create only one cue-sheet, named interpret - album.cue ?

Quote
As for the playlists, did you download and copy the Tag.exe to your \REACT2\tools folder? (You can find it also in the FLAC installation folder.)


Fine, now it worked. Normally I'm not as stupid like that -.- .

Quote
By the way, did the logfile copy work?


Yes it worked, but I'd like also to add information of the resp. encoder. How can I do that?

By the way, is the "Test" Option recommandable (Test=1) ?

//Edit: I'd also like to change the name of the wav source, so that they have the same format as the flac and mp3 files. I didn't find anything to change...

REACT 2 Released

Reply #1210
I thought this is just for creating ALL the cue-sheets (for what should I need 4 cue-sheets?!).

But, I changed it to "1" and it copied all the cue-sheets. How can I tell REACT to create only one cue-sheet, named interpret - album.cue ?

You can't. You should change the code in REACT-track.cfg file to only copy the one cuefile you want (remember that files in the "temp" ripping folder are deleted after REACT has dealt with the last track). Also you probably want to change the cuefile to correct filenames in it. Here's couple of links you should read thru: Decide what cuefile you want and Modifying the cuefile. Also read REACT if you haven't.

I'm using the following code to copy the @albumfile@.[mg].cue (Multiple WAVE files with gaps (non-compliant)) cuefile:
Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY "@albumfile@.[mg].cue" "$cdartist$ - $album$.cue"


Quote
By the way, did the logfile copy work?

Yes it worked, but I'd like also to add information of the resp. encoder. How can I do that?

I'm sorry what? You want to add, in example, the FLAC version & options used for encoding into the logfile? This information is already added to the encoded files as encoding (flac) & TSSE (mp3) tags. I hope you know the batch language in DOS if you still want to add these also to logfile.

Here's one easy example (appending text to the end of the file):
Code: [Select]
ECHO Flac @Ver_Flac@ @Opt_Flac@ >> "@eaclog@"

Use this line before copying the log file in REACT-track.cfg FOR Flac. Change the variables for the Mp3 logfile. Also make sure that the correct versions for the encoders are set in the INI file (in such case that you've updated the encoders in the tools folder).

By the way, is the "Test" Option recommandable (Test=1) ?

Yes if you don't get good results from AccurateRip. What I do is that I firstly rip in burst mode without test option turned on and if I get an accurate result with at least confidence 2 for every track, I accept that rip. Otherwise I put on the test option and I use the secure ripping mode.

"Use Test & Copy by adding Test=1 under the Settings section of REACT.ini." <-- taken from REACT:Mods - Synthetic Soul's Mod. This setting is the same as if you change the TracksHotVal=+{F5} to TracksHotVal=+{F6}.

I'd also like to change the name of the wav source, so that they have the same format as the flac and mp3 files. I didn't find anything to change...

I'm sorry but I don't understand what you want. You want to change it in where? Cuefiles? Logfile? Maybe you could use the Gsar.exe (which you'll probably be using to change the cuesheets) for your needs?

REACT 2 Released

Reply #1211
Quote
I'm sorry what? You want to add, in example, the FLAC version & options used for encoding into the logfile? This information is already added to the encoded files as encoding (flac) & TSSE (mp3) tags. I hope you know the batch language in DOS if you still want to add these also to logfile.

Here's one easy example (appending text to the end of the file):
CODE
ECHO Flac @Ver_Flac@ @Opt_Flac@ >> "@eaclog@"

Use this line before copying the log file in REACT-track.cfg FOR Flac. Change the variables for the Mp3 logfile. Also make sure that the correct versions for the encoders are set in the INI file (in such case that you've updated the encoders in the tools folder).


I'm sorry, I didn't express me well... Isn't there any logfile of the encoder itself? If all was accurately encoded, for example. This I liked to add at the end of the EAC logfile.

Quote
I'm sorry but I don't understand what you want. You want to change it in where? Cuefiles? Logfile? Maybe you could use the Gsar.exe (which you'll probably be using to change the cuesheets) for your needs?


The react-track.cfg file is using a variable $source$ for creating the source wav files, the .cue-sheets and the logfile.
At the moment the format of the source-files are like that "artist - album - title - track" (I got this from the cue-sheet) , but I want it to have to "$cdartist$  - $track$".
So, actually, I'm searching for a way to define $source$.

REACT 2 Released

Reply #1212
I'm sorry, I didn't express me well... Isn't there any logfile of the encoder itself? If all was accurately encoded, for example. This I liked to add at the end of the EAC logfile.

I don't know. Please check the manuals for every encoder you are using. This has nothing to do with REACT.

I use -V (or --verify) switch in the Flac encoding and I have the following code in my REACT-track.cfg file right after the encoding code line:
Code: [Select]
IF ERRORLEVEL 1 ECHO Flac encoding failed! &ECHO. &PAUSE

This will pause the process if the Flac encoder throws an error.

The react-track.cfg file is using a variable $source$ for creating the source wav files, the .cue-sheets and the logfile.
At the moment the format of the source-files are like that "artist - album - title - track" (I got this from the cue-sheet) , but I want it to have to "$cdartist$  - $track$".
So, actually, I'm searching for a way to define $source$.

The react-track.cfg file is using a variable @source@ for ACCESSING the source wav files. "@source@ = The path to the temporary source WAVE file" <-- taken from REACT.

The "artist - album - title - track" layout is set when configuring REACT at the first run or by pressing CTRL+F2. The temporary source WAVE file, or @source@ if you like, is deleted right after it has been encoded to, in your case, flac & mp3 files. You most probably are NOT saving the source WAVE file (you want flacs & mp3s, right?), so why do you want to change its filename? I don't understand. So, tell me what do you really want? Do you want the flac filenames to be like "$cdartist$ - $track$"? (remember that $track$ = track number!) Please, be precise, otherwise I can't help you anymore than this. Sorry.

REACT 2 Released

Reply #1213
Quote
The react-track.cfg file is using a variable @source@ for ACCESSING the source wav files. "@source@ = The path to the temporary source WAVE file" <-- taken from REACT.

The "artist - album - title - track" layout is set when configuring REACT at the first run or by pressing CTRL+F2. The temporary source WAVE file, or @source@ if you like, is deleted right after it has been encoded to, in your case, flac & mp3 files. You most probably are NOT saving the source WAVE file (you want flacs & mp3s, right?), so why do you want to change its filename? I don't understand. So, tell me what do you really want? Do you want the flac filenames to be like "$cdartist$ - $track$"? (remember that $track$ = track number!) Please, be precise, otherwise I can't help you anymore than this. Sorry.




I guess, that the paths in the cue-sheets resp. log-files. depend on the original name of the source wav. If I wanted to burn the original CD out of the cue-sheet, I'd just need to convert flac to wav again, and that's it. Otherwise I'd have to change the filenames again afterwards.

But I think, as you said, that if I change this setinng in EAC this problem will be gone;)

Quote
I don't know. Please check the manuals for every encoder you are using. This has nothing to do with REACT.

I use -V (or --verify) switch in the Flac encoding and I have the following code in my REACT-track.cfg file right after the encoding code line:
CODE
IF ERRORLEVEL 1 ECHO Flac encoding failed! &ECHO. &PAUSE

This will pause the process if the Flac encoder throws an error.


Thanks  really an interesting solution;)

REACT 2 Released

Reply #1214
I guess, that the paths in the cue-sheets resp. log-files. depend on the original name of the source wav. If I wanted to burn the original CD out of the cue-sheet, I'd just need to convert flac to wav again, and that's it. Otherwise I'd have to change the filenames again afterwards.

But I think, as you said, that if I change this setinng in EAC this problem will be gone;)

Change what setting? Again I'm lost.

Let me get this straight; EAC creates the cuefiles and the logfile, NOT REACT. Therefore we have to change the contents of those files later ourselves if we want to make modifications. You can't change the way the contents of the cuefiles & logfile are written in EAC.

So you want to change the filenames inside cuefile? Did you read at all the links I gave you couple of posts ago? Namely the "Modifying the cuefile" one? This has all the information you need to change the references in cuefile to match the actual Flac files you have.

And I understand that you also would like to change the filenames in the logfile? That's not necessary but could be done.. with Gsar.exe program (which you'll probably be using to change the cuesheets).. I mentioned this also earlier.

I hope this clears things up a bit. 

REACT 2 Released

Reply #1215
Is there a way to add additional metadata - I always add the BAND tag (in MP3Tag) for my needs. This is the only manual step I have to do and would love if REACT could do it.

Using EAC0.99pb4 w/ REACT_2.0.akku.b02

Thanks...

REACT 2 Released

Reply #1216
Is there a way to add additional metadata - I always add the BAND tag (in MP3Tag) for my needs. This is the only manual step I have to do and would love if REACT could do it.

Check this out: Synthetic Soul's Mod. You can still use my "akku" mod, it has all the features of Synthetic Soul's Mod.

Seeing that you would always use the Additional Meta Data dialogue, I think you would like a new feature to my mod: INI setting to always open the dialogue when opening REACT. I'm going to benefit from this also because recently I made a decision to add catalog number/EAN code & release country to every CD I have.

REACT 2 Released

Reply #1217
Hi

I’m using REACT2 [akku.b02] with EAC for ripping my CD collection. Hard disk space is not an issue for me at the moment and I store wav images and separate flac tracks with F10 command for each CD. I’m also using the Akkurat Backup Data Track Method which requires “CreateAllCuesheets” in the REACT.ini set to 1.
Is it possible to implement the gsar.exe tool to modify the [mg].cue (or all of them) from “.wav” WAVE to “.flac” WAVE for the separate flac tracks in the image.cfg. If at some point in the future I decide to keep only the flac tracks I’d like to have a proper corresponding cue file.
I’ve tried to add the track.cfg settings from the wiki article but obviously it’s far from the truth.


My codes for storing wav image and for separate flac tracks in image.cfg

Code: [Select]
REM Store WAVE image
SET dest="@ImageDir_WAV@%imageDir%"
IF NOT EXIST %dest% MKDIR %dest%
PUSHD %dest%
    FOR %%G IN ("@image@") DO SET imageName=%%~nG
    COPY /Y "@source@" "%imageName%.wav"
    COPY /Y "@eaclog@" "%imageName%.log"
    @tools@\GSAR.EXE -s.@imageext@ -r.wav "@cuesheet@" "%imageName%.cue"
POPD

IF NOT @Flac@==1 GOTO end_flac_tracks
    SET dest="@TrackDir_Flac@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        SET VA_tag=-T $qalbum artist=@cdartist@$q
        IF %embed_cover%==1 SET Cover_tag=--picture=$#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.flac" --extra-opt "|image/jpeg|||@cover@" --pipe "TITLE $n/$N flac $#T & @tools@\flac.exe @Opt_Flac@ %Cover_tag% -T $qalbum artist=@cdartist@$q %Disc_Flac_acdir% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n -T date=$q(@year@)$q -T genre=$q@genre@$q -T comment=$q@comment@$q -T encoding=$qFlac @Ver_Flac@ @Opt_Flac@$q - -o $#o" "@sourcecuesheet@"
        IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
REM     COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "@basename@.jpg"
        IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .
    POPD
:end_flac_tracks


Thanks

REACT 2 Released

Reply #1218
I'm switching over to use REACT 2.0.akku from EAC+MAREO because of the additional functionality of embedding album art and had some questions:

I used MAREO & EAC to rip tracks to flac + mp3, calculate replay gain on the flac and apply wavegain or mp3 gain directly to the mp3 to normalize every mp3 track to 89db (track mode).

I searched and found the following but have some questions?

This method is about running WaveGain.exe on the WAV image to calculate the recommended album gain and scale value and then afterwards use that scale value together with lame.exe's '--scale' switch during encoding to MP3s. This will give smaller size and give you RG'ed playback on all equipment, but as i said, cannot be reversed, though. If you want to do this, then you should do the following to your REACT.ini : 'ApplyAlbumGain=1' & 'UseWaveGainAG=1' + also add 'REM' infront of this line under the mp3 tracks section in REACT-image.cfg :

IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% *.mp3

When you do that, then the files will be scalled to have an average album gain value of 89dB and it dosen't matter what you have the following option set to as it isn't used in that case : 'AdjustAlbumGain_dB=+3.0'. If you don't add the 'REM' infront of the line, then metamp3.exe is runned on the MP3s additionally to alter them according to the 'AdjustAlbumGain_dB' option. If you want another value than 89dB, then i would advice you to forget this method and don't do any of the instructions i have given you in this post and instead just look at my last post for the right instructions.


First, do I have to press F4 or F10 in eac or if I just press the EAC MP3 button on the left, will it rip in track mode (not image mode).

Second, do I set user settings as follows to apply only replay gain to flac then wavgain then mp3 writing normalized in the file (not the tags):
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=0
AddCuesheetAG=0
UseWaveGainAG=1
Opt_Flac=-5 -f
Opt_LameMP3=-V4 --vbr-new --noreplaygain --nohist

I see that there is a --noreplaygain in the lame settings, is this because it is done in post processing?  If I do the wavegainag=1 does this happen after the flac is written or will the flac be normalized as well?

Are the album and track replaygain tags written to the flac or just album?  Is the mp3 track(radio) replaygained or album?

Not sure why it is suggested to REM out the albumgain line above in the REACT-image.cfg file above.

Lastly, can REACT be run from foobar's convert or cd rip command lines as well or only EAC?

Thanks in advance for anyones help.

REACT 2 Released

Reply #1219
I’m using REACT2 [akku.b02] with EAC for ripping my CD collection. Hard disk space is not an issue for me at the moment and I store wav images and separate flac tracks with F10 command for each CD. I’m also using the Akkurat Backup Data Track Method which requires “CreateAllCuesheets” in the REACT.ini set to 1.
Is it possible to implement the gsar.exe tool to modify the [mg].cue (or all of them) from “.wav” WAVE to “.flac” WAVE for the separate flac tracks in the image.cfg. If at some point in the future I decide to keep only the flac tracks I’d like to have a proper corresponding cue file.
I’ve tried to add the track.cfg settings from the wiki article but obviously it’s far from the truth.

Hmm, well, the problem is that in image rips, the info for individual track filenames are pulled from the cuefile by ACDIR. So, there's no way of us using that information in the image config file like we can in track config. Also changing only the .wav" WAVE to .flac" WAVE most probably wouldn't work as expected because of the filename scheme & special character differences between EAC and REACT (and special char difference in ACDIR). I'm not so familiar with ACDIR but I can see that one can execute several commands in the --pipe switch... but this doesn't help us because we have no information of the filenames in the cuefile.

One possible method (very pseudocode example):
1. After the ACDIR has created all the flac files, traverse all those files with FOR (dos command).
2. Your goal is to match a flac filename & cuefile text string (basically you need to match the track number found in the flac file to a line in cuefile where there's the same track number, AND that line has also .wav" string).
3. Use GSAR in the same manner as in track config to change the file references with the info you just gathered from the flac files and from the cuefile.

Hard? Yes. I'm sorry.. I don't know a better way to solve this. If you manage to pull it off, please share your masterpiece.

REACT 2 Released

Reply #1220
I used MAREO & EAC to rip tracks to flac + mp3, calculate replay gain on the flac and apply wavegain or mp3 gain directly to the mp3 to normalize every mp3 track to 89db (track mode).

First, do I have to press F4 or F10 in eac or if I just press the EAC MP3 button on the left, will it rip in track mode (not image mode).

Press F4 for tracks.. not MP3 button.

If you want flac tracks with track & album RG tags & mp3 tracks "normalized" to 89db (album gain) (no track & album RG tags obviously), then use these settings:
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=0

I see that there is a --noreplaygain in the lame settings, is this because it is done in post processing?

Yes. It would be a waste of time to calculate these twice.. and we don't want RG tags if we apply the gain straight to the files.

If I do the wavegainag=1 does this happen after the flac is written or will the flac be normalized as well?

UseWaveGainAG is only used in image mode ripping. You don't have to worry about this setting if you're ripping tracks with F4. Just leave it to 0.

And remember, you can't "normalize" (apply gain) flac files with REACT.

Lastly, can REACT be run from foobar's convert or cd rip command lines as well or only EAC?

Nope, just from EAC.

REACT 2 Released

Reply #1221
Akkurat,

thanks for the feedback.  I've been using and testing for the past few days and figured a lot of it out. 

My needs are to track replay gain so I stayed on the track mode side.  I've added the ability to use wavegain for replaygain track --scale in track.cfg.  I'll try and add a flag ApplyTrackGain to .ini and processing in track.cfg to use wavegain and apply track gain if those are checked off instead of using metamp3 and album gain to each individual track.  If i get those parms working I'll post here for you all to use.

One thing I did notice that you may consider changing is that when you start eac by launching react2.exe, eac starts but loses the focus and you have to click the eac window to get focus then press f4/f10, whatever.  Is this something that is caused and can be changed in react2.exe or is it an eac issue when being launched from somewhere else.  Using eac prebeta4 v.0.99.  No big deal but every key stroke counts with 300 cd's to go ....

REACT 2 Released

Reply #1222
My needs are to track replay gain so I stayed on the track mode side.  I've added the ability to use wavegain for replaygain track --scale in track.cfg.  I'll try and add a flag ApplyTrackGain to .ini and processing in track.cfg to use wavegain and apply track gain if those are checked off instead of using metamp3 and album gain to each individual track.  If i get those parms working I'll post here for you all to use.

Actually I'm a bit lost what you're trying to do, maybe it's just ol' stupid me but I find your plan a bit odd (others can comment on this too).. but that doesn't matter, I don't have to understand if you get it to work like you want. 

One thing I did notice that you may consider changing is that when you start eac by launching react2.exe, eac starts but loses the focus and you have to click the eac window to get focus then press f4/f10, whatever.  Is this something that is caused and can be changed in react2.exe or is it an eac issue when being launched from somewhere else.

Good catch. I added this to my TODO list. I haven't seen this as a problem since I always have to change some of the album information (uppercase words, correct years/track names, add additional metadata, etc.)... one just can't rely on the freedb information and start ripping straight away. Anyways, I'll look in to it.

REACT 2 Released

Reply #1223
Here's what I'm doing and why:

I only use replaygain/apply gain in track(radio) mode, not album(audiophile) mode as I shuffle rather than listen to albums completely.  I wanted to use wavegain to get the scale so that could be applied by lame rather than using the less accurate (and admittedly probably not noticeable) mp3gain or oggenc way to apply radio gain.  So I changed track.cfg to do the following:

Track section:
If usewavegainag=true then wavegain the wav file using radio flag to get track gain, peak, new peak and scale. 
If usewavegainag=true and applyalbumgain=true then Save the above scale to be used in lame.exe and oggenc2.exe track commands.  I also save the adjustalbumgain_db to be used by metamp3 so it applies any album wide +/- dB to all the already scaled tracks in postprocessing.
Post Processing Section:
if applyalbumgain=true then apply radiogain and adjustalbumgain to aac files and apply adjustalbumgain-db to already scaled lame files.

If I get time, I'll try and add an applyradiogain flag in .ini and use that to differentiate on using albumgain or radiogain in track.cfg but no time now for that.  Again since I only use radiogain, it's not important for me, but rather for general release if you need it.

Here are the bits I changed in react-track.cfg track section:
Quote
REM ---- Track ----

REM -- Added -- Get individual track wavegain settings to use --scale.  Only radio/track mode gain can be applied to mp3 and ogg in this mode

IF @UseWaveGainAG@==0 GOTO end_wavegain
    SET wg_tmp=wg_%RANDOM%
    @tools@\WaveGain.exe --radio "@source@" --exec ECHO '%%TRACK_GAIN%%'%%TRACK_PEAK%%'%%TRACK_NEW_PEAK%%'%%TRACK_SCALE%%'> %wg_tmp%.txt
    FOR /F "usebackq tokens=1-6 delims='" %%a IN (%wg_tmp%.txt) DO (
        SET track_gain=%%b
        SET track_peak=%%c
        SET track_new_peak=%%d
        SET track_scale=%%e
    )
    DEL %wg_tmp%.txt
:end_wavegain


REM ** Apply AlbumGain by using LAME --scale <factor> computed from WaveGain. Then metamp3.exe only increases for AdjustAlbumGain_dB. For MP3 and OGG.
IF @UseWaveGainAG@==1 IF @ApplyAlbumGain@==1 (
    SET ApplyTG_Lame=--scale %track_scale%
    SET ApplyAG_MetaMP3=--apply-gain @AdjustAlbumGain_dB@
    SET RG_MetaMP3=--user-text "[replaygain_track_gain] %track_gain%" --user-text "[replaygain_track_peak]%track_new_peak%"
    SET RG_OggEnc2=--scale %track_scale% -c $qreplaygain_track_gain=%track_gain%$q -c $qreplaygain_track_peak=%track_new_peak%$q
REM Oggenc track wave gain is not tested!!!!!!!!
)

IF NOT @LameMP3@==1 GOTO end_lame_tracks
    IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
    PUSHD %TrackDir_MP3%
        IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
        IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
        ECHO ON
        @tools@\lame.exe @Opt_LameMP3@ %ApplyTG_Lame% "@source@" "%TrackName%.mp3"
        @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3% --artist "@artist@" --album "@album@" --track @track@ --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME @Ver_LameMP3@ %ApplyTG_Lame% @Opt_LameMP3@" "%TrackName%.mp3"
        @ECHO OFF
      IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_lame_tracks

IF NOT @OggEnc2@==1 GOTO end_oggenc_tracks
    IF NOT EXIST %TrackDir_OGG% MKDIR %TrackDir_OGG%
    PUSHD %TrackDir_OGG%
        IF @various@==1 SET VA_tag=-c "album artist=@VA@"
        ECHO ON
        @tools@\oggenc2.exe @Opt_OggEnc2@ %RG_OggEnc2% %VA_tag% %Disc_OggEnc2% -c artist="@artist@" -c album="@album@" -c tracknumber="@track@" -c title="@title@" -c date="@year@" -c genre="@genre@" -c comment="@comment@" -c encoded-by="%USERNAME%" -c encoding="OggEnc @Ver_OggEnc2@ @Opt_OggEnc2@" "@source@" -o "%TrackName%.ogg"

REM - RG_OggEnc2 -- scale above is not tested!!!!!

      @ECHO OFF
      IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_oggenc_tracks


Here are the changes to the postprocessing section:

Quote
IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG

REM - Use Track Gain for AAC (/r) and MP3 (radio)
REM - If UseWaveGainAG then just apply the AdjustAlbumGain because --scale used above in Lame.exe command
REM - Otherwise apply radio gain adjustment and AdjustAlbumGain

          SET RG_AacGain=/r /o /c /d @AdjustAlbumGain_dB@

REM -- If UseWaveGain then only apply AdjustAlbumGain amount from react.ini as radio gain is applied above in Lame.exe using scale
          IF NOT @UseWaveGainAG@==1 GOTO end_apply_WG_AdjustAlbumGain
         SET RG_MetaMP3=--apply-gain @AdjustAlbumGain_dB@
          :end_apply_WG_AdjustAlbumGain
REM -- If NOT UseWaveGain then apply radio gain + AdjustAlbumGain amount from react.ini
          IF NOT @UseWaveGainAG@==0 GOTO end_apply_WG_radio
         SET RG_MetaMP3=--apply-gain radio@AdjustAlbumGain_dB@
          :end_apply_WG_radio

        SET add_rg=1
    :end_apply_AG


Does that explain what and why better for you?

REACT 2 Released

Reply #1224
Is it possible to implement the gsar.exe tool to modify the [mg].cue (or all of them) from “.wav” WAVE to “.flac” WAVE for the separate flac tracks in the image.cfg. If at some point in the future I decide to keep only the flac tracks I’d like to have a proper corresponding cue file.
I’ve tried to add the track.cfg settings from the wiki article but obviously it’s far from the truth.


eeyore_pooh, hope the code below is of help to you.  Note that I use track.cfg and a custom batch file name.  I've altered all my cue sheets to point to .flac (as opposed to .wav).


Code: [Select]
REM ---- Track ----


IF NOT @Flac@==1 GOTO end_flac_tracks
    IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
    PUSHD %TrackDir_Flac%
        IF @various@==1 SET VA_tag=-T "album artist=@VA@"
        IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
        ECHO ON
        @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% %Disc_Flac% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@" -T totaltracks="@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="your name" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"

SET trackCueFile="$cdartist$ - $album$.cue"
IF NOT EXIST %trackCueFile% (
    COPY "@albumfile@.[mg].cue" %trackCueFile%
)
ECHO @tools@\GSAR.EXE "-s@basename@.wav" "-r%TrackName%.flac" -o %trackCueFile%>>update-cueslogs.bat

SET "@eaclog@"="$cdartist$ - $album$.log"
IF NOT EXIST "@eaclog@" (
   COPY "@eaclog@" "$artist$ - $album$.log"
   ECHO CHCP 1252 ^| PROMPT>>update-cueslogs.bat
)
ECHO @tools@\GSAR.EXE "-sC::\Working\@basename@.wav" "-r"""%TrackName%.flac"""" -o "@eaclog@">>update-cueslogs.bat

        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST Folder.jpg COPY "@cover@" Folder.jpg
    POPD
:end_flac_tracks