HydrogenAudio

CD-R and Audio Hardware => CD Hardware/Software => Topic started by: tycho on 2005-06-28 18:54:44

Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-06-28 18:54:44
REACT is a plugin tool for EAC, and is perfect for copying of CDs as images and multiple additional compressed formats. It is similar to MAREO, Flacattack, Wack, and aftermath, but it has some unique features as well:Installation
Run the installation file. The most common tools and encoders are included. To uninstall, simply delete the REACT folder and the shortcut from the desktop.

DOWNLOAD: http://www.hydrogenaudio.org/forums/index....showtopic=36261 (http://www.hydrogenaudio.org/forums/index.php?showtopic=36261)

WIKI HELP: http://wiki.hydrogenaudio.org/index.php?title=REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT)

Interaction EnhancementsAudio EncodingChangelog
1.0 Release Added NeroAacEnc.exe and three Configs with tagging! Bugfixes, and a small old feature is back.
0.999 Opt. auto save tracks cuesheets when hitting F4. Auto close save wavform dialog when hitting F10. Added FLAC_MP3 config files.
0.998 Made Configs into separate text file. ++. Check Readme.txt and Config folder.
0.997 Many updates. See Readme.txt file.
0.996 Minor bugfixes and updates in configs (profiles). Tried to fix that ImageName scheme didn't always work when hitting F10.
0.995 Fixed some bugs in configs. Added [PORTABLE] config (again).
0.994 Much refined configs + added [WV_MP3]. Added @islast@ (track on CD), @preemp@ (flag). @track@ has no leading zero. Added $track$ with leading zero. If checking @preemp@ and deemphasising the CD with sox, you can set RemoveCuePreemp=1 in config to remove 'FLAGS PRE's from cuesheet.
0.993 Misc additions.
0.992 Added @cdartist@. Defining 'Various-dest1=..', sets @dest1@ to this when 'Various artists' CD is ripped. A lot of other small fixes and improvements.
0.990 complete rework of INI-sections. Auto-closes EAC audio extract dialog. Embeds log file in audio images.
0.983 adds @numtracks@, @freedbid@, @crc@, and @curdate@. Adds itumes configuration for creating AAC files.
0.982 adds @bitrate@ param (from EAC) and adds a fhgacm configuration to use ACMENC. Some further tweaking too.
0.981 improves encoding configs, and fixes a few bugs.
0.980 adds @gain@ and @peak@ params for "WaveGainAnalysis=1" in config section. Added wavpack config section. Added REPLAYGAIN comments in cuesheet.
0.972 adds .ini key for specifying path to WaveGain.exe
0.970 : 0.96.0 : 0.95.5 : Didn't handle empty fields. Make sure @year@ is surrounded by " " when used as tag in configs.
0.95.4 : Updated vars for F10 func. Added $track$, $year$ for completeness.
0.95.2 : Added vars with legal filename: $artist$, $album$, $title$, $genre$, $comment$
0.95.1 : Initial release
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-06-29 07:50:31
Please, read the first post again - essential information added.
  .
Title: New tool: React - [Run EAC Tasks]
Post by: ChiGung on 2005-06-29 08:19:06
Quote
Please, read the first post again - essential information added.
  .
[a href="index.php?act=findpost&pid=309720"][{POST_SNAPBACK}][/a]

Sounds wild!
For eac i'd like one command to get cddb, detect gaps, select all and rip - all in one

Congrats on new tool anyway'
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-06-29 08:31:27
Thanks,
You can already make EAC automatically access cddb on unknown CDs, but thats maybe not what you want?
Combining functions to "macros" could be possible in a future release ....
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-06-29 09:36:04
I haven't had chance to test REACT yet - but I'll ask my standard question for such apps:

When using @album@ etc. in a path/filename are illegal characters removed?

This app sounds very interesting.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-06-29 10:31:05
Nope - it should, but you don't want that when used in tags. I could make two sets of variables, e.g. $album$, $artist$, etc. could have legal filename letters only.

Could you provide me with a list of illlegal filename letters, and maybe a convertion table. There is one in the CDex app, but is it complete?
I still have some problems with letters like é and such in dos boxes, but it could be my regional settings.

PS. REACT looks better than React - maybe I will change it.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-06-29 10:59:32
IMHO filename friendly variables are a necessity really.

I used REACT simply as I see it is an acronym.

I don't know if this is a complete list, but these are the characters that Windows complains about when you try to rename a file illegally:

/ \ | : * ? " < >

The easiest way is to replace the characters with nothing, or a space (as EAC does for the log file, etc.)

In another thread Vietwoojagig suggests:

"/" -> "-"
"\" -> "-"
":" -> " -" (there is a space!)
"*" -> "#"
"?" -> "" (null string)
""" -> "''" (two single ')
"<" -> "["
">" -> "]"
"|" -> "-"

When processing tracks EAC uses the following, according to the FlacAttack source:

* = x
| = !
/ = ,
\ = cuts off everything after
: = -
? = " "
< = [
> = ]
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-06-29 13:09:50
I uploaded a new version 0.95.2. I used this file name char convertion:
/ => -
\ => -
: => -
? => @
| => !
" => '
* => #
< => [
> => ]

Add: Oh, and move away the old .ini file - this one creates a new which uses the new $artist$ ... variables.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-06-29 13:35:44
Thanks.

NB: ImageNaming param needs updating to use $ (I assume).  Also text above

Quote
1. Hit F10 (user definable) to save cuesheet and image compressed. The Save dialog is automatically
    filled with a user definable name (see 'ImageNaming' in .ini-file). Substitution variables:
       @album@, @artist@, @year@, @genre@, @freedb@.

I may be wrong.

This is definately an intriguing app... quite an alternative way to go about things.  Good use of Wapet for the image processing.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-06-29 14:24:08
Done. I'll PM you later.
Title: New tool: React - [Run EAC Tasks]
Post by: ponchorage on 2005-06-29 18:06:34
This looks pretty cool. I'll have to try it out later.
Title: New tool: React - [Run EAC Tasks]
Post by: Jebus on 2005-06-29 19:54:09
One other thing... when directories are named for instance "Ziggy Stardust and the ... " (EAC automatically adds the "..." if the name is too long), windows silently knocks off any trailing periods from a path.

So if your program then tries to access "c:\Ziggy...\blah" it will not find anything! As a fix, i'd knock off trailing periods from album and artist fields (track titles are okay... windows allows trailing periods on filenames).
Title: New tool: React - [Run EAC Tasks]
Post by: Preuss on 2005-06-30 07:33:20
How did you make REACT, and what program did you use to make it?

I'm just curious
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-06-30 10:11:33
Quote
How did you make REACT, and what program did you use to make it?

I'm just curious
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=309978")

[a href="http://www.autoitscript.com]http://www.autoitscript.com[/url]

It's only ~ 450 lines of code.

On a different matter, there are some problems with foreign filename letters in the current implementation. I think we must always encode to and from temporary named files (like EAC does by default) in order to get it working properly. I'm looking into it.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-07-01 16:26:07
Major update: REACT 0.96.0

Works great for me now.

@Synthetic Soul: The problems with foreign characters is completely gone. Wapet.exe seems to works excellent with UNICODE characters, so I don't think there is any need to modify it.

Ps. I want to freeze a version (hopefully this) it as soon as possible. If anyone want to continue this project, you can contact me. Anyway, it now has all the features I need.
Title: New tool: React - [Run EAC Tasks]
Post by: kindofblue on 2005-07-03 04:16:22
@tycho:  Could you possibly add an option/hotkey for Shift-F6 (Test and Copy Tracks Compressed)? Also, an option to specify the encoder directory. Thanks.

Whoops, never mind. Figured it out. Works nicely with Test and Copy, and you can specify the encoder path (enclosed in quotes) in the destination commandline.

PS Is there a way to do WavGain --analyze & use the recommended gain as input to lame --scale? Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: beto on 2005-07-27 03:07:06
I cannot make the image thingy work here.... instead of mapping to the image section of the ini file it is mapping to the tracks section....

i am using the oggape section in the ini file below.

1. it creates the ape image but with the wrong name (it uses the temp file name)
2. acdir does not split the image and creates an image ogg file
3. the source file is not deleted after encoding

does anyone also have this problem and knows how to solve it?

thanks


Code: [Select]
[General]
EAC=C:\Appl\Exact Audio Copy\EAC.exe
LogFile=C:\Appl\Exact Audio Copy\REACT_log.txt
ImageHotkey={F10}
ImageNaming=$album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
ImageMenuString=&Action|Copy &Image && Create CUE Sheet|Compressed...
SaveWaveformString=Save Waveform
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[Encode]
MinimizeCompressionWindow=0
ProcessPriority=1

[Tracks-default]
Dest1=@mydocumentsdir@\My Music\MP3_ARCHIVE\$artist$ - $album$\@track@ - $title$.mp3
Dest2=@mydocumentsdir@\My Music\MP3_PORTABLE\$artist$ - $album$\@track@ - $title$.mp3
1=>lame.exe -V2 --vbr-new "@source@" "@dest1@" --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" --tc "@comment@"
2=>lame.exe -V6 --vbr-new "@source@" "@dest2@" --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" --tc "@comment@"
3=>del "@source@"

[Image-default]
ImageExt=mp3
CuesheetExt=cue
OutDir1=@mydocumentsdir@\My Music\MP3_ARCHIVE\$artist$ - $album$
1=>REM create a lame -V2 mp3 image
2=>lame.exe -V2 --vbr-new "@source@" "@image@" --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" --tc "@comment@"
3=>REM create lame -V6 mp3 tracks from original .wav image
4=>acdir.exe --output "@outdir1@\$n - $t.mp3" --pipe "lame.exe -V6 --vbr-new --tt $#t --ta $#a --tl $#T --tn $#n $x - $#o" "@sourcecuesheet@"
5=>del "@source@"

[Tracks-portable]
Dest1=@removabledrive1@\$artist$ - $album$\@track@ - $title$.mp3
1=>REM create a lame -V6 mp3 tracks and send them directly to your mp3-player
2=>lame.exe -V6 --vbr-new "@source@" "@dest1@" --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" --tc "@comment@"
3=>del "@source@"

[Tracks-mp3ogg]
OutDir1=@mydocumentsdir@\My Music
Dest1=@outdir1@\MP3_ARCHIVE\$artist$ - $album$\@track@ - $title$.mp3
Dest2=@outdir1@\OGG_ARCHIVE\$artist$ - $album$\@track@ - $title$.ogg
1=>lame.exe -V2 --vbr-new "@source@" "@dest1@" --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" --tc "@comment@"
2=>oggenc2.exe -q 5 "@source@" -o "@dest2@" -a "@artist@" -l "@album@" -t "@title@" -N "@track@" -d "@year@" -G "@genre@" -c "comment=@comment@"
3=>del "@source@"

[Image-mp3ogg]
ImageExt=ape
CuesheetExt=ape.cue
OutDir1=@mydocumentsdir@\My Music\MP3_PORTABLE\$artist$ - $album$
OutDir2=@mydocumentsdir@\My Music\OGG_PORTABLE\$artist$ - $album$
1=>REM create an .ape image
2=>wapet.exe "@image@" -f "cuesheet=@cuesheet@" -t "artist=@artist@" -t "album=@album@" -t "year=@year@" -t "genre=@genre@" MAC.exe "@source@" "@image@" -c2000
3=>del "@source@"
4=>REM create lame and ogg track files directly from .ape image
5=>acdir.exe --output "@outdir1@\$n - $t.mp3" --pipe "lame.exe -V6 --vbr-new --tt $#t --ta $#a --tl $#T --tn $#n $x - $#o" "@cuesheet@"
6=>acdir.exe --output "@outdir2@\$n - $t.ogg" --pipe "oggenc2.exe -q 3 --title $#t --artist $#a --album $#T --tracknum $#n -o $#o $x -" "@cuesheet@"

[Tracks-flacmpc]
Dest1=@mydocumentsdir@\My Music\FLAC\$artist$ - $album$\@track@ - $title$.flac
Dest2=@mydocumentsdir@\My Music\MPC\$artist$ - $album$\@track@ - $title$.mpc
1=>REM create flac and mpc track files
2=>flac.exe -5 -f --replay-gain "@source@" -o "@dest1@" -T artist="@artist@" -T album="@album@" -T title="@title@" -T tracknumber="@track@" -T date="@year@" -T genre="@genre@" -T comment="@comment@"
3=>mppenc.exe --quality 4 --artist "@artist@" --album "@album@" --title "@title@" --track "@track@" --year "@year@" --genre "@genre@" --comment "@comment@" "@source@" "@dest2@"
4=>del "@source@"

[Image-flacmpc]
ImageExt=flac
CuesheetExt=flac.cue
OutDir1=@mydocumentsdir@\My Music\MPC\$artist$ - $album$
1=>wapet.exe "@image@" -f "cuesheet=@cuesheet@" flac.exe -5 -f --replay-gain "@source@" -o "@image@" -T artist="@artist@" -T album="@album@" -T date="@year@" -T genre="@genre@"
2=>del "@source@"
3=>acdir.exe --output "@outdir1@\$n - $t.mpc" --pipe "mppenc.exe --quality 4 --title $#t --artist $#a --album $#T --track $#n $x - $#o" "@cuesheet@"

[Image-oggape]
ImageExt=ape
CuesheetExt=ape.cue
OutDir1=E:\Media\Audio\Full Albums (presets - EAC)\$artist$\$year$ - $album$
OutDir2=C:\Appl\Exact Audio Copy\AudioFiles\$artist$\$year$ - $album$
1=>REM create an .ape image
2=>wapet.exe "@image@" -f "cuesheet=@cuesheet@" -t "artist=@artist@" -t "album=@album@" -t "year=@year@" -t "genre=@genre@" MAC.exe "@source@" "@image@" -c2000
3=>del "@source@"
4=>REM create ogg track files directly from .ape image
5=>acdir.exe --output "@outdir2@\$n - $t.ogg" --pipe "oggenc2.exe -q 4.25 --title $#t --artist $#a --album $#T --tracknum $#n -o $#o $x -" "@cuesheet@"

[Tracks-oggape]
OutDir1=E:\Media\Audio\Full Albums (presets - EAC)
OutDir2=C:\Appl\Exact Audio Copy\AudioFiles
Dest1=@outdir2@\$artist$\$year$ - $album$\@track@ - $title$.ogg
Dest2=@outdir2@\$artist$\$year$ - $album$\@track@ - $title$.ape
1=>wapet.exe "@dest2@" -t "artist=@artist@" -t "album=@album@" -t "title=@title@" -t "tracknumber=@track@" -t "year=@year@" -t "genre=@genre@" -t "encodedby=Monkey's Audio 3.99 [extra high]" -t "rippedby=EAC 0.95b2 [secure mode]" MAC.exe "@source@" "@dest2@" -c4000
2=>oggenc2.exe -q 4.25 "@source@" -o "@dest1@" -a "@artist@" -l "@album@" -t "@title@" -N "@track@" -d "@year@" -G "@genre@" -c "encodedby=Vorbis Lancer (aoTuVb4) [-q4.25]" -c "rippedby=EAC 0.95b2 [secure mode]"
3=>del "@source@"
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-08-12 15:20:55
@beto: Are you sure you hit F10, and not F4. There is a new v0.97 version. It will move your .ini file to REACT.ini.old because many things has changed, so you must move your edited stuff over to the new .ini.
The new version may fix your problem.
Title: New tool: React - [Run EAC Tasks]
Post by: beto on 2005-08-12 16:13:47
Quote
@beto: Are you sure you hit F10, and not F4. There is a new v0.97 version. It will move your .ini file to REACT.ini.old because many things has changed, so you must move your edited stuff over to the new .ini.
The new version may fix your problem.
[a href="index.php?act=findpost&pid=319639"][{POST_SNAPBACK}][/a]


hey tycho, I'll try again as soon as I get back to my country in 2 months time. I'm abroad now....
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-08-22 10:07:15
@kindofblue (in Uploads thread - I was not able to put a lengthy post there): You configuration seems fine. The wavegain should create a minimized cmd.exe window for a short while. When the encoding cmd.exe window appears, you should see a line "WaveGain: ..." that shows the gain and peak that wavegain found, and which is available in the @gain@ and @peak@ variables. Note that in v0.983, when you set 'MinimizeCompressionWindow=0' both the wavegain and compression cmd.exe window will appear non-minimized.
If you create the flac files for backup only (not playback), you should consider using a [flac-image] (F10) configuration instead, which creates lossy compressed track files from the image, using ACDIR. I find it more useful to have a one-file image as backup of an album, and track files for lossy compression e.g. for portable mp3 players.
Title: New tool: React - [Run EAC Tasks]
Post by: kindofblue on 2005-08-23 04:09:40
Quote
@kindofblue (in Uploads thread - I was not able to put a lengthy post there): You configuration seems fine. The wavegain should create a minimized cmd.exe window for a short while. When the encoding cmd.exe window appears, you should see a line "WaveGain: ..." that shows the gain and peak that wavegain found, and which is available in the @gain@ and @peak@ variables. Note that in v0.983, when you set 'MinimizeCompressionWindow=0' both the wavegain and compression cmd.exe window will appear non-minimized.
If you create the flac files for backup only (not playback), you should consider using a [flac-image] (F10) configuration instead, which creates lossy compressed track files from the image, using ACDIR. I find it more useful to have a one-file image as backup of an album, and track files for lossy compression e.g. for portable mp3 players.
[a href="index.php?act=findpost&pid=321690"][{POST_SNAPBACK}][/a]


Thanks, tycho. I'm really grateful for your work on REACT. About the flac-image option, let's say I have a single-file image of an album, how do I go about transcoding selected individual tracks to lossy? I usually transcode from individual FLAC files using batchenc. I've never used cuesheets before.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-08-23 13:49:19
Use ACDIR (link in first post). If you want to both have a FLAC image and individual mp3 files for your portable, you should use something like:

Code: [Select]
[flaclame-image]
DESCRIPTION=Create FLAC and LAME -V8 mp3 files
ImageExt=flac
CuesheetExt=flac.cue
WaveGainAnalysis=1
WaveGainExtraOpt=
outdir1=E:\My Music\_Portable\$album$
1=>"C:\Programs\Batchenc\wapet.exe" "@image@" -f "CUESHEET=@cuesheet@" "C:\Programs\Batchenc\flac.exe" -8 -f -V --replay-gain "@source@" -o "@image@" -T ARTIST="@artist@" -T ALBUM="@album@" -T DATE="@year@" -T GENRE="@genre@" -T COMMENT="FLAC 1.1.2 + REACT"
2=>if errorlevel 1 pause
3=>"C:\Programs\Batchenc\acdir.exe" --overwrite --output "@outdir1@\$n. $~t - $~a.mp3" --pipe "C:\Programs\Batchenc\lame397a11.exe -V8 --vbr-new --ignore-tag-errors --add-id3v2 --pad-id3v2 --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qLAME 3.97a11 -V8 vbr-new + REACT$q $x - $#o" "@sourcecuesheet@"
4=>if errorlevel 1 pause
5=>del "@source@"
You can't select individual tracks with this method - all tracks will be encoded. However, you can use ACDIR anytime later using only the flac image to encode e.g. ogg track files. Put the following in a file image2ogg.bat:
Code: [Select]
@"C:\Programs\Batchenc\acdir.exe" --output "$n - $~t - $~a.ogg" --pipe "C:\Programs\Batchenc\oggenc2.exe --title $#t --artist $#a --album $#T --tracknum $#n #ifdef$r{GENRE}--genre $#r{GENRE}#endif #ifdef$r{DATE}--date $#r{DATE}#endif -o $#o $x -" %1 %2 %3 %4 %5 %6 %7 %8 %9
And run it:
mage2ogg.bat somealbum.flac.cue

You can also encode individual tracks from the album with the acdir option --track n-m.

PS: None of the above is tested, so take care.

/Edit: Did some testing, and found that the executable which is piped from ACDIR does not accept quoting with $q. (Updated code block). However $q can be used to surround e.g. the comment tag, which is strange. Nyaochi - you may look at this. Another thing which would be great is if you could return error codes from acdir on error (so that "if errorlevel 1 pause" kicks in).
Title: New tool: React - [Run EAC Tasks]
Post by: kindofblue on 2005-08-24 03:42:39
Thanks for the info, tycho. Gonna have a look at this ACDIR later.
Title: New tool: React - [Run EAC Tasks]
Post by: kindofblue on 2005-09-16 03:29:34
How do I put 'Album Artist' tags in my encodes? EAC 0.95 beta 3 has support for the album artist tag: IIRC, %A is for track artist, %D is for CD (or album) artist. I'd like to be able to use it with REACT. Specifically, I'd like to use it in my destination path, something like:

Code: [Select]
dest1=E:\My Music\_Lossless\@album artist@\$album$\@track@. $title$ - @artist@.flac


I would appreciate any suggestions.

Thanks,
Kindofblue
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-09-16 13:31:14
You have access to all parameters that can be passed to the encoder:
Quote
Q:Which flags can I use in the external compression scheme "User Defined
   MP3 Encoder"?
A:In the field "Additional command line options" you could use
   replacements for the selectable options :

    %s        Source filename
    %d        Destination filename
    %h...%h   Text "..." only when "High quality" selected
    %l...%l   Text "..." only when "Low quality" selected
    %c...%c   Text "..." only when "CRC checksum" selected
    %r        Bitrate ("32".."320")
    %a        CD artist
    %g        CD title
    %t        Track title
    %y        Year
    %n        Track number
    %m        MP3 music genre
    %o        Original filename (without temporary renaming)
    %e        Comment (as selected in EAC)
    %b        CRC of extracted track
    %f        freedb ID
    %x        Number of tracks on album

It seems that only %a = "CD artist" is passed if the doc is correct. However, I would guess when "Various artists" is checked, it is the "Track artist" that is passed (because the CD artist is always "Various"). Unfortunately the external encoder program - in this case REACT - can therefore not know whether the "Various artists" was checked or not.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-09-18 23:08:37
I'm really confused about how to configure REACT and what I need. I have:

EAC in D:\Audio\Exact Audio Copy .95
WaveGain in D:\Audio\WaveGain
LAME in D:\Audio\LAME\3.97b1

I want to:
Rip a CD
Use album gain
Encode MP3s to H:\TAGZ\-MB\Archive (high quality)
Encode MP3s to H:\TAGZ\-MB\Portable (low quality)
Delete the wav files

I've setup EAC to use REACT but as I look at the ini file I'm lost.
Do I need to comment all the entries that are not LAME and if so how?
Do I need to change anything other than the WaveGaine path in the Settings section to make it do what I want?
Do I need ACDIR?
Do I need to use the image/cuesheet option and will that mean the gain, track splitting and encoding will be done?

Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: kindofblue on 2005-09-19 03:04:29
Quote
You have access to all parameters that can be passed to the encoder:
Quote
Q:Which flags can I use in the external compression scheme "User Defined
   MP3 Encoder"?
A:In the field "Additional command line options" you could use
   replacements for the selectable options :

    %s        Source filename
    %d        Destination filename
    %h...%h   Text "..." only when "High quality" selected
    %l...%l   Text "..." only when "Low quality" selected
    %c...%c   Text "..." only when "CRC checksum" selected
    %r        Bitrate ("32".."320")
    %a        CD artist
    %g        CD title
    %t        Track title
    %y        Year
    %n        Track number
    %m        MP3 music genre
    %o        Original filename (without temporary renaming)
    %e        Comment (as selected in EAC)
    %b        CRC of extracted track
    %f        freedb ID
    %x        Number of tracks on album

It seems that only %a = "CD artist" is passed if the doc is correct. However, I would guess when "Various artists" is checked, it is the "Track artist" that is passed (because the CD artist is always "Various"). Unfortunately the external encoder program - in this case REACT - can therefore not know whether the "Various artists" was checked or not.
[a href="index.php?act=findpost&pid=327260"][{POST_SNAPBACK}][/a]


So there's no way to use @album artist@ as a replacement variable? Too bad. <Sigh> It works in file naming in EAC, though.

@wolfsong:

Do I need to comment all the entries that are not LAME and if so how?  No you don't.

Do I need to change anything other than the WaveGaine path in the Settings section to make it do what I want?  Don't forget to specify the path for your encoders (or include them in your PATH=).

Do I need ACDIR? Only if you plan to encode to a lossless image file instead of individual tracks.

Do I need to use the image/cuesheet option and will that mean the gain, track splitting and encoding will be done?  Not sure about that one. Haven't tried image/cuesheet encoding yet.

cheers
kindofblue
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-09-19 03:14:18
Quote
@wolfsong:

Do I need to comment all the entries that are not LAME and if so how?  No you don't.

Do I need to change anything other than the WaveGaine path in the Settings section to make it do what I want?  Don't forget to specify the path for your encoders (or include them in your PATH=).

Do I need ACDIR? Only if you plan to encode to a lossless image file instead of individual tracks.

Do I need to use the image/cuesheet option and will that mean the gain, track splitting and encoding will be done?  Not sure about that one. Haven't tried image/cuesheet encoding yet.

cheers
kindofblue
[a href="index.php?act=findpost&pid=327965"][{POST_SNAPBACK}][/a]

So far nothing happens after the the extraction is complete. All I get is the wav and cuesheet.
Title: New tool: React - [Run EAC Tasks]
Post by: kindofblue on 2005-09-19 03:33:21
Could you post your config file?
Title: New tool: React - [Run EAC Tasks]
Post by: kindofblue on 2005-09-19 03:33:56
Could you post your config file?
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-09-19 03:40:19
Quote
Could you post your config file?
[a href="index.php?act=findpost&pid=327980"][{POST_SNAPBACK}][/a]

Code: [Select]
[Settings]
Version=0.983
EAC=D:\Audio\Exact Audio Copy .95\EAC.exe
WaveGain=D:\Audio\WaveGain\WaveGain.exe
LogFile=D:\Audio\Exact Audio Copy .95\REACT_log.txt
ImageHotkey={F10}
ImageNaming=$artist$--$album$--@year@
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
MinimizeCompressionWindow=
ProcessPriority=1
ImageMenuString=&Action|Copy &Image && Create CUE Sheet|Compressed...
SaveWaveformString=Save Waveform
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[lame-tracks]
DESCRIPTION=Create lame -V2 mp3 files
dest1=@mydocumentsdir@\My Music\MP3_ARCHIVE\$artist$ - $album$\@track@ - $title$.mp3
1=>lame.exe -V2 --vbr-new --nohist "@source@" "@dest1@" --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" --tc "T@track@/@numtracks@,REACT+lame -V2"
2=>if errorlevel 1 pause
3=>del "@source@"

[lame-image]
DESCRIPTION=Create RG album gained lame -V4 mp3 image
ImageExt=mp3
CuesheetExt=cue
WaveGainAnalysis=2
WaveGainExtraOpt=
1=>lame.exe -V4 --vbr-new --nohist --noreplaygain --scale @scale@ "@source@" "@image@" --ta "@artist@" --tl "@album@" --tt "(RG: @gain@, @curdate@)" --tn @numtracks@ --ty "@year@" --tg "@genre@" --tc "REACT+lame -V4 --vbr-new"
2=>if errorlevel 1 pause
3=>del "@source@"

[flashplayer-tracks]
DESCRIPTION=Create lame -V6 mp3's and send to portable player
dest1=@removabledrive1@\$artist$ - $album$\@track@ - $title$.mp3
1=>lame.exe -V6 --vbr-new --nohist "@source@" "@dest1@" --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" --tc "T@track@/@numtracks@,REACT+lame -V6"
2=>if errorlevel 1 pause
3=>del "@source@"

[flashplayer-image]
DESCRIPTION=Create RG album gained lame -V6 mp3's with acdir, and send to portable player
ImageExt=wav
CuesheetExt=wav.cue
WaveGainAnalysis=1
WaveGainExtraOpt=--gain 3
outdir1=@removabledrive1@\$artist$ - $album$
1=>acdir.exe --overwrite --output "@outdir1@\$n - $t.mp3" --pipe "lame.exe -V6 --vbr-new --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qRG: @gain@=>92dB; #T @numtracks@; lame-V6$q $x - $#o" "@sourcecuesheet@"
2=>if errorlevel 1 pause
3=>del "@source@"

[fhgacm-tracks]
DESCRIPTION=Create Fhg ACM MP3 files
dest1=@mydocumentsdir@\My Music\MP3_FHG\$artist$ - $album$\@track@ - $title$.mp3
1=>acmenc.exe -p fiis-pro -b @bitrate@ --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" --tc "REACT + FhG Pro ACM" "@source@" "@dest1@"
2=>if errorlevel 1 pause
3=>del "@source@"

[fhgacm-image]
DESCRIPTION=Create Fhg ACM MP3 image
ImageExt=mp3
CuesheetExt=cue
1=>acmenc.exe -p fiis-pro -b @bitrate@ --id3v1-only --ta "@artist@" --tl "@album@" --ty "@year@" --tg "@genre@" --tc "REACT + FhG Pro ACM" "@source@" "@image@"
2=>if errorlevel 1 pause
3=>del "@source@"

[itunes-tracks]
DESCRIPTION=Create iTunes AAC files
dest1=@mydocumentsdir@\My Music\AAC\$artist$ - $album$\@track@ - $title$.aac
1=>iTunesEncode.exe -a "@artist@" -l "@album@" -n "@track@" -t "@title@" -y "@year@" -g "@genre@" -c "REACT + iTunes" -i "@source@" -o "@dest1@"
2=>if errorlevel 1 pause
3=>del "@source@"

[itunes-image]
DESCRIPTION=itunes-image. Not available.
1=>pause

[mpc-tracks]
DESCRIPTION=Create mpc files
dest1=@mydocumentsdir@\My Music\MPC\$artist$ - $album$\@track@ - $title$.mpc
1=>mppenc.exe --overwrite --artist "@artist@" --album "@album@" --title "@title@" --track "@track@" --year "@year@" --genre "@genre@" --comment "@comment@" "@source@" "@dest1@"
2=>if errorlevel 1 pause
3=>del "@source@"

[mpc-image]
DESCRIPTION=Create RG album gained mpc files with acdir from wav image
ImageExt=wav
CuesheetExt=wav.cue
WaveGainAnalysis=1
WaveGainExtraOpt=
outdir1=@mydocumentsdir@\My Music\MPC\$artist$ - $album$
1=>acdir.exe --overwrite --output "@outdir1@\$n - $t.mpc" --pipe "mppenc.exe --overwrite --scale @scale@ --artist $#a --album $#T --title $#t --track $#n --releasedate $#r{DATE} --genre $#r{GENRE} --comment $q@comment@$q $x - $#o" "@sourcecuesheet@"
2=>if errorlevel 1 pause
3=>del "@source@"

[apeogg-tracks]
DESCRIPTION=Create ogg -q 5 files
dest1=@mydocumentsdir@\My Music\OGG_ARCHIVE\$artist$ - $album$\@track@ - $title$.ogg
1=>oggenc2.exe -q 5 "@source@" -o "@dest1@" --artist "@artist@" --album "@album@" --title "@title@" --tracknum "@track@" --date "@year@" --genre "@genre@" -c "COMMENT=@comment@"
2=>if errorlevel 1 pause
3=>del "@source@"

[apeogg-image]
DESCRIPTION=Create Monkey's Audio image with RG tags and embedded cuesheet, and RG album gained ogg -q 3 files
ImageExt=ape
CuesheetExt=ape.cue
WaveGainAnalysis=1
WaveGainExtraOpt=
outdir1=@mydocumentsdir@\My Music\OGG_PORTABLE\$artist$ - $album$
1=>wapet.exe "@image@" -f "CUESHEET=@cuesheet@" -t "REPLAYGAIN_ALBUM_GAIN=@gain@" -t "REPLAYGAIN_ALBUM_PEAK=@peak@" -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "COMMENT=@comment@" MAC.exe "@source@" "@image@" -c2000
2=>if errorlevel 1 pause
3=>acdir.exe --overwrite --output "@outdir1@\$n - $t.ogg" --pipe "oggenc2.exe -q 3 --scale @scale@ --artist $#a --album $#T --title $#t --tracknum $#n --date $#r{DATE} --genre $#r{GENRE} -c $qCOMMENT=@comment@$q -o $#o $x -" "@sourcecuesheet@"
4=>if errorlevel 1 pause
5=>del "@source@"

[flac-tracks]
DESCRIPTION=Create flac files with replaygain ogg tags
dest1=@mydocumentsdir@\My Music\FLAC\$artist$ - $album$\@track@ - $title$.flac
1=>flac.exe -5 -f --replay-gain "@source@" -o "@dest1@" -T ARTIST="@artist@" -T ALBUM="@album@" -T TRACKNUMBER="@track@" -T TITLE="@title@" -T DATE="@year@" -T GENRE="@genre@" -T COMMENT="@comment@"
2=>if errorlevel 1 pause
3=>del "@source@"

[flac-image]
DESCRIPTION=Create flac image with APEv2 embedded cuesheet and ogg replaygain tags
ImageExt=flac
CuesheetExt=flac.cue
1=>wapet.exe "@image@" -f "CUESHEET=@cuesheet@" flac.exe -5 -f --replay-gain "@source@" -o "@image@" -T ARTIST="@artist@" -T ALBUM="@album@" -T DATE="@year@" -T GENRE="@genre@" -T COMMENT="@comment@"
2=>if errorlevel 1 pause
3=>del "@source@"

[wavpack-tracks]
DESCRIPTION=Create wavpack files
dest1=@mydocumentsdir@\My Music\WAVPACK\$artist$ - $album$\@track@ - $title$.wv
1=>wavpack.exe -h -m -y -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "TITLE=@title@" -w "TRACK=@track@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "COMMENT=@comment@" "@source@" "@dest1@"
2=>if errorlevel 1 pause
3=>del "@source@"

[wavpack-image]
DESCRIPTION=Create wavpack image with APEv2 RG tags and embedded cuesheet
ImageExt=wv
CuesheetExt=wv.cue
WaveGainAnalysis=1
WaveGainExtraOpt=
1=>wavpack.exe -h -m -y -w "CUESHEET=@@cuesheet@" -w "REPLAYGAIN_ALBUM_GAIN=@gain@" -w "REPLAYGAIN_ALBUM_PEAK=@peak@" -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "COMMENT=@comment@" "@source@" "@image@"
2=>if errorlevel 1 pause
3=>del "@source@"
I'd also like it to encode again with -V 0 --vbr-new but I don't know where I'm supposed to add it.
Title: New tool: React - [Run EAC Tasks]
Post by: Gabes Dad on 2005-09-19 06:09:46
Ok, I've been trying to figure this out for a while, but finally figured I would just ask for some help.

I want to create individual flac and ogg tracks created from a single wavegained .wav image of a CD, and then track replaygain the ogg files (the flac files can do this during encoding) and finally delete the .wav image when all done.

That way I end up with Album wavegained and track replaygained flac files for backup and PC listening and ogg files for portable listening on my Palm.

I figured I should approach this as if I were creating a .wav image and then use ACDIR to split out both individual flac and ogg files.  Is this the best way to do this?

Also is it possible to add in next line after the ogg encoding vorbisgain comand lines to track gain the ogg files?

If this is all possible could someone create a sample .ini outline of how this all works out.  I also am getting confused in the tagging syntax differences between ACDIR and REACT.

I'll try it out in the meantime.  Thanks for the help.
Title: New tool: React - [Run EAC Tasks]
Post by: ponchorage on 2005-09-19 14:03:55
Quote
Ok, I've been trying to figure this out for a while, but finally figured I would just ask for some help.

I want to create individual flac and ogg tracks created from a single wavegained .wav image of a CD, and then track replaygain the ogg files (the flac files can do this during encoding) and finally delete the .wav image when all done.

That way I end up with Album wavegained and track replaygained flac files for backup and PC listening and ogg files for portable listening on my Palm.

I figured I should approach this as if I were creating a .wav image and then use ACDIR to split out both individual flac and ogg files.  Is this the best way to do this?

Also is it possible to add in next line after the ogg encoding vorbisgain comand lines to track gain the ogg files?

If this is all possible could someone create a sample .ini outline of how this all works out.  I also am getting confused in the tagging syntax differences between ACDIR and REACT.

I'll try it out in the meantime.  Thanks for the help.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=328010")


[a href="http://www.uninformative.com/flacattack]Flacattack[/url] can also do what you are looking for. Don't mean to steal this thread, just offering an alternative solution.
Title: New tool: React - [Run EAC Tasks]
Post by: Gabes Dad on 2005-09-19 14:19:01
ponchorage, thanks for the suggestion - I'll check it out.

Edit:[/i] Does FlacAttack support wavegain?
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-09-19 14:54:40
@wolfsong
Here is how you create album gained lame mp3 tracks in both archive and portable quality. Simplest way is to use ACDIR and rip in image mode (F10): Use this ini file:
Code: [Select]
Settings]
Version=0.983
EAC=D:\Audio\Exact Audio Copy .95\EAC.exe
WaveGain=D:\Audio\WaveGain\WaveGain.exe
LogFile=D:\Audio\Exact Audio Copy .95\REACT_log.txt
ImageHotkey={F10}
ImageNaming=$artist$--$album$--@year@
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
MinimizeCompressionWindow=0
ProcessPriority=1
ImageMenuString=&Action|Copy &Image && Create CUE Sheet|Compressed...
SaveWaveformString=Save Waveform
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[lame-image]
DESCRIPTION=Create RG album gained lame -V2 and -V6 mp3 tracks using ACDIR
ImageExt=wav
CuesheetExt=wav.cue
WaveGainAnalysis=1
WaveGainExtraOpt=
outdir1=H:\TAGZ\-MB\Archive\$artist$ - $album$
outdir2=H:\TAGZ\-MB\Portable\$artist$ - $album$
1=>D:\Audio\ACDIR\acdir.exe --overwrite --output "@outdir1@\$n - $t.mp3" --pipe "D:\Audio\LAME\3.97b1\lame.exe -V2 --vbr-new --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAlbum gained: @gain@; #T @numtracks@$q - $#o" "@sourcecuesheet@"
2=>D:\Audio\ACDIR\acdir.exe --overwrite --output "@outdir2@\$n - $t.mp3" --pipe "D:\Audio\LAME\3.97b1\lame.exe -V6 --vbr-new --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAlbum gained: @gain@; #T @numtracks@$q - $#o" "@sourcecuesheet@"
3=>if errorlevel 1 pause
4=>REM del "@cuesheet@"
5=>del "@source@"


@Gabes Dad: Currently, it is very difficult to create files with both album and track gain info with REACT. I will look into this in the next release. You should however, be able to create both flac and ogg album gained files by using the method described for wolfsong (personally I avoid track gaining). You must replace the lame -V2 command with a flac line, and lame -V6 with an oggenc2 line.

/ADD 1: The flac line should look something like:
Code: [Select]
D:\Audio\ACDIR\acdir.exe --overwrite --output "@outdir1@\$n - $t.flac" --pipe "D:\Audio\FLAC\flac.exe -f -T ARTIST=$#a -T ALBUM=$#T -T TITLE=$#t -T TRACKNUMBER=$#n -T DATE=$#r{DATE} -T GENRE=$#r{GENRE}  COMMENT=$q@comment@$q -T REPLAYGAIN_ALBUM_GAIN=$q@gain@$q REPLAYGAIN_ALBUM_PEAK=$q@peak@$q - -o $#o" "@sourcecuesheet@"

/ADD 2: If you add --replay-gain to the flac command it should set both a REPLAYGAIN_TRACK_GAIN and a REPLAYGAIN_ALBUM_GAIN tag. If the -T REPLAYGAIN_ALBUM_GAIN is applied after that, you should get both tags correct.

/ADD 3: Just tried. It didn't work . --replay-gain is applied after the tagging options.
Title: New tool: React - [Run EAC Tasks]
Post by: ponchorage on 2005-09-19 15:13:40
Quote
ponchorage, thanks for the suggestion - I'll check it out.

Edit:[/i] Does FlacAttack support wavegain?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=328086")


[a href="http://www.uninformative.com/wack]Wack[/url] does. It is very similar to Flacattack and will also do what you're tyring to accomplish.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-09-19 16:08:33
/EDITED: You have to use metaflac after encoding, because flac doesn't allow --replay-gain with stdin wav-data. See next post.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-09-19 22:17:51
@Gabes Dad: If you overwrite album gain tags using Tag.exe after metaflac --add-replay-gain, you should get FLAC tracks with album/track gain/peak + OGG album gained scaled tracks.
Code: [Select]
[flac_ogg-image]
DESCRIPTION=Create RG album/track gained flac tracks + album gained ogg tracks.
ImageExt=wav
CuesheetExt=wav.cue
WaveGainAnalysis=1
WaveGainExtraOpt=
outdir1=D:\Music\FLAC\$artist$ - $album$
outdir2=D:\Music\OGG\$artist$ - $album$
1=>D:\Audio\ACDIR\acdir.exe --overwrite --output "@outdir1@\$n - $t.flac" --pipe "D:\Audio\FLAC\flac.exe -f  -T ARTIST=$#a -T ALBUM=$#T -T TITLE=$#t -T TRACKNUMBER=$#n -T DATE=$#r{DATE} -T GENRE=$#r{GENRE}  COMMENT=$q@comment@$q -o $#o -" "@sourcecuesheet@"
2=>for %%i in ("@outdir1@\*.flac") do D:\Audio\FLAC\metaflac.exe --add-replay-gain "%%i"
3=>D:\Audio\TAG\Tag.exe -t REPLAYGAIN_ALBUM_GAIN="@gain@" -t REPLAYGAIN_ALBUM_PEAK="@peak@" "@outdir1@\*.flac"
4=>D:\Audio\ACDIR\acdir.exe --overwrite --output "@outdir2@\$n - $t.ogg" --pipe "D:\Audio\VORBIS\oggenc2.exe --scale @scale@ --artist $#a --album $#T --title $#t --tracknum $#n --date $#r{DATE} --genre $#r{GENRE} -c $qCOMMENT=@comment@$q -o $#o -" "@sourcecuesheet@"
5=>if errorlevel 1 pause
6=>del "@cuesheet@"
7=>del "@source@"
Title: New tool: React - [Run EAC Tasks]
Post by: kindofblue on 2005-09-20 05:48:46
Interesting. So with this setup you rip to a WAV image and end up with individual lossless files?

I think Andre Wiethoff has promised inclusion of a Test and Copy Image command for the next EAC release. That would dovetail nicely with this method.

@tycho: for the next release could you consider adding @album artist@ or @CDartist@ as a substitution variable?

thanks for all your work on this tool.

regards,
kindofblue
Title: New tool: React - [Run EAC Tasks]
Post by: Gabes Dad on 2005-09-21 03:56:13
tycho, thanks for the advice.  Still trying to get it to work, but I have a question while I'm doing a test run.

By default, wavegain in REACT is set to only calculate and output the scaling factor, but not change the wav file itself.  Is it possible to put the -y argument in the WaveGainExtraOpt parameter to apply the scaling factor to the wav image before encoding so that one will not have to use the scale factor with each encoder?

This would create files that would be scaled to an album gain calculated value without neading a replaygain album gain tag.

Does this method create quality issues?

Thanks for the help.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-09-21 06:33:52
Quote
By default, wavegain in REACT is set to only calculate and output the scaling factor, but not change the wav file itself.[a href="index.php?act=findpost&pid=328492"][{POST_SNAPBACK}][/a]

I was afraid that might be the case. I actually want the gain applied to the wav file.

@tycho
I tried your settings and although I was able to create the two files I wanted, one of the tracks came back empty but the error file gave no indication of a problem. Is there a verbose logging?
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-09-21 08:07:13
Gabes Dad: Yes, you may set WaveGainExtraOpt=--apply in order to apply the changes to the wave file. It has no perceivable quality loss, but you will loose the original RG information, which is sometimes nice to know. You don't need to apply the values on lossless formats, because Foobar2k and other software players can play back your files with RG values applied.

wolfsong: Sorry that the setup didn't work for you. I can't see anything immediately wrong with it. To me it sounds like it was something else that went wrong. PS: You shouldn't add the --apply to wavegain, because you apply the RG values through the --scale option in the lame commands instead, which is the recommended way.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-09-25 14:34:40
Quote
wolfsong: Sorry that the setup didn't work for you. I can't see anything immediately wrong with it. To me it sounds like it was something else that went wrong.
[a href="index.php?act=findpost&pid=328513"][{POST_SNAPBACK}][/a]

I agree but can't tell from the log file what went wrong. I just get the error during the encoding and nothing gets captured.

Code: [Select]
----- [lame-image] ----- 2005-09-19 22:16:17
@echo Disc info   : "Eels" - "Blinking Lights And Other Revelations (disc 2)"
@echo Description : "Create RG album gained lame -V2 and -V6 mp3 tracks using ACDIR"
D:\Audio\ACDIR\acdir.exe --overwrite --output "H:\TAGZ\-MB\Archive\Eels - Blinking Lights And Other Revelations (disc 2)\$n - $t.mp3" --pipe "D:\Audio\LAME\3.97b1\lame.exe -V0 --vbr-new --scale 1.0 --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAlbum gained: 0.0; #T 16$q - $#o" "H:\TAGZ\-BOOST\Ctmp54266-react.cue"
D:\Audio\ACDIR\acdir.exe --overwrite --output "H:\TAGZ\-MB\Portable\Eels - Blinking Lights And Other Revelations (disc 2)\$n - $t.mp3" --pipe "D:\Audio\LAME\3.97b1\lame.exe -V4 --scale 1.0 --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAlbum gained: 0.0; #T 16$q - $#o" "H:\TAGZ\-BOOST\Ctmp54266-react.cue"
if errorlevel 1 pause
REM del "H:\TAGZ\-BOOST\CDImage.wav.cue"
del "H:\TAGZ\-BOOST\Ctmp54266.wav"

Quote
PS: You shouldn't add the --apply to wavegain, because you apply the RG values through the --scale option in the lame commands instead, which is the recommended way.
[a href="index.php?act=findpost&pid=328513"][{POST_SNAPBACK}][/a]
But will scale work on all players, in particular portable ones? I still have all of the CDs so I don't have a need currently to convert them back to audio CDs but I am thinking that at some point I should have a true backup of all my CDs that I can do this with. Right now I just don't have the storage space.

My primary use of these files is to have music while I'm on the go (quality should be good enough to not miss the CDs but file size is of greater concern) and while at home (quality can be greater here if needed and increase in file size is acceptable) when sitting at the PC or streaming throughout the house to another computer or player where foobar is not an option. I normally use QCD/QMP for playback, not foobar.

If I still wanted to apply the RG values would I need to change anything else in the configuration? Remove the scale options perhaps?

Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: BoneJazz on 2005-09-26 13:41:01
@tycho

I'm having some problems with your app and EAC 0.9b4.
I know this is an old EAC version, but this is the only version that works with my notebook drive when it comes to writing CD-R.

Once launched React 0.983 and hitting Yes, EAC starts but it crashes immediately (small windows from the center of the screen moving towards bottom right and I can not read the content of the windows) and I can't use it anymore; I've tried to reinstall eac, erase registry entry but nothing happens. Simply EAC doesn't run.

This is ini file created:
[/CODE]
[Settings]
Version=0.983
EAC=C:\Audio Tools\EAC_Old\EAC.exe
WaveGain=WaveGain.exe
LogFile=C:\Audio Tools\EAC_Old\REACT_log.txt
ImageHotkey={F10}
ImageNaming=$artist$--$album$--@year@
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
MinimizeCompressionWindow=1
ProcessPriority=1
ImageMenuString=&Action|Copy &Image && Create CUE Sheet|Compressed...
SaveWaveformString=Save Waveform
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[lame-tracks]
DESCRIPTION=Create lame -V2 mp3 files
dest1=@mydocumentsdir@\My Music\MP3_ARCHIVE\$artist$ - $album$\@track@ - $title$.mp3
1=>lame.exe -V2 --vbr-new --nohist "@source@" "@dest1@" --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" --tc "T@track@/@numtracks@,REACT+lame -V2"
2=>if errorlevel 1 pause
3=>del "@source@"

[lame-image]
DESCRIPTION=Create RG album gained lame -V2 mp3 image
ImageExt=mp3
CuesheetExt=cue
WaveGainAnalysis=2
WaveGainExtraOpt=
1=>lame.exe -V2 --vbr-new --nohist --noreplaygain --scale @scale@ "@source@" "@image@" --id3v1-only --ta "@artist@" --tl "@album@" --tt "(RG: @gain@, @curdate@)" --tn @numtracks@ --ty "@year@" --tg "@genre@" --tc "REACT+lame -V2 --vbr-new"
2=>if errorlevel 1 pause
3=>del "@source@"

[flashplayer-tracks]
DESCRIPTION=Create lame -V6 mp3's and send to portable player
dest1=@removabledrive1@\$artist$ - $album$\@track@ - $title$.mp3
1=>lame.exe -V6 --vbr-new --nohist "@source@" "@dest1@" --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" --tc "T@track@/@numtracks@,REACT+lame -V6"
2=>if errorlevel 1 pause
3=>del "@source@"

[flashplayer-image]
DESCRIPTION=Create RG album gained lame -V6 mp3's with acdir, and send to portable player
ImageExt=wav
CuesheetExt=wav.cue
WaveGainAnalysis=1
WaveGainExtraOpt=--gain 3
outdir1=@removabledrive1@\$artist$ - $album$
1=>acdir.exe --overwrite --output "@outdir1@\$n - $t.mp3" --pipe "lame.exe -V6 --vbr-new --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qRG: @gain@=>92dB; #T @numtracks@; lame-V6$q $x - $#o" "@sourcecuesheet@"
2=>if errorlevel 1 pause
3=>del "@source@"

[fhgacm-tracks]
DESCRIPTION=Create Fhg ACM MP3 files
dest1=@mydocumentsdir@\My Music\MP3_FHG\$artist$ - $album$\@track@ - $title$.mp3
1=>acmenc.exe -p fiis-pro -b @bitrate@ --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" --tc "REACT + FhG Pro ACM" "@source@" "@dest1@"
2=>if errorlevel 1 pause
3=>del "@source@"

[fhgacm-image]
DESCRIPTION=Create Fhg ACM MP3 image
ImageExt=mp3
CuesheetExt=cue
1=>acmenc.exe -p fiis-pro -b @bitrate@ --id3v1-only --ta "@artist@" --tl "@album@" --ty "@year@" --tg "@genre@" --tc "REACT + FhG Pro ACM" "@source@" "@image@"
2=>if errorlevel 1 pause
3=>del "@source@"

[itunes-tracks]
DESCRIPTION=Create iTunes AAC files
dest1=@mydocumentsdir@\My Music\AAC\$artist$ - $album$\@track@ - $title$.aac
1=>iTunesEncode.exe -a "@artist@" -l "@album@" -n "@track@" -t "@title@" -y "@year@" -g "@genre@" -c "REACT + iTunes" -i "@source@" -o "@dest1@"
2=>if errorlevel 1 pause
3=>del "@source@"

[itunes-image]
DESCRIPTION=itunes-image. Not available.
1=>pause

[mpc-tracks]
DESCRIPTION=Create mpc files
dest1=@mydocumentsdir@\My Music\MPC\$artist$ - $album$\@track@ - $title$.mpc
1=>mppenc.exe --overwrite --artist "@artist@" --album "@album@" --title "@title@" --track "@track@" --year "@year@" --genre "@genre@" --comment "@comment@" "@source@" "@dest1@"
2=>if errorlevel 1 pause
3=>del "@source@"

[mpc-image]
DESCRIPTION=Create RG album gained mpc files with acdir from wav image
ImageExt=wav
CuesheetExt=wav.cue
WaveGainAnalysis=1
WaveGainExtraOpt=
outdir1=@mydocumentsdir@\My Music\MPC\$artist$ - $album$
1=>acdir.exe --overwrite --output "@outdir1@\$n - $t.mpc" --pipe "mppenc.exe --overwrite --scale @scale@ --artist $#a --album $#T --title $#t --track $#n --releasedate $#r{DATE} --genre $#r{GENRE} --comment $q@comment@$q $x - $#o" "@sourcecuesheet@"
2=>if errorlevel 1 pause
3=>del "@source@"

[apeogg-tracks]
DESCRIPTION=Create ogg -q 5 files
dest1=@mydocumentsdir@\My Music\OGG_ARCHIVE\$artist$ - $album$\@track@ - $title$.ogg
1=>oggenc2.exe -q 5 "@source@" -o "@dest1@" --artist "@artist@" --album "@album@" --title "@title@" --tracknum "@track@" --date "@year@" --genre "@genre@" -c "COMMENT=@comment@"
2=>if errorlevel 1 pause
3=>del "@source@"

[apeogg-image]
DESCRIPTION=Create Monkey's Audio image with RG tags and embedded cuesheet, and RG album gained ogg -q 3 files
ImageExt=ape
CuesheetExt=ape.cue
WaveGainAnalysis=1
WaveGainExtraOpt=
outdir1=@mydocumentsdir@\My Music\OGG_PORTABLE\$artist$ - $album$
1=>wapet.exe "@image@" -f "CUESHEET=@cuesheet@" -t "REPLAYGAIN_ALBUM_GAIN=@gain@" -t "REPLAYGAIN_ALBUM_PEAK=@peak@" -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "COMMENT=@comment@" MAC.exe "@source@" "@image@" -c2000
2=>if errorlevel 1 pause
3=>acdir.exe --overwrite --output "@outdir1@\$n - $t.ogg" --pipe "oggenc2.exe -q 3 --scale @scale@ --artist $#a --album $#T --title $#t --tracknum $#n --date $#r{DATE} --genre $#r{GENRE} -c $qCOMMENT=@comment@$q -o $#o $x -" "@sourcecuesheet@"
4=>if errorlevel 1 pause
5=>del "@source@"

[flac-tracks]
DESCRIPTION=Create flac files with replaygain ogg tags
dest1=@mydocumentsdir@\My Music\FLAC\$artist$ - $album$\@track@ - $title$.flac
1=>flac.exe -5 -f --replay-gain "@source@" -o "@dest1@" -T ARTIST="@artist@" -T ALBUM="@album@" -T TRACKNUMBER="@track@" -T TITLE="@title@" -T DATE="@year@" -T GENRE="@genre@" -T COMMENT="@comment@"
2=>if errorlevel 1 pause
3=>del "@source@"

[flac-image]
DESCRIPTION=Create flac image with APEv2 embedded cuesheet and ogg replaygain tags
ImageExt=flac
CuesheetExt=flac.cue
1=>wapet.exe "@image@" -f "CUESHEET=@cuesheet@" flac.exe -5 -f --replay-gain "@source@" -o "@image@" -T ARTIST="@artist@" -T ALBUM="@album@" -T DATE="@year@" -T GENRE="@genre@" -T COMMENT="@comment@"
2=>if errorlevel 1 pause
3=>del "@source@"

[wavpack-tracks]
DESCRIPTION=Create wavpack files
dest1=@mydocumentsdir@\My Music\WAVPACK\$artist$ - $album$\@track@ - $title$.wv
1=>wavpack.exe -h -m -y -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "TITLE=@title@" -w "TRACK=@track@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "COMMENT=@comment@" "@source@" "@dest1@"
2=>if errorlevel 1 pause
3=>del "@source@"

[wavpack-image]
DESCRIPTION=Create wavpack image with APEv2 RG tags and embedded cuesheet
ImageExt=wv
CuesheetExt=wv.cue
WaveGainAnalysis=1
WaveGainExtraOpt=
1=>wavpack.exe -h -m -y -w "CUESHEET=@@cuesheet@" -w "REPLAYGAIN_ALBUM_GAIN=@gain@" -w "REPLAYGAIN_ALBUM_PEAK=@peak@" -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "COMMENT=@comment@" "@source@" "@image@"
2=>if errorlevel 1 pause
3=>del "@source@"

Thanks in advance for your support and sorry for my bad english
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-09-26 20:34:23
@BoneJazz: Sorry, you must use EAC 0.95. I have no plans to support older versions of EAC.

@wolfsong: change the lines "if errorlevel 1 pause" to simply "pause" for debuggin. You will then be able to see the error message from acdir. (acdir doesn't set a positive errorlevel on failure).

The lame --scale option *applies* the RG values (they are not only stored as metadata), so it will work on all players.

The following three methods creates roughly the same mp3's:
* WaveGain -r --apply file.wav ; lame file.wav file.mp3
* WaveGain -r --calculate file.wav ; lame --scale <scalevalue> file.wav file.mp3
* lame file.wav file.mp3 ; mp3gain /r file.mp3
Title: New tool: React - [Run EAC Tasks]
Post by: BoneJazz on 2005-09-27 23:48:21
Tycho

I've solved the problem cancelling my profiles, deleting the registry entries and restarting my machine (now Old EAC works again!!)

Anayway, thanks for your useful tool.

BoneJazz
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-09-28 02:35:22
Quote
@wolfsong: change the lines "if errorlevel 1 pause" to simply "pause" for debuggin. You will then be able to see the error message from acdir. (acdir doesn't set a positive errorlevel on failure).

The lame --scale option *applies* the RG values (they are not only stored as metadata), so it will work on all players.

The following three methods creates roughly the same mp3's:
* WaveGain -r --apply file.wav ; lame file.wav file.mp3
* WaveGain -r --calculate file.wav ; lame --scale <scalevalue> file.wav file.mp3
* lame file.wav file.mp3 ; mp3gain /r file.mp3
[a href="index.php?act=findpost&pid=329780"][{POST_SNAPBACK}][/a]

Great and thanks.

Two more items. Is there a way to have all the tracks on a VA release saved to the same folder? Are foreign characters not handled well? I tried to rip a Sigur Rós disc and the rip itself went fine but once the encoding was complete I had two directories Sigur Rós and Sigur R=s and both were empty.
Title: New tool: React - [Run EAC Tasks]
Post by: Gabes Dad on 2005-10-08 06:29:59
Tycho,

I Finally got the .ini file to at least create correct files, but I am still having a few problems:

* flac and ogg tags / scale values for album gain are only being written at 1.0 leading me to believe that wavgain is not doing it's job.

* vorbisgain is not running correctly after encoding oggs.

* as a sidenote, is it possible to have either the EAC log or the REACT log saved to archive file location as a record of quality?

Following is the .ini I used:
Code: [Select]
[Settings]
Version=0.983
EAC=G:\Programs\EAC\EAC.exe
WaveGain=G:\Programs\WaveGain\WaveGain.exe
LogFile=G:\Programs\EAC\REACT_log.txt
ImageHotkey={F10}
ImageNaming=$artist$ - $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
MinimizeCompressionWindow=0
ProcessPriority=1
ImageMenuString=&Action|Copy &Image && Create CUE Sheet|Compressed...
SaveWaveformString=Save Waveform
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[flac_ogg_artist-image]
DESCRIPTION=Create RG album/track gained flac tracks + album gained ogg tracks.
ImageExt=wav
CuesheetExt=wav.cue
WaveGainAnalysis=1
WaveGainExtraOpt=
outdir1="G:\Archive Music\$artist$\$album$"
outdir2="G:\Music\$artist$\$album$"
1=>G:\Programs\ACDIR\acdir.exe --overwrite --output "@outdir1@\$a - $T - $n - $t.flac" --pipe "G:\Programs\FLAC\flac.exe -5 -f  -T ARTIST=$#a -T ALBUM=$#T -T TITLE=$#t -T TRACKNUMBER=$#n -T DATE=$#r{DATE} -T GENRE=$#r{GENRE} -T ENCODEDBY=$qEAC + REACT + flac 1.1.2$q -o $#o -" "@sourcecuesheet@"
2=>for %%i in ("@outdir1@\*.flac") do G:\Programs\FLAC\metaflac.exe --add-replay-gain "%%i"
3=>G:\Programs\Tag\Tag.exe -t REPLAYGAIN_ALBUM_GAIN="@gain@" -t REPLAYGAIN_ALBUM_PEAK="@peak@" "@outdir1@\*.flac"
4=>if errorlevel 1 pause
5=>G:\Programs\ACDIR\acdir.exe --overwrite --output "@outdir2@\$a - $T - $n - $t.ogg" --pipe "G:\Programs\Ogg\Lancer_aoTuVb4\oggenc2.exe -q 4 --scale @scale@ --artist $#a --album $#T --title $#t --tracknum $#n --date $#r{DATE} --genre $#r{GENRE} -c $qENCODEDBY=EAC + REACT + Lancer aoTuVb4 ogg$q -o $#o -" "@sourcecuesheet@"
6=>G:\Programs\Ogg\VorbisGain.exe -r -a "@outdir1@\*.ogg"
7=>if errorlevel 1 pause
8=>del "@cuesheet@"
9=>del "@source@"


I checked all of my file paths and they appear to be correct.
Once again, thanks for the help.
Title: New tool: React - [Run EAC Tasks]
Post by: SKiTLz on 2005-11-01 01:07:45
Is there a variable for the first letter of the artist?

I use the Dir structure Music\A\AudioSlave\ etc

so for now REACT wont work for me.
Title: New tool: React - [Run EAC Tasks]
Post by: VCSkier on 2005-11-01 04:52:32
maybe in the next release, there should be a sample in the ini file of ripping to a lossless image, and then splitting to mp3's, as i'm attempting it, and it is a slow and difficult process for someone not familiar w/ these sorts of things...

overall, this is a great tool.  thanks so much tycho.

edit:  lol, it appears we switched threads...  i thought i was posting on the other react thread.
Title: New tool: React - [Run EAC Tasks]
Post by: VCSkier on 2005-11-01 18:48:40
i've been trying to setup react, and after copying lines from various different people's ini's that they have posted, and modifying them to what i thought were my needs, i've gotten to the point where i am stumped.  again, i really dont know what i'm doing, i guessed alot, but this is the relevant part of my current ini file.
Code: [Select]
[Settings]
Config=WAVPACK
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=C:\Documents and Settings\Me\My Documents\My Music
encdir=C:\Program Files\REACT\Encoders
LogFile=
CodePage=1252
MinimizeCompressionWindow=0
ProcessPriority=2
ImageHotkey={F10}
ImageNaming=$artist$ - $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.993
Debug=0

; -- wavpack --
[WAVPACK-image]
Description=Wavpack image with embedded cuesheet and EAC log with LAME -V5 mp3 track files, RG album gain
ImageExt=wv
CuesheetExt=wv.cue
WaveGainAnalysis=1
WaveGainExtraOpt=
destdir1=E:\Music\$cdartist$\$album$
destdir4=@musicdir@\$cdartist$\$album$
dest4=@destdir4@\@track@  $title$
Various-dest4=@destdir4@\@track@ $artist$ - $title$
1=>WAVPACK.EXE -fx6m -w "CUESHEET=@@cuesheet@" -w "LOGFILE=@@eaclog@" -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" "@source@" "@image@"
2=>WVUNPACK.EXE -vm "@image@"
3=>IF ERRORLEVEL 1 PAUSE
4=>acdir.exe --overwrite --output "@outdir1@\$n - $~t.mp3" --pipe "lame.exe -V5 --vbr-new --add-id3v2 --pad-id3v2 --ignore-tag-errors --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAlbum gained: @gain@; #T @numtracks@$q - $#o" "@sourcecuesheet@"
5=>if errorlevel 1 pause
6=>DEL "@source@"
7=>MOVE "@eaclog@" "@destdir1@"
8=>MOVE "@destbase@.*" "@destdir1@"

it apears that somehow, i have broken the f10, copy image function, so i cant get the process to start.  i hope that some sense can be made of this mess i have made...  thanks guys
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-01 22:04:09
Your setup seems fine - no mess at all  (though I haven't tested it).

There have been some reports that people "loose" the hotkey's in the application, and I'm trying to figure out why.  It could be because of the automatic "restore EAC window from mimized" feature that I put in 0.993 -  I will remove that. However, if EAC is minimized, the EAC log file won't be written directly after ripping, so a dummy file will created instead. That will al least avoid failure when trying to embed the EAC log into the audio file.

I may post a new version in a few days.
Title: New tool: React - [Run EAC Tasks]
Post by: VCSkier on 2005-11-02 03:00:31
you were right tycho (of course), i tried it again, and this time the hot key worked, and the process started as planned.  the lossless files were created perfectly, and by watching the display, it looked like the mp3's were created, and the directory is there, as it should be, but the folder is empty; there are no sign of the mp3's...  i dont quite know where they went.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-02 09:30:05
Quote
4=>acdir.exe --overwrite --output "@outdir1@\$n - $~t.mp3" ...

Hi VCSkier.

This is most likely my lack of understanding here, but where is outdir1 defined?

If it's something that you should have defined then I suspect your tracks are in the system32 or the REACT folder.

Did you mean to use destdir4?

Edit: looking at the source I can't see that outdirN is supported anymore...
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-02 09:41:53
I think there is a little mess afterall: First @outdir1@ is not supported anymore - now called @destdir1@. You also define dest4, which is not used. Here's how I would have it.

/Edit: added RG albumgain tags to image as well.
Code: [Select]
[Settings]
Config=WV_MP3
musicdir=C:\Documents and Settings\Me\My Documents\My Music
...

[WV_MP3-image]
Description=Wavpack image with embedded cuesheet and EAC log with LAME -V5 mp3 track files, RG album gain
ImageExt=wv
CuesheetExt=wv.cue
WaveGainAnalysis=1
destdir1=@musicdir@\VW\$cdartist$
destdir2=@musicdir@\MP3\$cdartist$\$album$
1=>wavpack.exe -hmy -w "CUESHEET=@@cuesheet@" -w "LOGFILE=@@eaclog@" -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "REPLAYGAIN_ALBUM_GAIN=@gain@" -w "REPLAYGAIN_ALBUM_PEAK=@peak@" -w "REPLAYGAIN_TRACK_GAIN=@gain@" -w "REPLAYGAIN_TRACK_PEAK=@peak@" "@source@" "@image@"
2=>acdir.exe --overwrite --output "@destdir2@\$n - $~t.mp3" --pipe "lame.exe -V5 --vbr-new --add-id3v2 --pad-id3v2 --ignore-tag-errors --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAlbum gained: @gain@; #T @numtracks@$q - $#o" "@sourcecuesheet@"
3=>DEL "@source@"
4=>MOVE "@eaclog@" "@destdir2@\EAC_log.txt"
5=>MOVE "@destbase@.*" "@destdir1@"
Title: New tool: React - [Run EAC Tasks]
Post by: VCSkier on 2005-11-02 17:22:42
thanks so much for the help guys.  here's what i've got now.

[WV_MP3-image]
Description=Wavpack image with embedded cuesheet and EAC log with LAME -V5 mp3 track files, RG album gain
ImageExt=wv
CuesheetExt=wv.cue
WaveGainAnalysis=1
destdir1=E:\Music\$cdartist$\$album$
destdir2=@musicdir@\$cdartist$\$album$
dest2=@destdir2@\@track@  $title$
Various-dest2=@destdir2@\@track@ $artist$ - $title$

1=>wavpack.exe -fx6my -w "CUESHEET=@@cuesheet@" -w "LOGFILE=@@eaclog@" -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "REPLAYGAIN_ALBUM_GAIN=@gain@" -w "REPLAYGAIN_ALBUM_PEAK=@peak@" -w "REPLAYGAIN_TRACK_GAIN=@gain@" -w "REPLAYGAIN_TRACK_PEAK=@peak@" "@source@" "@image@"
2=>acdir.exe --overwrite --output "@destdir2@\@dest2@.mp3" --pipe "lame.exe -V5 --vbr-new --add-id3v2 --pad-id3v2 --ignore-tag-errors --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAlbum gained: @gain@; #T @numtracks@$q - $#o" "@sourcecuesheet@"
3=>if errorlevel 1 pause
4=>WVUNPACK.EXE -vm "@image@"
5=>IF ERRORLEVEL 1 PAUSE
6=>DEL "@source@"
7=>MOVE "@eaclog@" "@destdir1@"
8=>MOVE "@destbase@.*" "@destdir1@"

i added back in the error level pauses, and some other small changes.  mostly, i'm trying to get a different naming scheme for the mp3's from various artist cd's...  hopefully i did it right.  thanks again guys.  hope i didn't mess it back up. 

edit: highlighted most questionable parts...
Title: New tool: React - [Run EAC Tasks]
Post by: VCSkier on 2005-11-02 18:23:40
Quote
Quote
4=>acdir.exe --overwrite --output "@outdir1@\$n - $~t.mp3" ...

If it's something that you should have defined then I suspect your tracks are in the system32 or the REACT folder.
[a href="index.php?act=findpost&pid=338952"][{POST_SNAPBACK}][/a]

lol, you were right Synthetic Soul.  they were in my REACT folder... 
Title: New tool: React - [Run EAC Tasks]
Post by: Bill02888 on 2005-11-04 05:10:46
I'm using REACT to extract each CD track to a separate file (WavPack). I noticed that some CDs weren't being completely processed; .wav files were being left in the directory, wavgain wasn't being applied, etc.

I found the cause for the CD "Wendy Carlos / Secrets of Synthesis". There are 17 tracks, but the 17th is a data track. This seems to prevent the processing that would normally occur when "@track@"=="@numtracks@".

Quote
destdir1=F:\Audio\CD Rips - WavPack 4.22 Lossless\$cdartist$\$album$
dest1=@destdir1@\@track@ $title$
Various-destdir1=F:\Audio\CD Rips - WavPack 4.22 Lossless\Various\$album$
Various-dest1=@destdir1@\@track@ $artist$ - $title$

1=>@encdir@\Wavpack.exe -hmy "@source@" "@dest1@.wv"
2=>if errorlevel 1 pause
3=>@encdir@\Tag.exe --force ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.wv"
4=>copy "@source@" "@dest1@.wav"
5=>if not "@track@"=="@numtracks@" goto end1
6=>    @encdir@\WaveGain.exe -a "@destdir1@\*.wav" --exec @encdir@\Tag.exe --force ape2 -t "REPLAYGAIN_ALBUM_GAIN=%%ALBUM_GAIN%% dB" -t "REPLAYGAIN_ALBUM_PEAK=%%ALBUM_PEAK%%" -t "REPLAYGAIN_TRACK_GAIN=%%TRACK_GAIN%% dB" -t "REPLAYGAIN_TRACK_PEAK=%%TRACK_PEAK%%" "%%INPUT_FDIR%%\%%INPUT_NAME%%.wv"
7=>    del "@destdir1@\*.wav"
8=>    copy "@eaclog@" "@destdir1@\EAC.log"
9=>:end1
Title: New tool: React - [Run EAC Tasks]
Post by: Bill02888 on 2005-11-04 05:24:36
Does EAC give REACT a way to fill in a Pre-emphasis tag? This could be useful so that I could search all my rips for that tag and then, if necessary, use something like sox to perform the deamphasis step.

(See topic http://www.hydrogenaudio.org/forums/index....topic=38312&hl= (http://www.hydrogenaudio.org/forums/index.php?showtopic=38312&hl=) for more about Pre-emphasis and EAC.)

I realize that Pre-emphasis is obsolete but I've already found 2 of my CDs that have it. I'll need to go through my entire CD collection again (oops!) to check all CDs for Pre-emphasis and handle those accordingly.

If possible, I'd like to use REACT to handle these rare CDs automatically but getting a Pre-emphasis tag in the WavPack files would be a great start!

- Bill
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-04 08:48:43
@VCSkier: Again, in image mode it normally only makes sense to define destdir<N>=.., and not dest<N>=.., because @track@ and $title$ are undefined (EAC's parameters %n and %t).  Use: acdir.exe --output "@destdir2@\$n $~a - $~t.mp3" . ACDIR itself generates the tracknum and title name for each track.

@Bill2888: Yes, and I fear not much can be done about that at the moment. REACT really works best when used in image mode. Remember that you can create individual tracks in this mode as well, by using acdir.exe (also lossless).

About pre-emphasised CDs: If you previously backuped your CDs as image+cue, you can look at the cue files to see if they have pre-emphasis. The cue files then contains 'FLAGS PRE' before each track. In the next release of REACT - *in image mode only* - I will add a variable @preemph@ which will be 0 or 1. You config script can then test for this, e.g:
Code: [Select]
if @preemph@==1 sox.exe "@source@" - deemph | wavpack.exe -hmy - @image@ ...
if @preemph@==0 wavpack.exe -hmy @source@ @image@ ...

The only problem I see here, is that the wavpack image will now become de-emphasised, but the cue file will still have the FLAGS PRE in them, so burning the image back to a CD will make the CD player apply de-emphasis on a non pre-emphasised CD...  REACT could automatically remove the "FLAGS PRE" lines, but is that always what we want?
Title: New tool: React - [Run EAC Tasks]
Post by: [proxima] on 2005-11-04 09:38:17
Quote
I found the cause for the CD "Wendy Carlos / Secrets of Synthesis". There are 17 tracks, but the 17th is a data track. This seems to prevent the processing that would normally occur when "@track@"=="@numtracks@".

I use a different way to start encoding. You can check for the existence of eac log (always created at the end of extraction). For example, i provide my WAVPACK-tracks configuration (but it's very easy to adapt it for your preferite format):
Code: [Select]
[WAVPACK-tracks]
Description=Wavpack track files with APEv2 tags and MD5 checksums
destdir1=@sourcedir@\$cdartist$ - (@year@) $album$
dest1=@destdir1@\@track@ - $title$
Various-dest1=@destdir1@\@track@ - $title$ ($artist$)
1=>echo.> "@dest1@.wv.tmp"
2=>@encdir@\Tag.exe --nocheck --force ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "COMMENT=@comment@" "@dest1@.wv.tmp"
3=>move "@source@" "@dest1@.wav"
;4=>if not "@track@"=="@numtracks@" goto end
4=>if not exist "@eaclog@" goto end
5=>move "@eaclog@" "@destdir1@\$album$.log"
6=>cd /d "@destdir1@"
7=>for %%i in (*.wav) do @encdir@\wavpack.exe -myfx5 "%%i"
8=>for %%i in (*.wv) do @encdir@\Tag.exe --nocheck --force ape2 --fromfile "%%i.tmp" "%%i"
9=>del "*.wv.tmp" "*.wav"
10=>@encdir@\fsum -jm *.* >"@sourcedir@\digest.md5"
11=>move "@sourcedir@\digest.md5" "@destdir1@"
12=>:end

Edit: Note that the "@track@"=="@numtracks@" method works only if the last track of the album is extracted. With this "log checking" you can even rip only the tracks you desire without problems. I think that this trick could be used in the next REACT version tycho certainly will release
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-04 10:08:21
Very clever - I didn't think of that!

Edit: Yes, next release will use this. A simpler way to write your script:
Code: [Select]
[WAVPACK-tracks]
Description=Wavpack track files with APEv2 tags and MD5 checksums
destdir1=@sourcedir@\$cdartist$ - (@year@) $album$
dest1=@destdir1@\@track@ - $title$
Various-dest1=@destdir1@\@track@ - $title$ ($artist$)
1=>@encdir@\wavpack.exe -myfx5 -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "TRACK=@track@" -w "TITLE=@title@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "COMMENT=@comment@" "@source@" "@dest1@.wv"
2=>del "@source@"
3=>if not exist "@eaclog@" goto end
4=>cd /d "@destdir1@"
5=>@encdir@\fsum -jm *.wv > "digest.md5"
6=>move "@eaclog@" "$album$.log"
7=>:end
Title: New tool: React - [Run EAC Tasks]
Post by: [proxima] on 2005-11-04 11:11:16
Thanks but i still prefer to encode all the files when extraction is completed, expecially when using high demanding CPU settings (OptimFROG, Wavpack extra modes...).
I will use your line (now is gone ) for RG calculation. I know this is possible thanks to your WaveGain modifications
Title: New tool: React - [Run EAC Tasks]
Post by: Bill02888 on 2005-11-04 12:33:39
Quote
if not exist "@eaclog@" goto end


Does this cause a problem if I rip the CD twice? For example, sometimes I press F4 and then realize (either right away or after I come back from brushing my teeth) that not all the tracks were selected. So I select all tracks and rip the CD again. If the log already exists, it would perform the encoding steps right away.

Now, if you said "if track is track 1 delete the log" you'd be okay, but ... if you're not ripping track 1 ... 
Title: New tool: React - [Run EAC Tasks]
Post by: [proxima] on 2005-11-04 13:10:10
Yes, it could cause problems if @eaclog@ already exist. This (minor) issue can be resolved deleting manually the log before extraction. Maybe even REACT could do that with a simple source code modification.
Title: New tool: React - [Run EAC Tasks]
Post by: Bill02888 on 2005-11-04 13:56:23
As for Pre-emphasis, I'm no expert when it comes to red book, but ... EAC shows the pre-emphasis on a track-by-track basis. So in theory (but I don't know if it was ever done) a CD could contrain a mixture of regular and pre-emph tracks. If that's the case, it seems a bit odd that EAC wouldn't provide the emphasis value when ripping tracks to separate files. This might also preclude being able to SoX the whole image when just a single track has the pre-emphasis flag set. Again, this probably never happens, but it's something to think about while I'm driving to work.

I think I'll just have a special REACT section for dealing with discs that have pre-emphasis set, will switch to that section manually to process such discs, and will assume that it's set on all tracks.

Happy Friday!
Title: New tool: React - [Run EAC Tasks]
Post by: VCSkier on 2005-11-04 14:38:41
Quote
@VCSkier: Again, in image mode it normally only makes sense to define destdir<N>=.., and not dest<N>=.., because @track@ and $title$ are undefined (EAC's parameters %n and %t).  Use: acdir.exe --output "@destdir2@\$n $~a - $~t.mp3" . ACDIR itself generates the tracknum and title name for each track.[a href="index.php?act=findpost&pid=339466"][{POST_SNAPBACK}][/a]

so is there no way to define a different naming scheme for various artists cd's, when using acdir.exe to split an image?

ps, i'm sorry im asking so many questions.  i'd be asking less questions, and just testing things out for myself more, but my computer is being fixed rignt now...  thanks for being patient.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-11-05 23:20:09
I'm upgrading from an older version of REACT and unsure of what my INI should look like.

The old file:
Code: [Select]
[Settings]
Version=0.983
EAC=D:\Audio\Exact Audio Copy .95\EAC.exe
WaveGain=D:\Audio\WaveGain\WaveGain.exe
LogFile=D:\Audio\Exact Audio Copy .95\REACT_log.txt
ImageHotkey={F10}
ImageNaming=$artist$--$album$--@year@
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
MinimizeCompressionWindow=0
ProcessPriority=1
ImageMenuString=&Action|Copy &Image && Create CUE Sheet|Compressed...
SaveWaveformString=Save Waveform
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[lame-image]
DESCRIPTION=Create RG album gained lame -V0 and -V4 mp3 tracks using ACDIR
ImageExt=wav
CuesheetExt=wav.cue
WaveGainAnalysis=1
WaveGainExtraOpt=
outdir1=H:\TAGZ\-MB\-ARCHIVE\$artist$\$album$
outdir2=H:\TAGZ\-MB\-PORTABLE\$artist$\$album$
1=>D:\Audio\ACDIR\acdir.exe --overwrite --output "@outdir1@\[$n] $t.mp3" --pipe "D:\Audio\LAME\3.97b1\lame.exe -V0 --vbr-new --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAlbum gained: @gain@; #T @numtracks@$q - $#o" "@sourcecuesheet@"
2=>D:\Audio\ACDIR\acdir.exe --overwrite --output "@outdir2@\[$n] $t.mp3" --pipe "D:\Audio\LAME\3.97b1\lame.exe -V4 --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAlbum gained: @gain@; #T @numtracks@$q - $#o" "@sourcecuesheet@"
3=>if errorlevel 1 pause
4=>del "@cuesheet@"
5=>del "@source@"

The new file (at least the important sections I've edited so far):
Code: [Select]
[Settings]
Config=LAME
EAC=EAC.exe
musicdir=H:\TAGZ\-MB
encdir=D:\Audio\Exact Audio Copy .95\Encoders
LogFile=D:\Audio\Exact Audio Copy .95\REACT_993_log.txt
CodePage=1252
MinimizeCompressionWindow=0
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - (@year@) $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.993
Debug=0

; -- lame MP3 --
[LAME-image]
Description=LAME -V2 RG album gained (scaled) mp3 image with embedded APE2 tagged cuesheet, EAC log, and id3v1 tags
ImageExt=mp3
CuesheetExt=mp3.cue
destdir1=@musicdir@\IMAGES\$cdartist$
1=>@encdir@\WaveGain.exe -a "@source@" --exec @encdir@\lame.exe -V0 --vbr-new --nohist --scale %%ALBUM_SCALE%% --tc "RG_APPLIED: %%ALBUM_GAIN%% dB" "@source@" "@image@"
2=>@encdir@\Tag.exe --force id3v1 --force ape2 -f "CUESHEET=@cuesheet@" -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -f "EAC_LOG=@eaclog@" "@image@"
3=>del "@source@"
;; 4=>move "@eaclog@" "@destbase@.mp3.log"
4=>del "@eaclog@"
5=>move "@destbase@.*" "@destdir1@"

I'm not really sure about several things in the new version.

Do I still need ACDIR?
Will I still end up with individual album gained MP3 files?
Does the new version handle punctuation marks (? ! * , . / \)?
Do I need a second destdir1=@musicdir@\IMAGES\$cdartist$ statement to create the PORTABLE MP3 files?
Is the above statement only for the image files?
Where do I specify where I want the final files to reside?
If I want it to pause on errors like before do I change DEBUG to equal 1?

Lastly, the biggest problem I ran into with the old version was that after the process completed I was left with an empty folder. If I removed all puntuation from the file that usually resolved it but I had to start from scratch. Is there a way to preserve the source wav if something fails and rerun the remainder of the process? I assume this would mean editing just the cue sheet but I'm not really sure.

Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: szczepl on 2005-11-10 00:16:11
I have one problem. Ctrl-F2 does nothing. Please, give me some advice,
I don't know what I'm doing wrong. Just copied REACT to EAC directory,
started REACT, EAC started automatically, then I want to auto configure,
pressing Ctrl-F2 and... nothing.   
Title: New tool: React - [Run EAC Tasks]
Post by: szczepl on 2005-11-10 00:36:05
Quote
REACT is a plugin tool for EAC


I have one question, is any posibility to use REACT outside the EAC?
I have a lot of CD images on my disk, in APE or FLAC format, with CUE of course.
Currently I can't play it in my portable player, which can play only mp3s.
But converting by hand about 200 CD images is... time, time, time...
My idea is to convert them with REACT, but... how ?
Ok, I can uncompress all APEs and FLACs, and food REACT with that,
but I don't know how.
It will be pretty good if REACT can work in standalone mode, and work
with ready CD images, both WAV and compressed (APE,FLAC,LA etc.)...
Thanks in advance for your reply.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-11-10 00:36:47
Does anyone have an older version of REACT they can send to me? I can't get the new one to work. Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: szczepl on 2005-11-10 00:49:31
Quote
Does anyone have an older version of REACT they can send to me? I can't get the new one to work. Thanks.
[a href="index.php?act=findpost&pid=340831"][{POST_SNAPBACK}][/a]


Same me. 0.993 completely not responding for any keys.
It blinking with X on the tray, context menu appears and there is "Script Paused"
enabled...
Title: New tool: React - [Run EAC Tasks]
Post by: skelly831 on 2005-11-10 01:47:58
Quote
Quote

REACT is a plugin tool for EAC


I have one question, is any posibility to use REACT outside the EAC?
I have a lot of CD images on my disk, in APE or FLAC format, with CUE of course.
Currently I can't play it in my portable player, which can play only mp3s.
But converting by hand about 200 CD images is... time, time, time...
My idea is to convert them with REACT, but... how ?
Ok, I can uncompress all APEs and FLACs, and food REACT with that,
but I don't know how.
It will be pretty good if REACT can work in standalone mode, and work
with ready CD images, both WAV and compressed (APE,FLAC,LA etc.)...
Thanks in advance for your reply.
[a href="index.php?act=findpost&pid=340830"][{POST_SNAPBACK}][/a]

For this task you'd be better off with a transcoding frontend or, the most awesome program ever!!!, it does everything except fold your underwear (and i'm not so sure)!!!, Foobar2000.
Title: New tool: React - [Run EAC Tasks]
Post by: cpalcott on 2005-11-10 02:22:48
Pardon me for asking what I'm sure is a stupid question, but does REACT encode multiple file types in a single rip/pass? For instance, FLAC and LAME simultaneously. If so, I am unable to figure out how to do so. Do you create a second ini? Do you create a second settings section in the ini? I'm sure this has been mentioned but I am just not finding it. One file type at a time is working fine. Now if I could just add second.
Title: New tool: React - [Run EAC Tasks]
Post by: kindofblue on 2005-11-10 05:37:58
Yes, it's designed to do exactly that: let you rip and encode to multiple files in one pass. I use it to encode to FLAC and LAME. You need only one INI file. My INI file has a section called FLACLAME that goes something like (sorry I'm not at my home pc atm):

[FLACLAME-tracks]
destdir1=[path for lossless, e.g. E:\My Music\_Lossless\$album$\@track@. @title@ - @artist@.flac]
destdir2= [path for mp3]
1=> commandline for FLAC
2=>commandline for LAME
3=>del "@source@"

cheers
kindofblue
Title: New tool: React - [Run EAC Tasks]
Post by: sundance on 2005-11-10 07:30:02
@szczepl:
Are you sure you've set the language settings in EAC to English?
That's obligatory for REACT to work.
Title: New tool: React - [Run EAC Tasks]
Post by: szczepl on 2005-11-10 07:36:34
Quote
@szczepl:
Are you sure you've set the language settings in EAC to English?
That's obligatory for REACT to work.
[a href="index.php?act=findpost&pid=340879"][{POST_SNAPBACK}][/a]


nope, I didn't know this
Ok, now it's OK 
tnx !
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-10 08:40:42
FYI: I'm working on next version of REACT:Will be ready when it's done, but maybe the end of this weekend.
Cheers.
Title: New tool: React - [Run EAC Tasks]
Post by: sundance on 2005-11-10 08:54:42
@tycho:
Just wanted to say "Thank-You" for this useful tool and all the work you've spent (and will be spending) in developing it! It works like a charm.

sundance

P.S. I thought I once read there was a variable that holds the tracknumber without leading zeros but I can't find it in the doc. Is there such a thing?
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-10 09:14:29
@sundance: Thanks. Here's a way to get track numbers without leading zeros. Put it in your config, and use %track% instead of @track@.
Code: [Select]
1=>@set track=@track@
2=>@for %%i in (1 2 3 4 5 6 7 8 9) do @if 0%%i==@track@ set track=%%i


/edit: you are right that EAC sends the track number without a leading zero, but REACT adds a leading zero, because it is useful in filenames. I wonder if I should make @track@ be without a leading zero, and add $track$ with leading zero. In that case, you can forget about the above from next release. It may cause some backward compability issues, though.
Title: New tool: React - [Run EAC Tasks]
Post by: leland on 2005-11-10 16:30:29
Does anyone rip to tracks and also create a cue sheet?

Is there a way to have REACT create a non-compliant cue sheet with gaps, then rip to tracks?

Would appreciate the insight.

Looks like a great tool, can't wait to get it up and running.
Title: New tool: React - [Run EAC Tasks]
Post by: sdirge on 2005-11-10 22:49:14
Hi,

1st Thanks for your tool and support!

2nd I am having a problem with my setup, after the rip and encode I will end up with the .flac files in the original rip-to directory and the .mp3's in a folder named @dest2@. Here is my ini..

Code: [Select]
 [Settings]
Config=flaclame
outdir1="C:\Audio\Extracted\FLAC\$artist$\$album$"
outdir2="C:\Audio\Extracted\MP3\$artist$\$album$"
EAC=C:\eac\EAC.exe
musicdir=c:\Audio\Extracted\flac
encdir=C:\eac\REACT\Encoders
LogFile=c:\audio\react_log.txt
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - (@year@) $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.993
Debug=1

[flaclame-image]
DESCRIPTION=Create FLAC and LAME -V8 mp3 files
ImageExt=flac
CuesheetExt=flac.cue
WaveGainAnalysis=1
WaveGainExtraOpt=
dest1=C:\Audio\Extracted\FLAC\$artist$\$album$
dest2=C:\Audio\Extracted\MP3\$artist$\$album$
1=>"C:\eac\REACT\Encoders\wapet.exe" "@image@" -f "CUESHEET=@cuesheet@" "C:\eac\REACT\Encoders\flac.exe" -8 -f -V --replay-gain "@source@" -o "@image@" -T ARTIST="@artist@" -T ALBUM="@album@" -T DATE="@year@" -T GENRE="@genre@" -T COMMENT="FLAC 1.1.2 + REACT"
2=>if errorlevel 1 pause
3=>"C:\eac\REACT\Encoders\acdir.exe" --overwrite --output "@dest2@\$n. $~t - $~a.mp3" --pipe "C:\eac\REACT\Encoders\lame.exe -V2 --vbr-new --ignore-tag-errors --add-id3v2 --pad-id3v2 --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qLAME 3.97a11 -V8 vbr-new + REACT$q $x - $#o" "@sourcecuesheet@"
4=>if errorlevel 1 pause
5=>del "@source@"


Also does this setup embed a cue sheet into the flac image?

Thanks for your help, sorry I am not so handy with the ini
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-11 11:10:20
Use destdir1 instead of dest1, and explicitly move the image + cue (@destbase@.*) to @destdir1@. Using the flac --cuesheet argument, you'll get a cuesheet without text info embedded, but the full external cuesheet is there too.
To embed cuesheet with text in flac images, you can use Tag.exe -f CUESHEET=..", or probably the modified flac version (found around here), which stores tags from files, similar to wavpack, i.e. flac -T "CUESHEET=@file.txt".
Code: [Select]
[flaclame-image]
DESCRIPTION=Create FLAC and LAME -V8 mp3 files
ImageExt=flac
CuesheetExt=flac.cue
WaveGainAnalysis=1
destdir1=C:\Audio\Extracted\FLAC\$artist$\$album$
destdir2=C:\Audio\Extracted\MP3\$artist$\$album$
1=>"C:\eac\REACT\Encoders\flac.exe" -8 -f -V --replay-gain "@source@" -o "@image@" --cuesheet="@cuesheet@" -T ARTIST="@artist@" -T ALBUM="@album@" -T DATE="@year@" -T GENRE="@genre@" -T COMMENT="FLAC 1.1.2 + REACT"
2=>move "@destbase@.*" "@eaclog@" "@destdir1@"
3=>"C:\eac\REACT\Encoders\acdir.exe" --overwrite --output "@destdir2@\$n. $~t - $~a.mp3" --pipe "C:\eac\REACT\Encoders\lame.exe -V2 --vbr-new --ignore-tag-errors --add-id3v2 --pad-id3v2 --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qLAME 3.97a11 -V8 vbr-new + REACT$q $x - $#o" "@sourcecuesheet@"
4=>del "@source@"
Title: New tool: React - [Run EAC Tasks]
Post by: sdirge on 2005-11-11 16:10:20
Thanks!

That got the MP3 files in the right place, but the .flac and cuesheet are sitting in the root directory c:\Audio\Extracted, any thoughts?

Also, what would be the line to insert into the .ini to use tag.exe to embed the cuesheet?

Thanks again for the help.
Title: New tool: React - [Run EAC Tasks]
Post by: sdirge on 2005-11-12 17:57:59
Got it!

Thanks for pointing me in the right direction.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-11-12 23:38:51
Still looking for someone with the ACDIR version of REACT or help with the new config. Completly dead in the water here. Thanks
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-13 08:58:16
I believe VCSkier posted an INI using ACDIR on the other (original) REACT thread.

I don't know what you need.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-11-13 09:33:40
I either need to know how to adapt my ini to encode two MP3s with different settings or I need an older copy of REACT that used ACDIR. I installed the new version and don't know how to configure it and I overwrote the old version when I installed.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-13 09:51:52
You can use ACDIR with the newset version of REACT.

Here (http://www.hydrogenaudio.org/forums/index.php?showtopic=35158&view=findpost&p=339059) is VCSkier's INI which implements ACDIR (actually in this same thread).

I assume you would just need to set up destdir3/dest3, duplicate line 2 and then amend dest(dir)2 to dest(dir)3 and amend the LAME settings.

I'm sorry, I'm sure you've posted your exact requirements somewhere, but I don't have time to hunt for them.

You've probably more experience with a REACT INI than me, but if you want to post your exact requirements (file names and paths, etc.) than I (or others) may be able to help.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-11-13 10:01:48
Quote
I'm sorry, I'm sure you've posted your exact requirements somewhere, but I don't have time to hunt for them.
earlier post with previous and current settings so far (http://www.hydrogenaudio.org/forums/index.php?showtopic=35158&view=findpost&p=339871)
Quote
You've probably more experience with a REACT INI than me
doubtful
Title: New tool: React - [Run EAC Tasks]
Post by: chrisgeleven on 2005-11-13 16:27:36
Wow this is stellar.

I am now ripping images of a CD, encoding it and the cuesheet into one big FLAC in one complete step.

Then I use Foobar to get the replaygain album tags and then convert to my audio format of choice with all of the tags intact.

Great job!
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-13 20:16:15
Quote
Quote
I'm sorry, I'm sure you've posted your exact requirements somewhere, but I don't have time to hunt for them.
earlier post with previous and current settings so far (http://www.hydrogenaudio.org/forums/index.php?showtopic=35158&view=findpost&p=339871)
The only two problems I can see with your original is:
However, you are obviously trying to apply scale values, and I don't know about REACT's variables for that.  I see your later version uses a different syntax, and I know nothing about it.

If I were you I would start simple, ensure simple works, and then get more complicated gradually.  It's easier to debug that way.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-11-13 21:01:04
Quote
The only two problems I can see with your original is:
  • Swap outdir1 and outdir2 with destdir1 and destdir2
  • Use the tilde in ACDIR to ensure a legal filename, e.g.: "@outdir1@\[$n] $~t.mp3"
However, you are obviously trying to apply scale values, and I don't know about REACT's variables for that.  I see your later version uses a different syntax, and I know nothing about it.

If I were you I would start simple, ensure simple works, and then get more complicated gradually.  It's easier to debug that way.
[a href="index.php?act=findpost&pid=341600"][{POST_SNAPBACK}][/a]

Well my primary problem is there really isn't a document that explains how REACT works. tycho wrote the original INI to do what I wanted and I can kinda follow what it's doing but i can only follow part of what the new one does so i'm completly stuck. i really don't even know if i should be concerned about ACDIR not being in the new one.

Essentially I want to rip a CD, wavegain the file, and encode 2 MP3 files at different settings. The only reason I upgraded at all is because REACT failed when there was punctuation in the file name of any kind so i had to start the whole process over. I don't know if it was a problem with ACDIR or REACT settings. My hope was that the newer version addressed this. I didn't realize that the new settings would be so different though and still not having documentation doesn't help. I was hoping tycho would help but so far hasn't.
Title: New tool: React - [Run EAC Tasks]
Post by: VCSkier on 2005-11-14 06:00:53
has anyone discovered a way to prevent or fix the problem with the hotkey's being lost.  it was working 15 mins ago, and now i can't get eac w/ react to rip to an image with the hotkey, or via the action menu.  i can't think of anything i did to cause it...

edit:  it was very late when i posted this...  apparently i was having a problem with a specific cd that had a ":" in the cd title.  somehow, that was preventing the the rip to image process.  this morning i deleted the ":", and the rip worked fine.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-14 17:04:22
Confirmed.

If I add ":" to the CD Title I can no longer use F10.  If I remove it I can.  "/" seems to do the same.
Title: New tool: React - [Run EAC Tasks]
Post by: scottder on 2005-11-15 00:51:03
I am trying to use the default LAME config and it doesn't seem to work.  Should it work "out of the box"
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-17 12:50:54
REACT 0.994 released.

- Much refined configs + added [WV_MP3].
- Added @islast@ (track on CD, in track-mode)
- Added @preemp@ (flag - note: only in image-mode!).
- @track@ has nolonger leading zero. Added var. $track$ with leading zero.
- If checking @preemp@ and deemphasising the CD with sox, you can set RemoveCuePreemp=1 in config to remove 'FLAGS PRE's from cuesheet.

When installing, your old ini file will be moved away, and a new is created. Most configs willl create files containing replaygain info (both track and album), but the lossy (ogg and mp3) uses --scale <album scale> to apply the gain on the stream.

Note the new [WV_MP3] config:
- In image mode, it creates a wavpack image with RG album tags + mp3 tracks that are scaled to album gain.
- In track mode, it creates wavpack tracks with RG track+album tags + mp3 tracks that are scaled to album gain.
- These configs are fairly complex, but it should still be possible (for some of you ) to modify for other encoders than Wavpack and lame.

/edit: the package contains all (latest) encoders and tools needed, except for oggenc2.exe, and sox.exe if you need to deephasis a CD (rarely needed).
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-17 15:21:30
React 0.995 Released.

Just fixed a few bugs in the configurations, and added [PORTABLE] config for those who missed that.
Title: New tool: React - [Run EAC Tasks]
Post by: sundance on 2005-11-17 18:51:43
@tycho:
Thanks a lot for the new version. Just checked what's been changed in the INI file "procedures" for FLAC tracks and wondered why you redesigned the way things are done. Earlier versions encoded the files while EAC was running and replaygain all of them at the end. Now you save the WAVs, create a dummy file that holds all the tags and do the processing at the end.
What's the benefit of doing it that way? Just curious...
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-17 21:46:30
Quote
@tycho:
Thanks a lot for the new version. Just checked what's been changed in the INI file "procedures" for FLAC tracks and wondered why you redesigned the way things are done. Earlier versions encoded the files while EAC was running and replaygain all of them at the end. Now you save the WAVs, create a dummy file that holds all the tags and do the processing at the end.
What's the benefit of doing it that way? Just curious...
[a href="index.php?act=findpost&pid=342616"][{POST_SNAPBACK}][/a]

You're welcome. The new FLAC track-profile doesn't need the extra (and slow) metaflac line to calculate albumgain. Both album and track replaygains are calculated during the flac encoding of all tracks.
/add: Not a big deal, though - the previous way worked well too. Another small benefit is that all encoding is done in one step and you can follow that in one window.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-11-18 05:00:27
Quote
React 0.995 Released.

Just fixed a few bugs in the configurations, and added [PORTABLE] config for those who missed that.
[a href="index.php?act=findpost&pid=342572"][{POST_SNAPBACK}][/a]

Thanks for the update. The addition of the WV_MP3 helped me figure out how to configure what I wanted.

I did notice a mistake where the encoder variable is not included on line 1. Also, ImageNaming seems to be ignored unless I cancel the Save dialog and hit F10 again.

I also wondered why the standalone WAVPACK does different steps and uses tag.exe. It runs wavpack and then wavegain with tag but the WV_MP3 config just does wavpack. Is this because of the WaveGainAnalysis=1? It also looks like the WAVPACK config applies APE2 tags. Are they not used in the WV_MP3 config? Thanks again.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-18 10:10:29
Quote
Thanks for the update. The addition of the WV_MP3 helped me figure out how to configure what I wanted. I did notice a mistake where the encoder variable is not included on line 1.

I also wondered why the standalone WAVPACK does different steps and uses tag.exe. It runs wavpack and then wavegain with tag but the WV_MP3 config just does wavpack. Is this because of the WaveGainAnalysis=1? Thanks again.
[a href="index.php?act=findpost&pid=342753"][{POST_SNAPBACK}][/a]

You're welcome. No, the only reason WAVPACK profile uses Tag.exe is that I copied it from the APE profile (which must use Tag.exe). I think both WAVPACK and WV_MP3 should use the encoder tagging (not tag.exe). Thanks for pointing out the missing encoder path, too. I'll make a new update to clean up these things, but I'll give it a little time to see if there are more issues, as these were quite small.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-11-18 13:54:35
Quote
You're welcome. No, the only reason WAVPACK profile uses Tag.exe is that I copied it from the APE profile (which must use Tag.exe). I think both WAVPACK and WV_MP3 should use the encoder tagging (not tag.exe). Thanks for pointing out the missing encoder path, too. I'll make a new update to clean up these things, but I'll give it a little time to see if there are more issues, as these were quite small.
[a href="index.php?act=findpost&pid=342792"][{POST_SNAPBACK}][/a]

Also, ImageNaming seems to be ignored unless I cancel the Save dialog and hit F10 again.

Curious. I modified WV_PM3 to create 2 different MP3s but if I try adding the lines from OGG-track it doesn't seem to work. I changed all the destinations but I only get a single tmp file of track 2 in the destination directory.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-18 15:20:27
Okay, v0.996 released. Will leave it to rest for a while now.

- Minor bugfixes and updates in configs (profiles).
- Tried to fix that ImageName scheme didn't always work when hitting F10.
- REACT version number is shown in EAC title line.

REACT is pretty mature now. Everyone who uses EAC could try REACT now. Only a little editing of the INI file (Alt-F2) is required:

Config=<profile>  (FLAC, WAVPACK, APE, LAME, OGG, WV_MP3, or a user defined)
musicdir=<common root destination directory>
destdir1=<destination directory>

Possible:
dest1=<file naming scheme>
Various-dest1=<file naming scheme for Various artists>

Hit F4 (rip tracks) or F10 (rip image), and that's it.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-18 16:22:03
Thanks tycho.

I may be being crap (hey, it's been known) but I can't see the download link - either here or the upload thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=36261).
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-18 16:30:30
Strange, because when I clicked edit, the file was uploaded. Just applied it, and now it seems OK.

Have a nice weekend.
Title: New tool: React - [Run EAC Tasks]
Post by: Ryushi on 2005-11-18 16:30:56
Quote
Thanks tycho.

I may be being crap (hey, it's been known) but I can't see the download link - either here or the upload thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=36261).
[a href="index.php?act=findpost&pid=342895"][{POST_SNAPBACK}][/a]

Hi Neil,

same here BEFORE I reloaded (Shift+Reload) the (thread-)page 

Cya Ryushi
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-18 16:53:47
Quote
Strange, because when I clicked edit, the file was uploaded. Just applied it, and now it seems OK.

Have a nice weekend.
Yep, it's there now.  Thanks tycho - have a good weekend yourself.

Quote
Hi Neil
Hi Ryushi.  Thanks for the confirm.  It's a little disconcerting when people know my real name...    I guess it was from my sig, or maybe my Tag amends...
Title: New tool: React - [Run EAC Tasks]
Post by: Gabes Dad on 2005-11-18 17:22:43
Just noticed that when using the $track$ (includes leading 0) variable instead of the @track@ (no leading 0) variable in the ape tag temp file, the @islast@ variable does not work correctly, thus encoding will not follow the end of tracks ripped disc when using the $track$ variable for the tag.

Also, glad to see all of the changes - my flac + ogg encodes seem to go much faster.
Title: New tool: React - [Run EAC Tasks]
Post by: Gabes Dad on 2005-11-18 19:13:06
You know, I was thinking . . . is there a script or a program to search for, allow selection of, and download the album cover that can be integrated into a the .ini file.

Also, it would be nice if a similar script or program could be used to search for, select, and tag a file with information from AMG.

I don't know how many other people might use such a thing, but I currently use The Godfather to do such things.  I know one can pretty much integrate any command-line programs or commands possible, but I was wondering if anyone had suggestions.
Title: New tool: React - [Run EAC Tasks]
Post by: ponchorage on 2005-11-18 19:24:15
This might work:

http://www.hydrogenaudio.org/forums/index....ndpost&p=258241 (http://www.hydrogenaudio.org/forums/index.php?showtopic=29876&view=findpost&p=258241)
Title: New tool: React - [Run EAC Tasks]
Post by: Gabes Dad on 2005-11-18 19:52:39
Quote
This might work:

http://www.hydrogenaudio.org/forums/index....ndpost&p=258241 (http://www.hydrogenaudio.org/forums/index.php?showtopic=29876&view=findpost&p=258241)
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=342943")


I also found another post that might work:

[a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=29920&hl=album++art++download]http://www.hydrogenaudio.org/forums/index....++art++download[/url]
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-11-20 06:12:58
Quote
Okay, v0.996 released. Will leave it to rest for a while now.

- Tried to fix that ImageName scheme didn't always work when hitting F10.
- REACT version number is shown in EAC title line.
[a href="index.php?act=findpost&pid=342878"][{POST_SNAPBACK}][/a]

Neither of these seems to work consistently. ImageName still requires canceling the save dialog at least once and often restarting REACT.

The version only appears at startup. As soon as the disc is ejected this goes away.

Also, I can't get either FLAC or OGG Tracks working; basically I end up with a bunch of temp and wave files. Here's my config but all I really changed was destinations.

Code: [Select]
[FLAC-tracks]
Description=FLAC files with replaygain vorbis tags
destdir1=@musicdir@\FLAC\$cdartist$\$album$
dest1=@destdir1@\[$track$] $title$
Various-dest1=@destdir1@\[$track$] $title$ ($artist$)
1=>echo.> "@dest1@.flac.tmp"
2=>@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.flac.tmp"
3=>move "@source@" "@dest1@.wav"
4=>if @islast@==0 goto end
5=>  cd /d "@destdir1@"
6=>  move "@eaclog@" "EAC_log.txt"
7=>  @encdir@\Glob.exe -v -c @encdir@\flac.exe -f -5 --replay-gain *.wav
8=>  for %%i in (*.flac) do @encdir@\Tag.exe --fromfile "%%i.tmp" "%%i"
9=>  del "*.wav" "*.flac.tmp"
10=>:end

[OGG-tracks]
Description=Create ogg -q 6 files
destdir1=@musicdir@\OGG\$cdartist$\$album$
dest1=@destdir1@\[$track$] $title$
Various-dest1=@destdir1@\[$track$] $title$ ($artist$)
1=>echo.> "@dest1@.ogg.tmp"
2=>@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.ogg.tmp"
3=>move "@source@" "@dest1@.wav"
4=>if @islast@==0 goto end
5=>  cd /d "@destdir1@"
6=>  move "@eaclog@" "EAC_log.txt"
7=>  @encdir@\WaveGain.exe -a *.wav --exec @encdir@\oggenc2.exe -q 6 --scale %%ALBUM_SCALE%% -c "COMMENT=AG applied: %%ALBUM_GAIN%%, TG: %%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" -o "%%INPUT_NAME%%.ogg"
8=>  for %%i in (*.ogg) do @encdir@\Tag.exe --fromfile "%%i.tmp" "%%i"
9=>  del "*.ogg.tmp" "*.wav"
10=>:end

Also is there a way to combine either of the above with WV_MP3-image or would I need to use the OGG-image and FLAC-image instead?

Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: Gabes Dad on 2005-11-20 14:44:51
Wolfsong,

I'm not sure why your flac-tracks and ogg-tracks are not working.  But here is my working config of individual flac (w/ RG album and track tags) and ogg (RG album scaled and RG track tags) tracks.  I have two of them, one additional for various artists because my directory scheme does not work with the variousdest variable.  Hope this helps.

Code: [Select]
; -- FLAC and OGG --
[FLAC_OGG-tracks]
Description=Tagged flac and ogg files with RG album and track tags
destdir1=@musicdir@\Archive Music\$artist$\$album$
dest1=@destdir1@\$artist$ - $album$ - $track$ - $title$
destdir2=@musicdir@\Portable Music\$artist$\$album$
dest2=@destdir2@\$artist$ - $album$ - $track$ - $title$
1=> @encdir@\deglitch.exe -y @source@
2=>echo.> "@dest1@.flac.tmp"
3=>@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -t "ENCODEDBY=EAC + REACT" "@dest1@.flac.tmp"
4=> copy "@dest1@.flac.tmp" "@dest2@.ogg.tmp"
5=>move "@source@" "@dest1@.wav"
6=>if @islast@==0 goto end
7=>  move "@eaclog@" "@destdir1@\EAC_log.txt"
8=>  cd /d "@destdir1@"
9=>  @encdir@\Glob.exe -v -c @encdir@\flac.exe -f -6 --replay-gain *.wav
10=>  for %%i in (*.flac) do @encdir@\Tag.exe --fromfile "%%i.tmp" "%%i"
11=>  @encdir@\WaveGain.exe -a *.wav --exec @encdir@\oggenc2.exe -q 2 --scale %%ALBUM_SCALE%% -c "REPLAYGAIN_TRACK_GAIN=%%TRACK_GAIN%% dB" -c "REPLAYGAIN_TRACK_PEAK=%%TRACK_PEAK%%"  "%%INPUT_NAME%%.wav" -o "@destdir2@\%%INPUT_NAME%%.ogg"
12=> cd /d "@destdir2@"
13=>  for %%i in (*.ogg) do @encdir@\Tag.exe --fromfile "%%i.tmp" "%%i"
14=>  del "@destdir1@\*.wav" "@destdir1@\*.flac.tmp" "@destdir2@\*.ogg.tmp"
15=>:end

[FLAC_OGG_VARIOUS-tracks]
Description=Tagged various artists flac and ogg files with RG album and track tags
destdir1=@musicdir@\Archive Music\$album$
dest1=@destdir1@\$album$ - $track$ - $artist$ - $title$
destdir2=@musicdir@\Portable Music\$album$
dest2=@destdir2@\$album$ - $track$ - $artist$ - $title$
1=> @encdir@\deglitch.exe -y @source@
2=>echo.> "@dest1@.flac.tmp"
3=>@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -t "ENCODEDBY=EAC + REACT" "@dest1@.flac.tmp"
4=> copy "@dest1@.flac.tmp" "@dest2@.ogg.tmp"
5=>move "@source@" "@dest1@.wav"
6=>if @islast@==0 goto end
7=>  move "@eaclog@" "@destdir1@\EAC_log.txt"
8=>  cd /d "@destdir1@"
9=>  @encdir@\Glob.exe -v -c @encdir@\flac.exe -f -6 --replay-gain *.wav
10=>  for %%i in (*.flac) do @encdir@\Tag.exe --fromfile "%%i.tmp" "%%i"
11=>  @encdir@\WaveGain.exe -a *.wav --exec @encdir@\oggenc2.exe -q 2 --scale %%ALBUM_SCALE%% -c "REPLAYGAIN_TRACK_GAIN=%%TRACK_GAIN%% dB" -c "REPLAYGAIN_TRACK_PEAK=%%TRACK_PEAK%%"  "%%INPUT_NAME%%.wav" -o "@destdir2@\%%INPUT_NAME%%.ogg"
12=> cd /d "@destdir2@"
13=>  for %%i in (*.ogg) do @encdir@\Tag.exe --fromfile "%%i.tmp" "%%i"
14=>  del "@destdir1@\*.wav" "@destdir1@\*.flac.tmp" "@destdir2@\*.ogg.tmp"
15=>:end
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-21 00:49:29
Ok, I feel completely out of my league here, but I can't figure out REACT, nor do I know how to approach it.  I've searched for hours here and am still at a loss.  I know it's because I'm not familiar with audio codecs and command line writing, but I thought some caring fellows on here could give me some assistance. 

First, is there an online tutorial out there that can explain how to set up REACT to work in various instances (like an online user manual for idiots)?

All the .INI talk is over my head, so I'll explain what I have and what I want and pray to God that someone answers me. 

I have EAC.exe in C:\Program Files\Exact Audio Copy
I have REACT.exe in C:\Program Files\Exact Audio Copy
I have Wavepack.exe and Lame.exe in C:\Program Files\Exact Audio Copy\Encoders (I didn't put them there, but it appears I now have duplicates of them in that location.  I'm assuming REACT.exe did that when I extracted the .exe)

I have put a shortcut to the React.exe on my desktop.
I have opened the React.exe and let it configure EAC to work with React.exe.

I have done nothing else because now I am lost.  What do I do now to get React.exe to rip a CD to 2 seperate files in 2 seperate directories, to create:

1. a Wavepack compressed image file (I have no idea which compression rating for Wavepack. Ideally something with the best time to compress/file size ratio so it does not take a rediculous amount of time) with cue sheets and tags (and anything else I may need for it as a backup lossless file) in F:\Music Lossless\Artist\Album\ and

2. Lame encoded MP3 files at setting -V2 --vbr-new (with appropriate tags, etc.) to F:\Music Lossy\Artist\Album\
I do not quite understand the difference between all the various gain adjusters either.  I know there is album gain, track gain, wave gain, etc., but I'm not sure if I should be adding a step in there for the MP3 files to be appropriately adjusted to be at similar levels, or if I should not adulterate the integrity of the files.

If this was heaven, and I could get anything I wanted, I would ask for a program to embed album artwork that works with my iPod in the same process through REACT. This would be the most ideal situation ever.

Any help would be greatly appreciated.  I need babystep help (ie., if I need to adjust a setting in EAC or an .INI in a certain directory, I need to know specifically how to do that.

Thank you very much!!!
Title: New tool: React - [Run EAC Tasks]
Post by: scottder on 2005-11-21 03:51:25
Anyone else have problems with LAME and PORTABLE, they don't fail per-se, just nothing happens.  I tried the FLAC and OGG profiles they work fine. Any thoughts?
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-21 05:36:50
I have the REACT setup as best as I know how, but I can't get it to batch process the two files (Wavepack and Lame MP3). Maybe I'm not sure what button or command I'm supposed to press in EAC.  Can someone tell me after I have my .INI set correctly, what I actually press to start the process?  My .INI is below.  Please let me know what is incorrect.

[Settings]
Config=WV_MP3
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=F:\Music
encdir=C:\Program Files\Exact Audio Copy\Encoders
LogFile=
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - ($year$) $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=0


; -- Wavpack image and MP3 tracks --
[WV_MP3-image]
Description=Wavpack image with embedded cuesheet and EAC log with LAME -V2 mp3 track files, RG album gain
ImageExt=wv
CuesheetExt=wv.cue
WaveGainAnalysis=1
destdir1=@musicdir@\IMAGES\$cdartist$
destdir2=@musicdir@\MP3\$cdartist$\($year$) $album$
1=>@encdir@\wavpack.exe -hmy -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "REPLAYGAIN_ALBUM_GAIN=@gain@" -w "REPLAYGAIN_ALBUM_PEAK=@peak@" -w "REPLAYGAIN_TRACK_GAIN=@gain@" -w "REPLAYGAIN_TRACK_PEAK=@peak@" -w "CUESHEET=@@cuesheet@" -w "EACLOG=@@eaclog@" "@source@" "@image@"
2=>move "@destbase@.*" "@destdir1@"
3=>set out2=$n - $~t
4=>if "$cdartist$"=="Various" set out2=$n - $~t ($~a)
5=>@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.mp3" --pipe "@encdir@\lame.exe -V2 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
6=>del "@source@" "@eaclog@"


Any help would be greatly appreciated.  I can't figure out how to make the whole process start.

Edit: I've toyed around with this all night and could really use some direction here. What specifically do I need to change in the .INI file, and what do I need to change or press in EAC to get the one button automated process to start. 

Thanks!
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-21 09:57:18
Quote
Any help would be greatly appreciated.  I can't figure out how to make the whole process start.


Try this one.  Amended areas are red.

[Settings]
Config=WV_MP3
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=F:
encdir=C:\Program Files\Exact Audio Copy\Encoders
LogFile=
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - ($year$) $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=0


; -- Wavpack image and MP3 tracks --
[WV_MP3-image]
Description=Wavpack image with embedded cuesheet and EAC log with LAME -V2 mp3 track files, RG album gain
ImageExt=wv
CuesheetExt=wv.cue
WaveGainAnalysis=1
destdir1=@musicdir@\Music Lossless\$cdartist$\$album$
destdir2=@musicdir@\Music Lossy\$cdartist$\$album$
1=>@encdir@\wavpack.exe -hmy -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "REPLAYGAIN_ALBUM_GAIN=@gain@" -w "REPLAYGAIN_ALBUM_PEAK=@peak@" -w "REPLAYGAIN_TRACK_GAIN=@gain@" -w "REPLAYGAIN_TRACK_PEAK=@peak@" -w "CUESHEET=@@cuesheet@" -w "EACLOG=@@eaclog@" "@source@" "@image@"
2=>move "@destbase@.*" "@destdir1@"
3=>set out2=$n - $~t
4=>if "$cdartist$"=="Various" set out2=$n - $~t ($~a)
5=>@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.mp3" --pipe "@encdir@\lame.exe -V2 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
6=>del "@source@" "@eaclog@"



If you amend the INI to the above, run REACT to start EAC, then press F10 to start the image ripping process, you are basically there.

Once this is running we can possibly amend the WavPack or LAME commands to suit you more.

NB: I have no idea about the album art thing, but there are threads about it.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-21 16:52:03
Quote
Quote

If you amend the INI to the above, run REACT to start EAC, then press F10 to start the image ripping process, you are basically there.

Once this is running we can possibly amend the WavPack or LAME commands to suit you more.

NB: I have no idea about the album art thing, but there are threads about it.
[a href="index.php?act=findpost&pid=343725"][{POST_SNAPBACK}][/a]


Synthetic Soul - Thank you!

I guess I was confused when I got to this point last night and a pop-up window appeared asking me where I would like to "Save Waveform" as an ".eac" file.  You may want to ammend to instructions to finish with a final step of "After the pop-up window appears, click 'Ok'" or something to that effect.  I'm assuming that was only for a temporary file that was later deleted, since after the process finished I could not find a file related to the album in the directory that had opened with the pop-up window.

As you stated now that this is running, what can we do to amend the WavPack or LAME commands to suit my goals?
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-21 17:05:15
Quote
Synthetic Soul - Thank you!
No problem.  You were almost there.

Quote
I guess I was confused when I got to this point last night and a pop-up window appeared asking me where I would like to "Save Waveform" as an ".eac" file.  You may want to ammend to instructions to finish with a final step of "After the pop-up window appears, click 'Ok'" or something to that effect.  I'm assuming that was only for a temporary file that was later deleted, since after the process finished I could not find a file related to the album in the directory that had opened with the pop-up window.
I think REACT could do with a user guide.  If I had time I would write one.  As you say, "eac" is just a dummy extension, REACT worries about all that for you.

Quote
As you stated now that this is running, what can we do to amend the WavPack or LAME commands to suit my goals?
There may well be nothing that needs changing.

The only aspects I can think of are:
I'm sure there's other things that can be changed, but you really need to have a good knowledge of WavPack and LAME to ask.  Basically you're pretty well set up already. tycho did a good job with this template INI profile.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-21 19:02:41
Quote
  • Are you happy with the image being called "<artist - (<year>) <album>"?

I guess so.  Is this how you name your file?  I haven't given the image naming much thought. 

Quote
  • Are you happy with (only) ID3v2 tags for your MP3s?

No, I think I would prefer to have ID3v1 tags as well. I can't think of reason why I would not want both.  Do you know of one? 

Quote
  • Do you want to calculate ReplayGain info to scale the MP3s (and store the RG info in the WavPack images)?  You currently are.  Removing that process will speed things up - if you don't want your MP3s scaled.

Are you saying there is a faster way to take care of scaling the MP3s?  I would like my MP3s to have a similar gain level across albums, so when I'm listening randomly on my iPod (which is my normal method), I'm not having to constantly adjust the volume up and down.  As far as having each track normalized with each other, or the entire album scaled, I'm not sure about this one.  I'm assuming I would want the song scaled relative to its range on the album, so that if I'm listening to an album the levels do not adjust differently than how they would normally sound on that album. So, if a song was supposed to be slightly softer than a different song on the same album, the song is not adjusted to be loud like the other song.  That said, I do not want one entire album to be much louder than a different album.  Does this make sense?

Quote
I'm sure there's other things that can be changed, but you really need to have a good knowledge of WavPack and LAME to ask.  Basically you're pretty well set up already. tycho did a good job with this template INI profile.


I'm not familiar enough with the codecs to ask the right questions I guess.  Any recommendations that you have learned along the way?
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-21 19:08:32
I have my first problem with the process.  With the first couple of CDs everything went smoothly.

Then, one of my CDs ripped, but it did not automate the process of puting the image file in the subdirectory (instead, it kept it in the directory I clicked "ok" on for the "Save Waveform" windows popup), nor did it create the .MP3 files.

This could have been because I was browsing the internet while it was happening.  I did not "minimize" EAC, but I did "maximize" firefox, so that may have essentially messed up the process...I'm not sure.  Anyway, I deleted the .WV files that were in the wrong place and tried the process all over again without touching anything.  It didn't work.  Have I messed up the settings for this CD forever, or is there something I can do to make this particular CD work the way the others do.

Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-21 20:11:11
Set Debug=1 in the INI file under [Settings]. This will make the encoder window "stay" after it has done its work. Please report any errors you see.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-21 21:18:20
I will do this and see what happens.  Now that I have spent a little time with it, I have a couple more questions (I'm sorry to ask so many questions).

1. Is there a way to make the process faster? After ripping, it takes 13-15 minutes before the external compression section dissapears from the bottom of EAC.

2. Is there a way to allow this process to happen minimized, so I can do other work on my computer while it is happening?  It seems odd that I can't touch my computer while the rip and encoding are being performed.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-21 22:19:49
Quote
I will do this and see what happens.  Now that I have spent a little time with it, I have a couple more questions (I'm sorry to ask so many questions).

1. Is there a way to make the process faster? After ripping, it takes 13-15 minutes before the external compression section dissapears from the bottom of EAC.

2. Is there a way to allow this process to happen minimized, so I can do other work on my computer while it is happening?  It seems odd that I can't touch my computer while the rip and encoding are being performed.
[a href="index.php?act=findpost&pid=343944"][{POST_SNAPBACK}][/a]

1. The REACT profiles are designed carefully to do the encoding jobs as efficient as is possible. No unnessesary work is done. If you create both Wavepack and Lame mp3 files, one album will take anywhere from 5 - 30 minutes, depending on computer, length of CD, and which encoder settings you use.

NB: If you have multiple harddisks on you system, make sure that EAC rips the wav files to the same drive as where your music destination directoris are. Otherwise, much time is wasted on moving big files from one drive to another.

2. You can do other work while encoding. Simply put the applications you use on top of EAC, but don't minimize EAC while it is ripping.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-21 22:19:59
Quote
Set Debug=1 in the INI file under [Settings]. This will make the encoder window "stay" after it has done its work. Please report any errors you see.
[a href="index.php?act=findpost&pid=343931"][{POST_SNAPBACK}][/a]

I made the changes to Debug, but now the message at the bottom of EAC "1 Compression Task Left" does not go away when the external compression programs are finished, and I'm afraid to open the directory containing the files to look at it while EAC is running because I do not want it to error because the program gets minimized.

This all brings us back to the question I posted above:

Can you make changes to REACT so EAC and the compression programs can be minimized and run in the background while other programs can be worked on.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-22 08:12:11
Uncheck the 'EAC options | Tools | Do not open external compressor window' box. I think it should be unchecked by default. The compression window is minimized by default, but you can have it normal by setting 'MinimizeCompressionWindow=0' under [Settings] in the INI file.

/EDIT: The REACT process is not that fragile. You can minimize and hide windows. The only critical part is that EAC must not be minimized when it is about to finish ripping an album, because it then won't write the EAC log file directly after the last wav track (or image), which is vital for REACT to function correctly.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-24 02:09:22
Quote
Uncheck the 'EAC options | Tools | Do not open external compressor window' box. I think it should be unchecked by default. The compression window is minimized by default, but you can have it normal by setting 'MinimizeCompressionWindow=0' under [Settings] in the INI file.

/EDIT: The REACT process is not that fragile. You can minimize and hide windows. The only critical part is that EAC must not be minimized when it is about to finish ripping an album, because it then won't write the EAC log file directly after the last wav track (or image), which is vital for REACT to function correctly.
[a href="index.php?act=findpost&pid=344067"][{POST_SNAPBACK}][/a]

I had these settings already on my EAC options.
For some reason, my F10 funtion does not work anymore.  I do not believe I changed anything in my settings since it worked. Is there a different button I can push to begin the process or re-set something to get it going again?  I'm not sure why this has happened.  Any advice would be greatly appreciated.  I have checked my compression settings and eac settings, and everything seems ok.  My .INI file seem fine too.  When I press F10 it appears EAC just refreshes or something.  I see it blink quickly but nothing happens.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-24 02:22:20
To clarify, my ini file looks like this:

[Settings]
Config=WV_MP3
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=F:
encdir=C:\Program Files\Exact Audio Copy\Encoders
LogFile=
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - ($year$) $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=1

; -- Wavpack image and MP3 tracks --
[WV_MP3-image]
Description=Wavpack image with embedded cuesheet and EAC log with LAME -V2 mp3 track files, RG album gain
ImageExt=wv
CuesheetExt=wv.cue
WaveGainAnalysis=1
destdir1=@musicdir@\Music Archive\$cdartist$\$album$
destdir2=@musicdir@\Music Portable\$cdartist$\$album$
1=>@encdir@\wavpack.exe -hmy -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "REPLAYGAIN_ALBUM_GAIN=@gain@" -w "REPLAYGAIN_ALBUM_PEAK=@peak@" -w "REPLAYGAIN_TRACK_GAIN=@gain@" -w "REPLAYGAIN_TRACK_PEAK=@peak@" -w "CUESHEET=@@cuesheet@" -w "EACLOG=@@eaclog@" "@source@" "@image@"
2=>move "@destbase@.*" "@destdir1@"
3=>set out2=$n - $~t
4=>if "$cdartist$"=="Various" set out2=$n - $~t ($~a)
5=>@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.mp3" --pipe "@encdir@\lame.exe -V2 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
6=>del "@source@" "@eaclog@"


My use file exension is still .eac

My compression options still have it pointed to the REACT.exe directory:
C:\Program Files\Exact Audio Copy\REACT.exe
And my additional command lines haven't changed either:
REACT %o %s %d "%a" "%g" "%t" "%n" "%x" "%y" "%m" "%e" "%f" "%b" %r

Essentially, I have made no changes, came back to try my newly setup program again (after fussing with Foobar for the past couple of days), and now it's not working.  Please, any help would be greatly appreciated.
Title: New tool: React - [Run EAC Tasks]
Post by: cpalcott on 2005-11-24 04:40:22
Anybody have a sample .ini for FLAC-MP3 tracks? I've been trying to build one for a couple of days with no success. Here's a copy of my latest attempt.

[FLAC_MP3-tracks]
Description=Tagged flac and mp3 files with RG album and track tags
destdir1=@musicdir@\FLAC\$cdartist$\($year$) $album$
dest1=@destdir1@\$track$ - $title$
Various-dest1=@destdir1@\$track$ - $title$ ($artist$)
destdir2=@musicdir@\LAME\$cdartist$\($year$) $album$
1=>echo.> "@dest1@.tmp"
2=>@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -t "ENCODEDBY=EAC + REACT" "@dest1@.tmp"
3=>move "@source@" "@dest1@.wav"
4=>if @islast@==0 goto end
5=>  move "@eaclog@" "@destdir1@\EAC_log.txt"
6=>  cd /d "@destdir1@"
7=>  echo @encdir@\Glob.exe -v -c @encdir@\flac.exe -f -6 --replay-gain *.wav
8=>  for %%i in (*.flac) do @encdir@\Tag.exe --fromfile "%%i.tmp" "%%i"
9=> echo @encdir@\lame.exe -V6 --vbr-new --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
10=>  echo @encdir@\Tag.exe --fromfile "%%INPUT_NAME%%.tmp" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
11=>  echo del "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.tmp" >> encode.bat
12=>  @encdir@\WaveGain.exe -a *.wav --exec call encode.bat
13=>  del encode.bat
14=>:end
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-11-24 05:27:55
Quote
Wolfsong,

I'm not sure why your flac-tracks and ogg-tracks are not working.  But here is my working config of individual flac (w/ RG album and track tags) and ogg (RG album scaled and RG track tags) tracks.

It looks like you end up with track gain and I'd like album gain. Here's my latest config, I really just want to add to it and create the tracks from the same image I think.

Code: [Select]
; -- Archive and Portable MP3 tracks --
[LAME2X-image]
Description=LAME -V0 (archive) and -V4 (portable) mp3 track files, RG album gain
ImageExt=wav
WaveGainAnalysis=1
destdir1=@musicdir@\TAGZ\-MB\-ARCHIVE\$cdartist$\$album$
destdir2=@musicdir@\TAGZ\-MB\-PORTABLE\$cdartist$\$album$
1=>set out2=[$n] $~t
2=>if "$cdartist$"=="Various" set out2=[$n] $~t ($~a)
3=>@encdir@\acdir.exe --overwrite --output "@destdir1@\%out2%.mp3" --pipe "@encdir@\lame.exe -V0 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
4=>@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.mp3" --pipe "@encdir@\lame.exe -V4 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
5=>del "@source@" "@eaclog@"
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-24 07:27:21
Quote
To clarify, my ini file looks like this:

[Settings]
Config=WV_MP3
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=F:
encdir=C:\Program Files\Exact Audio Copy\Encoders
LogFile=
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - ($year$) $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=1

; -- Wavpack image and MP3 tracks --
[WV_MP3-image]
Description=Wavpack image with embedded cuesheet and EAC log with LAME -V2 mp3 track files, RG album gain
ImageExt=wv
CuesheetExt=wv.cue
WaveGainAnalysis=1
destdir1=@musicdir@\Music Archive\$cdartist$\$album$
destdir2=@musicdir@\Music Portable\$cdartist$\$album$
1=>@encdir@\wavpack.exe -hmy -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "REPLAYGAIN_ALBUM_GAIN=@gain@" -w "REPLAYGAIN_ALBUM_PEAK=@peak@" -w "REPLAYGAIN_TRACK_GAIN=@gain@" -w "REPLAYGAIN_TRACK_PEAK=@peak@" -w "CUESHEET=@@cuesheet@" -w "EACLOG=@@eaclog@" "@source@" "@image@"
2=>move "@destbase@.*" "@destdir1@"
3=>set out2=$n - $~t
4=>if "$cdartist$"=="Various" set out2=$n - $~t ($~a)
5=>@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.mp3" --pipe "@encdir@\lame.exe -V2 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
6=>del "@source@" "@eaclog@"


My use file exension is still .eac

My compression options still have it pointed to the REACT.exe directory:
C:\Program Files\Exact Audio Copy\REACT.exe
And my additional command lines haven't changed either:
REACT %o %s %d "%a" "%g" "%t" "%n" "%x" "%y" "%m" "%e" "%f" "%b" %r

Essentially, I have made no changes, came back to try my newly setup program again (after fussing with Foobar for the past couple of days), and now it's not working.  Please, any help would be greatly appreciated.
[a href="index.php?act=findpost&pid=344512"][{POST_SNAPBACK}][/a]


Any help with this one would be greatly appreciated.  Thanks in advance.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-11-24 07:36:12
Quote
Essentially, I have made no changes, came back to try my newly setup program again (after fussing with Foobar for the past couple of days), and now it's not working.  Please, any help would be greatly appreciated.
[a href="index.php?act=findpost&pid=344512"][{POST_SNAPBACK}][/a]

Can you be specific when you say "now it's not working"? What is "it"? Are the files not created? Do you get an error?
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-24 08:42:52
Quote
For some reason, my F10 funtion does not work anymore.  I do not believe I changed anything in my settings since it worked.

What is the album and artist name for the CD?

It may sound like a strange question, but VCSkier discovered that if the CD Title had a colon in it F10 would not work.  I confirmed the issue and discover that a forward slash had the same effect.

Let us know your CD Title and CD Artist values in EAC to confirm.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-24 08:47:54
Quote
For some reason, my F10 funtion does not work anymore.  I do not believe I changed anything in my settings since it worked. Is there a different button I can push to begin the process or re-set something to get it going again?  I'm not sure why this has happened.  Any advice would be greatly appreciated.  I have checked my compression settings and eac settings, and everything seems ok.  My .INI file seem fine too.  When I press F10 it appears EAC just refreshes or something.  I see it blink quickly but nothing happens.
[a href="index.php?act=findpost&pid=344508"][{POST_SNAPBACK}][/a]


Quote
Quote
Essentially, I have made no changes, came back to try my newly setup program again (after fussing with Foobar for the past couple of days), and now it's not working.  Please, any help would be greatly appreciated.
[a href="index.php?act=findpost&pid=344512"][{POST_SNAPBACK}][/a]

Can you be specific when you say "now it's not working"? What is "it"? Are the files not created? Do you get an error?
[a href="index.php?act=findpost&pid=344548"][{POST_SNAPBACK}][/a]


Please see my quoted original post information above.  Ny "all in one" rip to WavPack and MP3 in seperate directories (again, see my .INI above) functionality by pressing F10, which worked the first day I used it, no longer works.  My .INI even seems to still be correct and show that F10 is the hotkey, but nothing happens when I press it...other than a brief blink of the program.  Please, any help would be greatly appreciated.  I don't want to have uninstall and reinstall the program.  Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-24 09:05:49
@ocluke (and everyone else):  'Save image + cuesheet' (F10 in REACT) may sometimes only make a blink in EAC, and does not bring up the save dialog. This is an EAC bug, which happens when Artist or Album contains any of the following characters: /\|":<>
Replace these letters with something else, and press F10 twice.

@cpalcott: You must change:
-  rename .tmp to .flac.tmp, in line 1, 2, 10, 11, but keep it in line 8
-  remove echo in line 7
 
Code: [Select]
[FLAC_MP3-tracks]
Description=Tagged flac and mp3 files with RG album and track tags
destdir1=@musicdir@\FLAC\$cdartist$\($year$) $album$
dest1=@destdir1@\$track$ - $title$
Various-dest1=@destdir1@\$track$ - $title$ ($artist$)
destdir2=@musicdir@\LAME\$cdartist$\($year$) $album$
1=>echo.> "@dest1@.flac.tmp"
2=>@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -t "ENCODEDBY=EAC + REACT" "@dest1@.flac.tmp"
3=>move "@source@" "@dest1@.wav"
4=>if @islast@==0 goto end
5=> move "@eaclog@" "@destdir1@\EAC_log.txt"
6=> cd /d "@destdir1@"
7=> @encdir@\Glob.exe -v -c @encdir@\flac.exe -f -6 --replay-gain *.wav
8=> for %%i in (*.flac) do @encdir@\Tag.exe --fromfile "%%i.tmp" "%%i"
9=> echo @encdir@\lame.exe -V6 --vbr-new --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
10=> echo @encdir@\Tag.exe --fromfile "%%INPUT_NAME%%.flac.tmp" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
11=> echo del "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.flac.tmp" >> encode.bat
12=> @encdir@\WaveGain.exe -a *.wav --exec call encode.bat
13=> del encode.bat
14=>:end
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-24 11:08:57
I tried a 3rd CD, carefully making sure that there were no characters in the title, and it worked.  I have to put the other 2 CDs in to see what characters might have been in there.  I'll let you know what happens.  I'm in the middle of ripping the most recent CD.

The first CD was a Bjork mini CD called Roots Disk 1, which is from her Family Tree compilation.  I know there was a ":" in the CD title.  The 2nd CD was a Frank Cinatra CD, so I wouldn't think there would by special characters in the title.  Again, I'll confirm and post.

Once again, you guys are the best.
Title: New tool: React - [Run EAC Tasks]
Post by: cpalcott on 2005-11-24 14:11:38
Thanks, tycho. That did the trick. Couple of questions though.

1) It appears that the resulting mp3 is missing some tags, like"genre" for instance. "Artist", "Album", "Track", etc. are there but not "genre". Tags are complete, however,  in the flac file just not the mp3 file.

2) In the tags comment lines of the mp3 it says it has applied AG: XXXX. Does this mean the track has been "normalized" to album gain or does it mean it would play at the tagged album gain level  on a Replay Gain compatible player? I don't happen to have a Replay Gain compatible player, so is there anyway to nomalize (mp3gain to 89db maybe) the track for use with a portable as part of the REACT process?

Thanks again for this incredible program. What a time saver.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-11-24 15:40:08
@Tycho

Is there a way to get Genre's with spaces to work? If I choose Easy Listening of New Age for instance it says it doesn't recognize it and uses Other instead.

Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-24 16:10:46
I think there is something buggy about Genre in Tag.exe. You could try to add -T "GENRE=@genre@" and --tg "@genre@" to the flac.exe and lame.exe line correspondingly, and remove the -t "@genre@" from the Tag.exe line. @genre@ is the same for every track, so it should work.

Quote
2) In the tags comment lines of the mp3 it says it has applied AG: XXXX. Does this mean the track has been "normalized" to album gain or does it mean it would play at the tagged album gain level on a Replay Gain compatible player? I don't happen to have a Replay Gain compatible player, so is there anyway to nomalize (mp3gain to 89db maybe) the track for use with a portable as part of the REACT process?

Because --scale is used, the mp3 is "normalized" to 89dB, similary to what you get from applying mp3gain. So it is already as you want it.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-24 17:10:19
Quote
Is there a way to get Genre's with spaces to work? If I choose Easy Listening of New Age for instance it says it doesn't recognize it and uses Other instead.
Quote
I think there is something buggy about Genre in Tag.exe.
Could I have an example please?

If it is a bug in Tag I could maybe try to resolve it.

What was the command being used?

I see ther is some code to convert a genre number to text for ID3v1, maybe that is causing an issue...
Title: New tool: React - [Run EAC Tasks]
Post by: grombulk on 2005-11-24 17:57:16
Quote
@Tycho

Is there a way to get Genre's with spaces to work? If I choose Easy Listening of New Age for instance it says it doesn't recognize it and uses Other instead.

Thanks.
[a href="index.php?act=findpost&pid=344627"][{POST_SNAPBACK}][/a]


I think it's a bug in acdir.exe.
Are you using that?

try --tg $q@GENRE@$q  in that line, solved my problems ("Death Metal"    ).
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-24 18:44:40
Quote
Quote from: tycho,Nov 24 2005, 01:05 AM

@ocluke (and everyone else):  'Save image + cuesheet' (F10 in REACT) may sometimes only make a blink in EAC, and does not bring up the save dialog. This is an EAC bug, which happens when Artist or Album contains any of the following characters: /\|":<>
Replace these letters with something else, and press F10 twice.


Both CDs did have a ":" in the album name, so I presume that was the issue.  Now the extraction and compression process happens.  However, there is a new issue.  My result now is 2 directories: one with the MP3 file, and one with the .CUE file only, not the .WV file.  What could be causing this to happen?  I know when the process is complete I end with a command prompt that looks like the following:

(http://img285.imageshack.us/img285/6880/sp32671eu.jpg) (http://imageshack.us)

I end up with that command prompt and the EAC window saying it is still compressing the file.  When I press any key in the command prompt EAC says it is finished, however I only end up with the MP3 files and the .CUE file, not the .WV image.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-24 19:26:15
ocluke, your windows doesn't show the result of the wavpack line. But if you use the standard WV_MP3 profile, I've had no problems with that so far.

synthetic soul, grombulk is right. The problem is acdir, or in fact EAC again: The bug is that EAC doesn't quote the genre in the REM GENRE line in the cue file, as it should.

With acdir, add genre tag like grombulk suggested.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-24 19:56:17
Quote
ocluke, your windows doesn't show the result of the wavpack line. But if you use the standard WV_MP3 profile, I've had no problems with that so far.

synthetic soul, grombulk is right. The problem is acdir, or in fact EAC again: The bug is that EAC doesn't quote the genre in the REM GENRE line in the cue file, as it should.

With acdir, add genre tag like grombulk suggested.
[a href="index.php?act=findpost&pid=344672"][{POST_SNAPBACK}][/a]


I will post my .INI file again so you can see it.  I have changed nothing other than the directory to send the files to and the quality setting of the MP3. At your suggestion, I changed the Debug value to 1

[Settings]
Config=WV_MP3
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=F:
encdir=C:\Program Files\Exact Audio Copy\Encoders
LogFile=
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - ($year$) $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=1

; -- Wavpack image and MP3 tracks --
[WV_MP3-image]
Description=Wavpack image with embedded cuesheet and EAC log with LAME -V2 mp3 track files, RG album gain
ImageExt=wv
CuesheetExt=wv.cue
WaveGainAnalysis=1
destdir1=@musicdir@\Music Archive\$cdartist$\$album$
destdir2=@musicdir@\Music Portable\$cdartist$\$album$
1=>@encdir@\wavpack.exe -hmy -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "REPLAYGAIN_ALBUM_GAIN=@gain@" -w "REPLAYGAIN_ALBUM_PEAK=@peak@" -w "REPLAYGAIN_TRACK_GAIN=@gain@" -w "REPLAYGAIN_TRACK_PEAK=@peak@" -w "CUESHEET=@@cuesheet@" -w "EACLOG=@@eaclog@" "@source@" "@image@"
2=>move "@destbase@.*" "@destdir1@"
3=>set out2=$n - $~t
4=>if "$cdartist$"=="Various" set out2=$n - $~t ($~a)
5=>@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.mp3" --pipe "@encdir@\lame.exe -V2 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
6=>del "@source@" "@eaclog@"


There you have it.  Could this be a setting in EAC or something?  Please, any help would be greatly appreciated.  Also, I remember you saying to press F10 twice just a couple of posts ago.  Why would this be the case?  I have not heard that before.

Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-24 20:05:47
Quote
I think it's a bug in acdir.exe.
Are you using that?

try --tg $q@GENRE@$q  in that line, solved my problems ("Death Metal"   ).
Quote
synthetic soul, grombulk is right. The problem is acdir, or in fact EAC again: The bug is that EAC doesn't quote the genre in the REM GENRE line in the cue file, as it should.

OK, thanks both.

I thought 0.95 beta 3 did quoted values with spaces.  I know beta 1 didn't.  I noted this when they were released (http://www.neilpopham.pwp.blueyonder.co.uk/cd_backup_transcode.html#eac0.95b1-rem). Maybe users with problems are still using beta 1?  Or maybe there are certain situations that EAC doesn't quote values with spaces... hmmm...
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-24 20:17:05
ocluke, as mentioned above, change
--ty $#r{DATE} --tg $#r{GENRE}
to
--ty $q@year@$q --tg $q@genre@$q

synthetic soul: Na, latest EAC quotes all REM items which can have spaces, EXCEPT genre. (I think  )

/add: ocluke, You only need to press F10 twice when you have changed illegal chars to legal. Normally only once, of course.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-25 03:45:12
Quote
ocluke, as mentioned above, change
--ty $#r{DATE} --tg $#r{GENRE}
to
--ty $q@year@$q --tg $q@genre@$q

synthetic soul: Na, latest EAC quotes all REM items which can have spaces, EXCEPT genre. (I think   )

/add: ocluke, You only need to press F10 twice when you have changed illegal chars to legal. Normally only once, of course.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=344687")


Well, I'm not sure what the problem is.  I consistenly am getting the same behavior with each rip.  I put the CD in, wait for the songs to auto populate from freedb, press F10 and the process begins.  When it is finished the command prompt stays open and it looks like the images below (top picture is from the top of the command line, and the second picture is from the bottom). What I end up with is the MP3 files from the CD in the appropriate directory, and a .CUE file in the archive directory (with no .WV file in the directory).

[a href="http://imageshack.us](http://img518.imageshack.us/img518/9623/sp32736jb.jpg)[/url]

(http://img383.imageshack.us/img383/9841/sp32748yx.jpg) (http://imageshack.us)

Then, if I close out the window and the eac window (which says "no errors occured) and press F10 again to go through the entire rip again, I end up with a .WV file in the correct directory, as well as MP3 files in the appropriate directory.  The problem is that I have to rip twice and encode twice, every time. What I can't tell is if REACT is encoding the MP3s both times or not, but I think it is. The command prompt begins and ends as pictured below (and it stays open).

(http://img387.imageshack.us/img387/6776/sp32759wi.jpg) (http://imageshack.us)

(http://img387.imageshack.us/img387/6730/sp32768tq.jpg) (http://imageshack.us)

I'm not sure why this is happening, but I've tested it out with 5 CDs in a row and all follow the exact same process. Requiring me to rip twice before the process goes through smoothly.  Any direction would be greatly appreciated, as this defeats the whole purpose of setting up a rip to encode into two seperate files and directories.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-25 06:10:11
wavpack is complaining about a missing log file that it tries to embed in the image, and therefore quits.

For some reason, the 'Extraction Audio Data' dialog apparently didn't automatically get closed by REACT after extraction was done (which causes the log file to be saved by EAC).  Only thing I can think of is that you minimized EAC, but that I've told not to do many times, so I guess not. (It's sad that EAC doesn't simply save the log file directly after the image or last track, instead of waiting until the dialog box is closed).

/add: I suppose the problem could be that the log file is saved a little too late, and is not ready when the wavpack command is issued. There is put in a small delay before running the compression commands, though (but maybe too small).

If you can't find a cure, remove the symptom. Delete: -w "EACLOG=@@eaclog@" from the wavpack line.

PS: As you may have understood, you must set Debug=0 in the INI again so that the compression window is automatically closed after its work, but it has nothing to do with the missing log file problem.

Please, try to figure out what may cause the problem yourself before asking. E.g this time there was a clear wavpack error message which also you could have seen.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-25 06:40:48
Quote
wavpack is complaining about a missing log file that it tries to embed in the image, and therefore quits.

For some reason, the 'Extraction Audio Data' dialog apparently didn't automatically get closed by REACT after extraction was done (which causes the log file to be saved by EAC).  Only thing I can think of is that you minimized EAC, but that I've told not to do many times, so I guess not. (It's sad that EAC doesn't simply save the log file directly after the image or last track, instead of waiting until the dialog box is closed).

/add: I suppose the problem could be that the log file is saved a little too late, and is not ready when the wavpack command is issued. There is put in a small delay before running the compression commands, though (but maybe too small).

If you can't find a cure, remove the symptom. Delete: -w "EACLOG=@@eaclog@" from the wavpack line.

PS: As you may have understood, you must set Debug=0 in the INI again so that the compression window is automatically closed after its work, but it has nothing to do with the missing log file problem.

Please, try to figure out what may cause the problem yourself before asking. E.g this time there was a clear wavpack error message which also you could have seen.
[a href="index.php?act=findpost&pid=344807"][{POST_SNAPBACK}][/a]

Tycho,
I appreciate your help.  I can see that my post bothered you for some reason, but I assure you I am trying.  I've devoted countless hours to this program, trying to learn it and learn from people on this forum. 

I understand that there is an error, which is why I posted it. This doesn't help me figure out the fix for it.  I'm not only new to REACT, but I'm new to EAC and audio compression in general.  I do try to figure it out myself, but unfortunately I'm at the mercy of the creators and those most knowledgeable about the bugs in REACT and EAC, since there isn't a REACT troubleshooting website or helpdesk that I can go to for answers.

You are right, I did not minimize anything.  I press F10 and walk away, so as not to cause any problems myself (not being able to work on other programs or search the internet why the rip and compression is going on is, in my opinion, a major drawback to the REACT+EAC situation).  I have noticed that the the command prompt is always minimized when it runs.  I can maximize it manually, but it does not want to behave that way by itself for some reason.

Again, if anyone can point me in the right direction, or send me to another source so I can learn myself, I would greatly appreciate.  I've probably read every post on here involving REACT.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-25 06:46:53
Quote
wavpack is complaining about a missing log file that it tries to embed in the image, and therefore quits.

For some reason, the 'Extraction Audio Data' dialog apparently didn't automatically get closed by REACT after extraction was done (which causes the log file to be saved by EAC).  Only thing I can think of is that you minimized EAC, but that I've told not to do many times, so I guess not. (It's sad that EAC doesn't simply save the log file directly after the image or last track, instead of waiting until the dialog box is closed).

/add: I suppose the problem could be that the log file is saved a little too late, and is not ready when the wavpack command is issued. There is put in a small delay before running the compression commands, though (but maybe too small).


If you can't find a cure, remove the symptom. Delete: -w "EACLOG=@@eaclog@" from the wavpack line.

Please, try to figure out what may cause the problem yourself before asking. E.g this time there was a clear wavpack error message which also you could have seen.


What is strange about this whole behavior is that it behaves this way the first time through, but every time on the second time through the F10 process, it does save the .WV file. 

I'm also not sure if this matters, but the .cue file is saved the first time in the correct directory where the .WV file should accompany it.  Would this still be saved if the problem was caused by the log file being saved too late?

Is there a way to cause a longer delay before compression to see if that will fix the problem?

Lastly, if I get rid of the -w "EACLOG=@@eaclog@" in the .INI, what will that change?

Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-25 07:49:22
Quote
What is strange about this whole behavior is that it behaves this way the first time through, but every time on the second time through the F10 process, it does save the .WV file.
This isn't strange.  The first run eventually does create the log, so when the second run starts the log is already there and it works.

Quote
I'm also not sure if this matters, but the .cue file is saved the first time in the correct directory where the .WV file should accompany it.  Would this still be saved if the problem was caused by the log file being saved too late?
Yes.  The cuesheet is created right at the start.

Quote
Is there a way to cause a longer delay before compression to see if that will fix the problem?
EDIT: Removed various suggestions - just use this one!

Put the following lines at the start of your process:

Code: [Select]
1=>:WaitForLog
2=>@IF NOT EXIST "@eaclog@" (
3=>@ECHO Waiting for log file...
4=>@PING 1.1.1.1 -n 1 -w 2000>NUL
5=>GOTO WaitForLog)

Your current line 1 would then become 6, e.g.:

Code: [Select]
1=>:WaitForLog
2=>@IF NOT EXIST "@eaclog@" (
3=>@ECHO Waiting for log file...
4=>@PING 1.1.1.1 -n 1 -w 2000>NUL
5=>GOTO WaitForLog)
6=>@encdir@\wavpack.exe -hmy -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "REPLAYGAIN_ALBUM_GAIN=@gain@" -w "REPLAYGAIN_ALBUM_PEAK=@peak@" -w "REPLAYGAIN_TRACK_GAIN=@gain@" -w "REPLAYGAIN_TRACK_PEAK=@peak@" -w "CUESHEET=@@cuesheet@" -w "EACLOG=@@eaclog@" "@source@" "@image@"
7=>move "@destbase@.*" "@destdir1@"
...

Quote
Lastly, if I get rid of the -w "EACLOG=@@eaclog@" in the .INI, what will that change?
The log file will no longer be embedded in yor WavPack file.  I am embedding the logfile, and many users like to, but I only started doing it with REACT, and it really isn't necessary.  If you are happy that the rip was good do you really need a tag with the whole rip info?  Dunno.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-25 22:03:26
Thank you so much, Synthetic Soul.  You always not only answer my questions, but you usually educate me as well.  If you're ever in Orange County, CA, let me know and I'll buy you lunch.

I'll adjust my .ini file accordingly.  I'm confused now (is this new?), because it seems to be working properly after I made an adjustment under the tools tab of EAC options. I checked the box
On extraction, start external compressors queued in the background
use 1 simultaneous external compressor thread(s).


This may just be a coincidence, since I'm not even sure what this did.  Should I uncheck it?
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2005-11-25 22:17:49
Quote
Tycho,
I appreciate your help.  I can see that my post bothered you for some reason, but I assure you I am trying.  I've devoted countless hours to this program, trying to learn it and learn from people on this forum. 

I understand that there is an error, which is why I posted it. This doesn't help me figure out the fix for it.  I'm not only new to REACT, but I'm new to EAC and audio compression in general.  I do try to figure it out myself, but unfortunately I'm at the mercy of the creators and those most knowledgeable about the bugs in REACT and EAC, since there isn't a REACT troubleshooting website or helpdesk that I can go to for answers.  ....[a href="index.php?act=findpost&pid=344812"][{POST_SNAPBACK}][/a]

Sorry - I don't mind you asking questions on REACT. I realize that learning EAC, REACT and audio compression in one go must be very hard!    I also know that the documentation for REACT is not very good.
Quote
You are right, I did not minimize anything.  I press F10 and walk away, so as not to cause any problems myself (not being able to work on other programs or search the internet why the rip and compression is going on is, in my opinion, a major drawback to the REACT+EAC situation).  I have noticed that the the command prompt is always minimized when it runs.  I can maximize it manually, but it does not want to behave that way by itself for some reason.

The problem is that I already have explained this: You may work on other programs or search the internet while ripping and compression is going on. Just place your browser or application on top of EAC, instead of minimizing it. I also explained a few posts ago that you may have the compression window (command prompt window) non-minimized by setting 'MinimizeCompressionWindow=0' under the [Settings] in the INI file.

However, you did reveal a possible problem with the EAC log + the acdir/EAC genre problem - thanks.  I'll try to put in a longer delay before the encoding window starts in the next release.

Don't let this stop you from posting questions about REACT, just do as much "homework" as you can beforehand. 

Quote
I'll adjust my .ini file accordingly. I'm confused now (is this new?), because it seems to be working properly after I made an adjustment under the tools tab of EAC options. I checked the box
On extraction, start external compressors queued in the background
use 1 simultaneous external compressor thread(s).

This may just be a coincidence, since I'm not even sure what this did. Should I uncheck it?

This makes me wonder, did you even let REACT auto config EAC at all? That would have set that checkbox automatically (so yes, it should be checked).
The checkbox makes the encoding happen in the background, so you can rip a new CD while it is encolding a previous.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-25 22:53:19
Quote
The problem is that I already have explained this: You may work on other programs or search the internet while ripping and compression is going on. Just place your browser or application on top of EAC, instead of minimizing it.

Yes, I do remember.  It's just that I wanted a controlled environment so I could eliminate any other possible problems.  When I'm not getting the results I want, I try to remove all other variables from the equation. Just wanted to make the question and answer time as short as possible, for the sake of those helping me.

Quote
I also explained a few posts ago that you may have the compression window (command prompt window) non-minimized by setting 'MinimizeCompressionWindow=0' under the [Settings] in the INI file.

Would you recommend this?  I'm not sure of the benefit of this.  Would it prevent one from accidentally minimizing the compression window? Would it work as "always on top", or would it just not minimize?

Quote
Don't let this stop you from posting questions about REACT, just do as much "homework" as you can beforehand. 

Got it.  I'll try my best.  I wish I could troubleshoot more myself.  My working knowledge of reading .ini language is in the rookie status.

Quote
This makes me wonder, did you even let REACT auto config EAC at all? That would have set that checkbox automatically (so yes, it should be checked).

I did let REACT config EAC, so I'm not sure why this box was unchecked.  I may have done it at a later time myself from advice.  I honostly cannot remember at this point.  The learning curve has been steep.
Quote
The checkbox makes the encoding happen in the background, so you can rip a new CD while it is encolding a previous.

Thanks for explaining.  This really helps. I was unaware that I could eject the CD and begin a new rip while compression was still going on.
Title: New tool: React - [Run EAC Tasks]
Post by: [proxima] on 2005-11-26 10:57:54
I've just successful configured REACT with iTunesencode.exe
Hope will be useful to someone:
Code: [Select]
[ITUNES-tracks]
Description=iTunes AAC with iTunesencode
destdir1=@sourcedir@\$cdartist$ - (@year@) $album$
dest1=@destdir1@\@track@ - $title$
Various-dest1=@destdir1@\@track@ - $title$ ($artist$)
1=>echo @encdir@\itunesencode.exe -e "AAC Encoder" -a "@artist@" -l "@album@" -t "@title@" -g "@genre@" -y "@year@" -n "@track@" -c "@comment@" -d -i "@dest1@.wav" -o "@dest1@.m4a" >>iTunes.bat
2=>move "@source@" "@dest1@.wav"
3=>if not exist "@eaclog@" goto end
4=>move "@eaclog@" "@destdir1@\$album$.log"
5=>echo del "@destdir1@\*.wav" >>iTunes.bat
6=>call iTunes.bat
7=>del iTunes.bat
8=>:end
Title: New tool: React - [Run EAC Tasks]
Post by: cpalcott on 2005-11-26 13:26:22
Quote from: tycho,Nov 24 2005, 11:10 AM

I think there is something buggy about Genre in Tag.exe. You could try to add -T "GENRE=@genre@" and --tg "@genre@" to the flac.exe and lame.exe line correspondingly, and remove the -t "@genre@" from the Tag.exe line. @genre@ is the same for every track, so it should work.

I tried this and still no luck. Genre is appearing in the FLAC file, just not the mp3. In fact it does not even create the mp3 file with this configuration. There has been some discussion about this being an acdir.exe issue but, correct me if I am wrong, ripping in "tracks" mode does not use acdir.exe, therefore this must be a tag.exe problem. Below is my latest ini with the changes tycho suggested.

Any ideas?

[FLAC_MP3-tracks]
Description=Tagged flac and mp3 files with RG album and track tags
destdir1=@musicdir@\FLAC\$cdartist$\($year$) $album$
dest1=@destdir1@\$track$ - $title$
Various-dest1=@destdir1@\$track$ - $title$ ($artist$)
destdir2=@musicdir@\LAME\$cdartist$\($year$) $album$
1=>echo.> "@dest1@.flac.tmp"
2=>@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -t "ENCODEDBY=EAC + REACT" "@dest1@.flac.tmp"
3=>move "@source@" "@dest1@.wav"
4=>if @islast@==0 goto end
5=> move "@eaclog@" "@destdir1@\EAC_log.txt"
6=> cd /d "@destdir1@"
7=> @encdir@\Glob.exe -v -c @encdir@\flac.exe -f -6 -T "GENRE=@genre@" --replay-gain *.wav
8=> for %%i in (*.flac) do @encdir@\Tag.exe --fromfile "%%i.tmp" "%%i"
9=> echo @encdir@\lame.exe -V6 --vbr-new --tg "@genre@" --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
10=> echo @encdir@\Tag.exe --fromfile "%%INPUT_NAME%%.flac.tmp" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
11=> echo del "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.flac.tmp" >> encode.bat
12=> @encdir@\WaveGain.exe -a *.wav --exec call encode.bat
13=> del encode.bat
14=>:end
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2005-11-26 17:50:20
Quote
Quote
@Tycho

Is there a way to get Genre's with spaces to work? If I choose Easy Listening of New Age for instance it says it doesn't recognize it and uses Other instead.

Thanks.
[a href="index.php?act=findpost&pid=344627"][{POST_SNAPBACK}][/a]


I think it's a bug in acdir.exe.
Are you using that?

try --tg $q@GENRE@$q  in that line, solved my problems ("Death Metal"    ).
[a href="index.php?act=findpost&pid=344661"][{POST_SNAPBACK}][/a]

I am using ACDIR so I'll give it a try. Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-26 19:02:47
Quote
I tried this and still no luck. Genre is appearing in the FLAC file, just not the mp3. In fact it does not even create the mp3 file with this configuration. There has been some discussion about this being an acdir.exe issue but, correct me if I am wrong, ripping in "tracks" mode does not use acdir.exe, therefore this must be a tag.exe problem. Below is my latest ini with the changes tycho suggested.
Try removing line 10 (and shifting 11-14 up).  Also, try adding --ignore-tag-errors to your LAME command (line 9).

If you are saying that the MP3s are not actually being created now then I can only assume that the genre is not in the list.  Adding --ignore-tag-errors will stop this from stopping encoding.

Removing line 10 will just let us see whether LAME is setting the genre before Tag then runs and maybe messes things up.

Also try using debug=1 and analysing the console output.

I'm not used to track output.  I see all the commands are actually being written to encode.bat which WavGain then should execute.  Maybe it doesn't.  Dunno.  Removing line 13 to stop encode.bat being deleted so you can analyse the commands within may be useful also.
Title: New tool: React - [Run EAC Tasks]
Post by: cpalcott on 2005-11-28 01:18:54
Quote
Try removing line 10 (and shifting 11-14 up).  Also, try adding --ignore-tag-errors to your LAME command (line 9).

If you are saying that the MP3s are not actually being created now then I can only assume that the genre is not in the list.  Adding --ignore-tag-errors will stop this from stopping encoding.

Removing line 10 will just let us see whether LAME is setting the genre before Tag then runs and maybe messes things up.

This did allow the mp3 to be created but no tags were written in the mp3.

Also try using debug=1 and analysing the console output.

I have been doing this but if there is something wrong there, i don't know what it is.

I'm not used to track output.  I see all the commands are actually being written to encode.bat which WavGain then should execute.  Maybe it doesn't.  Dunno.  Removing line 13 to stop encode.bat being deleted so you can analyse the commands within may be useful also.

I also did this but could not get encode.bat to open in any program. I would be happy to post it if that is appropriate and would be of help.
[a href="index.php?act=findpost&pid=345315"][{POST_SNAPBACK}][/a]


I tried going back to the original ini settings with the --ignore-tag-errors added to the lame.exe line. Strange thing happened, the black command screen is showing the correct tags under id3v1 but when I check the tags in foobar or dbpoweramp it is still missing genre (and others).

Sort of frustrating because I feel like I am one step away from this being the perfect solution for me. My portable organizes by tag only so I really need the tags to be written, especially genre.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-28 07:12:21
Quote
I tried going back to the original ini settings with the --ignore-tag-errors added to the lame.exe line. Strange thing happened, the black command screen is showing the correct tags under id3v1 but when I check the tags in foobar or dbpoweramp it is still missing genre (and others).

Sort of frustrating because I feel like I am one step away from this being the perfect solution for me. My portable organizes by tag only so I really need the tags to be written, especially genre.
[a href="index.php?act=findpost&pid=345789"][{POST_SNAPBACK}][/a]


Foobar is also not reading many of my LAME encoded MP3s that I rip and encode through REACT. For me, artist and album are not even showing up on many files that I know have the tags written, because iTunes has no difficulty reading them.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-28 09:45:27
@cpalcott

Perhaps you do need to copy the output in debug mode to a codebox, and also the contents of encode.bat to another.

encode.bat should open with Notepad.  Double-clicking on it will just make it run - drag it into Notepad or some other text editor (even a blank Firefox window).

If you need help copying from the cmd shell please shout.  In Win2K it's a case of dragging to highlight and then right-clicking.  In WinXP you can access commands by right-clicking on the window.
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-11-28 09:55:31
Is there something I can write into the .INI file so that REACT will record the Lame quality settings (-V2 --vbr-new), so that Foobar can read them and display it in the track info panel?  Currently, it will only show Lame 3.97 (not even beta) in the track info. I'm assuming that has to do with the level of tagging React is recording. I would like to tag as much detail as possible in the rip/encode stage, so there is less work to be done post encode.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2005-11-28 10:13:14
You could just write it as a comment.  Your current line is writing info about the gain applied - but if you don't need this you could use the comment for your pruposes, e.g.:

5=>@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.mp3" --pipe "@encdir@\lame.exe -V2 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $q-V2 --vbr-new$q - $#o" "@sourcecuesheet@"

It is possible that there is a specific ID3v2 tag for this, but I'm not that up on tagging.  If there was you could use a little tagger called ID3.EXE to add the tag after.
Title: New tool: React - [Run EAC Tasks]
Post by: cpalcott on 2005-11-29 01:00:05
Thanks for your help Synthetic Soul. Here is the information you suggested. I hope this is in a format you can use. If there is a better, easier way let me know.

ENCODE.BAT INFO
@title REACT Commands
@chcp 1252
@echo Disc info  : "Percy Faith and His Orchestra" - "Music Of Christmas"
@echo Track info  : (1) "Joy To The World"
@echo Description : "Tagged flac and mp3 files with RG album and track tags"
echo.> "C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith and His Orchestra\(1954) Music Of Christmas\01 - Joy To The World.flac.tmp"
C:\PROGRA~1\REACT\Encoders\Tag.exe --nocheck --ape2 -t "ARTIST=Percy Faith and His Orchestra" -t "ALBUM=Music Of Christmas" -t "TRACK=1" -t "TITLE=Joy To The World" -t "YEAR=1954" -t "GENRE=Christmas" -t "TOTALTRACKS=12" -t "FREEDB=A909000C" -t "CRC=3F65D1AA" -t "ENCODEDBY=EAC + REACT" "C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith and His Orchestra\(1954) Music Of Christmas\01 - Joy To The World.flac.tmp"
move "C:\Documents and Settings\Chris Alcott\My Documents\My Music\Ptmp54266.wav" "C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith and His Orchestra\(1954) Music Of Christmas\01 - Joy To The World.wav"
if 1==0 goto end
move "C:\Documents and Settings\Chris Alcott\My Documents\My Music\Music Of Christmas.log" "C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith and His Orchestra\(1954) Music Of Christmas\EAC_log.txt"
cd /d "C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith and His Orchestra\(1954) Music Of Christmas"
C:\PROGRA~1\REACT\Encoders\Glob.exe -v -c C:\PROGRA~1\REACT\Encoders\flac.exe -f -6 --replay-gain *.wav
for %%i in (*.flac) do C:\PROGRA~1\REACT\Encoders\Tag.exe --fromfile "%%i.tmp" "%%i"
echo C:\PROGRA~1\REACT\Encoders\lame.exe -V6 --vbr-new --ignore-tag-errors --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "C:\Documents and Settings\Chris Alcott\My Documents\My Music\LAME\Percy Faith and His Orchestra\(1954) Music Of Christmas\%%INPUT_NAME%%.mp3" >> encode.bat
echo C:\PROGRA~1\REACT\Encoders\Tag.exe --fromfile "%%INPUT_NAME%%.flac.tmp" "C:\Documents and Settings\Chris Alcott\My Documents\My Music\LAME\Percy Faith and His Orchestra\(1954) Music Of Christmas\%%INPUT_NAME%%.mp3" >> encode.bat
echo del "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.flac.tmp" >> encode.bat
C:\PROGRA~1\REACT\Encoders\WaveGain.exe -a *.wav --exec call encode.bat
:end
pause

REACT COMMANDS SCREEN
Active code page: 1252
Disc info  : "Percy Faith and His Orchestra" - "Music Of Christmas"
Track info  : (1) "Joy To The World"
Description : "Tagged flac and mp3 files with RG album and track tags"

C:\Program Files\REACT>echo.1>"C:\Documents and Settings\Chris Alcott\My Documen
ts\My Music\FLAC\Percy Faith and His Orchestra\(1954) Music Of Christmas\01 - Jo
y To The World.flac.tmp"

C:\Program Files\REACT>C:\PROGRA~1\REACT\Encoders\Tag.exe --nocheck --ape2 -t "A
RTIST=Percy Faith and His Orchestra" -t "ALBUM=Music Of Christmas" -t "TRACK=1"
-t "TITLE=Joy To The World" -t "YEAR=1954" -t "GENRE=Christmas" -t "TOTALTRACKS=
12" -t "FREEDB=A909000C" -t "CRC=3F65D1AA" -t "ENCODEDBY=EAC + REACT" "C:\Docume
nts and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith and His Orc
hestra\(1954) Music Of Christmas\01 - Joy To The World.flac.tmp"
Tag - Automatic Tag from filename
Copyright © 2002-2003 Case.  Minor additions by Neil Popham, 2004-2005
Version 2.0.44, Compiled 2005-09-29

C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith an
d His Orchestra\(1954) Music Of Christmas\01 - Joy To The World.flac.tmp
File has no known tags.
Title:  Joy To The World
Artist:  Percy Faith and His Orchestra
Album:  Music Of Christmas
Year:    1954
Track:  1
Genre:  Christmas
Comment:
TOTALTRACKS=12
FREEDB=A909000C
CRC=3F65D1AA
ENCODEDBY=EAC + REACT
APE v2.0 tag written.


C:\Program Files\REACT>move "C:\Documents and Settings\Chris Alcott\My Documents
\My Music\Ptmp54266.wav" "C:\Documents and Settings\Chris Alcott\My Documents\My
Music\FLAC\Percy Faith and His Orchestra\(1954) Music Of Christmas\01 - Joy To
The World.wav"

C:\Program Files\REACT>if 1 == 0 goto end

C:\Program Files\REACT>move "C:\Documents and Settings\Chris Alcott\My Documents
\My Music\Music Of Christmas.log" "C:\Documents and Settings\Chris Alcott\My Doc
uments\My Music\FLAC\Percy Faith and His Orchestra\(1954) Music Of Christmas\EAC
_log.txt"

C:\Program Files\REACT>cd /d "C:\Documents and Settings\Chris Alcott\My Document
s\My Music\FLAC\Percy Faith and His Orchestra\(1954) Music Of Christmas"

C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith an
d His Orchestra\(1954) Music Of Christmas>C:\PROGRA~1\REACT\Encoders\Glob.exe -v
-c C:\PROGRA~1\REACT\Encoders\flac.exe -f -6 --replay-gain *.wav
Executing: C:/PROGRA~1/REACT/Encoders/flac.exe "-f" "-6" "--replay-gain" "01 - J
oy To The World.wav"

flac 1.1.2, Copyright © 2000,2001,2002,2003,2004,2005  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

options: -P 4244 -b 4608 -m -l 8 -q 0 -r 0,4
01 - Joy To The World.wav: wrote 13649313 bytes, ratio=0.599

C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith an
d His Orchestra\(1954) Music Of Christmas>for %i in (*.flac) do C:\PROGRA~1\REAC
T\Encoders\Tag.exe --fromfile "%i.tmp" "%i"

C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith an
d His Orchestra\(1954) Music Of Christmas>C:\PROGRA~1\REACT\Encoders\Tag.exe --f
romfile "01 - Joy To The World.flac.tmp" "01 - Joy To The World.flac"
Tag - Automatic Tag from filename
Copyright © 2002-2003 Case.  Minor additions by Neil Popham, 2004-2005
Version 2.0.44, Compiled 2005-09-29

C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith an
d His Orchestra\(1954) Music Of Christmas\01 - Joy To The World.flac
Format:  FLAC
Details: 44100 Hz Stereo, 845 kbps, playtime 02:09
Tag:    FLAC
Title:  Joy To The World
Artist:  Percy Faith and His Orchestra
Album:  Music Of Christmas
Year:    1954
Track:  1
Genre:  Christmas
Comment:
REPLAYGAIN_TRACK_PEAK=0.60620117
REPLAYGAIN_TRACK_GAIN=-2.57 dB
REPLAYGAIN_ALBUM_PEAK=0.60620117
REPLAYGAIN_ALBUM_GAIN=-2.57 dB
TOTALTRACKS=12
FREEDB=A909000C
CRC=3F65D1AA
ENCODEDBY=EAC + REACT
FLAC tag written.


C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith an
d His Orchestra\(1954) Music Of Christmas>echo C:\PROGRA~1\REACT\Encoders\lame.e
xe -V6 --vbr-new --ignore-tag-errors --scale %ALBUM_SCALE% --tc "AG appl:%ALBUM_
GAIN%,TG:%TRACK_GAIN% dB" "%INPUT_NAME%.wav" "C:\Documents and Settings\Chris Al
cott\My Documents\My Music\LAME\Percy Faith and His Orchestra\(1954) Music Of Ch
ristmas\%INPUT_NAME%.mp3"  1>>encode.bat

C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith an
d His Orchestra\(1954) Music Of Christmas>echo C:\PROGRA~1\REACT\Encoders\Tag.ex
e --fromfile "%INPUT_NAME%.flac.tmp" "C:\Documents and Settings\Chris Alcott\My
Documents\My Music\LAME\Percy Faith and His Orchestra\(1954) Music Of Christmas\
%INPUT_NAME%.mp3"  1>>encode.bat

C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith an
d His Orchestra\(1954) Music Of Christmas>echo del "%INPUT_NAME%.wav" "%INPUT_NA
ME%.flac.tmp"  1>>encode.bat

C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith an
d His Orchestra\(1954) Music Of Christmas>C:\PROGRA~1\REACT\Encoders\WaveGain.ex
e -a *.wav --exec call encode.bat

Processing directory '.':

Analyzing...

    Gain  |  Peak  | Scale | New Peak |Left DC|Right DC| Track
          |        |      |          |Offset | Offset | Track
--------------------------------------------------------------
  -2.57 dB |  19863 |  0.74 |    14776 |  114  |    76  | 01 - Joy To The World.
wav

Recommended Album Gain:  -2.57 dB      Scale: 0.7439


WaveGain Processing completed normally

Executing command on "01 - Joy To The World.wav":


C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith an
d His Orchestra\(1954) Music Of Christmas>C:\PROGRA~1\REACT\Encoders\lame.exe -V
6 --vbr-new --ignore-tag-errors --scale 0.74388 --tc "AG appl:-2.57,TG:-2.57 dB"
"01 - Joy To The World.wav" "C:\Documents and Settings\Chris Alcott\My Document
s\My Music\LAME\Percy Faith and His Orchestra\(1954) Music Of Christmas\01 - Joy
To The World.mp3"
LAME 3.97 (beta 1, Nov 10 2005) 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), SSE (ASM used)
Using polyphase lowpass filter, transition band: 15115 Hz - 15648 Hz
Encoding 01 - Joy To The World.wav
      to C:\Documents and Settings\Chris Alcott\My Documents\My Music\LAME\Percy
Faith and His Orchestra\(1954) Music Of Christmas\01 - Joy To The World.mp3
Encoding as 44.1 kHz VBR(q=6) j-stereo MPEG-1 Layer III (ca. 13x) qval=3
    Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA
  4948/4948  (100%)|    0:26/    0:26|    0:26/    0:26|  4.9415x|    0:00
32 [ 123] %***
40 [  1] %
48 [  2] %
56 [  1] *
64 [  3] %
80 [  5] %
96 [  72] %%*
112 [ 973] %%%%%%%%%%%%%%%%%***********
128 [2415] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%***************************
160 [1344] %%%%%%%%%%%%%%%%%%%%%*****************
192 [  9] %
224 [  0]
256 [  0]
320 [  0]
-------------------------------------------------------------------------------
  kbps        LR    MS  %    long switch short %
  130.7      57.4  42.6        99.9  0.1  0.1
Writing LAME Tag...done
ReplayGain: 0.0dB

C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith an
d His Orchestra\(1954) Music Of Christmas>C:\PROGRA~1\REACT\Encoders\Tag.exe --f
romfile "01 - Joy To The World.flac.tmp" "C:\Documents and Settings\Chris Alcott
\My Documents\My Music\LAME\Percy Faith and His Orchestra\(1954) Music Of Christ
mas\01 - Joy To The World.mp3"
Tag - Automatic Tag from filename
Copyright © 2002-2003 Case.  Minor additions by Neil Popham, 2004-2005
Version 2.0.44, Compiled 2005-09-29

C:\Documents and Settings\Chris Alcott\My Documents\My Music\LAME\Percy Faith an
d His Orchestra\(1954) Music Of Christmas\01 - Joy To The World.mp3
Format:  MPEG 1 Layer 3, Joint Stereo
Details: 44100 Hz Stereo, 130 kbps, playtime 02:09
Tag:    ID3v1
Title:  Joy To The World
Artist:  Percy Faith and His Orchestra
Album:  Music Of Christmas
Year:    1954
Track:  1
Genre:  Christmas
Comment: AG appl:-2.57,TG:-2.57 dB
TOTALTRACKS=12
FREEDB=A909000C
CRC=3F65D1AA
ENCODEDBY=EAC + REACT
ID3v1 tag written.


C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith an
d His Orchestra\(1954) Music Of Christmas>del "01 - Joy To The World.wav" "01 -
Joy To The World.flac.tmp"

C:\Documents and Settings\Chris Alcott\My Documents\My Music\FLAC\Percy Faith an
d His Orchestra\(1954) Music Of Christmas>pause
Press any key to continue . . .
Title: New tool: React - [Run EAC Tasks]
Post by: [proxima] on 2005-11-29 20:23:13
While waiting for EAC test&copy for images, i've done a such profile for REACT.
Press F10 for the first rip and F10 again for testing and compression.
If files are different compression is skipped and all created files deleted.
Code: [Select]
[WAVPACK_FC-image]
Description=WavPack File Compare
ImageExt=wv
CuesheetExt=cue
1=>if exist "@destbase@_1st\1st.wav" goto second
2=>md "@destbase@_1st\"
3=>MOVE "@source@" "@image@"
4=>MOVE "@image@" "@destbase@_1st\1st.wav"
5=>del "@destbase@.cue"
6=>del "@eaclog@"
7=>goto end
8=>:second
9=>fc /A /B "@destbase@_1st\1st.wav" "@source@" >nul
10=>IF %errorlevel% NEQ 0 goto failure
11=>del "@destbase@_1st\1st.wav"
12=>rd "@destbase@_1st"
13=>@encdir@\wavpack.exe -ymfx5 "@source@" "@image@"
14=>@encdir@\WaveGain.exe -a "@source@" --exec @encdir@\Tag.exe --force ape2 -f "CUESHEET=@cuesheet@" -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "COMMENT=@comment@" -t "REPLAYGAIN_ALBUM_GAIN=%%ALBUM_GAIN%% dB" -t "REPLAYGAIN_ALBUM_PEAK=%%ALBUM_PEAK%%" -f "EAC_LOG=@eaclog@" "@image@"
15=>DEL "@source@"
16=>md "@destbase@\"
17=>MOVE "@destbase@.wv" "@destbase@\"
18=>MOVE "@destbase@.cue" "@destbase@\"
19=>MOVE "@eaclog@" "@destbase@\"
20=>goto end
21=>:failure
22=>del "@destbase@_1st\1st.wav"
23=>rd "@destbase@_1st"
24=>del "@destbase@.cue"
25=>del "@eaclog@"
26=>del "@source@"
27=>:end
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2005-12-01 02:08:55
Quote
You could just write it as a comment.  Your current line is writing info about the gain applied - but if you don't need this you could use the comment for your pruposes, e.g.:

5=>@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.mp3" --pipe "@encdir@\lame.exe -V2 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $q-V2 --vbr-new$q - $#o" "@sourcecuesheet@"

It is possible that there is a specific ID3v2 tag for this, but I'm not that up on tagging.  If there was you could use a little tagger called ID3.EXE to add the tag after.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=345891")

Yes, an ID3 tag for this is what I'm looking for.  How do I add another tag to be written to each file to include the LAME quality setting used.  Many people out there do it, so I was hoping that someone familiar with REACT could help me out with this one.  I do not want to lose my album gain comment, I want to add additional tags. Below is a sample of a file I downloaded that was tagged this way, so people can see it as an example.

[a href="http://imageshack.us](http://img220.imageshack.us/img220/84/sp32840ac.jpg)[/url]

Edit: I realize this isn't a tagging forum, but I believe this has to do with REACT and it's tagging features, which could benefit others.
Title: New tool: React - [Run EAC Tasks]
Post by: Fischzuechter on 2005-12-10 23:31:35
Good evening!

I think REACT is the tool of my choice, but right now I'm totally lost with the configuration.

Maybe you can help me out a little bit. What I want to do:

- MP3-Tracks into C:\Music including ID3V1 and ID3V2 Tags
- M3U-Playlist into C:\Music
- FLAC-Tracks into E:\Archive
- FLAC-Cuesheet into E:\Archive
- EAC-Log into E:\Archive

Here is my non-working config:

[Settings]
Config=PERSONAL
EAC=C:\Programs\Exact Audio Copy\EAC.exe
musicdir=C:\Music
encdir=C:\Programs\REACT\Encoders
LogFile=
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - ($year$) $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=0

; -- PERSONAL --
[PERSONAL-tracks]
Description=LAME -V2 mp3 track files, id3v1 + id3v2 tags AND FLAC track files
destdir1=C:\Music
dest1=@destdir1@\$artist$ - $title$ (Album $album$, Track $track$)
Various-dest1=@destdir1@\$artist$ - $title$ (Album $album$, Track $track$)
destdir2=E:\Archive
dest2=@destdir2@\$artist$ - $title$ (Album $album$, Track $track$)
Various-dest2=@destdir2@\$artist$ - $title$ (Album $album$, Track $track$)
1=>echo.> "@dest1@.mp3.tmp"
2=>move "@source@" "@dest1@.wav"
3=>if @islast@==0 goto end
4=>  cd /d "@destdir1@"
5=>  @encdir@\lame.exe -V 2 --vbr-new --add-id3v2 --pad-id3v2 --ignore-tag-errors --tt "%t" --ta "%a" --tl "%g" --ty "%y" --tn "%n" --tg "%m" %s %d
6=>  del "*.mp3.tmp"
7=>echo.> "@dest1@.flac.tmp"
8=>move "@source@" "@dest2@.wav"
9=>  move "@eaclog@" "EAC_log.txt"
10=>if @islast@==0 goto end
11=>  cd /d "@destdir2@"
12=>  @encdir@\flac.exe -5 -T "Artist=%a" -T "Title=%t" -T "Album=%g" -T "Date=%y" -T "Tracknumber=%n" -T "Genre=%m" %s -o %d
13=>  del "*.wav" "*.flac.tmp"
14=>:end

Hmmm... seems that this configuration is completely wrong. Any ideas?

Thank you very much and good night!
Title: New tool: React - [Run EAC Tasks]
Post by: drbeachboy on 2005-12-15 18:29:03
Quote
I've just successful configured REACT with iTunesencode.exe
Hope will be useful to someone:
Code: [Select]
[ITUNES-tracks]
Description=iTunes AAC with iTunesencode
destdir1=@sourcedir@\$cdartist$ - (@year@) $album$
dest1=@destdir1@\@track@ - $title$
Various-dest1=@destdir1@\@track@ - $title$ ($artist$)
1=>echo @encdir@\itunesencode.exe -e "AAC Encoder" -a "@artist@" -l "@album@" -t "@title@" -g "@genre@" -y "@year@" -n "@track@" -c "@comment@" -d -i "@dest1@.wav" -o "@dest1@.m4a" >>iTunes.bat
2=>move "@source@" "@dest1@.wav"
3=>if not exist "@eaclog@" goto end
4=>move "@eaclog@" "@destdir1@\$album$.log"
5=>echo del "@destdir1@\*.wav" >>iTunes.bat
6=>call iTunes.bat
7=>del iTunes.bat
8=>:end
[a href=\"index.php?act=findpost&pid=345184\"][{POST_SNAPBACK}][/a]
Hi proxima,

Do you know of a way to incorporate this iTunesencode config so that I could do a FLAC-Image & iTunesencode m4a tracks? I am trying to do this using ACDIR, but I can't seem to get it working properly.
Title: New tool: React - [Run EAC Tasks]
Post by: [proxima] on 2005-12-15 19:16:18
I think itunesencode.exe does not support pipe input (from acdir) 
In this case you have to split to single wav tracks first.
Title: New tool: React - [Run EAC Tasks]
Post by: Aschrack on 2006-01-05 11:57:08
Hum, really sorry to ask such a question, but im so lost in the config file
I just wanna extract my files with EAC in E:\music\"artist"\"album"\wav
(naming format being
A - L - N - T - Y - G : Artiste - Album - TrackNumber - TrackTitle - Year - Genre

or if various artist
L - N - A - T - Y - G : Album - TrackNumber - Artiste - TrackTitle - Year - Genre)

Compress it in mp3 with lame 3.96.1 and put the files in
E:\music\"artist"\"album"\mp3
--alt-preset standard

Compress it in mpc and put the files in
E:\music\"artist"\"album"\mpc
--braindead --xlevel

Compress it in monkey's audio and put the files in
E:\music\"artist"\"album"\ape
high

and the compressor are placed in
E:\soft\audio\monkeysaudio\Monkey's Audio\MAC.exe
E:\soft\audio\musepack\mppenc.exe
E:\soft\audio\razorlame\lame.exe

(tag.exe being in E:\soft\audio\musepack\tag.exe
i use a recursive batch file in the \album\tagging.bat dir
Tag.exe --auto --recursive --scheme "A - L - C - T - Y - G" *.mp3
Tag.exe --auto --recursive --scheme "A - L - N - T - Y - G" *.mpc
Tag.exe --auto --recursive --scheme "A - L - N - T - Y - G" *.ape

and for various artist
Tag.exe --auto --recursive --scheme "L - N - A - T - Y - G" *.mp3
Tag.exe --auto --recursive --scheme "L - N - A - T - Y - G" *.mpc
Tag.exe --auto --recursive --scheme "L - N - A - T - Y - G" *.ape)

At first i though this soft (react) was so great and i still think so, but couldnt get used to the config so i continued to extract, then compress each wav with the compressor then put tag.exe, Tag.cfg and Tagging.bat in the  E:\music\artist\album\ directory and running tagging.bat.

But my purpose here is to backup all my cds in those format (ape for lossless definitive backup on a dvd, then in a box in the dark, mpc to listen on my computer and mp3 because my usb mp3 reader can't read musepack)

And doing all those operations (extract, insert file, encode, detect encoding is done, insert file in mpc batch encoder, encode, detect encoding is done, insert file in monkey's audio GUI, encode, detect encoding is done and finally, deleting the wavs, putting tag.exe in the root dir of the album, running the tagging.bat file and doing so for the next cd) is taking me too much time when i know that with react i only would have to insert the cd, clic on extract & compress. But i just can't get the way to use the config file.

Could someone help me with that little problem?

PS : if you have other suggestions (about the codecs i use for example) do not hesitate. Well, exept for mp3, i have all the choice i want. Tried to have the best quality in mp3 without taking too much place (its only for an mp3 player), the best quality on my computer (that's why i used musepack, used it some years ago and well, it received pretty good ratings from the audio community so i just took the last version) and well, for the lossless i tried the "insane" level of compression of the monkey's audio but it uses too much cpu load at the beginning of each track (there is a blank time of 2-4 secondes) so i chosed a lesser compression method. But if you know another lossless codec using half the size of the monkey's audio file, then say it cause the important in this case is the place it will take)
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-01-05 12:22:02
Relace the relevant parts of your INI with these, and see how you go.  NOTE: I have set Debug to 1 for now, so you can check what's happening (if anything...).

This is untested.  It is, at least, a start though.

Code: [Select]
[Settings]
Config=APE
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=E:\music
encdir=E:\soft\audio
LogFile=react.txt
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - (@year@) $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=0


Code: [Select]
[APE-tracks]
Description=Monkey's Audio, MP3, and MPC
destdir1=@musicdir@\$cdartist$\$album$\APE
destdir2=@musicdir@\$cdartist$\$album$\MP3
destdir3=@musicdir@\$cdartist$\$album$\MPC
dest1=@destdir1@\$artist$ - $album$ - $track$ - $title$ - $year$ - $genre$
dest2=@destdir2@\$artist$ - $album$ - $track$ - $title$ - $year$ - $genre$
dest3=@destdir3@\$artist$ - $album$ - $track$ - $title$ - $year$ - $genre$
Various-dest1=@destdir1@\$album$ - $track$ - $artist$ - $title$ - $year$ - $genre$
Various-dest2=@destdir2@\$album$ - $track$ - $artist$ - $title$ - $year$ - $genre$
Various-dest3=@destdir3@\$album$ - $track$ - $artist$ - $title$ - $year$ - $genre$
1=>"@encdir@\monkeysaudio\Monkey's Audio\MAC.EXE" "@source@" "@dest1@.ape" -c3000
2=>@encdir@\musepack\TAG.EXE --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" "@dest1@.ape"
3=>"@encdir@\razorlame\LAME.EXE" --alt-preset standard --ta "@artist@" --tt "@title@" --tl "@album@" --ty "@year@" --tn "@track@" "@source@" "@dest2@.mp3"
4=>"@encdir@\musepack\MPPENC.EXE" --braindead --xlevel --artist "@artist@" --title "@title@" --album "@album@" --year "@year@" --track "@track@" --genre "@genre@" "@source@" "@dest3@.mpc"
5=>MOVE "@source@" "@dest1@.wav"
6=>IF @islast@==0 GOTO End
7=>MOVE "@eaclog@" "@destdir1@\EAC_log.txt"
8=>DEL "@destdir1@\*.wav"
9=>:End
Title: New tool: React - [Run EAC Tasks]
Post by: Aschrack on 2006-01-05 12:55:20
Quote
Relace the relevant parts of your INI with these, and see how you go.  NOTE: I have set Debug to 1 for now, so you can check what's happening (if anything...).

This is untested.  It is, at least, a start though.

trying right now  (thanks already, let's see where we go with this)

hum, there seems to be a problem with the call to react or what happens after the extraction of a track

cause there is a window called react (in a command line form) wich appears but disappears as fast, and nothing is encoded

(additional command line for E:\soft\REACT\REACT.exe

"REACT %o %s %d "%a" "%g" "%t" "%n" "%x" "%y" "%m" "%e" "%f" "%b" %r"

(i though, maybe "REACT " shouldnt be noted there

ben if i set "%o %s %d "%a" "%g" "%t" "%n" "%x" "%y" "%m" "%e" "%f" "%b" %r"
i get "autolt error :
line 0 (File "E:\soft\REACT\REACT.exe
]g_bitrate = $CmdLine[15]
$g_bitrate = ^ERROR
so it seems REACT should stay in the additional command line )
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-01-05 13:41:18
Yeah, that looks right.  It may be worth pressing Ctrl+F2 with REACT/EAC open to re-auto-configure EAC.

I don't know why the window would open and close so quickly.

The only thing I can suggest is to interspace each current command with a PAUSE, to see when it fails.  E.g.:

Code: [Select]
1=>PAUSE
2=>(previous line 1)
3=>PAUSE
4=>(previous line 2)
5=>PAUSE
6=>(previous line 3)
...

That said, if nothing is running, it may not even get this far.

It would be useful to see the batch file that REACT writes.
Title: New tool: React - [Run EAC Tasks]
Post by: Aschrack on 2006-01-05 14:49:43
Quote
Yeah, that looks right.  It may be worth pressing Ctrl+F2 with REACT/EAC open to re-auto-configure EAC.

done

woohooooooooo it works its great

It's so cool, so much time saved, perfect

exept maybe that 7 & 8 never happen, so the wavs files stay on the hd and the log doesnt move
"
[Settings]
Config=APE
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=E:\music
encdir=E:\soft\audio
LogFile=react.txt
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - (@year@) $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=0

[APE-tracks]
Description=Monkey's Audio, MP3, and MPC
destdir1=@musicdir@\$cdartist$\$album$\APE
destdir2=@musicdir@\$cdartist$\$album$\MP3
destdir3=@musicdir@\$cdartist$\$album$\MPC
destdir4=@musicdir@\$cdartist$\$album$\WAV
dest1=@destdir1@\$artist$ - $album$ - $track$ - $title$ - $year$ - $genre$
dest2=@destdir2@\$artist$ - $album$ - $track$ - $title$ - $year$ - $genre$
dest3=@destdir3@\$artist$ - $album$ - $track$ - $title$ - $year$ - $genre$
dest4=@destdir4@\$artist$ - $album$ - $track$ - $title$ - $year$ - $genre$
Various-dest1=@destdir1@\$album$ - $track$ - $artist$ - $title$ - $year$ - $genre$
Various-dest2=@destdir2@\$album$ - $track$ - $artist$ - $title$ - $year$ - $genre$
Various-dest3=@destdir3@\$album$ - $track$ - $artist$ - $title$ - $year$ - $genre$
various-dest4=@destdir4@\$album$ - $track$ - $artist$ - $title$ - $year$ - $genre$
1=>"@encdir@\monkeysaudio\Monkey's Audio\MAC.EXE" "@source@" "@dest1@.ape" -c3000
2=>@encdir@\musepack\TAG.EXE --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" "@dest1@.ape"
3=>"@encdir@\razorlame\LAME.EXE" --alt-preset standard --ta "@artist@" --tt "@title@" --tl "@album@" --ty "@year@" --tn "@track@" "@source@" "@dest2@.mp3"
4=>"@encdir@\musepack\MPPENC.EXE" --braindead --xlevel --artist "@artist@" --title "@title@" --album "@album@" --year "@year@" --track "@track@" --genre "@genre@" "@source@" "@dest3@.mpc"
5=>MOVE "@source@" "@dest4@.wav"
6=>IF @islast@==0 GOTO End
7=>MOVE "@eaclog@" "@destdir4@\EAC_log.txt"
8=>DEL "@destdir4@\*.wav"
9=>:End"

(but im already so happy, thanks again)
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-01-05 14:55:38
Good news.

Do you have the latest version of REACT (http://www.hydrogenaudio.org/forums/index.php?act=Attach&type=post&id=1810)?

I don't know much about @islast@, but it looks like it has only been available since v0.994.

Edit:  Hmm... you must have a later version otherwise @islast@ would not equal zero so lines 7 and 8 would run each time.  For some reason @islast@ is never being set to 1.

Looking at the source @islast@ is calculated as so:

Code: [Select]
$g_islast = ($srcTime <= $logTime And $logTime <= $srcTime + 2)

There is the @numtracks@ variable, again I'm not familiar with it.  You could try amending line 6 to:

Code: [Select]
6=>IF [@track@]==[@numtracks@] GOTO End

Maybe tycho will see this and confirm either way.
Title: New tool: React - [Run EAC Tasks]
Post by: J Go on 2006-01-06 17:10:50
I'm new and hope it isn't too inappropriate to editorialize, but...

As a recently self-educated digital audio formats newbie, I'd like to express the following:
Thanks to tycho for this one button (well, two actually) solution to audio archiving and his attentive responses to udgrade suggestions;
Thanks to Synthetic Soul for his many, many thorough and considerate answers to ocluke (et. al.); and
A very special thanks to ocluke for his perseverance and for asking the many questions that have made the REACT threads an excellent resource for newbies like me!

I'm now about 1/3 thru my archiving using ocluke style formats (mp3 vbr v2 to laptop and ipod 5g (my 1st mp3 player), wavpack image to external hard drive) and am exited at the prospect of having high quality playback mp3s, lossless archive wavpacks and using cd's only when ripping.

Cheers to you all!!!
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-01-06 17:13:41
You are most welcome.  Thank you.

You seem to have done very well if you have managed to get yourself up and running simply by following others' threads!
Title: New tool: React - [Run EAC Tasks]
Post by: ocluke on 2006-01-08 01:11:54
...and all this time I felt as though I was only receiving and unable to contribute to the thread    I'm very happy to hear that the hard work these smart guys have put into helping others has paid dividends. Yes, the tool works wonderfully for me at this point, and thanks again Synthetic Soul for all of your above and beyond help. And thank you too, Tycho, for bringing this to us!
Title: New tool: React - [Run EAC Tasks]
Post by: J Go on 2006-01-09 00:19:36
I too am having the same problem ocluke is/was with .wv file not being created after extraction. It appear EAC stalls at the extraction complete stage. I've added the following per Synthetic Soul's suggestion but EAC never created the log file so the compression window simply repeated "Waiting for log file..." until i finally closed the window.
1=>:WaitForLog
2=>@IF NOT EXIST "@eaclog@" (
3=>@ECHO Waiting for log file...
4=>@PING 1.1.1.1 -n 1 -w 2000>NUL
5=>GOTO WaitForLog)

Maybe I'm missing something? I don't really need the log file so perhaps I should ditch "EACLOG=@@eaclog@" from line 6 and forget the "Wait for log" command?? Here's my .INI...

[Settings]
Config=WV_MP3
EAC=C:\Program Files\EAC\EAC.exe
musicdir=C:\Documents and Settings\Jason\My Documents\My Music
encdir=C:\Program Files\EAC\Encoders
LogFile=
CodePage=1252
MinimizeCompressionWindow=0
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=0

; -- Wavpack image and MP3 tracks --
[WV_MP3-image]
Description=Wavpack image with embedded cuesheet and EAC log with LAME -V2 mp3 track files, RG album gain
ImageExt=wv
CuesheetExt=wv.cue
WaveGainAnalysis=1
destdir1=E:\IMAGES\$cdartist$\$album$
destdir2=@musicdir@\iTunes\iTunes Music\$cdartist$\$album$
1=>:WaitForLog
2=>@IF NOT EXIST "@eaclog@" (
3=>@ECHO Waiting for log file...
4=>@PING 1.1.1.1 -n 1 -w 2000>NUL
5=>GOTO WaitForLog)
6=>@encdir@\wavpack.exe -hmy -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "REPLAYGAIN_ALBUM_GAIN=@gain@" -w "REPLAYGAIN_ALBUM_PEAK=@peak@" -w "REPLAYGAIN_TRACK_GAIN=@gain@" -w "REPLAYGAIN_TRACK_PEAK=@peak@" -w "CUESHEET=@@cuesheet@" -w "EACLOG=@@eaclog@" "@source@" "@image@"
7=>move "@destbase@.*" "@destdir1@"
8=>set out2=$n - $~t
9=>if "$cdartist$"=="Various" set out2=$n - $~t ($~a)
10=>@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.mp3" --pipe "@encdir@\lame.exe -V2 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
11=>del "@source@" "@eaclog@"

Any suggestions would be greatly appreciated.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-01-09 11:37:29
The logfile is created when the "Extracting Audio Data" dialogue (the ripping dialogue, with progress bars) is closed, leaving the "Status and Error Messages" dialogue.  The "Extracting Audio Data" dialogue is closed automatically by REACT

I wonder whether REACT is not closing your "Extracting Audio Data" dialogue.

If so, it may be a focus issue.  Do you leave EAC focused while ripping?

Is EAC left on the "Extracting Audio Data" dialogue, or the "Status and Error Messages" dialogue?

Edit:  It also may be worth reminding you of posts #153-#155 (http://www.hydrogenaudio.org/forums/index.php?showtopic=35158&view=findpost&p=345069).  In short, go to EAC Options, Tools tab, and ensure that "On extraction, start external compressors queued in the background" is checked.  I believe that the upshot of this is that the "Extracting Audio Data" dialogue can be closed before the external compressor completes - which is totally necessary in this situation (or most, with REACT) as we want the logfile as part of the external compressor (REACT) process.
Title: New tool: React - [Run EAC Tasks]
Post by: J Go on 2006-01-09 13:57:56
Synthetic Soul, I appreciate your speedy response to last night's post. Here's where I stand:

Quote
I wonder whether REACT is not closing your "Extracting Audio Data" dialogue.

Yes, REACT occasionally failes to close my "Extracting Audio Data" dialogue resulting in no log file and a no "Status and Error Messages" dialogue on some rips.
Sorry, I wasn't clearer in my explanation.

Quote
If so, it may be a focus issue. Do you leave EAC focused while ripping?

I don't know what you mean by "focused". After I initiate extraction I don't touch EAC (e.g. minimize), if that is what you mean? However, I do occasionally do other non-EAC functions on top of EAC.

Quote
ensure that "On extraction, start external compressors queued in the background" is checked

Having auto-configured, this is checked with (1) external compressor.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-01-09 14:07:53
OK, this may be another silly question:  Do you have "Automatically write status report after extraction" checked on EAC options > Tools?

If so, that's me spent.  It's one for tycho.

From tycho's earlier post leaving EAC restored/maximised (not minimised!) but not focused (the active app) is enough.

The fact that REACT doesn't always fail to close the dialogue is a mystery.  The fact that it doesn't always close the dialogue is a concern.

I have never experienced this.  However, I haven't been using REACT that long, and I generally leave it focused, and tiptoe from the room.
Title: New tool: React - [Run EAC Tasks]
Post by: J Go on 2006-01-09 15:26:26
Quote
Is "Automatically write status report after extraction" set?

Yes, this is set.

I think the tiptoe from the room option is a good call considering this occasional fault seems to happen more often when i am fussing with other apps. As usual, simpler is better.

Cheers and thanks again.
Title: New tool: React - [Run EAC Tasks]
Post by: nu11 on 2006-01-10 23:59:59
Tycho,

Thank you for this killer tool.  I’ve recently begun encoding to wavpack with embedded cue sheets.  I was on the fence about encoding to mp3 simultaneously for portability, or waiting until I wanted to take certain albums with me.  React made it a no-brainer.  Thanks again for simplifying the whole thing.
Title: New tool: React - [Run EAC Tasks]
Post by: boombass on 2006-01-15 22:18:24
Hi all. I just downloaded the latest (0.996) version of REACT, and I am having a bad time with it. At first I started changing variables to make it work the way I wanted, without testing it, and had problems.

The first problem was my test CD had a " in the title, so F10 wouldn't work. I've change it to 'inch' and now the F10 command works.

But now, after ripping is complete, I get a large .wav file, a .cue file, and a .log (from EAC) file in my music directory. Nothing else happens. As far as I can tell, REACT has finished, but hasn't split the .wav file up or done any compression.

Any ideas?

As an aside, I am looking into REACT as a replacement for FlacAttack. FlacAttack worked really well, but I could never get it to add replaygain (both track and album) information correctly - I would just get the album replaygain. I'm hoping that I can get REACT working enough to allow me to rip once, make flac and ogg files in different directories, with album and track replaygain for each.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-01-16 09:54:55
Maybe try setting DEBUG=1 in the INI (line ~17).  This may let you see why it is exiting prematurely.

Also, hitting Ctrl+F2 to (re-)auto-configure EAC is always worth a try.

Can we see the relevant portions ([Settings] and required encoder section) of your INI please?
Title: New tool: React - [Run EAC Tasks]
Post by: boombass on 2006-01-18 01:55:45
Sorry, I'll have to get back to you. I just got much busier than expected this week, so I'll have to wait until the weekend to experiment!
Title: New tool: React - [Run EAC Tasks]
Post by: fairway on 2006-01-18 13:42:08
What I miss in REACT is to add the replaygain data in the CUE sheet before adding it to the lossless image file. this way you can add track gain for each track even if there is only a single lossless image file. If you rip to individual files this is no problem because the player reads the replaygain data for each individual file.

PERFORMER "BSO, William Steinberg"
TITLE "Also Sprach Zarathustra - Die Planeten"
REM REPLAYGAIN_ALBUM_GAIN -5.24 dB
REM REPLAYGAIN_ALBUM_PEAK 0.999938
FILE "Also sprach Zarathustra - Die Planeten.wav" WAVE
  TRACK 01 AUDIO
    TITLE "Also sprach Zarathustra - Einleitung"
    PERFORMER "BSO, William Steinberg"
    INDEX 01 00:00:00
    REM REPLAYGAIN_TRACK_GAIN -6.27 dB
    REM REPLAYGAIN_TRACK_PEAK 0.999938
  TRACK 02 AUDIO
    TITLE "Also sprach Zarathustra - Von den Hinterweltlern"
    PERFORMER "BSO, William Steinberg"
    INDEX 01 02:00:28
    REM REPLAYGAIN_TRACK_GAIN +0.93 dB
    REM REPLAYGAIN_TRACK_PEAK 0.724884
    ...
Title: New tool: React - [Run EAC Tasks]
Post by: boombass on 2006-01-21 21:10:58
OK, I'm working now. It's amazing what a clean install will do for you! Plus, I tested it out before mucking around with the settings. So now I know it works, and I will tinker with the REACT.ini file until I get what I want.

But I have some questions.

1) I normally rip an album to individual files; one file for each track. I use the Shift+F6 command in EAC to test and copy each track, and then Flacattack compresses it. I like the test & copy, because I can compare CRCs to make sure I get consitent results. REACT seems to just rip the whole disc as an image, and then slice and dice it into separate files. Can I use react with the test & copy of EAC? Do I even need to?

2) What happens to the .cue sheet? Again, going back to Flacattack, it would copy the .cue file into the final directory, and change "*.wav" to "*.flac" for each track. I think this is handy in case I ever want to burn a CD of the album. Can I get this with REACT?

3) I eventually want to be able to rip albums into .flac and .ogg at the same time. I think that my choices are F4 (for one track = one file) and F10 (for one album = one file). Does this mean I have to write a script that handles both .flac and .ogg when I press F4?

Thanks for your help! I look forward to the day when I can rip an album in one (or two) keystrokes, have it compressed to .flac and .ogg (long live my Rio Karma!) and have all the files set up with replay gain for both track and album.
Title: New tool: React - [Run EAC Tasks]
Post by: boombass on 2006-01-24 03:46:14
Oof, I guess these must be difficult questions!
Title: New tool: React - [Run EAC Tasks]
Post by: kindofblue on 2006-01-24 04:48:34
Hi boombass.

1) I use Test and Copy too for my rips, with my drives set to Burst Mode. I am able to rip to individual FLAC and MP3 files in one go with REACT using Test and Copy (Shift-F6). I've also tried FLAC and OGG for a while, but I'm sticking to MP3 for now. I have no problems whatsoever, but then again I'm still using an older version of REACT, V0.983 I think, I have to check. I haven't tried the latest REACT version, but my current setup works fine, so I'm happy with it. I've never tried ripping to image+cuesheet.

2) Sorry, I don't really know how REACT or EAC handles cuesheets. If I want to burn a CD of the album, or a compilation from various CDs, I just decode from lossless to WAV using foobar, and fire up Nero.

3) You can just use Shift-F6 to encode to FLAC and OGG in one go. No need to write a script if you set your INI file correctly.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-01-24 08:46:24
Quote
1) I normally rip an album to individual files; one file for each track. I use the Shift+F6 command in EAC to test and copy each track, and then Flacattack compresses it. I like the test & copy, because I can compare CRCs to make sure I get consitent results. REACT seems to just rip the whole disc as an image, and then slice and dice it into separate files. Can I use react with the test & copy of EAC? Do I even need to?
If you use REACT in track mode, then I guess you can use T&C (as kindofblue does).  You can't use T&C in image mode though.

Quote
2) What happens to the .cue sheet? Again, going back to Flacattack, it would copy the .cue file into the final directory, and change "*.wav" to "*.flac" for each track. I think this is handy in case I ever want to burn a CD of the album. Can I get this with REACT?
You can do whatever you want with the cuesheet.  I embed it and move it to the final folder.  However, the cuesheet is for an image file.  It is changed to reference the file correctly, but only one file - the image - not multiple track files.

Quote
3) I eventually want to be able to rip albums into .flac and .ogg at the same time. I think that my choices are F4 (for one track = one file) and F10 (for one album = one file). Does this mean I have to write a script that handles both .flac and .ogg when I press F4?
I think the only way to do image with tracks is to use F10 to rip to image, and then use ACDIR to process the image file to create tracks.  I may have misunderstood you; if you want two lots of track files then you can easily do this using the track section to encode the track WAVE file using two encoders.

It sounds to me as though you may have to make some compromises if you want a one button solution; i.e.: you can't do T&C to create an image, and you can't have a cuesheet pointing to multiple files.  However, I think I'm quit confused about what you actually want to achieve.  You mention images, but I get the impression you only want track files. Sorry if my answer is therefore garbage!
Title: New tool: React - [Run EAC Tasks]
Post by: RoundSparrow on 2006-01-25 07:12:31
The most recent flac+lame example on this thread didn't use vars for folder names... so I'm posting my cleaned up version.

Code: [Select]
; -- zzflaclame --
[FLACLAME-image]
Description=Create FLAC disc image and LAME individual MP3 files
ImageExt=flac
CuesheetExt=flac.cue
WaveGainAnalysis=1
destdir1=@musicdir@\FLAC\$artist$\$album$
destdir2=@musicdir@\MP3\$artist$\$album$
1=>@encdir@\flac.exe -8 -f -V --replay-gain "@source@" -o "@image@" --cuesheet="@cuesheet@" -T ARTIST="@artist@" -T ALBUM="@album@" -T DATE="@year@" -T GENRE="@genre@" -T COMMENT="FLAC 1.1.2 + REACT"
2=>move "@destbase@.*" "@eaclog@" "@destdir1@"
3=>@encdir@\acdir.exe --overwrite --output "@destdir2@\$n-$~t.mp3" --pipe "@encdir@\lame.exe -V2 --vbr-new --ignore-tag-errors --add-id3v2 --pad-id3v2 --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qLAME 3.97b1 -V8 vbr-new + REACT$q $x - $#o" "@sourcecuesheet@"
4=>del "@source@"


You might want to change your MP3 naming convetion... I have mine set to just be track-title.
Title: New tool: React - [Run EAC Tasks]
Post by: RoundSparrow on 2006-01-25 15:44:28
ok... does the included WV_MP3 work for anyone?  I pressed F10 and I didn't get mp3 files... and I got a cue but no actual data file in my IMAGES.

UPDATE: It turns out that like another forum post indicated... my EAC must have had incompatible settings.  I uninstalled and re-installed EAC then reran REACT config and now things are working much better.  No idea what setting was incompatible, but I know that some settings like eject-after-complete are different now.  I used the same version of EAC in both cases...
Title: New tool: React - [Run EAC Tasks]
Post by: ekwipt on 2006-01-31 10:49:19
Quote
The most recent flac+lame example on this thread didn't use vars for folder names... so I'm posting my cleaned up version.

Code: [Select]
; -- zzflaclame --
[FLACLAME-image]
Description=Create FLAC disc image and LAME individual MP3 files
ImageExt=flac
CuesheetExt=flac.cue
WaveGainAnalysis=1
destdir1=@musicdir@\FLAC\$artist$\$album$
destdir2=@musicdir@\MP3\$artist$\$album$
1=>@encdir@\flac.exe -8 -f -V --replay-gain "@source@" -o "@image@" --cuesheet="@cuesheet@" -T ARTIST="@artist@" -T ALBUM="@album@" -T DATE="@year@" -T GENRE="@genre@" -T COMMENT="FLAC 1.1.2 + REACT"
2=>move "@destbase@.*" "@eaclog@" "@destdir1@"
3=>@encdir@\acdir.exe --overwrite --output "@destdir2@\$n-$~t.mp3" --pipe "@encdir@\lame.exe -V2 --vbr-new --ignore-tag-errors --add-id3v2 --pad-id3v2 --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qLAME 3.97b1 -V8 vbr-new + REACT$q $x - $#o" "@sourcecuesheet@"
4=>del "@source@"


You might want to change your MP3 naming convetion... I have mine set to just be track-title.
[a href="index.php?act=findpost&pid=359591"][{POST_SNAPBACK}][/a]


Hi i've borrowed this to start me off,  thanks for the code... i've ran into one problem though after encoding react doesn't move my FLAC and cuesheet into the right folder it just stays where ever i saved the WAV to.

My React Config is as follows

Code: [Select]
[Settings]
Config=FLACLAME
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=H:\
encdir=C:\Program Files\REACT_0996\Encoders
LogFile=h:\React.log
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - ($year$) $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=0

; -- flaclame --
[FLACLAME-image]
Description=Create FLAC disc image and LAME individual MP3 files
ImageExt=flac
CuesheetExt=flac.cue
WaveGainAnalysis=1
destdir1=@musicdir@\FLAC\$artist$\$album$
destdir2=@musicdir@\MP3\$artist$\$album$
1=>@encdir@\flac.exe -8 -f -V --replay-gain "@source@" -o "@image@" --cuesheet="@cuesheet@" -T ARTIST="@artist@" -T ALBUM="@album@" -T DATE="@year@" -T GENRE="@genre@" -T COMMENT="FLAC 1.1.2 + REACT"
2=>move "@destbase@.*" "@eaclog@" "@destdir1@"
3=>@encdir@\acdir.exe --overwrite --output "@destdir2@\$n-$~t.mp3" --pipe "@encdir@\lame.exe -b 320 --ignore-tag-errors --add-id3v2 --pad-id3v2 --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qLAME 3.97b1 -b 320 + REACT$q $x - $#o" "@sourcecuesheet@"
4=>del "@source@"


and my REACT log is
Code: [Select]
----- [FLACLAME-image] ----- 2006-01-31 21:19:06
@echo Disc info   : "Tiga" - "You Gonna Want Me"
@echo Description : "Create FLAC disc image and LAME individual MP3 files"
@echo WaveGain    : gain=-8.95 dB, peak=0.944060
C:\PROGRA~1\REACT_~1\Encoders\flac.exe -8 -f -V --replay-gain "H:\Ttmp1!542.wav" -o "H:\Tiga - (2005) You Gonna Want Me.flac" --cuesheet="H:\Tiga - (2005) You Gonna Want Me.flac.cue" -T ARTIST="Tiga" -T ALBUM="You Gonna Want Me" -T DATE="2005" -T GENRE="Dance" -T COMMENT="FLAC 1.1.2 + REACT"
move "H:\Tiga - (2005) You Gonna Want Me.*" "H:\You Gonna Want Me.log" "H:\\FLAC\Tiga\You Gonna Want Me"
C:\PROGRA~1\REACT_~1\Encoders\acdir.exe --overwrite --output "H:\\MP3\Tiga\You Gonna Want Me\$n-$~t.mp3" --pipe "C:\PROGRA~1\REACT_~1\Encoders\lame.exe -b 320 --ignore-tag-errors --add-id3v2 --pad-id3v2 --scale 0.356862 --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qLAME 3.97b1 -b 320 + REACT$q $x - $#o" "H:\Ttmp1!542-react.cue"
del "H:\Ttmp1!542.wav"


Thanks
Title: New tool: React - [Run EAC Tasks]
Post by: ekwipt on 2006-02-01 05:01:16
Round Sparrow, i got this working, thanks for the updated post, my only problem is my FLAC files are not being moved to the specified folder (FLAC)... the albums folder is there but no FLAC image and cuesheet. Both of the files remain where the WAV was orignally saved to (When you first press F10 in EAC)... my profile is as follows

Code: [Select]
[Settings]
Config=FLACLAME
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=H:\
encdir=C:\Program Files\REACT_0996\Encoders
LogFile=h:\React.log
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - ($year$) $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=0

; -- flaclame --
[FLACLAME-image]
Description=Create FLAC disc image and LAME individual MP3 files
ImageExt=flac
CuesheetExt=flac.cue
WaveGainAnalysis=1
destdir1=@musicdir@\FLAC\$artist$\$album$
destdir2=@musicdir@\MP3\$artist$\$album$
1=>@encdir@\flac.exe -8 -f -V --replay-gain "@source@" -o "@image@" --cuesheet="@cuesheet@" -T ARTIST="@artist@" -T ALBUM="@album@" -T DATE="@year@" -T GENRE="@genre@" -T COMMENT="FLAC 1.1.2 + REACT"
2=>move "@destbase@.*" "@eaclog@" "@destdir1@"
3=>@encdir@\acdir.exe --overwrite --output "@destdir2@\$n-$~t.mp3" --pipe "@encdir@\lame.exe -b 320 --ignore-tag-errors --add-id3v2 --pad-id3v2 --scale @scale@ --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qLAME 3.97b1 -b 320 + REACT$q $x - $#o" "@sourcecuesheet@"
4=>del "@source@"
Title: New tool: React - [Run EAC Tasks]
Post by: NormanPCN on 2006-02-16 05:03:45
I just tried using the current REACT with the current EAC and using WAVPACK tracks. in the .ini file the line with

3=>if @islast@==0 goto end

always results in

if 0 == 0 goto end

in the output file.

I verified with using the debug=1 and looking at the log output of of REACT.

----- [WAVPACK-tracks] ----- 2006-02-15 20:56:34
@echo Disc info  : "Kelly Clarkson" - "Breakaway"
@echo Track info  : (12) "Beautiful disaster (live)"
@echo Description : "Tagged wavpack files with RG album and track tags"
C:\PROGRA~1\REACT\Encoders\wavpack.exe -my -w "ARTIST=Kelly Clarkson" -w "ALBUM=Breakaway" -w "TRACK=12" -w "TITLE=Beautiful disaster (live)" -w "YEAR=2005" -w "GENRE=Pop" -w "COMMENT=Exact Audio Copy" -w "TOTALTRACKS=12" -w "FREEDB=B30A7F0C" -w "CRC=50181E78" "C:\Documents and Settings\Norman\My Documents\My Music\archive\Ktmp98(2!.wav" "C:\Documents and Settings\Norman\My Documents\My Music\WV\Kelly Clarkson\(2005) Breakaway\12 - Beautiful disaster (live).wv"
move "C:\Documents and Settings\Norman\My Documents\My Music\archive\Ktmp98(2!.wav" "C:\Documents and Settings\Norman\My Documents\My Music\WV\Kelly Clarkson\(2005) Breakaway\12 - Beautiful disaster (live).wav"
if 0==0 goto end
  move "C:\Documents and Settings\Norman\My Documents\My Music\archive\Breakaway.log" "C:\Documents and Settings\Norman\My Documents\My Music\WV\Kelly Clarkson\(2005) Breakaway\EAC_log.txt"
  C:\PROGRA~1\REACT\Encoders\WaveGain.exe -a "C:\Documents and Settings\Norman\My Documents\My Music\WV\Kelly Clarkson\(2005) Breakaway\*.wav" --exec C:\PROGRA~1\REACT\Encoders\Tag.exe --ape2 -t "REPLAYGAIN_ALBUM_GAIN=%%ALBUM_GAIN%% dB" -t "REPLAYGAIN_ALBUM_PEAK=%%ALBUM_PEAK%%" -t "REPLAYGAIN_TRACK_GAIN=%%TRACK_GAIN%% dB" -t "REPLAYGAIN_TRACK_PEAK=%%TRACK_PEAK%%" "%%INPUT_FDIR%%\%%INPUT_NAME%%.wv"
  del "C:\Documents and Settings\Norman\My Documents\My Music\WV\Kelly Clarkson\(2005) Breakaway\*.wav"
:end
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-02-16 10:03:57
See my post [a href='index.php?act=findpost&pid=354796']#176[/a].  I came to the same conclusion.

There's also a potential workaround as well, but I haven't tested it.  That would be too easy.
Title: New tool: React - [Run EAC Tasks]
Post by: hanning on 2006-02-18 17:04:19
I just started using this wonderful tool in order to encode both to a wavpack image and lame mp3 tracks. It's working great so far, except for when trying to encode various artists ("Various") albums.

It seems that whenever I try to encode a compilation, using EAC's Various Artists checkbox, WAVPACK and ACDIR are being passed as albumartist the track artist of the second song on the CD. All is well with the wavpack image and cue sheet, but the two files are being moved to a "NameOfArtistPerformingTheSecondSongOnTheCD" directory under my "IMAGES" directory. Similarly, the mp3s are moved to a "NameOfArtistPerformingTheSecondSongOnTheCD" directory under my "MP3S" directory and none of the files get the track artist included in their names.

When encoding a CD with only one track, but using the Various Artists feature just to see what would happen, the files are put straight in the "IMAGES" and "MP3S" folders, respectively and the mp3 again has no track artist in its file name.

Is this a confirmed bug? I couldn't find any information on this in this thread, although the previous posted seemed to have a similar issue.

Here is some relevant data. Please let me know if you need more information. As an example I tested with a 2-track CD single, just to make for quicker encoding time. In EAC, I checked the "Various Artists" checkbox and named the tracks "Artist / Song".

Windows XP SP2
EAC v0.95b2
REACT v0.996
WAVPACK v4.3
ACDIR v0.12a
WaveGain v1.2.6b3

Code: [Select]
--REACT.ini--

[Settings]
Config=WV_MP3
EAC=EAC.exe
;musicdir=@mydocumentsdir@\My Music
musicdir=h:\Ripping\REACT
encdir=C:\Program Files\Exact Audio Copy\Encoders
LogFile=h:\Ripping\REACT\react.log
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
ImageHotkey={F10}
ImageNaming=$artist$ - ($year$) $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=1

; -- Wavpack image and MP3 tracks --
[WV_MP3-image]
Description=Wavpack image with embedded cuesheet and EAC log with LAME -V6 mp3 track files, RG album gain
ImageExt=wv
CuesheetExt=wv.cue
WaveGainAnalysis=1
destdir1=@musicdir@\IMAGES\$cdartist$
destdir2=@musicdir@\MP3\$cdartist$\$album$
1=>@encdir@\wavpack.exe -hx6my -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "REPLAYGAIN_ALBUM_GAIN=@gain@" -w "REPLAYGAIN_ALBUM_PEAK=@peak@" -w "REPLAYGAIN_TRACK_GAIN=@gain@" -w "REPLAYGAIN_TRACK_PEAK=@peak@" -w "CUESHEET=@@cuesheet@" -w "EACLOG=@@eaclog@" "@source@" "@image@"
2=>move "@destbase@.*" "@destdir1@"
3=>set out2=$n - $~t
4=>if "$cdartist$"=="Various" set out2=$n - $~a - $~t
5=>@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.mp3" --pipe "@encdir@\lame.exe -V6 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
6=>del "@source@" "@eaclog@"


Code: [Select]
--react.log (note: albumartist U2 instead of Various)--

----- [WV_MP3-image] ----- 2006-02-18 08:37:32
@echo Disc info   : "U2" - "All Because Of You (CD Single)"
@echo Description : "Wavpack image with embedded cuesheet and EAC log with LAME -V6 mp3 track files, RG album gain"
@echo WaveGain    : gain=-11.51 dB, peak=0.988556
C:\PROGRA~1\EXACTA~1\Encoders\wavpack.exe -hx6my -w "ARTIST=U2" -w "ALBUM=All Because Of You (CD Single)" -w "YEAR=2005" -w "GENRE=Rock" -w "REPLAYGAIN_ALBUM_GAIN=-11.51 dB" -w "REPLAYGAIN_ALBUM_PEAK=0.988556" -w "REPLAYGAIN_TRACK_GAIN=-11.51 dB" -w "REPLAYGAIN_TRACK_PEAK=0.988556" -w "CUESHEET=@F:\Temp\All Because Of You [EU, CID 906,9874410].wv.cue" -w "EACLOG=@F:\Temp\All Because Of You (CD Single).log" "F:\Temp\Atmp1!542.wav" "F:\Temp\All Because Of You [EU, CID 906,9874410].wv"
move "F:\Temp\All Because Of You [EU, CID 906,9874410].*" "h:\Ripping\REACT\IMAGES\U2"
set out2=$n - $~t
if "U2"=="Various" set out2=$n - $~a - $~t
C:\PROGRA~1\EXACTA~1\Encoders\acdir.exe --overwrite --output "h:\Ripping\REACT\MP3\U2\All Because Of You (CD Single)\%out2%.mp3" --pipe "C:\PROGRA~1\EXACTA~1\Encoders\lame.exe -V6 --vbr-new --scale 0.265766 --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: -11.51 dB$q - $#o" "F:\Temp\Atmp1!542-react.cue"
del "F:\Temp\Atmp1!542.wav" "F:\Temp\All Because Of You (CD Single).log"
pause


Code: [Select]
--All Because Of You [EU, CID 906,9874410].wv.cue (note: albumartist Various)--

REM REPLAYGAIN_ALBUM_GAIN "-11.51 dB"
REM REPLAYGAIN_ALBUM_PEAK 0.988556
REM GENRE Rock
REM DATE 2005
REM DISCID 07016C02
REM COMMENT "ExactAudioCopy v0.95b2"
PERFORMER "Various"
TITLE "All Because Of You (CD Single)"
FILE "All Because Of You [EU, CID 906,9874410].wv" WAVE
 TRACK 01 AUDIO
   TITLE "All Because Of You (Single Mix)"
   PERFORMER "U2"
   INDEX 01 00:00:00
 TRACK 02 AUDIO
   TITLE "She's A Mystery To Me (Live From Brooklyn)"
   PERFORMER "U2"
   INDEX 00 03:19:73
   INDEX 01 03:21:65


Code: [Select]
--Atmp1!542-react.cue (note: albumartist Various)--

REM GENRE Rock
REM DATE 2005
REM DISCID 07016C02
REM COMMENT "ExactAudioCopy v0.95b2"
PERFORMER "Various"
TITLE "All Because Of You (CD Single)"
FILE "Atmp1!542.wav" WAVE
 TRACK 01 AUDIO
   TITLE "All Because Of You (Single Mix)"
   PERFORMER "U2"
   INDEX 01 00:00:00
 TRACK 02 AUDIO
   TITLE "She's A Mystery To Me (Live From Brooklyn)"
   PERFORMER "U2"
   INDEX 00 03:19:73
   INDEX 01 03:21:65


Code: [Select]
--Atmp1!542-react.bat (note: albumartist U2 instead of Various)--

@title REACT Commands
@chcp 1252
@echo Disc info   : "U2" - "All Because Of You (CD Single)"
@echo Description : "Wavpack image with embedded cuesheet and EAC log with LAME -V6 mp3 track files, RG album gain"
@echo WaveGain    : gain=-11.51 dB, peak=0.988556
C:\PROGRA~1\EXACTA~1\Encoders\wavpack.exe -hx6my -w "ARTIST=U2" -w "ALBUM=All Because Of You (CD Single)" -w "YEAR=2005" -w "GENRE=Rock" -w "REPLAYGAIN_ALBUM_GAIN=-11.51 dB" -w "REPLAYGAIN_ALBUM_PEAK=0.988556" -w "REPLAYGAIN_TRACK_GAIN=-11.51 dB" -w "REPLAYGAIN_TRACK_PEAK=0.988556" -w "CUESHEET=@F:\Temp\All Because Of You [EU, CID 906,9874410].wv.cue" -w "EACLOG=@F:\Temp\All Because Of You (CD Single).log" "F:\Temp\Atmp1!542.wav" "F:\Temp\All Because Of You [EU, CID 906,9874410].wv"
move "F:\Temp\All Because Of You [EU, CID 906,9874410].*" "h:\Ripping\REACT\IMAGES\U2"
set out2=$n - $~t
if "U2"=="Various" set out2=$n - $~a - $~t
C:\PROGRA~1\EXACTA~1\Encoders\acdir.exe --overwrite --output "h:\Ripping\REACT\MP3\U2\All Because Of You (CD Single)\%out2%.mp3" --pipe "C:\PROGRA~1\EXACTA~1\Encoders\lame.exe -V6 --vbr-new --scale 0.265766 --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: -11.51 dB$q - $#o" "F:\Temp\Atmp1!542-react.cue"
del "F:\Temp\Atmp1!542.wav" "F:\Temp\All Because Of You (CD Single).log"
pause
Title: New tool: React - [Run EAC Tasks]
Post by: tazD on 2006-02-27 16:30:04
Quote
REACT is a plugin tool for EAC, and is perfect for copying of CDs as images and multiple additional compressed formats. ...


Tycho: Just wanted to thank you for your great work on REACT. After some days wasted with wack / flacattack    I am really glad to find that REACT just works how it should. Also configuring it to make .ape & .mp3 (lame & id3v2 tags with id3.exe) files didn't take too long.

Thx again, can't tell often enough       
Title: New tool: React - [Run EAC Tasks]
Post by: Martin H on 2006-02-28 01:02:00
Tycho, thank you very much for creating this fantastic tool, it is trully appreciated 

After having been a firm believer in ripping to separate tracks only, i have finally thrown the towel in the ring, and gone over to the other side  After i had upgraded to EAC v0.95b4 i installed REACT v0.996 and let it setup EAC for use with it. Then i edited the config file to reflect my wishes(WavPack image with embedded cue+log and without RG tags, as i use fb2k for adding RG tags to the embedded cuesheet of the images afterwards). Then i tried to rip 5 different CDs, and everytime, then REACT made an image but it followed the WAVPACK-tracks portion of the config file for the folder creation and naming etc. I had setup REACT to rip to D:\Temp, and then afterwards just delete the source image file+cue+log. This would mean that after the rip and encoding, then there should be an image with embedded cue+log in D:\Temp, with the naming scheme : Artist - (Year) Album, but instead i got a WV folder in D:\Temp, and inside that there where a folder for the artist and again a subfolder for the album, and finally there where an image named after the second track of the album ie. 02 - Tracktitle.wv. I then tried to revert back to EAC v0.95b3, and then everything was fine. BTW, when i had problems with REACT and EAC v0.95b4, then i tried multiple times to reinstall both EAC and REACT but it didn't fix the issue. I would like to ask if any of you other REACT users have tried using REACT in image mode, together with EAC v0.95b4, and if it worked ? Finally, there is a very small thing which isn't impotant, but i just thought that i would report it nonetheless. When inserting a CD and pressing F10, then sometimes the dialogs naming field is filled out with the correct naming scheme that's selected in REACT's config file, but othertimes the standard EAC naming scheme is shown instead(Artist - Album, instead of Artist - (Year) Album). Everytime this happens, i just select cancel and then i hit F10 again, and then it works correctly again. Has anyone else also had this happen regularely ?

Also according to the APEv2 spec, then the defined tagging fields are all named with only the first character in capital, like "Artist" and "Album" and it also encourages spaces in the names, so i was wondering if any of you guys that's using WavPack have changed the tagging names, or if you are just using the default ones ? I was thinking if i maybe should change to "Cuesheet" and "Logfile" instead, but i am having a hard time deciding. I know it's just nitpicking, but nonetheless i'm really thinking about this alot, and i'm having problem's deciding, so therefore i would really appreciate if you guys would tell me what you are using as tagging name for the EAC log and cuesheet in your WavPack images.

Again,  many thanks to Tycho for making this great app, as it really makes it easier for me to rerip my CD collection once again to images(I have just ordered a Plextor PX-755A for getting the job done good, as my old drive wasen't the best for DAE, and hence i needed to re-rip many times for correcting errors).

Thank's in advance.
Title: New tool: React - [Run EAC Tasks]
Post by: grombulk on 2006-03-01 17:23:24
Quote
Tycho, thank you very much for creating this fantastic tool, it is trully appreciated


agreed

Quote
I would like to ask if any of you other REACT users have tried using REACT in image mode, together with EAC v0.95b4, and if it worked ?


No, after upgrading image mode fails on me too.
I use flac.

It looks like react tries to do track mode instead of image mode.
Anyway that fails too.
I'll revert to an older version of eac.
Title: New tool: React - [Run EAC Tasks]
Post by: Martin H on 2006-03-02 00:09:48
Hi grombulk, and thank's for the confirmation

Well, i guess there isn't many REACT image users out there that have upgraded to the newest EAC version yet, since we are the only ones noticing this problem. I will just stick to using EAC v0.95b3 + REACT for the time being, but since there are some bugfixes in the new EAC version, besides the removal of the "Retrieve native TOC" option, then it would be great if Tycho could be so kind as to update REACT so that it would resolve this problem(hint, hint ).

CU, Martin.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-03-02 09:37:49
I've just tested, and can confirm that it appears to be running the track section.

Looking at the source, this must be something to do with the cuesheet.  REACT decides whether it should be running in track or image mode by checking whether the cuesheet exists.  This check is obviously failing.

If I get time this lunchtime I'm going to see if I can find the exact reason.
Title: New tool: React - [Run EAC Tasks]
Post by: grombulk on 2006-03-02 16:41:54
Quote
I've just tested, and can confirm that it appears to be running the track section.

Looking at the source, this must be something to do with the cuesheet.  REACT decides whether it should be running in track or image mode by checking whether the cuesheet exists.  This check is obviously failing.


Did you get the sourcecode from Tycho, or do you have the password to decompile the script?
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-03-02 16:54:10
The source is included with the EXE.  If you look in your REACT folder you will see "REACT_src.zip".  Inside is "REACT.au3", which can be viewed in Notepad, and compiled using AutoIt (http://www.autoitscript.com/autoit3/).

I've had a real busy day, and no chance to examine the situation further BTW.

Edit: Actually, I just checked.  REACT is expecting "<name>.eac.cue" while the cuesheet is actually called "<name>.cue".

My brain is fried.  I can't remember what the normal process is with pre-beta 4 versions.  Would EAC have created "<name>.eac.cue" to start with, or would it create "<name>.cue" and then rename it to "<name>.eac.cue"?

If I can find time, I'll test with my beta 3 at home tonight and see.
Title: New tool: React - [Run EAC Tasks]
Post by: grombulk on 2006-03-02 21:09:51
Quote
The source is included with the EXE.  If you look in your REACT folder you will see "REACT_src.zip".  Inside is "REACT.au3", which can be viewed in Notepad, and compiled using AutoIt (http://www.autoitscript.com/autoit3/).


Found the source! Forgot to look in the exe in the zip. sorry
and I prefer SciTE4AutoIt3 (http://www.autoitscript.com/autoit3/scite/) 

Quote
Edit: Actually, I just checked.  REACT is expecting "<name>.eac.cue" while the cuesheet is actually called "<name>.cue".


correct!

eac-0.95b4
these files are created:
atmp1!542-react.bat
artist - title.wav
title.log
artist - title.cue

eac095b1
these files are created:
atmp1!542.wav
title.log
artist - title.eac.cue

my guess is that this line is the culprit
$cuesheet_org = $g_destbase & "." & $destext & ".cue"

the error seems to be caused by:
; Determine dest extension - normally .eac
$a = StringSplit($CmdLine[4], ".") ;strips the line 'til the first dot to an array
$destext = $a[$a[0]] ;takes the string before the dot

this line is my solutiom for b4
$cuesheet_org = $g_destbase & ".cue"
;~    $cuesheet_org = $g_destbase & "." & $destext & ".cue"
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-03-02 22:13:40
Your findings all look right to me.

I wonder why EAC is no longer using the extension as part of the cuesheet filename.  I also wonder whether this change could be related to the ".flac.flac" and ".wv.wv" issue; I wonder whether this has finally been fixed.  I don't have EAC here to test.

This change is going to cause confusion elsewhere I think.  My old batch files, for example, would fall foul of this change...

I guess I'll adapt the line as per your suggestion and recompile, until tycho releases a new version.
Title: New tool: React - [Run EAC Tasks]
Post by: Martin H on 2006-03-03 03:55:31
Thank you very much Synthetic Soul and grombulk for investigating the problem
Title: New tool: React - [Run EAC Tasks]
Post by: grombulk on 2006-03-03 07:46:03
Quote
Your findings all look right to me.

I wonder why EAC is no longer using the extension as part of the cuesheet filename.  I also wonder whether this change could be related to the ".flac.flac" and ".wv.wv" issue; I wonder whether this has finally been fixed.  I don't have EAC here to test.

This change is going to cause confusion elsewhere I think.  My old batch files, for example, would fall foul of this change...

I guess I'll adapt the line as per your suggestion and recompile, until tycho releases a new version.
[a href="index.php?act=findpost&pid=368644"][{POST_SNAPBACK}][/a]


My suggested fix works for me, I guess I could upload it to the upload thread.

There is another change in eac-b4, the tracknumbers are now padded.
In the commandline:
b1 was
"artist" "title" "Track02" "2" "4"

b4 is
"artist" "title" "Track02" "02" "4"

doesn't bother react.
other then that, I didn't find any differences.
haven't looked either
I just want to rip my flac and be done with it :-)
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-03-03 08:42:27
I think André has messed up the filenaming.

I am testing just ripping to compressed image using WAVPACK.  I wanted to see whether it still produces ".wv.wv" files.

The file dialogue has the default "Artist - Album.wav".  When this runs you get ""Artist - Album.wav.wav.wav" and "Artist - Album.wav.cue".  This then ends up as "Test Artist - Test CD.wav.wav.wv" and "Test Artist - Test CD.wav.cue".

If I do the sensible thing, and amend the dialogue default (something that you shouldn't really have to do) to "Test Artist - Test CD", I still get "Test Artist - Test CD.wav.wav" with a more sensible "Test Artist - Test CD.cue".  This results in "Test Artist - Test CD.wav.wv".

I performed a similar test with FLAC and got similar results.

So, now we don't have ".wv.wv" and ".flac.flac" but ".wav.wav.wv" and ".wav.wav.flac"!

I will report this on the EAC forums, if it hasn't already been. Can anyone else confirm?  I can't see how I could be messing up my test, but it's always possible with me.

Edit: My EAC Thread here (http://www.digital-inn.de/exact-audio-copy-english/32021-artist-album-wav-wav-wav.html).  I couldn't see a similar report.

Edit 2: I know this doesn't directly affect REACT; however if the filenaming is borked then beta 5 may change it back to "<name>.<ext>.cue"... maybe not - it depends whether dropping the extension from the cuesheet is intended behaviour.  If my findings are correct (I just find it weird that no-one else has reported) then I think André is certainly going to have to make some changes again.

Edit 3: I have just tested my REACT change and it worked.  I thought "hang on, why does REACT get 'Artist - Album.wav'?".  So I tested just using LAME as the compressor and that gets "Artist - Album.wav".  Therefore I conclude that this is related to André trying to fix the ".wv.wv" issue, as it only appears to be with extensions other than three characters.  Possibly a really bad assumption, but I'm sticking with it.
Title: New tool: React - [Run EAC Tasks]
Post by: grombulk on 2006-03-03 09:27:11
Quote
I think André has messed up the filenaming.
I will report this on the EAC forums, if it hasn't already been. Can anyone else confirm?  I can't see how I could be messing up my test, but it's always possible with me.


confirmed

Faith No More - I'm Easy  Be Aggressive.wav.wav.wav
Faith No More - I'm Easy  Be Aggressive.wav.wav.wv

sounds like a dog

Quote
it only appears to be with extensions other than three characters. Possibly a really bad assumption, but I'm sticking with it.


I agree
let's stick together
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-03-03 11:50:32
Thanks for help and appreciations. Unfortunately I am extremely busy for the moment, but I will try to look into some of these issues during the weekend if I get the time.

Cheers
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2006-03-05 09:29:44
Something seems to be broken in the latest download. I just built a new box and installed EAC, REACT and copied the ini from my working machine. On the new machine I'm having a few problems.

1st F10 doesn't use the image config but tracks. I verified this in the log file. At first I thought it was a problem with my new keyboard but I swapped it out and it still failed so I chaged [WOLF-image] to [WOLF-tracks] and it now runs.

2nd even though it runs the config I'm not getting the files I should. After running the following config I get a log file and cue file; no wav or mp3.

Code: [Select]
[Settings]
Config=WOLF
EAC=D:\Audio\Exact Audio Copy\EAC.exe
musicdir=E:
encdir=D:\Audio\Exact Audio Copy\Encoders
LogFile=REACT_log.txt
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=0
ImageHotkey={F10}
ImageNaming=$album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=0

; -- FLAC image and MP3 tracks --
[WOLF-tracks]
Description=FLAC image with embedded cuesheet and EAC log with LAME -V4 (portable) mp3 track files, RG album gain
ImageExt=flac
CuesheetExt=flac.cue
WaveGainAnalysis=1
destdir1=@musicdir@\TAGZ\-MB\$cdartist$\$album$
destdir2=@musicdir@\TAGZ\-MB\$cdartist$\$album$
1=>@encdir@\flac.exe -5 -f --replay-gain "@source@" -o "@image@"
2=>@encdir@\Tag.exe -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "COMMENT=@comment@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -f "CUESHEET=@cuesheet@" -f "EACLOG=@eaclog@" "@image@"
3=>move "@destbase@.*" "@destdir1@"
4=>set out2=[$n] $~t
5=>if "$cdartist$"=="Various" set out2=[$n] $~t ($~a)
6=>@encdir@\acdir.exe --overwrite --output "@destdir1@\%out2%.mp3" --pipe "@encdir@\lame.exe -V4 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
7=>del "@source@" "@eaclog@"

Any ideas?
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-03-05 09:55:21
See post 202 onward.

EAC seems to have changed its naming scheme, and this has confused REACT.

grombulk and I have created a new version of REACT to cope with this.  Mine can be found here (http://www.synthetic-soul.co.uk/temp/REACT-0.996.1.zip).

However, if you read my post 212, you will see that there is good grounds to believe that the current situation is a bug, and may change soon, possibly back to the b3 format.

You will also see above that tycho may be working on REACT again this weekend, so he may release his own official fix with other changes.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2006-03-05 10:01:06
Quote
EAC seems to have changed its naming scheme, and this has confused REACT.
[a href="index.php?act=findpost&pid=369244"][{POST_SNAPBACK}][/a]

Ahhh... I did install the most recent version of EAC. NP then. I'll just copy the version from my old PC. Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: paperix on 2006-03-14 17:46:58
Hi All,
I'm new here, and new to cd-ripping in general, but in order to save some space in my house, I decided to put all my CDs on a pc as flac images+cue files. At the same time I want to translate them to well compressed mp3 tracks for my ipod.

Ok, I downloaded eac and react, but it's a few days that I'm getting crazy with the setup! (must say that me and programming come from different worlds).
Moreover, I'm discovering a new universe of tags, replaygain, etc...
I tried with the original ini but it's too diferent from what I wish.
Then as it seems that Wolf's .ini file should do just what I want, and looks like rather complete regarding the optionals (e.g. replaygain), I tried with it (thank you, Wolf!!), modded to reflect my directory structure and codepage. Problem is I get only two files: mycdtitle.flac.cue (long abt 1,5K) and the eac log.

I tried with the 996.1 react, but the problem still remains.

Where could I find a working configuration to get my target???

(pls. excuse my poor english, hope you can understand what I write!)

Ciao
Paperix
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2006-03-15 01:39:18
Quote
Then as it seems that Wolf's .ini file should do just what I want, and looks like rather complete regarding the optionals (e.g. replaygain), I tried with it (thank you, Wolf!!), modded to reflect my directory structure and codepage. Problem is I get only two files: mycdtitle.flac.cue (long abt 1,5K) and the eac log.

I tried with the 996.1 react, but the problem still remains.

Where could I find a working configuration to get my target???[a href="index.php?act=findpost&pid=371557"][{POST_SNAPBACK}][/a]

Yes my congif file would give you what you want but I'm using 0.95. The most recent version gave me the same results.
Title: New tool: React - [Run EAC Tasks]
Post by: paperix on 2006-03-15 11:43:25
Quote
Yes my congif file would give you what you want but I'm using 0.95. The most recent version gave me the same results.
[a href="index.php?act=findpost&pid=371630"][{POST_SNAPBACK}][/a]


I'm using eac 0.95beta4 + react 996.1 ... which release of both should I use, and where could I find them?
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-03-15 12:09:15
Looking at the section config, it is called "[WOLF-tracks]", yet it appears to be dealing with an image.

I tested as a track config, and the errors are because @image@ and @cuesheet@ are blank.  Unsurprising, considering there is no image or cuesheet in track mode.

I am currently testing using the section title "[WOLF-image]" instead...

Am I missing something though?  How could this work previously?  Maybe earlier vesions of REACT defaulted to track mode if no image mode was found?

Edit: Using "[WOLF-image]" appears to work.  I am using 0.95b4 and (my) REACT 0.996.1.  Here's the final file list:

C:\DOS\CDBackup\TAGZ\-MB\Test Artist\Test CD\Test Artist - Test CD.flac
C:\DOS\CDBackup\TAGZ\-MB\Test Artist\Test CD\Test Artist - Test CD.flac.cue
C:\DOS\CDBackup\TAGZ\-MB\Test Artist\Test CD\[01] Banquet.mp3
C:\DOS\CDBackup\TAGZ\-MB\Test Artist\Test CD\[02] Blue Light.mp3
C:\DOS\CDBackup\TAGZ\-MB\Test Artist\Test CD\[03] She's Hearing Voices.mp3
Title: New tool: React - [Run EAC Tasks]
Post by: paperix on 2006-03-15 18:02:04
Quote
Looking at the section config, it is called "[WOLF-tracks]", yet it appears to be dealing with an image.

I tested as a track config, and the errors are because @image@ and @cuesheet@ are blank.  Unsurprising, considering there is no image or cuesheet in track mode.

I am currently testing using the section title "[WOLF-image]" instead...

Am I missing something though?  How could this work previously?  Maybe earlier vesions of REACT defaulted to track mode if no image mode was found?

Edit: Using "[WOLF-image]" appears to work.  I am using 0.95b4 and (my) REACT 0.996.1.  Here's the final file list:

C:\DOS\CDBackup\TAGZ\-MB\Test Artist\Test CD\Test Artist - Test CD.flac
C:\DOS\CDBackup\TAGZ\-MB\Test Artist\Test CD\Test Artist - Test CD.flac.cue
C:\DOS\CDBackup\TAGZ\-MB\Test Artist\Test CD\[01] Banquet.mp3
C:\DOS\CDBackup\TAGZ\-MB\Test Artist\Test CD\[02] Blue Light.mp3
C:\DOS\CDBackup\TAGZ\-MB\Test Artist\Test CD\[03] She's Hearing Voices.mp3
[a href="index.php?act=findpost&pid=371697"][{POST_SNAPBACK}][/a]


I have a setup like yours, modified Wolf's ini according to your suggestion, but unfortunately I'm still getting only the .cue file. 
In order to start the process I press F10, is it correct??

Edit:
GREAT!!! it runs now... I put a small typo in the name of the encoder directory (feel rather stupid now, but at least it works!)

Thanks a lot everybody!!!
Title: New tool: React - [Run EAC Tasks]
Post by: great juan on 2006-03-21 00:09:50
Anyone else having problems with the Totaltracks and CRC tagfield? I am creating individual FLAC files and have noticed that when I check the metadata:
TOTALTRACKS = 0
CRC = "
This happens whether I select all tracks or a single track with several albums and press F4. I have tried to debug what is being passed from EAC and it appears totaltracks is always being sent as zero. The checksum shows up in EAC window but is being sent as ". This is with react .996 and EAC .95prebeta5.

External compression command line options:
REACT %o %s %d "%a" "%g" "%t" "%n" "%x" "%y" "%m" "%e" "%f" "%b" %r
which react changed EAC to upon startup.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-03-21 07:40:53
There is no 0.95b5.

What is your command line in EAC?

Mine is:

REACT %o %s %d "%a" "%g" "%t" "%n" "%x" "%y" "%m" "%e" "%f" "%b" %r
Title: New tool: React - [Run EAC Tasks]
Post by: great juan on 2006-03-27 22:37:26
Problem went away when I went to EAC v.95beta4.

I thought I would share what I am using to rip FLAC tracks and aac tracks for itunes.  Hope this is helpful to someone or gets critiques. Only problem I am still having is setting compilation tag. Since various artists cds can be set to different naming scheme there has to be flag that can be used to set different tagging scheme.
-x <compliation> is boolean can be set to 1, true, yes, enable, Y, on...
React is a great tool; thanks! My ripping routine is now:
1. load cd, hit f4, save
2. download cover art from walmart.com or amazon to folder (there is foobar script that automates this)
3. check if last track is longer than typical, maybe listen
3a. if hidden track remove silence, reencode, retag
4. set disc tags for multidisk albums in foobar and itunes
5. add artwork to itunes tracks

Code: [Select]
Description=FLAC files with replaygain vorbis tags and itunes-encoded aac(m4a) files
destdir1=@musicdir@\FLAC\$cdartist$ - $album$
dest1=@destdir1@\$artist$ - $album$ - $track$ - $title$
Various-dest1=@destdir1@\$track$ - $artist$ - $title$
destdir2=@musicdir@\AAC
dest2=@destdir2@\$cdartist$\$album$\$track$ $title$
Various-dest2=@destdir2@\Compilations\$album$\$track$ $title$
1=> echo.> "@dest1@.flac.tmp"
2=> @encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -t "COMMENT=ripped with EAC v.95b4 using REACT v.996 + flac v1.1.2" "@dest1@.flac.tmp"
3=> echo @encdir@\itunesencode.exe -e "AAC Encoder" -a "@artist@" -l "@album@" -t "@title@" -g "@genre@" -y "@year@" -n "@track@" -m "@numtracks@" -c "ripped with EAC v.95b4 using REACT v.996 + itunesencode v46" -d -i "@dest1@.wav" -o "@dest2@.m4a" >>iTunes.bat
4=> echo if errorlevel 1 pause >>iTunes.bat
5=> move "@source@" "@dest1@.wav"
6=> if @islast@==0 goto end
7=> echo del "@destdir1@\*.wav" "@destdir1@\*.tmp" >>iTunes.bat
8=> cd /d "@destdir1@"
9=> move "@eaclog@" "EAC_log $album$.txt"
10=>@encdir@\Glob.exe -v -c @encdir@\flac.exe -f -6 -V --replay-gain *.wav
11=>if errorlevel 1 pause
12=>for %%i in (*.flac) do @encdir@\Tag.exe --fromfile "%%i.tmp" "%%i"
13=>cd /d "C:\Program Files\REACT"
14=>call iTunes.bat
15=>del iTunes.bat
16=>:end
Title: New tool: React - [Run EAC Tasks]
Post by: Ishtov on 2006-04-10 18:08:14
Hello all,

I am looking to create wavs, and mp3s at different bitrates that receive the --scale from wavgain, and perhaps wma files, all with one go from EAC.

REACT works wonderfully, - a truly fantastic app - but it appears to only allow me to rip from one CD at a time.
This is a shame, as EAC can handle multiple instances, and with 800 CDs just in one cabinet, I've got a lot to do.

MAREO is a beut to work with - very well documented - but it wont pass the parameter from wavgain to lame as far as I can figure.  (It also seems to get stuck sometimes on MareoLast, which is anyways a pain).

Same with BatRun/Catwalk, which has the added advantage of allowing me to do the encoding overnight without EAC running if I so desire.  But I don't see how to pass in the param from wavgain.

I can't get WACK to work for me at all, no matter how hard i try, which is just well considering that I want wav format, so why spend the time encoding the album as an image?  (Although I see that there is a compile that accepts the wavgain parameter on Rarewares; @John - is it meant to be current with EAC?) 

P'raps just because I am such a noobe, I am missing the obvious here - but i couldn't compile Jebus's LameGain, so I don't know how to use it, with or without EAC.

Which leaves me calling for help on these forums:

HELP!!! 

Can someone tell me a workaround for any of these - ideally either REACT or Catwalk?
Title: New tool: React - [Run EAC Tasks]
Post by: karit on 2006-04-16 21:55:40
Firstly great tool is working very in my situation. ( http://www.hydrogenaudio.org/forums/index....38&#entry383038 (http://www.hydrogenaudio.org/forums/index.php?showtopic=40895&st=0&gopid=383038&#entry383038) )

I have had a look through this thread and still don't understand how to use wavegain. When getting mp3 replay gain album and track. Any pointers?

Code: [Select]
[Settings]
;Which config to use
Config=FLAC
;Where EAC is located
EAC=c:\ripping\eac\EAC.exe
;The Music root directory
musicdir=c:\music\
;Where the enconder are
;Think I am not suing it
;encdir=C:\ripping\eac\Encoders
;Where to put the log file
LogFile=c:\music\log.txt
CodePage=1252
;Minimise the compression window. 0 = false
MinimizeCompressionWindow=0
;The priotrity to run the process at. 1=Below normal
ProcessPriority=1
;The button to press in EAC to start the image process
ImageHotkey={F10}
;How to names the image files
ImageNaming=$artist$ - $album$
KeyRemap1={F4}|+{F5}
KeyRemap2=|
KeyRemap3=|
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Version=0.996
Debug=0

; -- flac --
[FLAC-image]
Description=FLAC image, FLAC tracks and MP3 tracks Dave 2006-01-26 & 2006-04-16
;This will be the extension of the flac image
ImageExt=flac
;This will be the extension of the cuesheet for the image
CuesheetExt=flac.cue
;dest1 Where the FLAC images end up
dest1=c:\music\flac_images\$cdartist$\
;dest 2 and 3 don't need trailing \ as is added in the acdir call
;dest2 Where the FLAC tracks end up
dest2=c:\music\flac\$cdartist$\$album$
;dest3 Where the MP3 tracks end up
dest3=c:\music\mp3\$cdartist$\$album$

;Turn the Image from a WAVE to FLAC
1=>c:\ripping\flac\bin\flac.exe -V -8 --replay-gain --tag=artist="@artist@" --tag=album="@album@" --tag=date="@year@" --cuesheet=@sourcecuesheet@ "@source@" -o "@image@"
;Move the FLAC image and cue sheet to the destination directory
2=>move "@destbase@.*" "@dest1@"
;This will set the output filename format of the tracks
3=>set out2=$~a - $~T - $n - $~t
;This will make the FLAC tracks
4=>c:\ripping\acdir\acdir.exe --output "@dest2@\%out2%.flac" --pipe "c:\ripping\flac\bin\flac.exe -V -8 --tag=artist=$#a --tag=album=$#T --tag=tracknumber=$#n --tag=title=$#t --tag=date=$#r{DATE} - -o $#o" "@sourcecuesheet@"
;This will make the MP3 tracks
5=>c:\ripping\acdir\acdir.exe --output "@dest3@\%out2%.mp3" --pipe "c:\ripping\lame\lame.exe --preset insane -t --id3v2-only --pad-id3v2 --replaygain-accurate  --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} - $#o" "@sourcecuesheet@"
;This will delete the source wave file and EAC log file from your rip/temp directory
6=>del "@source@" "@eaclog@"
;Move to the flac tracks dir
7=>cd /d "@dest2@"
;metaflac won't let you just say *.flac so need to use glob
;Do replay gain (album and track) on the flac tracks
8=>c:\ripping\eac\Encoders\Glob.exe -v -c c:\ripping\flac\bin\metaflac.exe --add-replay-gain *.flac
;Get some album art
9=>c:\ripping\iTunesCoverDownloader\iTunesCoverDownloader.exe "$cdartist$" "$album$" " " "@dest2@" "folder.jpg"
;The cover art downloader takes awhile and runs in the background so just wait a little bit
10=>echo "The cover art downloader takes awhile and runs in the background so just wait a little bit"
11=>pause
;Copy the album art from The flac track dir to the mpe track dir
12=>copy "@dest2@\folder.jpg" "@dest3@"
;Copy the album art to the flac image dir and change teh name from folder to artist - album
13=>copy "@dest2@\folder.jpg" "@dest1@\$cdartist$-$album$.jpg"
;This will pause it once finished so I can see what happened along the way
14=>echo "Finished $cdartist$ - $album$"
15=>pause
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-04-18 22:39:30
REACT 0.997

Hi all. A new beta release. Not too well tested, so you are warned. From the Readme:

News
----
- Support for EAC 0.95b4 cue file naming (still supports pre 0.95b4 cue file naming).
- Added @basename@ variable: Same as EAC %o parameter (original filename, no dir), without extension.
- Removed @destbase@ variable. Use @sourcedir@\@basename@ instead. INI-file automatically substituted at first run.
- F1 now launces browser with REACT wiki help (thanks, synthetic soul).
- Added TrackHotkey ini-key for customising EAC Shift-F5 function. Removed KeyRemap1, KeyRemap2, KeyRemap3.
- Included albumart.exe (Walmart.com) by david_dl, in the Encoders folder. Used in FLAC config sections as example.

Notes
-----
REACT 0.996 did support handling of multiple instances of EAC (I believe), but you had to start additional EACs on their own, and REACT would manage all EAC instances. REACT 0.997 now launces a new instance of EAC each time REACT is started, but still only one instance of REACT runs.

Look at first post for download.

Tycho.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-04-19 08:20:57
Win64 trouble. I use Win64 at work, and REACT has problems with running the temporary .bat file. It appears that the .bat file runs in the 32-bit version of cmd.exe (probably because it is called from a 32-bit executable). The problem is that the 32-bit cmd.exe does not seem to have the CHCP command. Typing help in the command window lists CHCP, but it is not an internal cmd shell command anymore! However, the 64-bit cmd.exe executable does have the CHCP command, but I don't think I can force to run the bat file with this cmd shell. Most likely an MS bug. I've searched the net, but found nothing.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-04-19 09:33:18
Good news.  Thanks tycho.

- Support for EAC 0.95b4 cue file naming (still supports pre 0.95b4 cue file naming).
Ah, good thinking.  I should have done that.
Title: New tool: React - [Run EAC Tasks]
Post by: ChangFest on 2006-04-19 17:42:09
The window title still displays Help: Alt-F1.

(http://img.photobucket.com/albums/v192/ChangFest/Hydrogen%20Audio%20Pictures/React0.png)
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-04-21 12:32:58
REACT 0.998 Released.

- Configs are now stored in separate text files in the Config folder, which makes them easier to manage and edit.
- F1: EAC help, Alt-F1: REACT help, Alt-F3: Browse Config folder (the other hotkeys are unchanged).
- Added albumart.exe call to all included Config templates.
- Misc. small fixes, and code cleanup.

The old .ini file will be backuped as .ini.old, so you can convert any of your current custom config sections to the new text files in the Config folder.

Example: Old ini file section:
Code: [Select]
[LAME-tracks]
Description=LAME -V2 mp3 track files, RG album gain, APE2 and id3v1 tags
destdir1=@musicdir@\MP3\$cdartist$\($year$) $album$
dest1=@destdir1@\$track$ - $title$
Various-dest1=@destdir1@\$track$ - $title$ ($artist$)
1=>echo.> "@dest1@.mp3.tmp"
2=>@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.mp3.tmp"
3=>move "@source@" "@dest1@.wav"
4=>if @islast@==0 goto end
5=>  cd /d "@destdir1@"
6=>  move "@eaclog@" "EAC_log.txt"
7=>  @encdir@\WaveGain.exe -a *.wav --exec @encdir@\lame.exe -V2 --vbr-new --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.mp3"
8=>  for %%i in (*.mp3) do @encdir@\Tag.exe --force id3v1 --force ape2 --fromfile "%%i.tmp" "%%i"
9=>  del "*.mp3.tmp" "*.wav"
10=>:end

Should now be a file: REACT\Config\LAME-tracks.txt, containing
Code: [Select]
!Description=LAME -V2 mp3 track files, RG album gain, APE2 and id3v1 tags
!destdir1=@musicdir@\MP3\$cdartist$\($year$) $album$
!dest1=@destdir1@\$track$ - $title$
!Various-dest1=@destdir1@\$track$ - $title$ ($artist$)

echo.> "@dest1@.mp3.tmp"
@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.mp3.tmp"
move "@source@" "@dest1@.wav"
if @islast@==0 goto end
  cd /d "@destdir1@"
  move "@eaclog@" "EAC_log.txt"
  @encdir@\WaveGain.exe -a *.wav --exec @encdir@\lame.exe -V2 --vbr-new --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.mp3"
  for %%i in (*.mp3) do @encdir@\Tag.exe --force id3v1 --force ape2 --fromfile "%%i.tmp" "%%i"
  del "*.mp3.tmp" "*.wav"
:end
Title: New tool: React - [Run EAC Tasks]
Post by: ChangFest on 2006-04-21 16:52:26
tycho, I'm not sure this is able to be done, but I'm wondering if there is a way to rip to multiple tracks and have a .cue sheet saved for either an album image or for multiple tracks into the directory you saved your individual files. I still rip to individual files, but I do like to use .cue sheets for CD burning afterwards. This would be a great help if all I had to do was to hit F4 and REACT would rip to my pre-assigned directory and create a cue sheet for either individual files or an album image or both. Thanks for the continuing development of REACT. It made my CD ripping process a little easier to take.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-04-21 17:26:17
You could rip to an image to get an image/single file cuesheet but then use ACDIR to split to tracks and simply delete the wave image after.

I'm sure there are some down sides to this method, like currently not being able to use Test and Copy.  I suppose when ripping tracks you can be ripping one while encoding another, so maybe it would be a fair bit slower...

I suspect that other users may be very interested if REACT could automate getting a multi-file cuesheet alongside ripping to tracks.  The cuesheet is the only aspect that track writers can't do automatically as part of their process.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-04-21 19:27:40
That should be quite easy to do, actually. Is it really needed to support all of the three different types of multiple wav cuesheets? Also, "Multiple WAV Files With Gaps... (Noncompliant)" does not have any shortcut and I must therefore code AutoIt to open menus in order to access it..
Title: New tool: React - [Run EAC Tasks]
Post by: ChangFest on 2006-04-21 20:00:51
Is it really needed to support all of the three different types of multiple wav cuesheets? Also, "Multiple WAV Files With Gaps... (Noncompliant)" does not have any shortcut and I must therefore code AutoIt to open menus in order to access it..

I would like being able to save the Noncompliant and the single wav file cue sheets. I like to save both simply because the individual track cue sheet is noncompliant and I like to have the image cue sheet as a backup of sorts.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-04-21 23:13:50
Ok, it's done. I'll release it during the weekend.

Basically, when hitting F4, all four types of cuesheets is saved (before it saves tracks). Set SaveCuesheets=1 in the ini file, and that's it.

The cuesheets will be named using the ImageNaming value from the ini file, with the following postfixes:
- Single WAV File: (single wav).cue
- Multiple WAV Files With Gaps: (mult wav noncompl).cue
- Multiple WAV Files Wilth Leftout Gaps: (mult wav no gaps).cue
- Multiple WAV Files Corrected Gaps: (mult wav corr caps).cue

NOTE: This feature is enabled only when hitting F4 (saving tracks via hotkey), and when a fixed directory is selected in the EAC Options | Directories | Use this directory ...


EDIT: modified/simplified solution.
Title: New tool: React - [Run EAC Tasks]
Post by: valnar on 2006-04-22 16:46:15
What's the proper way now for it to process two of the configs?  If I wanted a FLAC image and LAME tracks, for instance - without duplicating the efforts of ripping or download album art twice.

Thanks,
Robert
Title: New tool: React - [Run EAC Tasks]
Post by: ChangFest on 2006-04-22 17:12:25
Ok, it's done. I'll release it during the weekend.

Basically, when hitting F4, all four types of cuesheets is saved (before it saves tracks). Set SaveCuesheets=1 in the ini file, and that's it.

The cuesheets will be named using the ImageNaming value from the ini file, with the following postfixes:
- Single WAV File: (single wav).cue
- Multiple WAV Files With Gaps: (mult wav noncompl).cue
- Multiple WAV Files Wilth Leftout Gaps: (mult wav no gaps).cue
- Multiple WAV Files Corrected Gaps: (mult wav corr caps).cue

NOTE: This feature is enabled only when hitting F4 (saving tracks via hotkey), and when a fixed directory is selected in the EAC Options | Directories | Use this directory ...


EDIT: modified/simplified solution.

 

Thank you very, very much tycho. I'll be eagerly awaiting this release. My biggest gripe about EAC (not being able to save cue sheets to ripping directory and naming them) is solved. Now all I have to do is hit F4 to rip a CD!
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-04-23 08:47:22
@ChangFest: You're welcome. The end result may have minor differences than what I proposed in my last post, but still what you'd want.

@valnar: You should look at the WV_MP3-image.txt config. It produces a Wavpack image and mp3 tracks. Just change the wavpack with FLAC image creation part. Something like:
Code: [Select]
!Description=FLAC image with embedded cuesheet and EAC log with LAME -V5 mp3 track files, RG album gain
!ImageExt=flac
!CuesheetExt=flac.cue
!WaveGainAnalysis=1
!destdir1=@musicdir@\IMAGES\$cdartist$
!destdir2=@musicdir@\MP3\$cdartist$\($year$) $album$

start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\@basename@.jpg"
@encdir@\flac.exe -5 -f --replay-gain "@source@" -o "@image@"
@encdir@\Tag.exe -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "COMMENT=@comment@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -f "CUESHEET=@cuesheet@" -f "EACLOG=@eaclog@" "@image@"
move "@sourcedir@\@basename@.*" "@destdir1@"
set out2=$n - $~t
if "$cdartist$"=="Various" set out2=$n - $~t ($~a)
@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.mp3" --pipe "@encdir@\lame.exe -V5 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
del "@source@" "@eaclog@"
Title: New tool: React - [Run EAC Tasks]
Post by: sundance on 2006-04-24 13:43:28
tycho,

been using REACT v0.996 for a while and like it very much.
Thanks a lot for this great "helper"!

Curious here: Why did you drop "KeyRemap1, KeyRemap2, KeyRemap3" from v0.997?
I found it very convenient to remap F4 to Shift-F6 to test & copy individual tracks...

And, btw., why's "Various-destdirN" gone?

-sundance-
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-05-01 20:13:23
REACT v0.999 released.

- New INI file key AutoCloseSaveImageDialog=1 (default 0). Useful when pressing F10.
- Added optional saving all four types of cuesheets when pressing F4. They are saved as
  <album>..cue  - Single WAV File
  <album>.[mg].cue - Multiple WAV Files With Gaps
  <album>.[m].cue  - Multiple WAV Files With Leftout Gaps
  <album>.[mc].cue - Multiple WAV Files With Corrected Gaps

This feature is enabled only when SaveTracksCuesheets=1 in INI file, and EAC is set up to
extract to a fixed directory. Cuefiles can be accessed from scripts by @trackscuesheet@ variable.
E.g. "@trackscuesheet@.[mg].cue"

- Added FLAC_MP3 config files
- Updated WIKI documentation (and first post).

----------------------------
@sundance: The KeyRemap1,2,3 keys were dropped because I thought only two major hotkeys are needed: saving tracks compressed, and image compressed. The custom mapping of keys should really be in EAC, but that probably won't happen, so I may through them in again in REACT v1.0, as I see they are useful.

Various-destdirN is still available, but not used in any of the configs, because $cdartist$ either gives the CD artist, or "Various" if it is a various CD. If you're not happy with using "Various" as part of your path, set up !Various-destdirN instead.

NOTE 1: You should set !Various-destdirN=... before !destdirN=...  and !destN=... in your config text files, if used. Remember that !destdirN are used as fallbacks when !Various-destdirN is not defined (likewise with !dest).
NOTE 2: REACT already checks that your EAC file naming scheme starts with %D, which is required for the "Various" business to work.
Title: New tool: React - [Run EAC Tasks]
Post by: madxcream on 2006-05-01 22:46:24
Thanks for this great tool. New version works like a charm so far for me.
Title: New tool: React - [Run EAC Tasks]
Post by: ChangFest on 2006-05-03 18:07:56
Works beautifully. Thanks again tycho.
Title: New tool: React - [Run EAC Tasks]
Post by: edwardar on 2006-05-03 20:49:20
Just wanted to add my thanks,
Got my ripping down to a single button press now!

Ed
Title: New tool: React - [Run EAC Tasks]
Post by: wbelac on 2006-05-06 05:19:04
Really like this program, makes ripping a breeze.

I just have one thing I can't figure out. I'm using the wavpak-mp3 tracks config file. It took me a while to get it to work, I ended up having to take out the 'if @islast@==0 goto end" line in order for it to convert the wav files generated by EAC into the wv and mp3 files. It works now, I just have one problem: I can't get album replaygain to work right. It just uses the same value as the track replaygain. Does anyone have any tips to help fix this? I'm relatively new at this, so even basic steps are welcome.

Any help is appreciated.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-05-06 10:45:29
REACT v1.0 RELEASED.

- Added Configs MP4-tracks.txt, WV_MP4-tracks.txt, WV_MP4-image.txt Config files, using new standalone
  Nero AAC Encoder (included). Also taggs the mp4's with AtomicParsley tagger.

- New INI file key TracksHotVal=+{F5}. May be set to +{F6} if you want Test & Copy tracks instead
  of Copy tracks only.
- Renamed some Config files.
- Removed INI file key AutoCloseSaveImageDialog. Instead it auto closes the image Save Waveform dialog
  when a fixed extraction folder is set in EAC.
- Bug fix: $cdartist$ always returned same as $artist$. Fixed. @cdartist@ was OK.
- Bug fix: $numtracks$ was not available. Has leading 0 for track 1-9. @numtracks@ was OK.

@weblac: later.
Title: New tool: React - [Run EAC Tasks]
Post by: Garf on 2006-05-06 11:07:43
REACT v1.0 RELEASED.

- Added Configs MP4-tracks.txt, WV_MP4-tracks.txt, WV_MP4-image.txt Config files, using new standalone
  Nero AAC Encoder (included). Also taggs the mp4's with AtomicParsley tagger.


This is a clear and direct violation of the license, and completely illegal.
Title: New tool: React - [Run EAC Tasks]
Post by: wbelac on 2006-05-06 14:20:41
@weblac: later.


Thanks, it's no hurry.
Title: New tool: React - [Run EAC Tasks]
Post by: scottder on 2006-05-06 15:29:26
In the thread with the DL, I don't see version 1.0 only 0.999
Title: New tool: React - [Run EAC Tasks]
Post by: Digga on 2006-05-06 15:56:42
In the thread with the DL, I don't see version 1.0 only 0.999
REACT v1.0 RELEASED.
using new standalone Nero AAC Encoder (included).
This is a clear and direct violation of the license, and completely illegal.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-05-06 16:12:23
REACT v1.0 RELEASED.

- Added Configs MP4-tracks.txt, WV_MP4-tracks.txt, WV_MP4-image.txt Config files, using new standalone
  Nero AAC Encoder (included). Also taggs the mp4's with AtomicParsley tagger.


This is a clear and direct violation of the license, and completely illegal.

Oops. Sorry. I will only provide a link to your download page instead - if that's ok? While we're at it, I guess I still can redistribute the rest of the binaries (with GPL or LGPL licence), and the ones provided by rarewares? The readme has links and acknowlegdement to their projects, and the source code for REACT is also provided:
- LAME
- Wavpack
- FLAC
- acdir,
- AtomicParsley
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-05-06 18:28:39
REACT v1.0 is now uploaded.

neroAacEnc.exe is not included.

Link to Nero Digital Audio is in the Readme.txt.

http://www.hydrogenaudio.org/forums/index....t=0#entry319638 (http://www.hydrogenaudio.org/forums/index.php?act=ST&f=35&t=36261&st=0#entry319638)

Cheers.
Title: New tool: React - [Run EAC Tasks]
Post by: sundance on 2006-05-07 09:05:53
Quote
New INI file key TracksHotVal=+{F5}. May be set to +{F6} if you want Test & Copy tracks instead
of Copy tracks only.

Thanks a lot tycho for reintroducing that feature!

sundance
Title: New tool: React - [Run EAC Tasks]
Post by: Garf on 2006-05-07 13:25:07
Oops. Sorry. I will only provide a link to your download page instead - if that's ok?


Yeah, I'm sure that's fine. Thanks for adding support for the encoder!
Title: New tool: React - [Run EAC Tasks]
Post by: scottder on 2006-05-08 00:54:35
Anyone have a simple config that makes FLAC and OGG files, but without wavgain
Title: New tool: React - [Run EAC Tasks]
Post by: Martin H on 2006-05-08 03:59:43
@tycho

I can see from the changelog that REACT v0.980 could add ReplayGain comments to the cuesheet ie;  "REM REPLAYGAIN_ALBUM_GAIN" and "REM REPLAYGAIN_ALBUM_PEAK". This is a feature that i would really love to see return, as it then would save me from having to run a manual RG scan on the images afterwards in fb2k. I don't like to have the RG info stored as extra tags since i only want to have two tags in my WavPack images ie; CUESHEET and EACLOG. Anyway, Thank's for a great tool tycho, it's a real time saver, which just keeps getting better and better with every new release  Keep up the good work mate

CU - Martin.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-05-08 12:12:17
@Martin: This feature should still be there. You must set !WaveGainAnalysis=1 in your <config>-image.txt file, which will automatically add these REM lines to the cue file.

@scottder: Tagged FLAC and OGG track files, no RG info. Untested.
FLAC_OGG-tracks.txt:
Code: [Select]
!Description=Tagged FLAC and OGG files

!destdir1=@musicdir@\FLAC\$cdartist$\($year$) $album$
!Various-dest1=@destdir1@\$track$ - $title$ ($artist$)
!dest1=@destdir1@\$track$ - $title$

!destdir2=@musicdir@\OGG\$cdartist$\($year$) $album$
!Various-dest2=@destdir2@\$track$ - $title$ ($artist$)
!dest2=@destdir2@\$track$ - $title$

@encdir@\flac.exe -f -5 "@source@" -o "@dest1@.flac" -T "ARTIST=@artist@" -T "ALBUM=@album@"  -T "TITLE=@title@" -T "TRACKNUMBER=@track@" -T "DATE=@year@" -T "GENRE=@genre@" -T "COMMENT=@comment@"
@encdir@\oggenc2.exe -q 6 "@source@" -o "@dest2@.ogg" -c "ARTIST=@artist@" -c "ALBUM=@album@" -c "TITLE=@title@" -c "TRACKNUMBER=@track@" -c "DATE=@year@" -c "GENRE=@genre@" -c "COMMENT=@comment@"
del "@source@"

if @islast@==1 (
  move "@eaclog@" "@destdir1@\eaclog.txt"
  start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\cover.jpg"
)
Title: New tool: React - [Run EAC Tasks]
Post by: big_red on 2006-05-08 13:30:58
I am looking to rip my CD collection to tracks using both FLAC at –6 (for listening on Squeezebox 3) and MP3 at –V2 (for listening on IPOD).  I am new at this and would like to get it right the first time so I don’t have to do it all again a year down the line.

Having spent ages going through the different options I believe that REACT using EAC is the best option for doing this, so thanks for spending the time developing such a great program.

The "I would likes" are as follows:

A. To have the tags on both formats hold enough info so that I don’t have to edit them in the future.

B  To apply album gain on the two formats as I would like the tracks from a single album to be kept at the same relative level.

C.  To get the album art and have this placed as a JPEG into both the FLAC and MP3 album directory or into the tag.

D.  Lyrics would also be good to have, either in both the FLAC and MPE album directory or into the tag.

I have added the REACT and Config INI’s as I have edited them.  I have tried to understand exactly what the REACT and Config INI files are doing but basically I don’t understand it all and so I have a few questions:

1. Is REACT doing replaygain on the WAV and therefore (as I understand) is lossey or is it doing replaygain on the FLAC and MP3´s and therefore (again as I understand) is lossless and therefore if I choose, it can be ignored during playback?

2 Is REACT doing album gain to the FLAC and MP3?

3. What type of tags are added to the FLAC and MP3´s, and can it add ID3v1 and ID3v2 tags to MP3´s.  As I believe this gives the extra allowance for information of ID3v2 but also general player acceptability of ID3v1?

4.  Can REACT get lyric information, and if so where does it store this?

5. How do I set it running once all is configured correctly? Eg are there any hotkeys I need to press etc…

6. Is there anything else I should be considering or have forgotten?



FLAC_MP3-track.txt

!Description=Tagged FLAC and mp3 files with RG album and track tags
!destdir1=@musicdir@\FLAC\$cdartist\$album$ ($year$)
!dest1=@destdir1@\$tracks$ - ($artist$) $title$
!Various-dest1=@destdir1@\Various\$album$ ($year$)\$tracks$ - ($artist$) $title$
!destdir2=@musicdir@\MP3\$cdartist\$album$ ($year$)
!dest2=@destdir2@\$tracks$ - ($artist$) $title$
!Various-dest2=@destdir2@\Various\$album$ ($year$)\$tracks$ - ($artist$) $title$

echo.> "@dest1@.tmp"
@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.tmp"
move "@source@" "@dest1@.wav"
if @islast@==0 goto end
  move "@eaclog@" "@destdir1@\eaclog.txt"
  move "@trackscuesheet@.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-05-08 14:31:06
A lot of question for a first post!
Sorry, but I cannot elaborate on all your questions now.

In general, FLAC_MP3-tracks.txt does most of what you want. To save album art in both FLAC and MP3 folders, you can either start albumart twice with different output files, or do a file copy at the end of @islast@ block in the config script. However, then you must make sure to save the jpg in albumtag.exe before the encoding is done.
Replaygain *tags* (both album and track gain) are added to the FLAC files, so that certain player can adjust the volume, but on MP3 files, album gain is *applied* (actually changes volume), which is what you want if I understand correctly. You could get lyrics with REACT, but it would need a 3rd party program to get it via command line arguments. If you glanced at the documentation, you would find that pressing F4 would get you going.
Title: New tool: React - [Run EAC Tasks]
Post by: scottder on 2006-05-08 16:53:10
Tycho, works great, thanks!
Title: New tool: React - [Run EAC Tasks]
Post by: big_red on 2006-05-09 10:50:01
[quote name='tycho' date='May 8 2006, 13:31' post='390468']
Quote
A lot of question for a first post!

Sorry, it is a lot for a first post.  I have been trying to work it all out for myself and made the most difficult decisions of which programs to use but now need help configuring them 

Quote
Sorry, but I cannot elaborate on all your questions now.


Thanks for the help.  Is there any chance of examples as I find this the best way I understand?

Thanks again
Title: New tool: React - [Run EAC Tasks]
Post by: Martin H on 2006-05-13 02:10:57
@Martin: This feature should still be there. You must set !WaveGainAnalysis=1 in your <config>-image.txt file, which will automatically add these REM lines to the cue file.

Thank you so much tycho, you are the greatest  This is just so awesome for me, since i didn't wanted any other tags in my WavPack images other than CUESHEET and EACLOG, and since i only wanted the Album Gain info stored as REM entries in the cuesheet instead of in additional tags in the image, and all this is now possible with REACT when adding this extra switch to my config file  Again, thank you so much tycho, you are the man
Title: New tool: React - [Run EAC Tasks]
Post by: robinpb on 2006-05-18 19:05:17
using react 1.00, i find that after one REACT run, EAC returns to 'normal' EAC mode (not REACT). anyone else seeing this ?
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-05-19 07:07:18
Hm. Well REACT will close (EAC tray icon disappear) when it doesn't "see" any EAC window on your desktop anymore. This is how REACT exits when you close EAC. It hasn't happened to me yet that it simply closes when EAC is still running. I guess this *may* happen if you have a very slow or overloaded PC - I can't tell.
Title: New tool: React - [Run EAC Tasks]
Post by: robinpb on 2006-05-19 13:49:11
Hm. Well REACT will close (EAC tray icon disappear) when it doesn't "see" any EAC window on your desktop anymore. This is how REACT exits when you close EAC. It hasn't happened to me yet that it simply closes when EAC is still running. I guess this *may* happen if you have a very slow or overloaded PC - I can't tell.



well, for instance:
as i write this i'm REACT-ing (1.00) on a P4 2.8ghz 1Gb ram and there is no EAC tray icon. i'm 99% certain when it's "done" it will be back in 'normal' EAC mode. i've actually been running into more problems, too. once REACT does it's wavegain analysis and should move on to wavpacking, it silently bombs out (seemingly randomly, though -- sometimes works, sometimes doesn't -- eg, repeated process on same disc), leaving no final .wv (but it does leave the .wv.cue)....

!Description=Wavpack image with APEv2 RG album tags and embedded cuesheet and EAC log

!ImageExt=wv
!CuesheetExt=wv.cue
!destdir1=@musicdir@\IMAGES\$cdartist$

start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\@basename@.jpg"
@encdir@\WaveGain.exe -a "@source@" --exec @encdir@\wavpack.exe -hmy -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "REPLAYGAIN_ALBUM_GAIN=%%ALBUM_GAIN%% dB" -w "REPLAYGAIN_ALBUM_PEAK=%%ALBUM_PEAK%%" -w "REPLAYGAIN_TRACK_GAIN=%%TRACK_GAIN%% dB" -w "REPLAYGAIN_TRACK_PEAK=%%TRACK_PEAK%%" -w "CUESHEET=@@cuesheet@" -w "EACLOG=@@eaclog@" "@source@" "@image@"
del "@source@" "@eaclog@"
move "@sourcedir@\@basename@.*" "@destdir1@"

[Settings]
Config=WV
Version=1.0
EAC=C:\Program Files\Audio_Tools\EAC.exe
musicdir=C:\tmp\Ripping
encdir=C:\Program Files\Audio_Tools
LogFile=
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
TracksHotKey={F4}
TracksHotVal=+{F5}
SaveTracksCuesheets=0
ImageHotKey={F10}
ImageNaming=$artist$ - ($year$) $album$
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Debug=0

also, on a side-note, what would be the most elegant way to disable the albumart business ?
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-05-19 13:59:10
it silently bombs out (seemingly randomly, though -- sometimes works, sometimes doesn't -- eg, repeated process on same disc), leaving no final .wv (but it does leave the .wv.cue)....
Is it possible it works sometimes because the previous unsucessful run leaves some files behind that are required?  For instance, it may bomb out as the cuesheet can't be found, the cuesheet is then created, and the next run finds the cuesheet created previously...

also, on a side-note, what would be the most elegant way to disable the albumart business ?
Stick "REM" in front of the relevant line, to turn it into a comment, i.e.:

REM start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\@basename@.jpg"

It is then still there if you need it, but just not active (therefore "disabled" and not "removed").
Title: New tool: React - [Run EAC Tasks]
Post by: robinpb on 2006-05-19 15:01:22

Hm. Well REACT will close (EAC tray icon disappear) when it doesn't "see" any EAC window on your desktop anymore. This is how REACT exits when you close EAC. It hasn't happened to me yet that it simply closes when EAC is still running. I guess this *may* happen if you have a very slow or overloaded PC - I can't tell.



well, for instance:
as i write this i'm REACT-ing (1.00) on a P4 2.8ghz 1Gb ram and there is no EAC tray icon. i'm 99% certain when it's "done" it will be back in 'normal' EAC mode. i've actually been running into more problems, too. once REACT does it's wavegain analysis and should move on to wavpacking, it silently bombs out (seemingly randomly, though -- sometimes works, sometimes doesn't -- eg, repeated process on same disc), leaving no final .wv (but it does leave the .wv.cue)....


i was correct. first REACT run (without EAC tray icon) failed at wavpack step. re-REACTing now (with EAC tray icon)...we'll see if it completes now...
Title: New tool: React - [Run EAC Tasks]
Post by: robinpb on 2006-05-19 15:30:10
ok. so i think i've narrowed it down. while REACTing, if the EAC tray icon disappears (rendering REACT into 'normal' EAC mode -- what causes this i don't know), REACT bails immediately after the wavegain analysis. 100% reproducable.
Title: New tool: React - [Run EAC Tasks]
Post by: big_red on 2006-05-19 17:52:07
A lot of question for a first post!
Sorry, but I cannot elaborate on all your questions now.

In general, FLAC_MP3-tracks.txt does most of what you want. To save album art in both FLAC and MP3 folders, you can either start albumart twice with different output files, or do a file copy at the end of @islast@ block in the config script. However, then you must make sure to save the jpg in albumtag.exe before the encoding is done.
Replaygain *tags* (both album and track gain) are added to the FLAC files, so that certain player can adjust the volume, but on MP3 files, album gain is *applied* (actually changes volume), which is what you want if I understand correctly. You could get lyrics with REACT, but it would need a 3rd party program to get it via command line arguments. If you glanced at the documentation, you would find that pressing F4 would get you going.


Any help is appreciated.  Sorry again for the large quantity of questions but I want to get it right the first time to save having to do it all over again later.
Title: New tool: React - [Run EAC Tasks]
Post by: tarsier on 2006-05-22 17:51:45
I need to add the "-slowconnect" parameter when I start up EAC in order to connect to freedb.  How do I do this from REACT?  I tried adding it to the REACT shortcut, but it gives an error.

Other than that, I absolutely love REACT.  Thanks for writing it!
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-05-22 18:21:25
Edit the REACT INI file (press Alt-F2 in REACT):
EAC="C:\Program Files\Exact Audio Copy\EAC.exe" -slowconnect

It even works without the quotes.
Title: New tool: React - [Run EAC Tasks]
Post by: big_red on 2006-05-23 11:44:18
I am looking to rip my CD collection to tracks using both FLAC at –6 (for listening on Squeezebox 3) and MP3 at –V2 (for listening on IPOD).  I am new at this and would like to get it right the first time so I don’t have to do it all again a year down the line.

Having spent ages going through the different options I believe that REACT using EAC is the best option for doing this, so thanks for spending the time developing such a great program.

The "I would likes" are as follows:

A. To have the tags on both formats hold enough info so that I don’t have to edit them in the future.

B  To apply album gain on the two formats as I would like the tracks from a single album to be kept at the same relative level.

C.  To get the album art and have this placed as a JPEG into both the FLAC and MP3 album directory or into the tag.

D.  Lyrics would also be good to have, either in both the FLAC and MPE album directory or into the tag.

I have added the REACT and Config INI’s as I have edited them.  I have tried to understand exactly what the REACT and Config INI files are doing but basically I don’t understand it all and so I have a few questions:

1. Is REACT doing replaygain on the WAV and therefore (as I understand) is lossey or is it doing replaygain on the FLAC and MP3´s and therefore (again as I understand) is lossless and therefore if I choose, it can be ignored during playback?

2 Is REACT doing album gain to the FLAC and MP3?

3. What type of tags are added to the FLAC and MP3´s, and can it add ID3v1 and ID3v2 tags to MP3´s.  As I believe this gives the extra allowance for information of ID3v2 but also general player acceptability of ID3v1?

4.  Can REACT get lyric information, and if so where does it store this?

5. How do I set it running once all is configured correctly? Eg are there any hotkeys I need to press etc…

6. Is there anything else I should be considering or have forgotten?



FLAC_MP3-track.txt

!Description=Tagged FLAC and mp3 files with RG album and track tags
!destdir1=@musicdir@\FLAC\$cdartist\$album$ ($year$)
!dest1=@destdir1@\$tracks$ - ($artist$) $title$
!Various-dest1=@destdir1@\Various\$album$ ($year$)\$tracks$ - ($artist$) $title$
!destdir2=@musicdir@\MP3\$cdartist\$album$ ($year$)
!dest2=@destdir2@\$tracks$ - ($artist$) $title$
!Various-dest2=@destdir2@\Various\$album$ ($year$)\$tracks$ - ($artist$) $title$

echo.> "@dest1@.tmp"
@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.tmp"
move "@source@" "@dest1@.wav"
if @islast@==0 goto end
  move "@eaclog@" "@destdir1@\eaclog.txt"
  move "@trackscuesheet@.
  • .cue" "@destdir1@"
      start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\cover.jpg"
      cd /d "@destdir1@"
      @encdir@\Glob.exe -v -c @encdir@\flac.exe -f -6 --replay-gain *.wav
      echo @encdir@\Tag.exe --fromfile "%%INPUT_NAME%%.tmp" "%%INPUT_NAME%%.flac" > encode.bat
      echo @encdir@\lame.exe -V2 --vbr-new --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
      echo @encdir@\Tag.exe --fromfile "%%INPUT_NAME%%.tmp" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
      echo del "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.tmp" >> encode.bat
      @encdir@\WaveGain.exe -a *.wav --exec call encode.bat
      del encode.bat
    :end



    REACT.INI


    [Settings]
    Config=FLAC_MP3-tracks
    Version=0.999
    EAC=EAC.exe
    musicdir=M:\Music
    encdir=C:\EAC\REACT\Encoders
    LogFile=
    CodePage=1252
    MinimizeCompressionWindow=1
    ProcessPriority=1
    TracksHotkey={F4}
    SaveTracksCuesheets=0
    ImageHotkey={F10}
    ImageNaming=$artist$ - ($year$) $album$
    AutoCloseSaveImageDialog=0
    Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
    Debug=0


    Thanks for any help.



Don't want to be a pain but, could you please check that I have configured the files correctly and if possible provide answers to my questions?  I find examples the easiest way to understand how something works.

I realise that us newbies have more questions than most but for us to understand we need to ask the questions.  It is a bit of a catch 22 scenario 

Thanks for your help, will be appreciated.
Title: New tool: React - [Run EAC Tasks]
Post by: karit on 2006-05-24 10:13:38
This http://www.hydrogenaudio.org/forums/index....38&#entry383038 (http://www.hydrogenaudio.org/forums/index.php?showtopic=40895&st=0&gopid=383038&#entry383038) will cover a +c and half of b.

In that I have comment what each line of the react.ini
Title: New tool: React - [Run EAC Tasks]
Post by: big_red on 2006-05-24 15:04:22
This http://www.hydrogenaudio.org/forums/index....38&#entry383038 (http://www.hydrogenaudio.org/forums/index.php?showtopic=40895&st=0&gopid=383038&#entry383038) will cover a +c and half of b.

In that I have comment what each line of the react.ini


Thanks Karit,  I have looked at your post before and found it very helpful.  It helped me understand a lot of the other actions.  However:

Re A.  I can see the tags under your 1. and 4. but don't understand exactly what information is going to be held in the tags.

Re B.  I see the album and track gain on the flac under your 8. but not on the MP3's.  Also when I play back, can I choose to ignore these and therefore choose to listen to the original unaltered music?

Re C.  I can see getting album art under your 9. and this being put into dest2.  Does it also place it dest1?

I'm sorry if I am not understanding, I promise I am trying to.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-05-24 20:22:58
Quote
I have added the REACT and Config INI’s as I have edited them. I have tried to understand exactly what the REACT and Config INI files are doing but basically I don’t understand it all and so I have a few questions:

1. Is REACT doing replaygain on the WAV and therefore (as I understand) is lossey or is it doing replaygain on the FLAC and MP3´s and therefore (again as I understand) is lossless and therefore if I choose, it can be ignored during playback?

2 Is REACT doing album gain to the FLAC and MP3?

3. What type of tags are added to the FLAC and MP3´s, and can it add ID3v1 and ID3v2 tags to MP3´s. As I believe this gives the extra allowance for information of ID3v2 but also general player acceptability of ID3v1?

Quote
Re A. I can see the tags under your 1. and 4. but don't understand exactly what information is going to be held in the tags.

Re B. I see the album and track gain on the flac under your 8. but not on the MP3's. Also when I play back, can I choose to ignore these and therefore choose to listen to the original unaltered music?

Re C. I can see getting album art under your 9. and this being put into dest2. Does it also place it dest1?


1. REACT only analyses the WAV files and finds the RG values. It then only put these in as tags in the FLAC files. On the MP3's, REACT apply the album gain (--scale),  and therefore changes the volume in every mp3 frame in the files while encoding.  The rationale is that mp3's are mostly used on hardware players, which does not recognise replay gain values in LAME or APE2 tags (as foobar does), and therefore this approach is normally better for MP3.

2. Explained in 1.

3. The FLAC files get vorbis-comment tags (only one allowed in flac), and the mp3's gets id3v1 tags, I believe. Tag.exe does not write id3v2 tags, so if you want that and also mp3's scaled to album gain level, you must rewrite the config, so that lame.exe encodes and tags your files, and then when all tracks are ripped, you must apply mp3gain.exe to change the volume.

A. Explained in 3.

B. As said, no RG tags in the MP3s - the files will be played with album gain volume level on every player.

C. Albumart is a semi-automatic feature. You must manually save the right jpg. The config script cannot copy the jpg file from dest1 to dest2, because you may not yet have saved it. You start albumart.exe twice with different save targets (dest1 and dest2).
Title: New tool: React - [Run EAC Tasks]
Post by: Apostulate on 2006-05-25 00:43:08
Questions from a newbie:

So, all I have to do is copy the parameters contained within whichever one of the notes files that pertains to what I'm trying to do: i.e. Wavpack Image.  I then paste this within the .ini file, correct?

Also, does the EAC executable have to be within the React folder?  I tried running React today, and, while it did format EAC, it couldn't open it.

Thanks.

P.S.  What I'm mainly trying to do is to get a Wavpack image with embedded cuesheet along with either mp3's or ogg files. 

P.S.S.  Are there any notes for config's for the new Nero AAC encoder?
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-05-25 06:59:32
You must manually edit the INI file, and set e.g. Config=WV_MP3. REACT will then use the scripts in the files "Config\WV_MP3-tracks.txt" and "Config\WV_MP3-image.txt" when hitting F4 and F10 respectively.

REACT does not need to be within the EAC folder, but you must have ran EAC before launching REACT for the first time in order for REACT to see where EAC is located. You can manually edit the REACT INI file and set EAC=<full path to EAC>.

To make use of the new Nero AAC encoder, download it first (link in Readme.txt), and put the .exe in the "Encoders" folder. In the INI file, set Config=MP4 or Config=WV_MP4 (if you want both wavpack and aac files).
Title: New tool: React - [Run EAC Tasks]
Post by: karit on 2006-05-25 08:09:43
Re A.  I can see the tags under your 1. and 4. but don't understand exactly what information is going to be held in the tags.

The tag information comes from EAC. Either what comes from FreeDB or what you type in. In 4 I think it comes form the cuesheet made by EAC

Re B.  I see the album and track gain on the flac under your 8. but not on the MP3's.  Also when I play back, can I choose to ignore these and therefore choose to listen to the original unaltered music?

I couldn't figure out a way to get album gain for the mp3s only the track gain in 5

In the options of most players is a check box to read or not to read the replay gain info

Re C.  I can see getting album art under your 9. and this being put into dest2.  Does it also place it dest1?

13
Title: New tool: React - [Run EAC Tasks]
Post by: big_red on 2006-05-25 14:49:06
[quote name='tycho' date='May 24 2006, 19:22' post='395594']
Quote

Tag.exe does not write id3v2 tags, so if you want that and also mp3's scaled to album gain level, you must rewrite the config, so that lame.exe encodes and tags your files
Quote


Thanks Karit and Tycho for answering my questions, it is appreciated.

What do I need to add to the config to add id3v2 tags?

In fact: Perhaps you should set up a service where people like me who don't have the technical ability to rewrite the configs could pay you a fee to do it for us.

I for one would be prepared to pay to have someone rewrite the configs to get them to do exactly what I want them to do (which will most probably be different from what the next person wants them to do).

Even after your kind help, I am not entirely sure that I will be able to achieve everything.

Let me know if this could work.  Thanks again.
Title: New tool: React - [Run EAC Tasks]
Post by: Apostulate on 2006-05-25 22:31:32
You must manually edit the INI file, and set e.g. Config=WV_MP3. REACT will then use the scripts in the files "Config\WV_MP3-tracks.txt" and "Config\WV_MP3-image.txt" when hitting F4 and F10 respectively.

REACT does not need to be within the EAC folder, but you must have ran EAC before launching REACT for the first time in order for REACT to see where EAC is located. You can manually edit the REACT INI file and set EAC=<full path to EAC>.

To make use of the new Nero AAC encoder, download it first (link in Readme.txt), and put the .exe in the "Encoders" folder. In the INI file, set Config=MP4 or Config=WV_MP4 (if you want both wavpack and aac files).


Thanks for the reply.  Your answers were very brief and succint.  Exactly what I needed. 

One last question: How can I incorporate the Itunes cover downloader?
Title: New tool: React - [Run EAC Tasks]
Post by: robinpb on 2006-05-31 17:11:16
it silently bombs out (seemingly randomly, though -- sometimes works, sometimes doesn't -- eg, repeated process on same disc), leaving no final .wv (but it does leave the .wv.cue)....
Is it possible it works sometimes because the previous unsucessful run leaves some files behind that are required?  For instance, it may bomb out as the cuesheet can't be found, the cuesheet is then created, and the next run finds the cuesheet created previously...


baning my head against the wall still. downgraded back to 0.966.1 and REACT's success rate (not retuning to 'normal EAC mode' and hence bailing at the final compression step) is substantially improved. there is seeminly no rhyme nor reason for REACT going back to 'normal EAC mode' (i've attemped repeated rips, deleted left over files, sometimes it works, sometimes it bails). this is 100% reproducible across several different PCs, using multiple versions of REACT.
the only theory i seem to be able to come up with, is that REACT is turning into 'normal EAC mode' (and bailing) more often (??apparently??) when ripping is slow. this makes life more frustrating as when you have a disc that takes hours (or even days) to rip, all that time is lost in the end.
Title: New tool: React - [Run EAC Tasks]
Post by: robinpb on 2006-05-31 19:22:13
ok...got some more info to try to figure this one out. turned on debugging (in REACT 0.966.1). From the output below, it seems the problem is:
error in tag spec: EACLOG=@C:\tmp\Ripping\Stuck In A Moment [CID 770].log !

however, in REACT/eac, I have Genre and freedb both set to "Rock".  if i repeat this same rip a few more (random) times, it will complete. ideas ?

Active code page: 1252
Disc info  : "U2" - "Stuck In A Moment [CID 770]"
Description : "Wavpack image with APEv2 RG album tags and embedded cuesheet and
EAC log"

C:\Program Files\REACT>C:\PROGRA~1\AUDIO_~1\WaveGain.exe -a "C:\tmp\Ripping\Utmp
1!542.wav" --exec C:\PROGRA~1\AUDIO_~1\wavpack.exe -hmy -w "ARTIST=U2" -w "ALBUM
=Stuck In A Moment [CID 770]" -w "YEAR=2001" -w "GENRE=Rock" -w "REPLAYGAIN_ALBU
M_GAIN=%ALBUM_GAIN% dB" -w "REPLAYGAIN_ALBUM_PEAK=%ALBUM_PEAK%" -w "REPLAYGAIN_T
RACK_GAIN=%TRACK_GAIN% dB" -w "REPLAYGAIN_TRACK_PEAK=%TRACK_PEAK%" -w "CUESHEET=
@C:\tmp\Ripping\U2 - (2001) Stuck In A Moment [CID 770].wv.cue" -w "EACLOG=@C:\t
mp\Ripping\Stuck In A Moment [CID 770].log" "C:\tmp\Ripping\Utmp1!542.wav" "C:\t
mp\Ripping\U2 - (2001) Stuck In A Moment [CID 770].wv"

Analyzing...

    Gain  |  Peak  | Scale | New Peak |Left DC|Right DC| Track
          |        |      |          |Offset | Offset | Track
--------------------------------------------------------------
  -8.43 dB |  32767 |  0.38 |    12415 |  -2  |    0  | C:\tmp\Ripping\Utmp1!5
42.wav

Recommended Album Gain:  -8.43 dB      Scale: 0.3789


WaveGain Processing completed normally

Executing command on "C:\tmp\Ripping\Utmp1!542.wav":


WAVPACK  Hybrid Lossless Audio Compressor  Win32 Version 4.31  2005-12-10
Copyright © 1998 - 2005 Conifer Software.  All Rights Reserved.

error in tag spec: EACLOG=@C:\tmp\Ripping\Stuck In A Moment [CID 770].log !

C:\Program Files\REACT>del "C:\tmp\Ripping\Utmp1!542.wav" "C:\tmp\Ripping\Stuck
In A Moment [CID 770].log"

C:\Program Files\REACT>move "C:\tmp\Ripping\U2 - (2001) Stuck In A Moment [CID 7
70].*" "C:\tmp\Ripping\IMAGES\U2"
C:\tmp\Ripping\U2 - (2001) Stuck In A Moment [CID 770].wv.cue

C:\Program Files\REACT>pause
Press any key to continue . . .
Title: New tool: React - [Run EAC Tasks]
Post by: robinpb on 2006-05-31 19:46:09
ok...got some more info to try to figure this one out. turned on debugging (in REACT 0.966.1). From the output below, it seems the problem is:
error in tag spec: EACLOG=@C:\tmp\Ripping\Stuck In A Moment [CID 770].log !

however, in REACT/eac, I have Genre and freedb both set to "Rock".  if i repeat this same rip a few more (random) times, it will complete. ideas ?


a bit more...as i watch the files being generated by REACT, the .log .cue and .wav all get generated by REACT, while ripping, REACT loses it's tray icon (returning to 'normal' EAC mode), and the .log vanishes at that point, hence wavpack bailing. can i provide any more info ?
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-05-31 19:48:35
Is the log actually called "C:\tmp\Ripping\Stuck In A Moment [CID 770].log"?  Is it available at that time?

If you go to EAC Options' Tools tab do you have "Automatically write status report after extraction" checked?
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-05-31 19:57:37
Your problem seems to be that there is no EAC log, and it complains about the EACLOG tag which reference to this file. REACT self-configuration (first time use, or Ctrl-F2) sets up EAC to save a log after ripping, so I figure you have this option enabled in EAC. However, REACT relies on detecting the "ripping done" dialog and closes that. First then is the EAC logfile file written to disk. Something seems to go wrong here.

To get around the problem, remove the EACLOG=@.... tag from your setup. You won't get an embedded log file in your wavpack image, but that may be ok for you.

Edit: Hi, Synthetic Soul - I didn't see your post
Title: New tool: React - [Run EAC Tasks]
Post by: robinpb on 2006-05-31 20:00:40
Is the log actually called "C:\tmp\Ripping\Stuck In A Moment [CID 770].log"?  Is it available at that time?

If you go to EAC Options' Tools tab do you have "Automatically write status report after extraction" checked?


yes. the log is indeed there, created by REACT upon beginning ripping. once the tray icon disappears, EAC continues ripping, the cue and wav are left but the log disappears.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-05-31 20:05:10
robin, can you specify exactly when in the process the tray icon disappears?
Title: New tool: React - [Run EAC Tasks]
Post by: robinpb on 2006-05-31 20:18:14
robin, can you specify exactly when in the process the tray icon disappears?


loaded up a different disc. just got to about 55% and the tray icon disappeared. seems entirely random....or perhaps when ripping drops below 1x. or when error correction kicks in. i seriously cannot tell. argh
Title: New tool: React - [Run EAC Tasks]
Post by: robinpb on 2006-05-31 20:32:37

robin, can you specify exactly when in the process the tray icon disappears?


loaded up a different disc. just got to about 55% and the tray icon disappeared. seems entirely random....or perhaps when ripping drops below 1x. or when error correction kicks in. i seriously cannot tell. argh


yeah. that failed.
closed EAC (_was_ REACT), relauched, reconfigured (ctrl-F2), same disc that lost the tray icon last time near 55% already has the try icon lost at only 7%.
Title: New tool: React - [Run EAC Tasks]
Post by: robinpb on 2006-05-31 20:45:43


robin, can you specify exactly when in the process the tray icon disappears?


loaded up a different disc. just got to about 55% and the tray icon disappeared. seems entirely random....or perhaps when ripping drops below 1x. or when error correction kicks in. i seriously cannot tell. argh


yeah. that failed.
closed EAC (_was_ REACT), relauched, reconfigured (ctrl-F2), same disc that lost the tray icon last time near 55% already has the try icon lost at only 7%.


repeat above iteration. close REACT (which downgraded to 'normal' EAC) at 7% ripping, removed all extraneous leftover files (wav, cue, etc). relaunched REACT 1.000, reconfigured (ctrl-F2), relauched, began ripping same disc. lost tray icon at about 45%. totally random.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-05-31 21:01:33
Ok, ok. I get the picture. I think I know a way to fix this.
Title: New tool: React - [Run EAC Tasks]
Post by: robinpb on 2006-05-31 21:17:37
Ok, ok. I get the picture. I think I know a way to fix this.


awesome. thanks for taking the time to look into this. could you perhaps surmise as to what you think is happening ?
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-01 02:43:10
OK, before anyone yells at me, I have spent multiple hours over the last 4 days trying to figure out what to do, and I'm still banging my head against the wall.

If anyone is willing to take pity and help me, I would be eternally grateful.  I have to get rid of virtually everything I own in the next 1-2 months...INCLUDING MY 1500+ CD's!!!  I have been out of work for over a year, and as luck would have it, the job I've been offered is overseas.  I'll be gone for over a year, and frankly can't afford to put stuff into storage right now.  I obviously don't want to lose my music, so I've been frantically trying to figure out how to save it for future use.   

After reading the forums, it looks like the best thing for me to do would be to use REACT with EAC and either FLAC or WavPack to create an archival file, and then LAME to create a good 192 VBR MP3 collection.  I know it's a lot to ask, but I need some kind soul to give me settings to use to what I outlined above.  I would like to be able to re-create my CD's at some point, so does that mean I will have to create a cue sheet with the FLAC files?  I really don't understand that part at all.

Here is what I would like to do.

1. Create a reproducable copy of my CD's using FLAC (or WavPack, if that is better).  I would like to be able to not only re-create the entire CD, but also have a lossless version of each song on the CD (is that possible??).

2. Create 192 VBR MP3's of the same discs.

Right now, not only am I a virtual idiot, but extremely stressed, so I would need someone to take me through with baby steps to help me figure out what the #$% I am doing!

My file structure would be something like this:

1. C:\MUSIC\FLAC WHOLE

2. C:\MUSIC\FLAC SINGLES

3. C:\MUSIC\192

Is there a way for me to setup REACT to do all 3 of these?  If so, please let me know!

Sorry for the long message, but like I said...my music means a LOT to me, and I'm desperate! 

Thanks,
David
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-01 07:00:59
Regarding 1 and 2:  Either way you could play individual tracks^ and recreate the CD exactly.*

^ With a player like foobar which can understand cuesheets
* As long as the CD doesn't have a hidden track at TRACK 01 INDEX 00

Having both seems like overkill, especially on 1500+ CDs.

If you have -V2 --vbr-new (approx. 192kbps VBR) LAME MP3s you really shouldn't need to listen to your lossless.

Just trying to save you a few hundred GB...

Edit: We really need to resolve this before anyone can help with the INI, as it will have a major effect on the script used (i.e.: whether an image is used or not).  Two sets of lossless is going to mean an extra 500GB or so over just one...

Firon's WavPack hybrid mode idea (below) does have some mileage, depending on where you plan to listen to your music.
Title: New tool: React - [Run EAC Tasks]
Post by: Firon on 2006-06-01 07:08:29
Well, you can always go the WavPack hybrid route, and use -b400 or something...
Title: New tool: React - [Run EAC Tasks]
Post by: robinpb on 2006-06-01 15:10:55

Ok, ok. I get the picture. I think I know a way to fix this.


awesome. thanks for taking the time to look into this. could you perhaps surmise as to what you think is happening ?



as a temporary work-a-round, i've put a pause statement before the wavegain/wavpack statement. so when REACT loses it's tray icon, and winds up in 'normal EAC mode', waiting for me to click OK (*after* which the log file is created), i can click "ok", the log file is then created, then i unpause that batch file....

look forward to a permanent solution.
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-01 15:22:30
Thanks SyntheticSoul, I didn't realize that about Foobar!   

OK, so I would skip ripping the singles in FLAC (and save some GB!), and then just rip FLAC and VBR 192.  I tried using Karit's settings from a post they put up a few weeks ago, but I somehow screwed it up.  Plus I read in the script something that looked like the old alt -insane preset, which I'm not certain I need.

So here's the new wishlist.

1. Archive everything in FLAC, recreating the CD exactly

2. Create 192 VBR MP3's (using SyntheticSoul's suggestion - I have a 60G iPod, but would also be listening to these at some point through a decent stereo).

In the past, just messing about with MP3's, I created my files like this: C:\Music\MP3\Artist - Album\Track Number - Title.mp3.  I then also create a m3u file for the Album\CD that was: Artist - Album.m3u.

Two questions re: File Structure and m3u's?

1. Can I create a file structure like that using code for REACT?
2. Can I create an m3u file?  Would I not want to for some reason?

Oh, and I also DON'T need to have album art or anything like that.  Right now it's just a waste of space (and time), and if I really get desparate for it I can search for it in the future.  The music is the main thing!

Thank you all SOOO much for your help with this!      Even though I don't post very often (I never really had much to add), I've been a member of this forum for 2 years; primarily because of all the knowledge and VERY helpful people I've seen on the boards.   

David
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-01 16:34:50
Try this:

react.ini (C:\Program Files\REACT\react.ini)

Code: [Select]
[Settings]
Config=FLAC-MP3
Version=1.0
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=C:\Music
encdir=C:\Program Files\REACT\Encoders
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
TracksHotkey={F4}
ImageHotkey={F10}
ImageNaming=$artist$ - $album$
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Debug=0
TracksHotVal=+{F5}
SaveTracksCuesheets=0
FLAC-MP3-image.txt (C:\Program Files\REACT\Config\FLAC-MP3-image.txt)

Code: [Select]
!Description=FLAC image with -V2 MP3
!ImageExt=flac
!CuesheetExt=flac.cue
!destdir1=@musicdir@\FLAC\$cdartist$\$album$
!destdir2=@musicdir@\MP3\$cdartist$\$album$

@encdir@\FLAC.EXE -8 "@source@" -o "@image@"
@encdir@\TAG.EXE -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "COMMENT=@comment@" -f "CUESHEET=@cuesheet@" -f "EACLOG=@eaclog@" "@image@"
MOVE "@eaclog@" "@destdir1@"
MOVE "@sourcedir@\@basename@.*" "@destdir1@"
SET trackName=$n - $~t
IF "$cdartist$"=="Various" SET trackName=$n - $~t ($~a)
@encdir@\ACDIR.EXE --overwrite --output "@destdir2@\%trackName%.mp3" --pipe "@encdir@\LAME.EXE -V2 --vbr-new --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} - $#o" "@sourcecuesheet@"
@encdir@\CREATE-M3U.BAT "@destdir2@" "$cdartist$ - $album$"
DEL "@source@"
create-m3u.bat (C:\Program Files\REACT\Encoders\create-m3u.bat)

Code: [Select]
@ECHO OFF
CLS

REM CREATE-M3U.BAT Written by Neil Popham, 2005 (neilpopham@bigfoot.com)

SET batchname=CREATE-M3U.BAT
SET version=1.0.0
TITLE=%batchname%, Version %version%

REM REM ##############################
REM  PLEASE CONFIGURE THESE VARIABLES
REM REM ##############################
REM Set the name of the playlist to create in each folder
IF [%2] EQU [] (SET playlist=playlist.m3u) ELSE (SET playlist=%~2.m3u)
REM Create list of valid file extensions
SET validExtn=.mp3.mp2.mp1.mpc.mp+.mpp.ogg.aac.mac.ape.flac.fla.wv.shn.ofr.ofs.ogg.m4a.mp4
REM REM ##############################

REM Add another delimiter to the end so I can search for .<ext>.
SET validExtn=%validExtn%.

REM Check a folder has been passed
IF NOT EXIST %1 GOTO NoParams
IF %~z1 GTR 0 GOTO NoParams

REM Remove all existing "playlist.m3u" files otherwise files will be appended
FOR /R %1 %%G IN (%playlist%) DO IF EXIST %%G DEL "%%G"

REM Iterate through every file and pass the path to :WriteToPlayList
FOR /R %1 %%G IN (*.*) DO CALL :WriteToPlayList "%%G"

GOTO:EOF

REM ========================================================================
REM  WriteToPlayList : Adds the file to the playlist, if the extension fits
REM                  : %1 The file to process
REM ========================================================================
:WriteToPlayList
REM Check that the file extension is valid
SET extn=%~x1
IF [%extn%] EQU [] GOTO:EOF
SET tmpExtn=%validExtn%
CALL SET result=%%tmpExtn:%extn%.=%%
REM If no match found in list of extensions exit function
IF [%result%] EQU [%validExtn%] GOTO:EOF
REM Escape ampersand and caret
SET tmpString="%~nx1"
SET tmpString=%tmpString:^=^^%
SET tmpString=%tmpString:&=^^^&%
REM Remove quotes
SET tmpString=%tmpString:"=%
REM Write filename to playlist
ECHO %tmpString%>>"%~dp1\%playlist%"
GOTO:EOF

REM =====================================================
REM  NoParams : a folder has not been passed
REM =====================================================
:NoParams
ECHO To run this script, please pass a folder as a parameter.
ECHO.
ECHO Press any key to exit
PAUSE >NUL

Replace the contents of your react.ini file with the text quoted above.  Create a new TXT file in "\Config" called "FLAC-MP3-image.txt" and paste in the text quoted above.  Create a new BAT file in "\Encoders" called "create-m3u.bat" and paste in the text quoted above.

"create-m3u.bat" is a minor adaption of my batch file "create-playlist.bat" and allows you to pass the name of the M3U file as a parameter, which explains the line:

@encdir@\CREATE-M3U.BAT "@destdir2@" "$cdartist$ - $album$"

... in "FLAC-MP3-image.txt".  This should mean that the M3U file is named "<artist> - <album>.m3u".

FLAC image is called "<artist> - <album>.flac" and stored in "C:\Music\FLAC\<artist>\<album>".  MP3s are called "<track> - <title>.mp3" and stored in "C:\Music\MP3\<artist>\<album>".

I think that's about it.

Edit: Sorry, just reread your post.  If you really want "<artist> - <album>" as the folder structure then change:

!destdir1=@musicdir@\FLAC\$cdartist$\$album$
!destdir2=@musicdir@\MP3\$cdartist$\$album$


... in "FLAC-MP3-image.txt" to:

!destdir1=@musicdir@\FLAC\$cdartist$ - $album$
!destdir2=@musicdir@\MP3\$cdartist$ - $album$
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-01 20:11:01
That's great, thank you!      I'll just go with the naming convention you laid out, as it doesn't differ much from what I had, and I don't think it makes much difference.

I'm assuming that these settings are to be used with setting up REACT/EAC/LAME/ACDIR as has been previously discussed?

If not, please let me know.

Thanks again, you're a (musical) life saver! 

David
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-01 20:30:10
I'm not really sure what has been discussed before.  Tested using the latest REACT and EAC.  You don't need to worry about LAME/ACDIR as the script will use those installed by REACT in its \Encoders directory.

Let me know how you get on.
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-02 06:31:08
Gotcha, thanks!  I'll run some batch tests tonight, and will let you know how they go.
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-02 09:12:11
<sigh>

Well, part of it worked, and part of it didn't.

Here's what I got.  In my C:\MUSIC\FLAC folder, I got:

Junkie XL - Radio JXL - A Broadcast From The Computer Hell Cabin (3PM).cue  AND
Junkie XL - Radio JXL - A Broadcast From The Computer Hell Cabin (3PM).wma  AND
Radio JXL - A Broadcast From The Computer Hell Cabin (3PM).log

In my C:\MUSIC\MP3 folder, I got:

Nothing

Oddly, in my C:\MUSIC folder, I got ALL of the tracks from the disc in WMA form.

Methinks I have a setup problem with my various software, or I don't know how to start the multiple process mode in REACT.  FYI, my F9 through F12 keys on my Logitech Wireless Keyboard are Programmable, but I have never programmed them.  Could that be part of the problem?  I forget what default function F10 is supposed to carry out.

I'm making progress, albeit slowly.  Any advice??   

Thanks,
David
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-02 09:21:18
WMA? WTF?! Any idea where this WMA has come from?

Are you using F10 to start?  I should have specified this, sorry.  You need to rip to a compressed image.  I have no idea whether your Logitech keyboard is playing funny buggers.

The fact that you are getting WMA (?) tracks in "C:\Music" makes me think you must be ripping to tracks, not an image...

I should point out that I tested that setup exactly, apart from using a different value for @musicdir@, and it worked as expected.  So, it is possible.

It may be worth using Ctrl+F2 to reconfigure EAC for REACT.
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-02 09:45:13
No idea whatsoever where the WMA came from!!

I'm wondering now if I even have EAC and REACT configured properly.  I've seen several different tutorials re: how to set them up, which has added to my confusion.

I'll try the Ctl+F2 option and see what that does for me.

OK, I ran Ctl+F2 to configure EAC to work with REACT.

When I press F10, I get the following:

Window Name is "Save Waveform", which is opening in the LAME folder in Program Files. (This doesn't sound right, but I don't know).

File Name is "Junkie XL - Radio JXL - A Broadcast From The Computer Hell Cabin (3PM)"

Save As Type: External Compressor (*.eac)

Does that sound right, or have I buggered the setup?
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-02 10:13:15
Window Name is "Save Waveform", which is opening in the LAME folder in Program Files. (This doesn't sound right, but I don't know).

File Name is "Junkie XL - Radio JXL - A Broadcast From The Computer Hell Cabin (3PM)"

Save As Type: External Compressor (*.eac)
Yes, that's right.

Hit "Save" and see what happens...

As you say, I don't think you had EAC and REACT setup properly.  You shouldn't need to follow guides, just let REACT do it on install or by using Ctrl+F2.

Edit: Theoretically it shouldn't matter where the dialogue opens to (i.e.: LAME folder), but for safety/clarity's sake I would navigate to "C:\Music" (which should then be used on any subseqent runs I believe).  This is just in case the other folder has files in it that could upset the script, and also so you only have to be worrying about "C:\Music" and its subfolders  when checking things.

Also, to reiterate, REACT will be using the LAME.EXE in the REACT "\Encoders" folder, so if ever you want to change the LAME version you will need to change it there.
Title: New tool: React - [Run EAC Tasks]
Post by: Firon on 2006-06-02 10:34:30
On a completely different note, that's a great CD...  You've got good taste in music.
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-02 10:50:04
Thanks for the compliment Firon!

@SyntheticSoul -

Thanks, I'll try that and report back.  Wish me luck!!
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-02 22:03:52
SyntheticSoul -

It worked!!  Just to be safe, I uninstalled and then re-installed all software, and the scripts worked perfectly.

THANK YOU, THANK YOU, THANK YOU!!!   

One last question:

While the mp3's were being created, I thought I saw something in the command window that said j-stereo.  Does that refer to joint stereo?  If so, how can I change the settings in the scripts you gave me to create my mp3's in stereo?  I know, many say joint stereo is fine, but I don't particularly like it, and I'm OK with the files taking up a bit more room.

If I can get this one last thing nailed down, I am golden!!  Thanks again for your help with saving my beloved music!

David
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-02 22:22:55
I'm glad it's working now, that's good news.

I really would not advice forcing stereo, as I think you may be basing your dislike on older, poorer implementations.  It is recommended to use joint stereo.  However, if you insist, you need to add the following to the LAME command line: -m s

i.e.: LAME.EXE -V2 --vbr-new -m s ...
Title: New tool: React - [Run EAC Tasks]
Post by: Firon on 2006-06-03 03:58:30
Forcing stereo will generally decrease quality in LAME, or inflate the bitrate in VBR modes (and still possibly decrease quality anyway).
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-03 04:30:42
Why would that make the quality worse?  And by worse, do you mean listening via an iPod, via a computer, or through a good home stereo system?

When I used j-stereo before, I felt the sound was somewhat hollow on a good sound system.  I realize the file size will be bigger, as the algorhitm will remove sounds that occur in both channels when encoding with j-stereo, but will not with full stereo (I've worked with professionally with MPEG, primarily video, since 1993, so I'm not a *total* idiot ).  However, I do admit that I'm not as knowledgable of mp3 as I am mp1 mp2 and DVD, so I'm all ears...so to speak!

I just need something to get me over my prior knowledge and prejudice derived from previous mp3 listening.

Thanks for the help!!

David
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-03 05:41:44
OK, I've done a little reading, and some of the literature seems to indicate some solid advances in joint stereo quality.  What kind of testing is available for review?

Would changing to a higher bitrate make any difference between j-stereo and stereo?  Say if I went with V1 --vbr-new?

SyntheticSoul -

If I were to stick with j-stereo, but wanted to encode instead to V1 --vbr-new, will that affect any of the other settings you provided me?

Thanks,
David
Title: New tool: React - [Run EAC Tasks]
Post by: Firon on 2006-06-03 05:46:23
Joint stereo in LAME is lossless mid/side stereo. It does not have a lossy JS mode (at least, not yet), otherwise known as intensity stereo. So it won't affect stereo imaging.

The only effect that it can really have is to screw up DPL-II encodes, making the rear speakers not sound too good (and only sometimes).

Turning it off would most likely reduce quality in CBR mode, since you would have a significantly lower amount of bits available. In VBR mode, it will probably inflate the bitrate, and still possibly reduce quality since some frames might hit the 320kbps limit. (someone correct me if I'm wrong)
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-03 07:36:50
Thanks Firon, for providing a technical argument.  I only know that joint stereo wrongly has a bad name.

SyntheticSoul -

If I were to stick with j-stereo, but wanted to encode instead to V1 --vbr-new, will that affect any of the other settings you provided me?
No, not at all.

FYI, the line in FLAC-MP3-image.txt which encodes all the MP3s is this one:

@encdir@\ACDIR.EXE --overwrite --output "@destdir2@\%trackName%.mp3" --pipe "@encdir@\LAME.EXE -V2 --vbr-new --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} - $#o" "@sourcecuesheet@"

This uses a command line application called ACDIR to split the WAV image file, using the times taken from the cuesheet, and pass the data to LAME to encode.  In fact, all that ACDIR does is split the image and output the data to a pipe; any encoder can be used.  ACDIR uses the metadata in the cuesheet to tag the MP3.

With this in mind the command that ACDIR will run for each track is:

@encdir@\LAME.EXE -V2 --vbr-new --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} - $#o

@encdir@\LAME.EXE
The path to the LAME executable.

-V2 --vbr-new --add-id3v2 --pad-id3v2 --ignore-tag-errors
General encoding switches.

--ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE}
Tagging switches using ACDIR variables (e.g.: $#a) to populate tag values

- $#o
Input to LAME is STDIN (-) and output is defined as per ACDIR's --output switch (@destdir2@\%trackName%.mp3).

In essence, all you need to worry about is the "general encoding switches" part, and you can tart about with that as much as you like.
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-03 15:05:39
Thank you both for your patience and input!

Firon, what you say makes total sense...I suppose I was thinking of the old Frauhoffer (sp?) codec that I messed about with while we were developing Video-On-Demand apps (TELE-TV, Minerva, and a few other video-related companies).  It always reminded me of the old bitrate limiters which, when imposed on videos with a wide dynamic range, made them sound clipped or stepped on.  Managing the QA on those projects made me too wary I guess!

It's always good to learn new things!!

SyntheticSoul -

So really all I have to do is replace -V2 --vbr-new with -V1 --vbr-new in the 3 files you had me create to acheive my desired effect?

Thanks again to you both -- I'm off to cause some musical mayhem!

Sully
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-03 19:06:45
"-V2 --vbr-new" is only evident in "FLAC-MP3-image.txt", so that's the only place to need to make changes.

Just change "-V2" to "-V1" in the line I carefully dissected above.
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-04 06:48:47
SyntheticSoul -

This is working brilliantly with regular CD's, but I've run into a problem with Various Artists CD's.

For example:  Artist: Various Artists, CD Title: Ken Burns Jazz (Disc 1)  should come out as Folder: Various Artists, SubFolder: Ken Burns Jazz (Disc 1).

Instead, here's what I got: Folder: Mississippi Fred McDowell - Soon One Mornin' (Death Come A-Creepin' In My Room), SubFolder: Ken Burns Jazz (Disc 1).  The odd thing is, is that the song that is being used as the "Artist" Folder title is the SECOND song on the CD!  It's completely odd.

I didn't want to mess with your script since it has worked so well for the regular CD's, but I could use some help with figuring out how to handle this particular issue.

Thanks for any help you might be able to provide!

David

EDIT: 

OK, one thing I realized is that the FreeDB name is Various, not Various Artists.  When I changed the Save File As to Various Artists is when I got the weird thing above.

Trying it again, I get something else.  The folder names are all proper, but the songs are getting named twice in the same file name.  For example, Louis Armstrong and His Orchestra - Star Dust gets named as:  Louis Armstrong and His Orchestra - Star Dust (Louis Armstrong and His Orchestra - Star Dust).  There's something with the naming convention that is not liking the Various Artists thing!!

Any thoughts?? 
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-04 10:16:35
It sounds to me as though the CD has been tagged poorly.

The CD Artist should be set to "Various", and the "Various Artists" checkbox checked. The tracks should all look like this:

<artist> / <title>

e.g.:

Louis Armstrong and His Orchestra / Star Dust

This is the correct format to distinguish the title artist on a Various Artist CD.

Perhaps you should test with some other VA albums.

I don't exactly understand what is going on there, but certainly an incorrectly tagged VA album will cause problems.
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-04 23:59:06
OK, I'll give that a shot.

Is that a naming convention for FLAC/LAME?  I've never seen VA CD's tagged that way in FreeDB or CDDB, and have not had any problems when using WinAmp or iTunes in the past using that format.

Just curious.

Also, is the .wav file that is created supposed to be deleted once all of the FLAC and LAME work has been completed?  I'm seeing a complete .wav copy of each CD in C:\MUSIC when the work has been completed.  I'm assuming I don't need them anymore?
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-05 00:40:41
OK, I changed the filename settings on the VA CD settings from what FreeDB gives me to the format you suggested, and here is what I got:

01 - Louis Armstrong and His Orchestra - Star Dust (Louis Armstrong and His Orchestra - Star Dust).mp3

01 - Star Dust (Louis Armstrong and His Orchestra).mp3

So now I'm getting TWO files!!  Argh.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-05 08:50:09
Is that a naming convention for FLAC/LAME?  I've never seen VA CD's tagged that way in FreeDB or CDDB, and have not had any problems when using WinAmp or iTunes in the past using that format.
No, that is the format for freedb submissions; it's the only way that you can store track artists in a system that isn't really built for it. Take a look at 2.2 point 6 (http://www.freedb.org/modules.php?name=Sections&sop=viewarticle&artid=26#2-2) in the freedb FAQ.

Also, is the .wav file that is created supposed to be deleted once all of the FLAC and LAME work has been completed?  I'm seeing a complete .wav copy of each CD in C:\MUSIC when the work has been completed.  I'm assuming I don't need them anymore?
Hmm... that should be deleted by the line "DEL @source@" in "FLAC-MP3-image.txt".  I'm not sure what's going on there... You are right, you don't need them, and can delete the old ones manually until you can work out why they're not getting deleted.

So now I'm getting TWO files!!  Argh.
That's impossible. Are you sure the first is not an old version that you didn't delete?  The second format is expected, the first looks like what you were getting.  ACDIR will not be passing each track to LAME twice with differing switches!
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-06 15:58:37
OK, then I guess people are entering the info into FreeDB incorrectly.

I'll be happy to delete the wav files!!

As for the other...I have no idea.  I deleted everything I had in the C:\MUSIC folder, and even went so far as to run a registry cleaner to make sure no fragments were left behind.  But it's always possible I missed something!
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-06 16:04:34
Unfortunately you do seem to see a lot of screwed up Various Artist submissions with freedb.  I guess people just don't check how they are supposed to do it, and formulate their own format.

You really shouldn't have to delete the WAVs manually, but I'm at a loss at the moment as to why they are not getting deleted by the line I quoted.  Maybe tycho can enlighten us.  It can be sorted, I'm sure.

I cannot see how it is possible that one run can produce two sets of MP3s with different filenames.  Check the file dates if you still have them, or when you run a new disc.
Title: New tool: React - [Run EAC Tasks]
Post by: Apostulate on 2006-06-07 17:36:08
I'm getting a "No Configuration File found for WV_MP3-Tracks" when first opening React (using that configuration in the ini file).  I still attempted to rip the disc but no files were produced. 

Also, does the checkbox for "Compresson by an External Program" have to be selected or deselected?

Lastly, in order for the configuration file to work, I have to remove the exclamation points preceding certain lines in the file, correct?

Thank you.
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2006-06-10 00:43:21
SyntheticSoul -

Your suggestions worked, thanks!

Unfortunately, I've had the problem I've seen discussed *somewhere* in the forums re: EAC settings getting reset/changed after ripping.

Is it better to try to recreate the settings, or just uninstall and then reinstall REACT and let it set the EAC settings?

Thanks again for all of the help!

David
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-10 09:16:54
I'm getting a "No Configuration File found for WV_MP3-Tracks" when first opening React (using that configuration in the ini file).  I still attempted to rip the disc but no files were produced.
I seem to remember seeing this myself, but I'm not prepared to reinstall just to check.  In essence, forget about it, and just ensure that react.ini's "Config" value is pointing to the config you actually want.

Also, does the checkbox for "Compresson by an External Program" have to be selected or deselected?
Where's that?  Do you mean "Use external program for compression" on the "External Compression" tab?  If so, it should be checked.

Lastly, in order for the configuration file to work, I have to remove the exclamation points preceding certain lines in the file, correct?
Exclamation marks denote a configuration line, i.e.: Any line beginning with an EM should set a config variable (e.g.: "!CuesheetExt=wv.cue" tells REACT what the cuesheet extension should be).  Any line without an EM is a command to run (e.g.: "WAVPACK.EXE -hm -w ...").


Your suggestions worked, thanks!
I'm not sure which one that was.  I'm a bit out of touch with this thread now.

Unfortunately, I've had the problem I've seen discussed *somewhere* in the forums re: EAC settings getting reset/changed after ripping.

Is it better to try to recreate the settings, or just uninstall and then reinstall REACT and let it set the EAC settings?
Again, I'm not sure I fully understand the situation, but you should be fine to just let REACT reset the EAC settings, as opposed to reinstalling REACT.  It may (a little voodoo, but worth a try) be an idea to do something like this:  Use Ctrl+F2 to tell REACT to reconfigure EAC; close EAC down (Alt+F4).  Run REACT and check that the settings have stuck.

NB: I have saved the EAC compression settings using the dropdown/buttons at the bottom of the EAC main dialogue (as below, except it's obviously called "REACT", not "CMD").

(http://www.neilpopham.pwp.blueyonder.co.uk/profile.gif)

You could: let REACT set EAC (Ctrl+F2); click "New"; Enter "REACT" as the name and select that it is a compression profile.  This may also help it stick... dunno.  Again, a bit hoodoo-voodoo but it's always worth a try...
Title: New tool: React - [Run EAC Tasks]
Post by: big_red on 2006-06-13 18:56:18
Thanks for all your help but I am still not 100% with the configs.

Would you consider creating the exact configs required in return for a donation to your development fund?
Title: New tool: React - [Run EAC Tasks]
Post by: jseely on 2006-06-14 17:21:14
<sigh>

Well, part of it worked, and part of it didn't.

Here's what I got.  In my C:\MUSIC\FLAC folder, I got:

Junkie XL - Radio JXL - A Broadcast From The Computer Hell Cabin (3PM).cue  AND
Junkie XL - Radio JXL - A Broadcast From The Computer Hell Cabin (3PM).wma  AND
Radio JXL - A Broadcast From The Computer Hell Cabin (3PM).log

In my C:\MUSIC\MP3 folder, I got:

Nothing

Oddly, in my C:\MUSIC folder, I got ALL of the tracks from the disc in WMA form.

Methinks I have a setup problem with my various software, or I don't know how to start the multiple process mode in REACT.  FYI, my F9 through F12 keys on my Logitech Wireless Keyboard are Programmable, but I have never programmed them.  Could that be part of the problem?  I forget what default function F10 is supposed to carry out.

I'm making progress, albeit slowly.  Any advice??   

Thanks,
David


I've got the exact same problem.  I've installed EAC and REACT, hit ctrl-f2 to configure EAC, then hit F10 and only an image is created.  I've tried every recommendation made during the conversation and I still only get an image in the IMAGE folder and an empty MP3 folder.  Does anyone have any ideas?

Thanks!
Title: New tool: React - [Run EAC Tasks]
Post by: jseely on 2006-06-14 18:21:27
Figured it out, nevermind =)
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-14 19:24:28
Perhaps you should enlighten others that may have the same problem.
Title: New tool: React - [Run EAC Tasks]
Post by: jseely on 2006-06-14 19:48:53
Perhaps you should enlighten others that may have the same problem.


I planned on it, but really figured I must have been alone in having the issue, as it was very odd.

I downloaded and installed EAC and REACT, and as I mentioned, no MP3's were created.  I uninstalled everything, and reinstalled using the same archives, same problem.

So ... I started debugging it a bit by pausing right before the MP3 creation process and pasting the acdir/LAME portion in another window, running it, and seeing what the problem was.  "ACDIR is not a valid Win32 application".  Odd right?  I checked the file size, 0 bytes.  Well there's the problem =)  So, I grabbed an older archive (0.998I think?) and installed it, copied over the acdir.exe from the encoders directory into the 1.000 REACT encoders directory, and everything worked great.

Like I said, I didn't post how I fixed it because I assumed from the lack of posts, it had to be "just me".

I do have an additional question though.  I really like using test and copy as it puts my mind at ease knowing I've got as close to a perfect copy of my tracks as I can get.  I really want to create a flac image and cue file, and create mp3's from the image, so at first glance the FLAC_MP3 config seems like the obvious choice.  However, there doesn't appear to be a way to create image and then test the integrity of the image with CRC.

I've read this entire post and I've seen a few people mention that it's not possible with image creation.  Is that because it's unnecessary?  Is EAC saying "Copy OK" good enough to rely on?
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-14 20:00:30
I've read this entire post and I've seen a few people mention that it's not possible with image creation.  Is that because it's unnecessary?  Is EAC saying "Copy OK" good enough to rely on?
T&C for images is on the cards for EAC.  For now though, the best option is secure mode.

Thanks for sharing; a strange reason indeed.  Good work on tracking it down though.
Title: New tool: React - [Run EAC Tasks]
Post by: jseely on 2006-06-14 20:28:42
I've read this entire post and I've seen a few people mention that it's not possible with image creation.  Is that because it's unnecessary?  Is EAC saying "Copy OK" good enough to rely on?
T&C for images is on the cards for EAC.  For now though, the best option is secure mode.

Thanks for sharing; a strange reason indeed.  Good work on tracking it down though.


Ah, good to know =)  In that case, would you be confident enough using EAC in secure mode with a simple a "thumbs up, Copy OK" as a backup method?  Or, should I wait for EAC to have CRC functionality or perhaps even use some other method entirely?

I'm just looking for peace of mind I guess, slight OCD going on here =)
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-14 22:59:36
I do use secure mode, and am totally happy with it. However, most of my CDs are pristine (when I buy a new CD the first thing I do is rip it).  If your CDs are in good condition you shouldn't really have any issues.

I did some testing with EAC and foobar's ripper, and the drive at work proved itself to be tempermental, but even that has always given me matching CRCs when I have ripped twice to check.
Title: New tool: React - [Run EAC Tasks]
Post by: jseely on 2006-06-14 23:11:14
Fair enough then, thanks for all the help =)
Title: New tool: React - [Run EAC Tasks]
Post by: greynol on 2006-06-14 23:47:39
I do have an additional question though.  I really like using test and copy as it puts my mind at ease knowing I've got as close to a perfect copy of my tracks as I can get.  I really want to create a flac image and cue file, and create mp3's from the image, so at first glance the FLAC_MP3 config seems like the obvious choice.  However, there doesn't appear to be a way to create image and then test the integrity of the image with CRC.

Just rip the disc a second time as a different file or overwrite the first file.  The status window will tell you what the CRC is (and it will also be included in the log if you chose to create one).  You can manually compare the two CRCs that way.  This really isn't any different than Test & Copy except that the test rip gets written.

Is EAC saying "Copy OK" good enough to rely on?
If you're using a properly configured secure mode and want to know if the rip is precise, yes.

If you're interested in an accurate rip, sans perfect C2 reporting and 100% reported quality, no.
Title: New tool: React - [Run EAC Tasks]
Post by: LI-Greg on 2006-06-26 02:01:48
REACT seems to be the perfect solution to my problem, but I am having trouble reading thru the ini files.
Can some/any one tell/show me how to accomplish the following using REACT...

1. FLACC and/or APE version
2. MP3 version
3. Image + Cue version
4. Download album art

I see an albumart.exe in the "encoders" folder of REACT
I've downloaded latest EAC, FLACC and Monkey's encoders.

I'm looking to have the most flexability. I've got WAV files and MP3's, and after checking my files and reading here, and seeing the WAV does/can not save tag info, I'm looking at re-ripping encoding all my CD's again (this is going on the 3rd time). I had Monkey's Audio, but saw that development had stalled. Now i see a new encoder, and am encouraged, but of course I deleted all my old ape files. 

Space is not so much a concer, as HDD's are cheap. i want to play my files thru my Stereo (FLACC and/or APE) and have portability for my iPod (MP3). I'm also looking at the SONOS, which plays FLACC, but not APE.

ANY/ALL help would be GREATLY APPRECIATED!

TIA

Greg
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-06-26 07:54:47
a. Are 1 and 3 the same thing?

b. RE: 2. Why not go for M4A if this is only for an iPod?
Title: New tool: React - [Run EAC Tasks]
Post by: SpiceWeasel on 2006-06-26 19:22:19
I'm having a problem with using REACT to create any type of encoded files.  I started with a fresh install of REACT 1.0 and the latest EAC build.  I didn't touch the ini file other than changing which encoding to use.  Whenever I try to rip a cd into tracks using REACT I get a directory full of uncompressed .wav's and a 1K .tmp file for each track.  This is true regardless of the encoder I use except for the Nero MP4 command line encoder.  This one produces mp4 song files but they are unplayable in any player, including Nero Showtime. 

I can set up EAC to use the encoders in REACT's encoders directory and get proper .mp3's .flac's .m4a's or whatever.  I've tried turning on debugging but I don't get any error messages. 

Suggestions?
Title: New tool: React - [Run EAC Tasks]
Post by: LI-Greg on 2006-06-27 03:56:04
a. Are 1 and 3 the same thing?

b. RE: 2. Why not go for M4A if this is only for an iPod?



a. no. 1 is each track encoded individually. 3. is an online copy of each cd.
b. ?? M4A ?

not familar with M4A.
Title: New tool: React - [Run EAC Tasks]
Post by: Gow on 2006-07-02 08:06:01
a. no. 1 is each track encoded individually. 3. is an online copy of each cd.
b. ?? M4A ?

not familar with M4A.


Alias AAC.  Comes so far in two good flavors, Nero AAC 1.0.0.2, which has true VBR, and iTunes AAC, which has been proven to have good quality even in the 128kbps range.

REACT has an Image-M4A Option and uses Nero AAC...might want to test it with your iPod first before switching to it as well as performing some listening tests.

Now onto my question...

How do you remove the albumart from the config and still have the wavpack image config run...I tried just removing albumart.exe and it just flashes a command prompt and deletes the ripped wav with NO encoding the wav into wavpack.  Otherwise, its a mighty fine script that makes it easier to have it rip to both lossy and lossless at the same time or to an image with embedded cuesheet AND eac log.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-07-02 08:30:52
How do you remove the albumart from the config and still have the wavpack image config run...
You should just be able to remove the line:

start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\@basename@.jpg"

... or change it to:

REM start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\@basename@.jpg"


a. Are 1 and 3 the same thing?
a. no. 1 is each track encoded individually. 3. is an online copy of each cd.
So, in what format do you want 3?
Title: New tool: React - [Run EAC Tasks]
Post by: Gow on 2006-07-02 08:54:08
REM start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\@basename@.jpg"

Worked like a charm...thanks for the quick answer.

- Gow
Title: New tool: React - [Run EAC Tasks]
Post by: LI-Greg on 2006-07-03 15:06:23
Gow and Synthetic Soul ...

THANKS for the replies.

I spent a few afternoons, Fri evening and Sat, (yes all/most of it) researching and testing all sorts of combos of FLAC, MP3 M4A ... and have come to the conclusion, that "for me" it seems the best solution is:

using REACT to rip:

1. FLAC tracks with tags for Stereo
2. MP3 tracks with tags for iPod
3. FLAC image and cue sheet

I get the album art once, and then copy it to the other locations, so they all have it.  :-)

Before I start re-ripping all my stuff again ...

1. is there a non-Nero M4A encoder? I have EZ Media creator and not Nero, so I can't use
    the Nero encoder (I beleive).

2. Since I started using REACT, it seems that EAC rips slower, has anyone else noticed that?
      (I even set the Priority setting to 5).

3. Any general suggestions on the above config?

4. With the proper add-in, Windows Meida Center will play FLAC tracks, right?

THANKS!!
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-07-03 15:28:12
1. See this thread: http://www.hydrogenaudio.org/forums/index....showtopic=44275 (http://www.hydrogenaudio.org/forums/index.php?showtopic=44275).  You can also use iTunesEncode, which is a command line interface to iTunes.
Title: New tool: React - [Run EAC Tasks]
Post by: LI-Greg on 2006-07-03 17:27:15
1. See this thread: http://www.hydrogenaudio.org/forums/index....showtopic=44275 (http://www.hydrogenaudio.org/forums/index.php?showtopic=44275).  You can also use iTunesEncode, which is a command line interface to iTunes.



THANKS !!!!!!

Guess I'll be very busy tonight retesting...


any size/quality improvement from m4a vs mp3?
Title: New tool: React - [Run EAC Tasks]
Post by: Gow on 2006-07-03 17:32:09
http://www.hydrogenaudio.org/forums/index....showtopic=44310 (http://www.hydrogenaudio.org/forums/index.php?showtopic=44310)

And this for configuring, if necessary, EAC and foobar2000...although REACT is already setup for it, just adjust -q setting to what you need.
Title: New tool: React - [Run EAC Tasks]
Post by: LI-Greg on 2006-07-03 17:54:40
Gow-

THANKS!!!!

I was just trying to figure out the command line to get the tag info.

THANKS AGAIN!!

Do/have you use/used it for your encoding?

I'm looking for a nice balance between FLAC and tiny MP3's for my iPod.
Any suggestion for a q setting to start with?
Title: New tool: React - [Run EAC Tasks]
Post by: Gow on 2006-07-03 19:16:44
Do/have you use/used it for your encoding?

I'm looking for a nice balance between FLAC and tiny MP3's for my iPod.
Any suggestion for a q setting to start with?

I use -q 0.55, which churns out ~192 to 205 kbps~... if you want smaller files, try q 0.425 or if you want the 128kbps as the nominal bitrate, try -br 128000 (128kbps).  br is ABR.  I would stick with the VBR mode though...so -q 0.425 maybe a good starting point for you.  From there you can go and down according to your hearing and needs.

The config for FLAC-M4A can be adjusted...just look for the "-q"
Title: New tool: React - [Run EAC Tasks]
Post by: LI-Greg on 2006-07-03 19:47:50

Do/have you use/used it for your encoding?

I'm looking for a nice balance between FLAC and tiny MP3's for my iPod.
Any suggestion for a q setting to start with?

I use -q 0.55, which churns out ~192 to 205 kbps~... if you want smaller files, try q 0.425 or if you want the 128kbps as the nominal bitrate, try -br 128000 (128kbps).  br is ABR.  I would stick with the VBR mode though...so -q 0.425 maybe a good starting point for you.  From there you can go and down according to your hearing and needs.

The config for FLAC-M4A can be adjusted...just look for the "-q"



THANKS!!!!

Just got the word, we can leave early so I will be starting my tests earlier than I expected today.
:-)

I'll rip the same disk a few times with different -q settings, and then compare them.

Looks like I have a fun evening ahead....

Thanks for the help and info.

Good thing I didn't get too far in the process last night.

Any tips/suggestions/ideas on the apparent slowness of EAC with REACT?
Title: New tool: React - [Run EAC Tasks]
Post by: LI-Greg on 2006-07-05 03:26:34
Gow suggested I post the following question here, rather than the Nero encoding forum, so ...


I have the latest ver of the Nero m4a/mp4 encoder, and am having difficulty using REACT and the neroaactag app.

REACT file is:


!Description=Tagged FLAC, mp3 and mp4 files with RG album and track tags

!destdir1=@musicdir@\FLAC\$cdartist$\$album$
!destdir2=@musicdir@\MP3\$cdartist$\$album$
!destdir3=@musicdir@\MP4\$cdartist$\$album$
!destdir4=@musicdir@\MP4-Q\$cdartist$\$album$


!dest1=@destdir1@\$track$ - $title$
!dest2=@destdir2@\$track$ - $title$
!dest3=@destdir3@\$track$ - $title$
!dest4=@destdir4@\$track$ - $title$


!Various-dest1=@destdir1@\$track$ - $title$
!Various-dest2=@destdir2@\$track$ - $title$
!Various-dest3=@destdir3@\$track$ - $title$
!Various-dest4=@destdir3@\$track$ - $title$

echo.> "@dest1@.tmp"
@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.tmp"
move "@source@" "@dest1@.wav"

@encdir@\neroAacEnc.exe -q 0.5 -if "@dest1@.wav" -of "@dest3@.mp4"
@encdir@\Neroaactag.exe "@dest3@.mp4" -meta:artist="@artist@" -meta:album="@album@" -meta:track="@track@" -meta:title="@title@" -meta:genre="@genre@" -meta:year="@year@"

@encdir@\neroAacEnc.exe -q 0.95 -if "@dest1@.wav" -of "@dest4@.mp4"
@encdir@\Neroaactag.exe "@dest4@.mp4" -meta:artist="@artist@" -meta:album="@album@" -meta:track="@track@" -meta:title="@title@" -meta:genre="@genre@" -meta:year="@year@"


if @islast@==1 (
move "@eaclog@" "@destdir1@\eaclog.txt"
move "@trackscuesheet@.
Title: New tool: React - [Run EAC Tasks]
Post by: Gabes Dad on 2006-07-11 19:47:19
Does anyone know of a way to add custom fields to an id3v2 tag via a command line utility or using lame.exe's tagging capabilities?  I basically want the contents of what tag.exe puts in the apev2 tag (standard configs with REACT) in an id3v2 tag instead so that portables can read the tag.

I checked out id3.exe but can't seem to get it to do custom fields.  I have read that foobar can do this via command line.  If this were included in a REACT configuration, would foobar slow it down much?

Thanks for the help
Title: New tool: React - [Run EAC Tasks]
Post by: Ishtov on 2006-07-11 20:07:54
There are a few utilities that can do this, but I do not believe that Foobar is one of them (I have spent hours chasing "forrest trails" that led nowhere.)

You should try the following links, as they might help you, but some of them are only for unix, or require python, etc.:
http://home.wanadoo.nl/squell/id3.html (http://home.wanadoo.nl/squell/id3.html)
http://id3v2.sourceforge.net/ (http://id3v2.sourceforge.net/)
http://eyed3.nicfit.net/ (http://eyed3.nicfit.net/)
http://www.stacken.kth.se/~mhe/taged.shtml (http://www.stacken.kth.se/~mhe/taged.shtml)
http://icepick.info/projects_old/pyid3/ (http://icepick.info/projects_old/pyid3/)
http://www.gigamonkeys.com/book/practical-an-id3-parser.html (http://www.gigamonkeys.com/book/practical-an-id3-parser.html)

At the end of the day, if none of the above helps you, (eg. you wish to add local album art to the id3v2 tag) the best thing to do is to install PHP on your computer (You do not need a server) and use the open source phpgetid3 utility.  You can run the php script from the command line.

Something like the Wannadoo prog. will integrate nicely into REACT, which is very robust.

If anyone has any other suggestions, or can give a more acurate description on what Foobar can do, I would be interested.

Edit:
Oh, I forgot!

A few more links, including whatever might possibly work with FooBar:
Freeware:
http://eolindel.free.fr/foobar/masstagger.shtml (http://eolindel.free.fr/foobar/masstagger.shtml)
http://www.underbit.com/products/mad/ (http://www.underbit.com/products/mad/)

Shareware:
http://www.trworks.net/winrenamer/ (http://www.trworks.net/winrenamer/)
http://www.softartstudio.com/tagcontrol/use.htm (http://www.softartstudio.com/tagcontrol/use.htm)

Plus, there is a way to run iTunes from the command line, which natively can write v2.2.
If nothing else works, you can Clusty around for instructions.  Have never tried it myself though.

Good Luck!
Title: New tool: React - [Run EAC Tasks]
Post by: SpiceWeasel on 2006-07-11 22:01:16
Referring to my previous post, has anyone else had a similar experience?
Title: New tool: React - [Run EAC Tasks]
Post by: Ishtov on 2006-07-12 08:53:42
@ SpiceWeasel:

I have heard that if you don't include the "Encoders" directory (The folder with all the different command line programs, usually in c:\program files\exact audio copy\Encoders) in the system path, things will  not work.

To include it, right click on "My Computer" -> Properties -> Advanced Tab -> Environment Variables -> double click on "Path" (NOT "ClassPath" !) -> add "C:\Program Files\etc... after the final semicolon.

And make sure all the variables are set correctly in the react.ini file, as it doesn't always get it right. 

Let me know if this helped
Title: New tool: React - [Run EAC Tasks]
Post by: grokwik on 2006-07-13 21:56:17
First tycho, I'd like to say a big thank you for react which i found awesome. I was starting to rip all my cds with eac image + cue + wavepack + cover and I discovered your tool.
I have few questions.

1) what is the difference in having the cuesheet embedded and the cuesheet stored as apev2 tag in the wv file ?
2) is it possible to see an embedded cue sheet in foobar ?
3) For good accuracy, I rip with F10 and default options then I rip the whole range ("copy range") and compare the CRC. Is there's a way to automate this procedure in react ? Is this procedure good ?
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-07-13 22:34:38
1. Nothing, it is the same thing.
2. Yes.  Select one track and then choose "Utils" > "Edit cuesheet..." (IIRC).
3. No idea, sorry.
Title: New tool: React - [Run EAC Tasks]
Post by: Martin H on 2006-07-14 01:35:50
3) For good accuracy, I rip with F10 and default options then I rip the whole range ("copy range") and compare the CRC. Is there's a way to automate this procedure in react ? Is this procedure good ?

There hasen't been made a fully automatic script yet as far as i know, but [proxima] posted this semi-automatic script some time back, where you need to first press F10 to make the first rip, and then press F10 again to make a second rip, which then gets compared to the first rip, and if they match, then encoding starts and the second rip is deleted. If mismatches occure, then both rips are deleted and you can run the process again.

http://www.hydrogenaudio.org/forums/index....ndpost&p=346359 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=35158&view=findpost&p=346359)
Title: New tool: React - [Run EAC Tasks]
Post by: grokwik on 2006-07-14 23:04:02
2. Yes.  Select one track and then choose "Utils" > "Edit cuesheet..." (IIRC).

Thanks ! I was seareching on the properties menu... foobar is definitely the best.


3) For good accuracy, I rip with F10 and default options then I rip the whole range ("copy range") and compare the CRC. Is there's a way to automate this procedure in react ? Is this procedure good ?

There hasen't been made a fully automatic script yet as far as i know, but [proxima] posted this semi-automatic script some time back, where you need to first press F10 to make the first rip, and then press F10 again to make a second rip, which then gets compared to the first rip, and if they match, then encoding starts and the second rip is deleted. If mismatches occure, then both rips are deleted and you can run the process again.

http://www.hydrogenaudio.org/forums/index....ndpost&p=346359 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=35158&view=findpost&p=346359)


Thank you for the link !
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2006-07-21 14:11:24
I'm using version 1.0 and getting an "acdir.exe has encountered a problem and needs to close" error with the WV_MP3-image congig. The only thing I changed was the paths. I tried copying an older version of acdir.exe into the encoder directory but still get the same error. Any ideas?
Title: New tool: React - [Run EAC Tasks]
Post by: grokwik on 2006-07-24 11:57:40
I'm using REACT with wv-image defaukt configuration file. All is working fine. The only thing I don't understand is that a tag comment is created with the following value : ExactAudioCopy v0.95b4.

Why is this tag created ? there's no commandline creating the tag in the default configuration file (wv-image)
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2006-07-25 02:38:12
I'm using REACT with wv-image defaukt configuration file. All is working fine. The only thing I don't understand is that a tag comment is created with the following value : ExactAudioCopy v0.95b4.

Why is this tag created ? there's no commandline creating the tag in the default configuration file (wv-image)

If I recall correctly acdir.exe is a wave file splitter so it isn't used in the wv-image config; only the FLAC_MP3-image, WV_MP3-image and WV_MP4-image configs...I think.
Title: New tool: React - [Run EAC Tasks]
Post by: grokwik on 2006-07-25 08:42:51

I'm using REACT with wv-image defaukt configuration file. All is working fine. The only thing I don't understand is that a tag comment is created with the following value : ExactAudioCopy v0.95b4.

Why is this tag created ? there's no commandline creating the tag in the default configuration file (wv-image)

If I recall correctly acdir.exe is a wave file splitter so it isn't used in the wv-image config; only the FLAC_MP3-image, WV_MP3-image and WV_MP4-image configs...I think.

Sorry I'm not speaking about ACDIR which I don't use but about the "comment" tag which is created in my wv image.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-07-25 09:21:15
EAC writes that to the cuesheet as a REM COMMENT statement, which foobar will display as a comment tag, and transfer to any files you create using Converter.

Take a look at the cuesheet in Notepad.
Title: New tool: React - [Run EAC Tasks]
Post by: grokwik on 2006-07-25 12:17:25
EAC writes that to the cuesheet as a REM COMMENT statement, which foobar will display as a comment tag, and transfer to any files you create using Converter.

Take a look at the cuesheet in Notepad.

Thanks Synthetic Soul  . Is there's a way to remove this statement during the REACT process. Indeed, I'm using the tag 'ripping tool' to store the same information...
Title: New tool: React - [Run EAC Tasks]
Post by: dummptyhummpty on 2006-07-31 23:27:07
Hey I've encountered some trouble with React and cd's that have "Various Artists". In EAC the Album Title is filled in but artist is blank since the "Various Artist" checkbox is selected. The track titles are as follows: Artist / Title. The cd rips ok but when React tags the flac file it uses the artist from the second track for every track on the cd. What else is weird is that AlbumArtist shows up as various too. I don't even have albumartist being tagged in my config file! Any help???

Code: [Select]
!Description=FLAC image with embedded cuesheet and ogg replaygain tags and aac files

!ImageExt=flac
!CuesheetExt=flac.cue
!destdir1=@musicdir@\FLAC\$cdartist$\$album$
!destdir2=@musicdir@\MP4\$cdartist$\$album$

echo off
start @encdir@\coverdownloader\albumart.exe "@artist@" "@album@" "@destdir1@\cover.jpg
echo Waiting for Cover Art...
Pause
@encdir@\flac.exe -5 -f --replay-gain "@source@" -o "@image@"
@encdir@\Tag.exe -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "COMMENT=@comment@. flac v1.1.2." -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -f "CUESHEET=@cuesheet@" -f "EACLOG=@eaclog@" "@image@"
move "@sourcedir@\@basename@.*" "@destdir1@"
set out2=($n) $~t
if "$cdartist$"=="Various" goto compilation
echo ---------
echo Normal CD
echo ---------
@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.m4a" --pipe "@encdir@\neroAacEnc_SSE2.exe -q 0.5 -ignorelength -if - -of $#o & @encdir@\neroaactag.exe $#o -add-cover:front:$q@destdir1@\cover.jpg$q -meta:artist=$#a -meta:album=$#T -meta:track=$q$n$q -meta:totaltracks=$q$numtracks$$q -meta:title=$#t -meta:year=$#r{DATE} -meta:genre=$#r{GENRE} -meta:comment=$q@comment@. flac v1.1.2. ID: @freedbid@. AG: @gain@.$q" "@sourcecuesheet@"
goto end

:compilaton
echo --------------
echo Compilation CD
echo --------------
if "$cdartist$"=="Various" set out2=($n) $~a - $~t
@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.m4a" --pipe "@encdir@\neroAacEnc_SSE2.exe -q 0.5 -ignorelength -if - -of $#o & @encdir@\neroaactag.exe $#o -add-cover:front:$q@destdir1@\cover.jpg$q -meta-user:itunescompilation=$q1$q -meta:artist=$#a -meta:album=$#T -meta:track=$q$n$q -meta:totaltracks=$q$numtracks$$q -meta:title=$#t -meta:year=$#r{DATE} -meta:genre=$#r{GENRE} -meta:comment=$q@comment@. flac v1.1.2. ID: @freedbid@. AG: @gain@.$q" "@sourcecuesheet@"
goto end

:end
del "@source@" "@eaclog@"
Title: New tool: React - [Run EAC Tasks]
Post by: hydr0x on 2006-08-01 20:51:06
i'm probably just too tired because i've been playing with my mp3s+software all day but i can't figure out at all how to configure REACT

what i want to do is

1) rip the disc to wav
2) convert to flac (tagged)
3) convert to mp3 vbr (tagged)
optional) convert to aac+ (tagged)
4) create a .cue sheet for the flacs/wavs
5) delete wavs

if anyone could at least lead me towards the right way i'd appreciate it, thanks
Title: New tool: React - [Run EAC Tasks]
Post by: bhoar on 2006-08-01 21:12:20
i'm probably just too tired because i've been playing with my mp3s+software all day but i can't figure out at all how to configure REACT

what i want to do is

1) rip the disc to wav
2) convert to flac (tagged)
3) convert to mp3 vbr (tagged)
optional) convert to aac+ (tagged)
4) create a .cue sheet for the flacs/wavs
5) delete wavs

if anyone could at least lead me towards the right way i'd appreciate it, thanks


REACT comes configured out of the box to create FLAC (image or tracks) and cue.  If you change the first line of react.ini to point to FLAC_MP3 instead of FLAC, run REACT, hit alt-f2 (I think - check the first post of this thread) to configure EAC with REACT and hit F10 after the disc is loaded, then it does *all* those steps for you, other than the optional one.  Get that up and running and we can address AAC.  Note that does perform a lot of things behind the scenes, so it's often useful to turn on logging and/or look at the windows process list to understand what is going on.

You may also want to change some of the default paths in the .ini file.

-brendan
Title: New tool: React - [Run EAC Tasks]
Post by: hydr0x on 2006-08-02 00:22:50
ok, i changed the paths and switched to FLAC_MP3

unfortunately something doesn't work, i tried to rip one track (clicked on the MP3 button). EAC shows 100% OK, but the external program (react) pops up for like 0.1s and closes immediately. This is what the log says

Code: [Select]
----- [FLAC_MP3-tracks] ----- 2006-08-02 01:19:38
@echo Disc info   : "Sugiurumn feat. Miyuki Hatakeyama" - "Sensation White 2006 - The Compilation"
@echo Track info  : (2) "Star Baby (Axwell Remix)"
@echo Description : "Tagged FLAC and mp3 files with RG album and track tags"
echo.> "J:\reactworking\FLAC\Various\(2006) Sensation White 2006 - The Compilation\02 - Star Baby (Axwell Remix) (Sugiurumn feat. Miyuki Hatakeyama).tmp"
F:\PROGRA~1\REACT\Encoders\Tag.exe --nocheck --ape2 -t "ARTIST=Sugiurumn feat. Miyuki Hatakeyama" -t "ALBUM=Sensation White 2006 - The Compilation" -t "TRACK=2" -t "TITLE=Star Baby (Axwell Remix)" -t "YEAR=2006" -t "GENRE=Trance" -t "TOTALTRACKS=16" -t "FREEDB=E812B810" -t "CRC=D4D071BE" "J:\reactworking\FLAC\Various\(2006) Sensation White 2006 - The Compilation\02 - Star Baby (Axwell Remix) (Sugiurumn feat. Miyuki Hatakeyama).tmp"
move "J:\RIPTEST\Vtmp0-!55.wav" "J:\reactworking\FLAC\Various\(2006) Sensation White 2006 - The Compilation\02 - Star Baby (Axwell Remix) (Sugiurumn feat. Miyuki Hatakeyama).wav"
if 0==1 (
  move "J:\RIPTEST\Sensation White 2006 - The Compilation.log" "J:\reactworking\FLAC\Various\(2006) Sensation White 2006 - The Compilation\eaclog.txt"
  move "J:\RIPTEST\Sensation White 2006 - The Compilation.[*].cue" "J:\reactworking\FLAC\Various\(2006) Sensation White 2006 - The Compilation"
  start F:\PROGRA~1\REACT\Encoders\albumart.exe "Sugiurumn feat. Miyuki Hatakeyama" "Sensation White 2006 - The Compilation" "J:\reactworking\FLAC\Various\(2006) Sensation White 2006 - The Compilation\cover.jpg"
  cd /d "J:\reactworking\FLAC\Various\(2006) Sensation White 2006 - The Compilation"
  F:\PROGRA~1\REACT\Encoders\Glob.exe -v -c F:\PROGRA~1\REACT\Encoders\flac.exe -f -5 --replay-gain *.wav
  echo F:\PROGRA~1\REACT\Encoders\Tag.exe --fromfile "%%INPUT_NAME%%.tmp" "%%INPUT_NAME%%.flac" > encode.bat
  echo F:\PROGRA~1\REACT\Encoders\lame.exe -V5 --vbr-new --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "J:\reactworking\MP3\Various\(2006) Sensation White 2006 - The Compilation\%%INPUT_NAME%%.mp3" >> encode.bat
  echo F:\PROGRA~1\REACT\Encoders\Tag.exe --fromfile "%%INPUT_NAME%%.tmp" "J:\reactworking\MP3\Various\(2006) Sensation White 2006 - The Compilation\%%INPUT_NAME%%.mp3" >> encode.bat
  echo del "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.tmp" >> encode.bat
  F:\PROGRA~1\REACT\Encoders\WaveGain.exe -a *.wav --exec call encode.bat
  del encode.bat
)


there's the WAV in the FLAC subfolder and a MP3 folder was created without content. No .mp3 or .flac present

ps: please ignore the track title and so on, i haven't correctly inserted the disc info for this one yet, it was just a quick test
Title: New tool: React - [Run EAC Tasks]
Post by: bhoar on 2006-08-02 02:51:01
<complaint about ape tag removed>

Can you try the image and not the tracks command?  F10?

Also before doing that, in the ini, set a logfile by appending "<pathname>.log" to the "LogFile" line and change "Debug=0" to "Debug=1".

-brendan
Title: New tool: React - [Run EAC Tasks]
Post by: hydr0x on 2006-08-02 08:29:36
<complaint about ape tag removed>

Can you try the image and not the tracks command?  F10?

Also before doing that, in the ini, set a logfile by appending "<pathname>.log" to the "LogFile" line and change "Debug=0" to "Debug=1".

-brendan



well F10 isn't the right button, it only takes me to the drive options, so i'm not sure what exactly you want me to do

i did set a logfile, otherwise how could i have posted the one above?!? i will add debug though, thx

edit: that still produces the exact same logfile
Title: New tool: React - [Run EAC Tasks]
Post by: bhoar on 2006-08-02 09:25:35
If F10 isn't being caught by REACT and causing the start of an Image extraction, then there's something busted in your REACT installation.

A correction to one of my posts above:  ctrl-F2 is what is used to tell REACT to configure EAC to the correct settings to work with REACT.  I had posted alt-f2, which is wrong (that brings up the INI file for edit).

You are making sure EAC is not open before executing REACT, right?  Let REACT start EAC itself, instead of starting EAC and then running REACT.

Then hit ctrl-F2 to configure EAC.  Then, insert a CD, wait for the freedb lookup (and correct as necessary), then hit F10.

-brendan
Title: New tool: React - [Run EAC Tasks]
Post by: hydr0x on 2006-08-02 10:06:27
thx, got it working now, apparently the configuration was indeed flawed :/

i can now get flac+mp3(vbr) from the cd  need to figure out the filenames and tagging though, absolutely not what i want right now (maybe also due to the fact that it was a sampler)

edit: or so i thought.... while image (f10) ripping and single track ripping works, ripping the whole cd into seperate tracks doesn't. In other words, f4 with one track marked works, f4 with multiple tracks marked doesn't . The react window pops up after every ripped song but does nothing and shows "pause, press button to continue" right away

edit2: found out what the problem was, i had still set debug to 1 and that somehow blocked react from doing what it should with multiple files

so now i'm only left with finding out how i can get the filenames i want and correct filled tags even for samplers :/ i'm still not 100% sure how i want to store the files (filenames+folders) so maybe in the meantime someone can point me towards a tutorial or something for setting up the react files, thx
Title: New tool: React - [Run EAC Tasks]
Post by: hydr0x on 2006-08-02 15:36:41
ah, great, i found out how to get the correct paths and filenames

i'm stuck at the tags though, likely because i do not know too much about tags

everythings fine except a few things:

- i want the track number field to be XX/XX. i got it working in the flac tag with "TRACK=$track$/$numtracks$" but it doesn't transfer to the MP3 correctly  (mp3 tag shows XX only as usual)

- that's maybe because it stores an ID3V1 tag only, how can i store ID3V2?

- in the mp3 tag it leaves a "AG appl:-8.29,TG:-8.29 dB" comment. i don't know anything about replaygain yet (next in line) so what is this good for? can i delete this and how? (= not enter it to start with)

- the album cover thing, how does it work? it doesn't seem to do anything for me

- how can i write "1" into the cd # tag ??

- how can i fill the album artist tag??

thx in advance
Title: New tool: React - [Run EAC Tasks]
Post by: bhoar on 2006-08-02 18:36:58
The album art thing seems to either not find, or finds related but incorrect art for most of my music.  I suspect this is because it is having trouble accessing the "best" sources.  I would check to see if that executable component has a newer version available elsewhere.  As for the album gain/track gain, I'd suggest leaving it in, as you might one day use it.    Your config script is calling it manually and it does take CPU time, so if you absolution must disable it, edit your script.

-brendan

edit: the executable for the cover stuff is in the Encoders directory, named something obvious IIRC correctly.
Title: New tool: React - [Run EAC Tasks]
Post by: hydr0x on 2006-08-02 18:41:49
As for the album gain/track gain, I'd suggest leaving it in, as you might one day use it.    Your config script is calling it manually and it does take CPU time, so if you absolution must disable it, edit your script.


well i don't have too much problems with adding replaygain but i can always do that later on with fb2k without too much hassle so i'd rather not have it done with react  plus i was more interested in getting the info out of the comment field or is that where it's usually saved? i guess not
Title: New tool: React - [Run EAC Tasks]
Post by: bhoar on 2006-08-02 18:46:12
I believe it is saved there for compatibility reasons.  You can always clear the field using foobar too.

Presumably it's there because of intersection of IDv2 vs. IDv3.x issues  and the Lowest Common Denominator player issue (portable audio players).

-brendan
Title: New tool: React - [Run EAC Tasks]
Post by: arpeggio on 2006-08-02 19:48:33
@ hydr0x

Talking about replaygain you have to look at this line in your config file (copied from your post #370):

Quote
...
echo F:\PROGRA~1\REACT\Encoders\lame.exe -V5 --vbr-new --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav"
...


The Lame commandline shows the parameter --scale %%ALBUM_SCALE%%. This parameter will actually apply replaygain to the MP3 file according to the Album Gain value that is calculated by <WaveGain.exe>
If you do not want React to apply replaygain then you have to remove this parameter.

The parameter --tc " ....... " will only add text to the Comment field in the ID3 tag. In this case it will show something like: AG appl: ..., TG: ... dB   
It's just there for information only and if you want you can either remove this parameter or change the text between the quotation marks to whatever you want.

Hope this helps!
Title: New tool: React - [Run EAC Tasks]
Post by: hydr0x on 2006-08-02 21:12:16
thank you, found them and removed both parameters
Title: New tool: React - [Run EAC Tasks]
Post by: big_red on 2006-08-07 23:51:55
Hi, Hope this is of help to someone.

I have had problems trying to create different directory structures for single artists and various artist.  I wanted to have:

@musicdir@\MP3\$cdartist$\($year$) $album$          for single artists and

@musicdir@\MP3\$cdartist$\$album$ ($year$)          for various artists.

I tried using a single config file but had loads of problems including having both directory structures being created with one being filled with the tracks; no directory structure being created; creating the same directory structure regardless if the cd was a single artist or various artists.

In the end the only solution I could come up with was creating two REACT directories in the EAC directory and configuring the ini files for each structure. 

Then I set EAC's Compression Options to point towards the first REACT.exe and saved this in EAC as a Profile.  Then I set EAC's Compression Options to point to the second REACT.exe and saved this as a different Profile.

So now all I have to do is to load the relevant profile (2 seconds) before ripping a cd.


Also, can anybody help? Have I got the config right to have id3v1 and id3v2 tags on my MP3's?



Here is one of the FLAC_MP3 configs I am using:


!Description=Various Tagged FLAC and mp3 V2 files with RG album and track tags

!destdir1=@musicdir@\FLAC\$cdartist$\$album$ ($year$)
!dest1=@destdir1@\$track$ - ($artist$) $title$
!Various-dest1=@destdir1@\$track$ - ($artist$) $title$

!destdir2=@musicdir@\MP3\$cdartist$\$album$ ($year$)
!dest2=@destdir2@\$track$ - ($artist$) $title$

echo.> "@dest1@.tmp"
@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.tmp"
move "@source@" "@dest1@.wav"

if @islast@==1 (
  move "@eaclog@" "@destdir1@\eaclog.txt"
  move "@trackscuesheet@.
Title: New tool: React - [Run EAC Tasks]
Post by: hiwaycallin on 2006-08-10 17:00:13
I recently installed REACT and configured it to encode using the included FLAC_MP3 config file without modification. It works great, but I have a question regarding the following line of code:

Code: [Select]
echo @encdir@\lame.exe -V5 --vbr-new --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat


Does the -V5 --vbr-new part mean that that the MP3s are ecoded at the target rate of 130 Kbit/s?

If so, would simply changing -V5 to -V2 be all that I need to do to get the MP3s up to the HA recommended standard?

Thanks in advance.
Title: New tool: React - [Run EAC Tasks]
Post by: arpeggio on 2006-08-10 17:29:48
Does the -V5 --vbr-new part mean that that the MP3s are ecoded at the target rate of 130 Kbit/s?

Yes


If so, would simply changing -V5 to -V2 be all that I need to do to get the MP3s up to the HA recommended standard?

Yes, you can change this parameter to any Lame setting you prefer.
Title: New tool: React - [Run EAC Tasks]
Post by: hiwaycallin on 2006-08-10 19:38:37
Yes, you can change this parameter to any Lame setting you prefer.

Thanks arpeggio.

Then to reiterate big_red's question from above, would replacing -V5 --vbr-new with
-V2 --vbr-new --add-id3v2 --pad-id3v2
result in MP3 files with proper id3v1 and id3v2 tags?

From an earlier post on this thread it would seem that the default FLAC_MP3 config file will only add id3v1 tags ... is this correct?

Thanks again.
Title: New tool: React - [Run EAC Tasks]
Post by: big_red on 2006-08-10 20:12:05
Then to reiterate big_red's question from above, would replacing -V5 --vbr-new with
-V2 --vbr-new --add-id3v2 --pad-id3v2
result in MP3 files with proper id3v1 and id3v2 tags?


I have just managed to check the tags and even with --add-id3v2 --pad-id3v2 only the id3v1 tags are added to the file.

The only solution I can think of is to use a tag editor like http://www.ManiacTools.com/soft/mp3tag (http://www.ManiacTools.com/soft/mp3tag) to copy the id3v1 tag to id3v2 tags.

This program seems pretty good as you can save lyrics and album art into the MP3 too, which it will download from the net.

If there is a better soluition I would be glad to hear it.

John
Title: New tool: React - [Run EAC Tasks]
Post by: hiwaycallin on 2006-08-10 22:53:37
I have just managed to check the tags and even with --add-id3v2 --pad-id3v2 only the id3v1 tags are added to the file.

The only solution I can think of is to use a tag editor like http://www.ManiacTools.com/soft/mp3tag (http://www.ManiacTools.com/soft/mp3tag) to copy the id3v1 tag to id3v2 tags.

Thank you for the information John.
Title: New tool: React - [Run EAC Tasks]
Post by: arpeggio on 2006-08-10 23:23:05
...
Then to reiterate big_red's question from above, would replacing -V5 --vbr-new with
-V2 --vbr-new --add-id3v2 --pad-id3v2
result in MP3 files with proper id3v1 and id3v2 tags?
...

I have made a workaround on the standard FLAC_MP3-tracks config file that should work.

While <Tag.exe> will only produce ID3v1 tags for the MP3 files, I have removed that line from the script. Then I changed the parameters for <Lame.exe> to do the tagging for both ID3v1 and ID3v2 tags.


Code: [Select]
!Description=Tagged FLAC and mp3 files with RG album and ID3v1 and ID3v2 track tags

!destdir1=@musicdir@\FLAC\$cdartist$\($year$) $album$
!dest1=@destdir1@\$track$ - $title$
!Various-dest1=@destdir1@\$track$ - $title$ ($artist$)
!destdir2=@musicdir@\MP3\$cdartist$\($year$) $album$

echo.> "@dest1@.tmp"
@encdir@\Tag.exe --nocheck -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.tmp"
move "@source@" "@dest1@.wav"

if @islast@==1 (
  move "@eaclog@" "@destdir1@\eaclog.txt"
  move "@trackscuesheet@.[*].cue" "@destdir1@"
  start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\cover.jpg"
  cd /d "@destdir1@"
  @encdir@\Glob.exe -v -c @encdir@\flac.exe -f -5 --replay-gain *.wav
  echo @encdir@\Tag.exe --fromfile "%%INPUT_NAME%%.tmp" "%%INPUT_NAME%%.flac" > encode.bat
  echo @encdir@\lame.exe -V2 --vbr-new --scale %%ALBUM_SCALE%% --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
  echo del "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.tmp" >> encode.bat
  @encdir@\WaveGain.exe -a *.wav --exec call encode.bat
  del encode.bat
)

As you might notice the Lame setting for encoding is:  -V2 --vbr-new. You may change that if you like.
The MP3 files will have Replaygain (Album Gain ~89 dB). The values for correction are stored in the 'Comment' field.
The FLAC files will have Vorbis tags.


Edit:  Do not use this script!! After some more testing I have noticed that it will create identical ID3 tags for all MP3 files in the album. So it will produce useless ID3v1 and ID3v2 tags. Thanks to Synthetic Soul for pointing at this behaviour.
Title: New tool: React - [Run EAC Tasks]
Post by: hiwaycallin on 2006-08-11 04:11:47
I have made a workaround on the standard FLAC_MP3-tracks config file that should work .... Hope this will help.

Thank you arpeggio, that is helpful. I just found one oversight ... the way you have the lame tag parameters configured results in an MP3 with a blank "genre" field.

I just added the genre switch (--tg "@genre@") and now it's complete!

Code: [Select]
echo @encdir@\lame.exe -V2 --vbr-new --scale %%ALBUM_SCALE%% --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat

Thanks again.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-08-11 07:37:01
Code: [Select]
if @islast@==1 (
  ...
  echo @encdir@\lame.exe -V2 --vbr-new --scale %%ALBUM_SCALE%%
   --add-id3v2 --pad-id3v2 --ignore-tag-errors
   --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@"
   --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav"
   "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
  ...
)

I would have thought all your MP3s would have the same tags by doing this.  It appears to me that you are creating a LAME command line using just the tag info from the last file and then running it on all your tracks.

I may well be wrong.  I guess I must be.
Title: New tool: React - [Run EAC Tasks]
Post by: arpeggio on 2006-08-11 16:40:30
I would have thought all your MP3s would have the same tags by doing this.  It appears to me that you are creating a LAME command line using just the tag info from the last file and then running it on all your tracks.

I may well be wrong.  I guess I must be.

@ Synthetic Soul
No, you're not wrong about this. The script I made will exactly do what you said it would do. I checked it once again and it will produce ID3 tags with the info of the last file applied to all tracks.
I will edit my previous post to correct this.

sorry!
Title: New tool: React - [Run EAC Tasks]
Post by: hiwaycallin on 2006-08-11 17:13:10
I would have thought all your MP3s would have the same tags by doing this.  It appears to me that you are creating a LAME command line using just the tag info from the last file and then running it on all your tracks.

Yep, I can confirm this is true. When I tested it yesterday I just ripped one track at a time ... but if you rip more than one, they all get tagged the same.
Title: New tool: React - [Run EAC Tasks]
Post by: SpiceWeasel on 2006-08-12 20:38:30
@ SpiceWeasel:

I have heard that if you don't include the "Encoders" directory (The folder with all the different command line programs, usually in c:\program files\exact audio copy\Encoders) in the system path, things will  not work.

To include it, right click on "My Computer" -> Properties -> Advanced Tab -> Environment Variables -> double click on "Path" (NOT "ClassPath" !) -> add "C:\Program Files\etc... after the final semicolon.

And make sure all the variables are set correctly in the react.ini file, as it doesn't always get it right. 

Let me know if this helped


Thanks but no, that didn't help.  I tried on a new computer with a brand new Windows XP installation and a fresh install of EAC and REACT and I still get the same problem:  a (correctly placed and named) folder full of (properly named) 1K mp3.tmp files and uncompressed .wav files.  This is when using the MP3 setting in the React.ini file.  Also, all of the other settings are correct and I haven't touched the files in the Config directory.  I put the Nero command line tools in the Encoders directory and I get .m4a files which seem fine but simply refuse to play in any player... iTunes, Winamp, Showtime, foobar, etc.  I turned on debugging and here is what I get after ripping a single track using the MP3 setting in React.ini:

Code: [Select]
Active code page: 1252
Disc info   : "Aparo, Angie" - "The American"
Track info  : (12) "Wonderland"
Description : "LAME -V2 mp3 track files, RG album gain, APE2 and id3v1 tags"

C:\Program Files\Exact Audio Copy>echo.1>"C:\Documents and Settings\Jeff\My Docu
ments\My Music\MP3\Aparo, Angie\(2000) The American\12 - Wonderland.mp3.tmp"

C:\Program Files\Exact Audio Copy>C:\PROGRA~1\EXACTA~1\Encoders\Tag.exe --nochec
k --ape2 -t "ARTIST=Aparo, Angie" -t "ALBUM=The American" -t "TRACK=12" -t "TITL
E=Wonderland" -t "YEAR=2000" -t "GENRE=Rock" -t "TOTALTRACKS=19" -t "FREEDB=290D
8413" -t "CRC=83C6D8DB" "C:\Documents and Settings\Jeff\My Documents\My Music\MP
3\Aparo, Angie\(2000) The American\12 - Wonderland.mp3.tmp"
Tag - Automatic Tag from filename
Copyright © 2002-2003 Case.  Minor additions by Neil Popham, 2004-2006
Version 2.0.45, Compiled 2006-02-08

C:\Documents and Settings\Jeff\My Documents\My Music\MP3\Aparo, Angie\(2000) The
American\12 - Wonderland.mp3.tmp
File has no known tags.
Title:   Wonderland
Artist:  Aparo, Angie
Album:   The American
Year:    2000
Track:   12
Genre:   Rock
Comment:
TOTALTRACKS=19
FREEDB=290D8413
CRC=83C6D8DB
APE v2.0 tag written.


C:\Program Files\Exact Audio Copy>move "C:\Program Files\Exact Audio Copy\Encode
rs\Atmp60-!5.wav" "C:\Documents and Settings\Jeff\My Documents\My Music\MP3\Apar
o, Angie\(2000) The American\12 - Wonderland.wav"

C:\Program Files\Exact Audio Copy>if 0 == 1 (
move "C:\Program Files\Exact Audio Copy\Encoders\The American.log" "C:\Documents
and Settings\Jeff\My Documents\My Music\MP3\Aparo, Angie\(2000) The American\ea
clog.txt"
move "C:\Program Files\Exact Audio Copy\Encoders\The American.[*].cue" "C:\Docu
ments and Settings\Jeff\My Documents\My Music\MP3\Aparo, Angie\(2000) The Americ
an"
start C:\PROGRA~1\EXACTA~1\Encoders\albumart.exe "Aparo, Angie" "The American"
"C:\Documents and Settings\Jeff\My Documents\My Music\MP3\Aparo, Angie\(2000) Th
e American\cover.jpg"
cd /d "C:\Documents and Settings\Jeff\My Documents\My Music\MP3\Aparo, Angie\(2
000) The American"
C:\PROGRA~1\EXACTA~1\Encoders\WaveGain.exe -a *.wav --exec C:\PROGRA~1\EXACTA~1
\Encoders\lame.exe -V2 --vbr-new --scale %ALBUM_SCALE% --tc "AG appl:%ALBUM_GAIN
%,TG:%TRACK_GAIN% dB" "%INPUT_NAME%.wav" "%INPUT_NAME%.mp3"
for %i in (*.mp3) do C:\PROGRA~1\EXACTA~1\Encoders\Tag.exe --force id3v1 --forc
e ape2 --fromfile "%i.tmp" "%i"
del "*.mp3.tmp" "*.wav"
)

C:\Program Files\Exact Audio Copy>pause
Press any key to continue . . .


Anybody see anything?
Title: New tool: React - [Run EAC Tasks]
Post by: zakj on 2006-08-16 05:58:09
Each of my albums are ripped to a single WAV and CUE.  I have been using ACDIR to encode to individual track MP3s; it works great, except that it doesn't set the genre tag (in the CUE sheet as "REM GENRE Electronic", or similar).  My questions:Thanks!
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-08-16 07:41:21
You should just be able to do it from your ACDIR command.  Does it contain the following?

--tg $#r{GENRE}

Surely, in the worst case, you wouldn't have to rerip your collection; just use a tagger like foobar or mp3tag to set the genre tag on the MP3s!  If this is too much then a batch file with a properly formed ACDIR command line, or foobar, would let you mass encode to MP3.

Edit: For info/context, here's my ACDIR command:

ACDIR.EXE --overwrite --output "@destdir3@\$~A\$~T\$n - $~t.mp3" --pipe "LAME.EXE -V5 --vbr-new --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} - $#o" "@sourcecuesheet@"
Title: New tool: React - [Run EAC Tasks]
Post by: Xeppo on 2006-08-16 15:02:57
Ok, I seem to be having a hard time getting REACT to do what I want it to do, specifically:

1. Find Gaps
2. Rip the CD (tracks, not image) with CRC checks
3. encode into -v 8 FLAC
4. Create a non-compliant cue sheet (Gaps embedded into end of previous track)


[Settings]
Config=FLAC
Version=1.0
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=C:\Documents and Settings\Xeppo\Desktop\Proper Rips
encdir=C:\Program Files\REACT\Encoders
LogFile=
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
TracksHotKey={F4}
TracksHotVal=+{F6}
SaveTracksCuesheets=1
ImageHotKey={F10}
ImageNaming=$artist$ - ($year$) $album$
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Debug=0


[flac-tracks.txt]
!Description=FLAC files with replaygain vorbis tags

!destdir1=@musicdir@\$cdartist$ - $year$ - $album$
!dest1=@destdir1@\$track$ - $title$
!Various-dest1=@destdir1@\$track$ - $title$ ($artist$)

echo.> "@dest1@.flac.tmp"
@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.flac.tmp"
move "@source@" "@dest1@.wav"

if @islast@==1 (
  move "@eaclog@" "@destdir1@\eaclog.txt"
  move "@trackscuesheet@.
Title: New tool: React - [Run EAC Tasks]
Post by: zakj on 2006-08-16 15:07:23
--tg $#r{GENRE}

Somehow, I had completely missed the $#r{...} syntax in the ACDIR documentation.  Thanks, and sorry for the noise...
Title: New tool: React - [Run EAC Tasks]
Post by: SDraconis on 2006-08-23 09:37:25
Just a simple question of something I wanted to double-check: When you use the SaveTracksCuesheet option and use F4 for multiple tracks, does REACT modify the cuesheets to point to the correct files rather than a .wav?

I've been using Flackattack and then Wack in the past, and liked them both.  The problem I have with Wack is that it doesn't seem to have anything like the separate @var@ and $var$ for tags and filenames, respectively.  I like REACT's configurability, but the whole AutoIt thing does make me slightly worried.  I've never been a big fan of anything that has to automate GUI interactions to get things done, but I guess it's the only route with the way that EAC is built.

As a side question, does the use of AutoIt cause any problems with a fullscreen game running over EAC, or me forcing focus away so I can continue to do other things?  Also, will REACT steal focus and interrupt me if I'm typing in another program, etc.?
Title: New tool: React - [Run EAC Tasks]
Post by: SpiceWeasel on 2006-08-28 17:33:27
Has anyone else encountered the situation I described above?  I've tried using REACT on 3 different PC's with different hardware and I get the same results on all of them.
Title: New tool: React - [Run EAC Tasks]
Post by: SDraconis on 2006-08-28 22:03:04
Has anyone else encountered the situation I described above?  I've tried using REACT on 3 different PC's with different hardware and I get the same results on all of them.


I actually ended up getting similar results (a folder full of .wav and .flac.tmp files).  I've found after a couple rips that I am having the problem mentioned in previous posts where the REACT.exe tray icon disappears after awhile.  I should mention that the rips were for heavily scratched CD's in Secure mode on a caching drive, so they took more than a day to complete.  I've unfortunately deleted the logs after deciding to use a simpler solution (I'm okay with less automation), but my last section of my REACT log still had a condition of
Code: [Select]
if 0==1
even though it was indeed the last file.  I was using the default FLAC tracks settings.
Title: New tool: React - [Run EAC Tasks]
Post by: drbeachboy on 2006-09-01 02:20:04
Gow suggested I post the following question here, rather than the Nero encoding forum, so ...


I have the latest ver of the Nero m4a/mp4 encoder, and am having difficulty using REACT and the neroaactag app.

REACT file is:


!Description=Tagged FLAC, mp3 and mp4 files with RG album and track tags

!destdir1=@musicdir@\FLAC\$cdartist$\$album$
!destdir2=@musicdir@\MP3\$cdartist$\$album$
!destdir3=@musicdir@\MP4\$cdartist$\$album$
!destdir4=@musicdir@\MP4-Q\$cdartist$\$album$


!dest1=@destdir1@\$track$ - $title$
!dest2=@destdir2@\$track$ - $title$
!dest3=@destdir3@\$track$ - $title$
!dest4=@destdir4@\$track$ - $title$


!Various-dest1=@destdir1@\$track$ - $title$
!Various-dest2=@destdir2@\$track$ - $title$
!Various-dest3=@destdir3@\$track$ - $title$
!Various-dest4=@destdir3@\$track$ - $title$

echo.> "@dest1@.tmp"
@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.tmp"
move "@source@" "@dest1@.wav"

@encdir@\neroAacEnc.exe -q 0.5 -if "@dest1@.wav" -of "@dest3@.mp4"
@encdir@\Neroaactag.exe "@dest3@.mp4" -meta:artist="@artist@" -meta:album="@album@" -meta:track="@track@" -meta:title="@title@" -meta:genre="@genre@" -meta:year="@year@"

@encdir@\neroAacEnc.exe -q 0.95 -if "@dest1@.wav" -of "@dest4@.mp4"
@encdir@\Neroaactag.exe "@dest4@.mp4" -meta:artist="@artist@" -meta:album="@album@" -meta:track="@track@" -meta:title="@title@" -meta:genre="@genre@" -meta:year="@year@"


if @islast@==1 (
move "@eaclog@" "@destdir1@\eaclog.txt"
move "@trackscuesheet@.
  • .cue" "@destdir1@"
    start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\cover.jpg"
    cd /d "@destdir1@"
    @encdir@\Glob.exe -v -c @encdir@\flac.exe -f -2 -V --replay-gain *.wav
    echo @encdir@\Tag.exe --fromfile "%%INPUT_NAME%%.tmp" "%%INPUT_NAME%%.flac" > "encode.bat"
    echo @encdir@\lame.exe -V0 -h --vbr-new --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "@destdir2@\%%INPUT_NAME%%.mp3" >> "encode.bat"
    echo @encdir@\Tag.exe --fromfile "%%INPUT_NAME%%.tmp" "@destdir2@\%%INPUT_NAME%%.mp3" >> "encode.bat"


    echo del "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.tmp" >> "encode.bat"
    @encdir@\WaveGain.exe -a *.wav --exec call "encode.bat"
    del "encode.bat"
    )


    When it finishes, the FLACC and MP3 files are fine, but for the tag info of the mp4 files, I have

    title = track title with ".mp4"
    artist = track #
    track=track #
    all rest are blank

    any help/suggestions would be GREATLY appreciated.

    THANKS!

I know this is coming to you late, but I am new to using REACT, and this is how I got NeroAACTag.exe to work with ACDIR.
Code: [Select]
@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.m4a" --pipe "@encdir@\neroAacEnc.exe -q 0.53 -ignorelength -if - -of $#o & @encdir@\neroaactag.exe $#o -meta:artist=$#a -meta:album=$#T -meta:track=$n -meta:totaltracks=$numtracks$ -meta:title=$#t -meta:year=$#r{DATE} -meta:genre=$#r{genre} -meta:comment=$q@comment@; ID: @freedbid@; AG: @gain@$q" "@sourcecuesheet@"


If I'm too late for you, maybe it will help out someone else in the future.
Title: New tool: React - [Run EAC Tasks]
Post by: SpiceWeasel on 2006-09-05 19:55:10

Has anyone else encountered the situation I described above?  I've tried using REACT on 3 different PC's with different hardware and I get the same results on all of them.


I actually ended up getting similar results (a folder full of .wav and .flac.tmp files).  I've found after a couple rips that I am having the problem mentioned in previous posts where the REACT.exe tray icon disappears after awhile.  I should mention that the rips were for heavily scratched CD's in Secure mode on a caching drive, so they took more than a day to complete.  I've unfortunately deleted the logs after deciding to use a simpler solution (I'm okay with less automation), but my last section of my REACT log still had a condition of
Code: [Select]
if 0==1
even though it was indeed the last file.  I was using the default FLAC tracks settings.


This is definitely the part causing the problem.  My REACT icon never disappears but anything after the if 0==1 never executes.  I've gone through the various built-in configs and the ones that lack this work fine but the ones that have it just stop there.  Has anyone else seen this problem or have a workaround?
Title: New tool: React - [Run EAC Tasks]
Post by: SpiceWeasel on 2006-09-18 22:37:05
Okay, a remove and reinstall of REACT and EAC (same versions:  1.00 and .95b4 respectively) fixed all 3 PCs having the issues with this.  Not sure which was the problem but it seems to be working fine now.

Well, except MP4.  Using MP4-tracks or WV_MP4-tracks I get what look like perfectly fine .m4a files but they won't play.  In iTunes v7 and Showtime v3 they attempt to open then just skip to the next song (or do nothing if there is no playlist loaded).  In Winamp v5 I just get 10-30 seconds of static before it skips.  The song length is reported correctly, though.  If I just point directly to the neroaacenc.exe in my REACT Encoders directory from EAC I get perfectly encoded files.
Title: New tool: React - [Run EAC Tasks]
Post by: SpiceWeasel on 2006-09-19 02:18:38
It seems Atomic Parsley was the problem.  Removing the line referring to it in the MP4-tracks config file seemed to work.

I replaced AtomicParsley.exe in the Encoders directory with the new v.9 updated to work with iTunes 7.  It complained about the --writeBack command which I found has been replaced with --overWrite in the new version. 

I've tested with about 10 CDs so far and no issues.  Hopefully these posts will save someone else some time and trouble rather than just taking up space
Title: New tool: React - [Run EAC Tasks]
Post by: Melomane on 2006-09-19 03:23:48
BUG report

when cd title terminate with ... (3dot)

REACT not encode files
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-09-19 07:26:09
BUG report

when cd title terminate with ... (3dot)

mareo not encode files
Do you mean REACT or are you in the wrong thread?
Title: New tool: React - [Run EAC Tasks]
Post by: Melomane on 2006-09-19 08:19:20
BUG report

when cd title terminate with ... (3dot)

mareo not encode files
Do you mean REACT or are you in the wrong thread?

REACT

edit: SOLVED
change in config file
!destdir2=@musicdir@\OGG\$cdartist$\($year$) $album$
with                       
!destdir2=@musicdir@\OGG\$cdartist$\$album$ ($year$)
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2006-09-24 09:59:08
Does anyone have an MP3-TRACKS config that uses album gain and writes v1,v2 and ape tags? Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: Martin H on 2006-09-25 02:59:57
Does anyone have an MP3-TRACKS config that uses album gain and writes v1,v2 and ape tags? Thanks.

Not exactly what you had in mind(no APEv2 tags), but i have a script that you maybe could use ? I use it when i rip CDs for my father(he only wants MP3 track files, and don't want a lossless image for archiving). It will encode to -V2 MP3 track files with ID3v1 tags and also ID3v2 tags when the fields are to big to fit in ID3v1 tags(if you want to have ID3v2 tags made always, then just add "--add-id3v2 --pad-id3v2" to the lame.exe part of the script). Then the MP3 track files are Album Gained(with AG clipping prevention) with the use of mp3gain.exe (http://prdownloads.sourceforge.net/mp3gain/mp3gain-dos-1_4_6.zip?download) which you will need to download and copy to your REACT\Encoders folder. I have set mp3gain.exe to not write RG and UNDO tags to the files, but if you want to have those tags, then just remove the "-s s" command from the mp3gain.exe part of the script.

Code: [Select]
!Description=Album Gained LAME -V2 MP3 track files with ID3v1(v2) tags.

!destdir1=@musicdir@\$cdartist$ - ($year$) $album$
!dest1=@destdir1@\$track$ - $title$
!Various-dest1=@destdir1@\$track$ - $title$ ($artist$)

@encdir@\lame.exe -V2 --vbr-new --noreplaygain --ignore-tag-errors --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" "@source@" "@dest1@.mp3"
del "@source@"
if @islast@==1 (
move "@eaclog@" "@destdir1@\eaclog.txt"
cd /d "@destdir1@"
@encdir@\mp3gain.exe -a -k -s s *.mp3
)


CU, Martin.

Edit: I guess it would just be a matter of adding Tag.exe to the script after the LAME MP3 encoding to give the files APEv2 tags.

Edit2: Several different corrections...
Title: New tool: React - [Run EAC Tasks]
Post by: jdunning on 2006-09-27 16:43:40
After much fiddling (I had to change the @islast@==1 test to @track@==@numtracks@ to get anything to happen) I've gotten REACT to SOMETIMES work with the FLAC_MP3-tracks config.  I'll launch it, put a CD in, press F4, EAC will start detecting gaps, and when it's finished, it'll start ripping the tracks.  That works about 60% of the time.

But the rest of the time EAC will either crash with an unhandled exception or it will detect the gaps, write out the cue files, and then stop.  It never starts ripping the tracks and REACT never starts its scripts.  This seems to happen consistently with certain CDs.  Some CDs work right off the bat, some work after repeated crashes/restarts, and some just never work at all.

Any ideas what's causing this?  Is there some more reliable way to start a FLAC/MP3 tracks encoding other than pressing F4?  (I assume REACT is doing some magic to try to intercept that key in EAC.)

I'm using EAC 0.95b4-cdrdao and REACT 1.000, with wnaspi.dll 2.0.1.74 in the EAC folder.  Here's the react.ini file:

Code: [Select]
[Settings]
Config=FLAC_MP3
Version=1.0
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=Z:\Music
encdir=C:\Program Files\REACT\Encoders
LogFile=react-log.txt
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
TracksHotKey={F4}
TracksHotVal=+{F5}
SaveTracksCuesheets=1
ImageHotKey={F10}
ImageNaming=$artist$ - $album$
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-| -||!|'|#|[|]
Debug=0


Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2006-10-04 14:37:12

Does anyone have an MP3-TRACKS config that uses album gain and writes v1,v2 and ape tags? Thanks.

Not exactly what you had in mind(no APEv2 tags), but i have a script that you maybe could use ? I use it when i rip CDs for my father(he only wants MP3 track files, and don't want a lossless image for archiving). It will encode to -V2 MP3 track files with ID3v1 tags and also ID3v2 tags when the fields are to big to fit in ID3v1 tags(if you want to have ID3v2 tags made always, then just add "--add-id3v2 --pad-id3v2" to the lame.exe part of the script). Then the MP3 track files are Album Gained(with AG clipping prevention) with the use of mp3gain.exe(i have set mp3gain.exe to not write RG and UNDO tags to the files, but if you want to have those tags, then just remove the "-s s" command from the mp3gain.exe part of the script). If your music folder is in C:, then remove the "D:" from the script. If your music folder isn't in D:, then change "D:" to the correct drive eg F:.
You will need to download and unpack mp3gain.exe (http://prdownloads.sourceforge.net/mp3gain/mp3gain-dos-1_4_6.zip?download) and copy it to your REACT\Encoders folder.

SNIP

Note: This script isn't tested! The script that i use, is on my fathers PC, and since i don't have access to it right now, then i have just made the script again from memmory...

CU, Martin.

Edit: I guess it would just be a matter of adding Tag.exe to the script after the LAME MP3 encoding to give the files APEv2 tags. Also if you don't wan't the files to be perminently altered by mp3gain.exe, then i guess that you could just ammend the mp3gain.exe command line to just do an analys of the files, as that would make mp3gain.exe to put APEv2 RG tags to the files, which you then could use on playback.

Thanks Martin. I did some thinking and decided I don't really need the APE tags but I do want IDsv2.4 and IDSv1 tags. I tried to use just the existing MP3-Tracks script and add "--add-id3v2 --pad-id3v2" as you suggested but MP3 file fails to encode. The DOS window closes quickly and I'm left with a 1KB TMP file and the original wav. This seems to be a problem in  the original script though sinceit happens without the additional switches.

I haven't tried your script yet or looked through the posts to see if anyone has the same problem I have so I'll do that next.
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2006-10-05 02:55:44
I haven't tried your script yet or looked through the posts to see if anyone has the same problem I have so I'll do that next.

Well I skimmed through the postings and didn't see anyone else having a problem. I gave your script a try and it works but not with the results I'm looking for. Here is the script I had been using.

Code: [Select]
!Description=Wavpack image with embedded cuesheet and EAC log with LAME -V4 mp3 track files, RG album gain

!ImageExt=wv
!CuesheetExt=wv.cue
!WaveGainAnalysis=1
!destdir1=@musicdir@\TAGZ\-RIP\$cdartist$\$album$
!destdir2=@musicdir@\TAGZ\-RIP\$cdartist$\$album$

start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\folder.jpg"
@encdir@\wavpack.exe -hmy -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "REPLAYGAIN_ALBUM_GAIN=@gain@" -w "REPLAYGAIN_ALBUM_PEAK=@peak@" -w "REPLAYGAIN_TRACK_GAIN=@gain@" -w "REPLAYGAIN_TRACK_PEAK=@peak@" -w "CUESHEET=@@cuesheet@" -w "EACLOG=@@eaclog@" "@source@" "@image@"
move "@sourcedir@\@basename@.*" "@destdir1@"
set out2=[$n] $~t
if "$cdartist$"=="Various" set out2=[$n] $~t ($~a)
@encdir@\acdir.exe --overwrite --output "@destdir2@\%out2%.mp3" --pipe "@encdir@\lame.exe -V4 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
del "@source@" "@eaclog@"

It writes a WavPack image and cuesheet with V4 MP3s with AG. I've decided I don't want archives right now and I'm hoping to elliminate some RG work I'm doing in F2K to get AG and TG tags for the MP3s. If possible, I'd also like to write the TOTALTRACKS tag. I notice that neither the AG,TG or TT tags appear in the MP3 files. I also noticed that even though the script specifies track gain, it isn't written to the file (perhaps because it's an image???)

Any ideas? Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: Martin H on 2006-10-08 03:37:48
Any ideas? Thanks.

The following script will encode LAME -V2 MP3 track files with ID3v1 + ID3v2 tags. The MP3s are then Album Gained with mp3gain.exe which also stores the RG info as APEv2.0 tags in the MP3s, so that it is possible to change from Album Gain to Track Gain in fb2k or for undoing the gain process completely. When playing the MP3s in a portable player that dosen't support RG, then the MP3s will be played Album Gained. Also there is added a "TOTALTRACKS" APEv2.0 tag to the MP3s. I would recommend that after the ripping and encoding has finished, then load the MP3s into fb2k and rewrite the tags as ID3v1 + ID3v2, so that the APEv2.0 tags are converted to ID3v2 tags and deleted afterwards, but that's of course up to you...

Code: [Select]
!Description=Album Gained LAME -V2 MP3 track files with ID3v1 + ID3v2 + APEv2.0 tags.

!destdir1=@musicdir@\$cdartist$ - ($year$) $album$
!dest1=@destdir1@\$track$ - $title$
!Various-dest1=@destdir1@\$track$ - $title$ ($artist$)

@encdir@\lame.exe -V2 --vbr-new --noreplaygain --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" "@source@" "@dest1@.mp3"
del "@source@"
@encdir@\Tag.exe --ape2 -t "TOTALTRACKS=@numtracks@" "@dest1@.mp3"
if @islast@==1 (
move "@eaclog@" "@destdir1@\eaclog.txt"
cd /d "@destdir1@"
@encdir@\mp3gain.exe -a -k *.mp3
)


Edit: Corrected mistake in command line.
Title: New tool: React - [Run EAC Tasks]
Post by: ...Just Elliott on 2006-10-08 09:57:11
Hmm, I might use this. Could I make it do this:

- encode flac -V -8 like i do now with all my tags
- add a TOTALTRACKS tag
- run foobar's replaygain tool on it album-mode
- open up a specified program (my cover art downloader)
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-08 10:58:58
Why not use FLAC's inbuilt replaygain?

Basically, the answer is "yes" though.
Title: New tool: React - [Run EAC Tasks]
Post by: ...Just Elliott on 2006-10-08 12:04:51
Would the result of FLAC's replaygain (note I rip to seperate tracks with album gain) be identical to foobars?
Title: New tool: React - [Run EAC Tasks]
Post by: jdunning on 2006-10-09 04:35:47
But the rest of the time EAC will either crash with an unhandled exception or it will detect the gaps, write out the cue files, and then stop.  It never starts ripping the tracks and REACT never starts its scripts.  This seems to happen consistently with certain CDs.  Some CDs work right off the bat, some work after repeated crashes/restarts, and some just never work at all.

Any ideas what's causing this?  Is there some more reliable way to start a FLAC/MP3 tracks encoding other than pressing F4?  (I assume REACT is doing some magic to try to intercept that key in EAC.)

I'm using EAC 0.95b4-cdrdao and REACT 1.000, with wnaspi.dll 2.0.1.74 in the EAC folder.


Anyone have any ideas about how to fix this?  I thought maybe Azureus was causing it, because REACT seemed to work more reliably when it wasn't running.  But I'm getting errors and crashes again.

Thanks for any help you can give, or suggestions for a more reliable tool for ripping to FLAC and MP3.
Title: New tool: React - [Run EAC Tasks]
Post by: atulc on 2006-10-09 05:59:19
To the author of REACT, please review the following thread about the destination folder structure and respond there.

http://www.hydrogenaudio.org/forums/index....st&p=439218 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=49060&view=findpost&p=439218)

Essentially, the "various-artists" mechanism breaks down on the album "Artist's choice - Sheryl Crow" that has recordings from many artists including Sheryl Crow.

Thanks,
atulc
Title: New tool: React - [Run EAC Tasks]
Post by: atulc on 2006-10-09 06:22:20
REACT includes tag.exe which adds id3v1 tags to the resulting tracks. Is there another tagging utility out there that can write id3v2 tags and that could substitute for tag.exe in the REACT configurations? Thanks
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-09 07:41:27
Essentially, the "various-artists" mechanism breaks down on the album "Artist's choice - Sheryl Crow" that has recordings from many artists including Sheryl Crow.
Please post your react.ini and config file contents.  Edit: Also, ensure that the "Various Artists" checkbox is checked, and that the track listing is of the format "<artist> / <title>" (as per freedb FAQ 2.2 pt.6 (http://www.freedb.org/en/faq.3.html#22)).

REACT includes tag.exe which adds id3v1 tags to the resulting tracks. Is there another tagging utility out there that can write id3v2 tags and that could substitute for tag.exe in the REACT configurations? Thanks
http://home.wanadoo.nl/squell/id3.html (http://home.wanadoo.nl/squell/id3.html)  Edit: depends what you want to do with it I guess.
Title: New tool: React - [Run EAC Tasks]
Post by: atulc on 2006-10-10 02:37:47
To the author of REACT, please review the following thread about the destination folder structure and respond there.

http://www.hydrogenaudio.org/forums/index....st&p=439218 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=49060&view=findpost&p=439218)

Essentially, the "various-artists" mechanism breaks down on the album "Artist's choice - Sheryl Crow" that has recordings from many artists including Sheryl Crow.

Thanks,
atulc


I am moving further discussion of REACT and the folder structure for various-artists albums to this discussion thread.

I have found a problem with the approach followed by REACT (using EAC) to build the directory structure for FLAC files. I ripped the following three CDs.

  1. Words came back to me - by Sonya Kitchell
  2. Pure moods IV - by various artists
  3. Artist's choice - Sheryl Crow - by various artists


REACT saved the FLAC files for the first two albums in the following directories.

  1. Sonya Kitchell\Words came back to me
  2. Various\Pure moods IV


However, the ripping of the third CD was messed up on two counts.

  1. This CD contains four songs by Sheryl Crow and thirteen tracks from other artists that are among the personal favorites of Sheryl Crow. REACT saved Sheryl Crow's four songs in "Various\Artist's choice - Sheryl Crow". However, each of the songs from other artists was stored in the directory "ARTIST\Artist's choice - Sheryl Crow". Examples of ARTIST include Bob Dylan, Carol King, and Aretha Franklin. This violates my basic requirement that files from a physical CD should be stored in the same directory. iTunes handles this gracefully. It stores all songs from this CD in "Compilation\Artist's Choice - Sheryl Crow". I would really like this to be addressed jointly by the authors of EAC and REACT. This should be easy to fix and would make these tools that much better.

  2. After copying the WAV files generated by EAC to the desination FLAC folders described above, REACT is unable to process WAV to FLAC conversion command. It terminates leaving the WAV files in the destination folders. This is a flaw in the core functionality of REACT. If any REACT developers are following this thread, please address this issue.

Here are my config files for REACT. Except for the Config=FLAC_MP3 in react.ini, everything is just as it was after a fresh installation of REACT.

REACT.ini
Code: [Select]
[Settings]
Config=FLAC_MP3
Version=1.0
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=C:\Documents and Settings\Atul K Chhabra\My Documents\My Music
encdir=C:\Program Files\Exact Audio Copy\Encoders
LogFile=
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
TracksHotKey={F4}
TracksHotVal=+{F5}
SaveTracksCuesheets=0
ImageHotKey={F10}
ImageNaming=$artist$ - ($year$) $album$
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Debug=0



FLAC_MP3-tracks.txt

Code: [Select]
!Description=Tagged FLAC and mp3 files with RG album and track tags

!destdir1=@musicdir@\FLAC\$cdartist$\($year$) $album$
!dest1=@destdir1@\$track$ - $title$
!Various-dest1=@destdir1@\$track$ - $title$ ($artist$)

!destdir2=@musicdir@\MP3\$cdartist$\($year$) $album$

echo.> "@dest1@.tmp"
@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.tmp"
move "@source@" "@dest1@.wav"

if @islast@==1 (
  move "@eaclog@" "@destdir1@\eaclog.txt"
  move "@trackscuesheet@.[*].cue" "@destdir1@"
  start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\cover.jpg"
  cd /d "@destdir1@"
  @encdir@\Glob.exe -v -c @encdir@\flac.exe -f -5 --replay-gain *.wav
  echo @encdir@\Tag.exe --fromfile "%%INPUT_NAME%%.tmp" "%%INPUT_NAME%%.flac" > encode.bat
  echo @encdir@\lame.exe -V5 --vbr-new --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
  echo @encdir@\Tag.exe --fromfile "%%INPUT_NAME%%.tmp" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
  echo del "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.tmp" >> encode.bat
  @encdir@\WaveGain.exe -a *.wav --exec call encode.bat
  del encode.bat
)


The EAC settings for Filenames are exactly as after a fresh install of REACT. REACT configures these settings as follows.

Construction of save filenames
Naming scheme: %D - %C - %N - %T
Use various artist naming scheme: checked, set to %D - %C - %N - %T (%A)

When I insert the Sheryl Crow CD into my drive, EAC shows the following information which I fetched from freedb using ALT-G.

CD Title: Artist's Choice - Sheryl Crow
CD Artist: Various
Various Artists Checkbox: Checked
Titles of the individual tracks:
Sheryl Crow / You Can Close Your Eyes
Sheryl Crow / Blue Eyes Crying In The Rain
Sheryl Crow / I Never Loved A Man (The Way I Love You)
Sheryl Crow / The Few That Remain
Bob Dylan / Don't Think Twice, It's All Right
Carole King / So Far Away
Aretha Franklin / I Never Love A Man (The Way I Love You)
...
Rod Stewart / Maggie May
The Band With The Staples Singers / The Weight (Live)

I bought the Sheryl Crow CD from Starbucks. If the EAC/REACT developers need a copy of the CD to determine the problem with the directory structure, I can burn a copy and mail it provided it is used solely for diagnosing this problem.

Please help!
atulc
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-10 10:44:46
I can't see anything wrong with your setup.

I have created a test config:

Code: [Select]
!Description=Test config to record the values being passed from EAC

!destdir1=@musicdir@\TEST\$cdartist$\$album$
!dest1=@destdir1@\$track$ - $title$
!Various-dest1=@destdir1@\$track$ - $title$ ($artist$)

!destdir2=@musicdir@\TEST
!dest2=@destdir2@\$cdartist$ - $album$ - $track$ - $title$
!Various-dest2=@destdir2@\$album$ - $track$ - $title$ ($artist$)

REM Set log file path
SET testLog="@destdir1@\$album$.txt"

REM Log all interesting values

IF [@track@] EQU [1] (
    ECHO "reactdir:      @reactdir@">>%testLog%
    ECHO "encdir:        @encdir@">>%testLog%
    ECHO "mydocumentsdir: @mydocumentsdir@">>%testLog%
    ECHO "musicdir:      @musicdir@">>%testLog%
    ECHO "sourcedir:      @sourcedir@">>%testLog%
    ECHO "eaclog:        @eaclog@">>%testLog%
    ECHO "destdir1:      @destdir1@">>%testLog%
    ECHO "destdir2:      @destdir2@">>%testLog%
    ECHO.>>%testLog%
    ECHO ==============================================>>%testLog%
    ECHO.>>%testLog%
)

ECHO "basename:      @basename@">>%testLog%
ECHO "source:        @source@">>%testLog%
ECHO "dest1:          @dest1@">>%testLog%
ECHO "dest2:          @dest2@">>%testLog%
ECHO.>>%testLog%

ECHO "cdartist:      @cdartist@ ($cdartist$)">>%testLog%
ECHO "album:          @album@ ($album$)">>%testLog%
ECHO "artist:        @artist@ ($artist$)">>%testLog%
ECHO "title:          @title@ ($title$)">>%testLog%
ECHO "track:          @track@ ($track$)">>%testLog%
ECHO.>>%testLog%

ECHO "numtracks:      @numtracks@ ($numtracks$)">>%testLog%
ECHO "islast:        @islast@">>%testLog%
IF [@track@] EQU [@numtracks@] (
    ECHO "                @track@ EQU @numtracks@">>%testLog%
) ELSE (
    ECHO "                @track@ NEQ @numtracks@">>%testLog%
)
ECHO "genre:          @genre@">>%testLog%
ECHO "year:          @year@">>%testLog%
ECHO "comment:        @comment@">>%testLog%
ECHO "freedbid:      @freedbid@">>%testLog%
ECHO.>>%testLog%

ECHO "crc:            @crc@">>%testLog%
ECHO "bitrate:        @bitrate@">>%testLog%
ECHO "curdate:        @curdate@">>%testLog%
ECHO.>>%testLog%
ECHO ==============================================>>%testLog%
ECHO.>>%testLog%

REM Delete the source WAVE and LOG as we don't need them
DEL "@source@"
IF [@track@] EQU [@numtracks@] DEL "@eaclog@"
Please save this as "TEST-tracks.txt" and put it in your "/Config" folder.  Edit: Please ensure destdir1 is a valid path as it is used as the path for the log file. Then, change "react.ini" to use "TEST", set it going on the Sheryl Crow CD, and post the log created in a CODEBOX to this thread.  It may help.

FYI: Here are two example logs.  The first is using freedb info that got picked up for the test CD I created.  The second is using a VA setup with album, track artist and track names entered by me.  All values are as expected.

Troubador Of The Unknown.txt

Code: [Select]
"reactdir:       C:\Program Files\REACT"
"encdir:        C:\PROGRA~1\REACT\Encoders"
"mydocumentsdir: C:\Documents and Settings\Neil\My Documents"
"musicdir:      C:\Documents and Settings\Neil\My Documents\Audio"
"sourcedir:      C:\Documents and Settings\Neil\My Documents\My Music"
"eaclog:        C:\Documents and Settings\Neil\My Documents\My Music\Troubador Of The Unknown.log"
"destdir1:      C:\Documents and Settings\Neil\My Documents\Audio\TEST\David Mysterious\Troubador Of The Unknown"
"destdir2:      C:\Documents and Settings\Neil\My Documents\Audio\TEST"


"=============================================="


"basename:      David Mysterious - Troubador Of The Unknown - 01 - Red Matthew"
"source:        C:\Documents and Settings\Neil\My Documents\My Music\Dtmp1!542.wav"
"dest1:          C:\Documents and Settings\Neil\My Documents\Audio\TEST\David Mysterious\Troubador Of The Unknown\01 - Red Matthew"

"cdartist:      David Mysterious (David Mysterious)"
"album:          Troubador Of The Unknown (Troubador Of The Unknown)"
"artist:        David Mysterious (David Mysterious)"
"title:          Red Matthew (Red Matthew)"
"track:          1 (01)"

"numtracks:      5"
"islast:        0"
"genre:          Rock"
"year:          2005"
"comment:        DISCNO"
"freedbid:      38035205"

"crc:            F63DD300"
"bitrate:        128"
"curdate:        2006-10-10"


"=============================================="


"basename:      David Mysterious - Troubador Of The Unknown - 02 - El Toro"
"source:        C:\Documents and Settings\Neil\My Documents\My Music\Dtmp660-!.wav"
"dest1:          C:\Documents and Settings\Neil\My Documents\Audio\TEST\David Mysterious\Troubador Of The Unknown\02 - El Toro"

"cdartist:      David Mysterious (David Mysterious)"
"album:          Troubador Of The Unknown (Troubador Of The Unknown)"
"artist:        David Mysterious (David Mysterious)"
"title:          El Toro (El Toro)"
"track:          2 (02)"

"numtracks:      5"
"islast:        0"
"genre:          Rock"
"year:          2005"
"comment:        DISCNO"
"freedbid:      38035205"

"crc:            B4B8738D"
"bitrate:        128"
"curdate:        2006-10-10"


"=============================================="


"basename:      David Mysterious - Troubador Of The Unknown - 03 - Caradog Pugh"
"source:        C:\Documents and Settings\Neil\My Documents\My Music\Dtmp556)!.wav"
"dest1:          C:\Documents and Settings\Neil\My Documents\Audio\TEST\David Mysterious\Troubador Of The Unknown\03 - Caradog Pugh"

"cdartist:      David Mysterious (David Mysterious)"
"album:          Troubador Of The Unknown (Troubador Of The Unknown)"
"artist:        David Mysterious (David Mysterious)"
"title:          Caradog Pugh (Caradog Pugh)"
"track:          3 (03)"

"numtracks:      5"
"islast:        0"
"genre:          Rock"
"year:          2005"
"comment:        DISCNO"
"freedbid:      38035205"

"crc:            687FE9E3"
"bitrate:        128"
"curdate:        2006-10-10"


"=============================================="


"basename:      David Mysterious - Troubador Of The Unknown - 04 - Steve McQueen"
"source:        C:\Documents and Settings\Neil\My Documents\My Music\Dtmp58)58.wav"
"dest1:          C:\Documents and Settings\Neil\My Documents\Audio\TEST\David Mysterious\Troubador Of The Unknown\04 - Steve McQueen"

"cdartist:      David Mysterious (David Mysterious)"
"album:          Troubador Of The Unknown (Troubador Of The Unknown)"
"artist:        David Mysterious (David Mysterious)"
"title:          Steve McQueen (Steve McQueen)"
"track:          4 (04)"

"numtracks:      5"
"islast:        1"
"genre:          Rock"
"year:          2005"
"comment:        DISCNO"
"freedbid:      38035205"

"crc:            F882028B"
"bitrate:        128"
"curdate:        2006-10-10"


"=============================================="


"basename:      David Mysterious - Troubador Of The Unknown - 05 - Dirty Thort"
"source:        C:\Documents and Settings\Neil\My Documents\My Music\Dtmp-!)!3.wav"
"dest1:          C:\Documents and Settings\Neil\My Documents\Audio\TEST\David Mysterious\Troubador Of The Unknown\05 - Dirty Thort"

"cdartist:      David Mysterious (David Mysterious)"
"album:          Troubador Of The Unknown (Troubador Of The Unknown)"
"artist:        David Mysterious (David Mysterious)"
"title:          Dirty Thort (Dirty Thort)"
"track:          5 (05)"

"numtracks:      5"
"islast:        1"
"genre:          Rock"
"year:          2005"
"comment:        DISCNO"
"freedbid:      38035205"

"crc:            C3275DC1"
"bitrate:        128"
"curdate:        2006-10-10"


"=============================================="


Test Album.txt

Code: [Select]
"reactdir:       C:\Program Files\REACT"
"encdir:        C:\PROGRA~1\REACT\Encoders"
"mydocumentsdir: C:\Documents and Settings\Neil\My Documents"
"musicdir:      C:\Documents and Settings\Neil\My Documents\Audio"
"sourcedir:      C:\Documents and Settings\Neil\My Documents\My Music"
"eaclog:        C:\Documents and Settings\Neil\My Documents\My Music\Test Album.log"
"destdir1:      C:\Documents and Settings\Neil\My Documents\Audio\TEST\Various\Test Album"
"destdir2:      C:\Documents and Settings\Neil\My Documents\Audio\TEST"


"=============================================="


"basename:      Various - Test Album - 01 - Track One (Artist One)"
"source:        C:\Documents and Settings\Neil\My Documents\My Music\Vtmp2(207.wav"
"dest1:          C:\Documents and Settings\Neil\My Documents\Audio\TEST\Various\Test Album\01 - Track One (Artist One)"

"cdartist:      Various (Various)"
"album:          Test Album (Test Album)"
"artist:        Artist One (Artist One)"
"title:          Track One (Track One)"
"track:          1 (01)"

"numtracks:      5"
"islast:        0"
"genre:          Rock"
"year:          2005"
"comment:        DISCNO"
"freedbid:      38035205"

"crc:            F63DD300"
"bitrate:        128"
"curdate:        2006-10-10"


"=============================================="


"basename:      Various - Test Album - 02 - Track Two (Artist Two)"
"source:        C:\Documents and Settings\Neil\My Documents\My Music\Vtmp!557).wav"
"dest1:          C:\Documents and Settings\Neil\My Documents\Audio\TEST\Various\Test Album\02 - Track Two (Artist Two)"

"cdartist:      Various (Various)"
"album:          Test Album (Test Album)"
"artist:        Artist Two (Artist Two)"
"title:          Track Two (Track Two)"
"track:          2 (02)"

"numtracks:      5"
"islast:        0"
"genre:          Rock"
"year:          2005"
"comment:        DISCNO"
"freedbid:      38035205"

"crc:            B4B8738D"
"bitrate:        128"
"curdate:        2006-10-10"


"=============================================="


"basename:      Various - Test Album - 03 - Track Three (Artist One)"
"source:        C:\Documents and Settings\Neil\My Documents\My Music\Vtmp4)!3-.wav"
"dest1:          C:\Documents and Settings\Neil\My Documents\Audio\TEST\Various\Test Album\03 - Track Three (Artist One)"

"cdartist:      Various (Various)"
"album:          Test Album (Test Album)"
"artist:        Artist One (Artist One)"
"title:          Track Three (Track Three)"
"track:          3 (03)"

"numtracks:      5"
"islast:        0"
"genre:          Rock"
"year:          2005"
"comment:        DISCNO"
"freedbid:      38035205"

"crc:            687FE9E3"
"bitrate:        128"
"curdate:        2006-10-10"


"=============================================="


"basename:      Various - Test Album - 04 - Track Four (Artist Three)"
"source:        C:\Documents and Settings\Neil\My Documents\My Music\Vtmp-91--.wav"
"dest1:          C:\Documents and Settings\Neil\My Documents\Audio\TEST\Various\Test Album\04 - Track Four (Artist Three)"

"cdartist:      Various (Various)"
"album:          Test Album (Test Album)"
"artist:        Artist Three (Artist Three)"
"title:          Track Four (Track Four)"
"track:          4 (04)"

"numtracks:      5"
"islast:        1"
"genre:          Rock"
"year:          2005"
"comment:        DISCNO"
"freedbid:      38035205"

"crc:            F882028B"
"bitrate:        128"
"curdate:        2006-10-10"


"=============================================="


"basename:      Various - Test Album - 05 - Track Five (Artist Two)"
"source:        C:\Documents and Settings\Neil\My Documents\My Music\Vtmp65852.wav"
"dest1:          C:\Documents and Settings\Neil\My Documents\Audio\TEST\Various\Test Album\05 - Track Five (Artist Two)"

"cdartist:      Various (Various)"
"album:          Test Album (Test Album)"
"artist:        Artist Two (Artist Two)"
"title:          Track Five (Track Five)"
"track:          5 (05)"

"numtracks:      5"
"islast:        1"
"genre:          Rock"
"year:          2005"
"comment:        DISCNO"
"freedbid:      38035205"

"crc:            C3275DC1"
"bitrate:        128"
"curdate:        2006-10-10"


"=============================================="


Some more info to help you make sense of the logs (CD meta data refers to Test Album.txt):

Naming scheme: %D - %C - %N - %T
Various artist naming scheme: %D - %C - %N - %T (%A)

CD Title: Test Album
CD Artist: Various

Tracks:
Artist One / Track One
Artist Two / Track Two
Artist One / Track Three
Artist Three / Track Four
Artist Two / Track Five

NB: Config file updated to newer version @ 12:08, so the output of my log may not exactly match yours.

FYI: To those interested.  To test I have created a nero NRG file of an audio CD created from 5 MP3s (the first five tracks of the Arctic Monkeys' album in fact).  I have mounted this NRG file using a virtual CD drive and am testing in burst mode.  This make s ripping extremely fast, and allows you to spend more time testing your scripts and less time watching EAC's progress bars.  You can, of course, just use one or two tracks, but I thought five better suited this issue.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-10 11:07:09
@tycho

Not sure if this has been mentioned before, although I know people have had trouble with @islast@.  If you look at the logs above you will see that @islast@ is getting set on track 4/5 not 5/5.  I will try to test with one or more CDs to see if the result is the same, although hopefully atulc's log will provide a second test anyway.

Edit: I've been testing this same CD a few times.  On some occassion @islast@ is set on 4, on others correctly on 5.  I see from the source that it is based on the file modified time of the log file and the last source file.  This doesn't appear to be foolproof; I should know, I am one.  Why not use:

Code: [Select]
$g_islast = ($g_numtracks == $g_track)

?  I'm sure there must be a reason.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-10-10 13:11:22
Hmm, Thanks. I've noticed that @islast@ is not always correct. I'll try to figure out why, and make a more robust solution.

But to be honest, I don't think it is easy in REACT to fix this. I regret supporting track-based extraction, because it only causes problems, and it is actually not needed: Everything can be achieved with image extraction alone, when using ACDIR for splitting to tracks while compressing.

I wonder if I should make a simpler version of REACT which only supports image extraction (F10), and only have one configuration script, where you can pick and choose from making:

- flac or wavpack image, or tracks with ACDIR
- mp3, ogg, and aac tracks with ACDIR.

I don't see any good reason for making images in lossy formats, although it would be easy enough to add.

The only slight problem with this approach is to add both album and track replaygain tags in an efficient way. Albumgain, which is by far the most important, can be calculated once with WAVEGAIN from the wav image, and applied to all the compressed files in various ways, though.

/Edit: Synthetic Soul, the reason is that it doesn't work if you don't select the last track when extracting. Yes, I know that file timestamp checking is far from foolproof.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-10 13:25:45
I regret supporting track-based extraction, because it only causes problems, and it is actually not needed: Everything can be achieved with image extraction alone, when using ACDIR for splitting to tracks while compressing.

I wonder if I should make a simpler version of REACT which only supports image extraction (F10) <snip>
Interesting.  As an image user I don't really have much opinion on it, but I find it interesting that track ripping has caused such problems.

/Edit: Synthetic Soul, the reason is that it doesn't work if you don't select the last track when extracting. Yes, I know that file timestamp checking is far from foolproof.
Ah, good point.  That's the problem with these projects - you have to try to cater for everyone's personal taste, even though sometimes it makes the easy things so much harder to do, and causes problems for yet more users.  You only have to look at the foobar forum to see the agro that Peter gets.

Thanks tycho.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-10 15:07:51
@atulc

Given the issue with @islast@ it is possible that this is why you are left with some WAVE files on occassion.  I have just tested FLAC_MP3 and I was left with tracks five's WAVE file, as on this occassion @islast@ was (incorrectly) true on track four (not five as it should).

With this in mind, and on the understanding that you are always ripping all tracks, I would replace the line:

Code: [Select]
if @islast@==1 (

with:

Code: [Select]
if @track@==@numtracks@ (


Please do a run with my TEST-tracks config though, to try to ascertain why this CD is acting so strangely.

It may also be worth mentioning the REACT logfile.  if you change the line:

Code: [Select]
LogFile=

to:

Code: [Select]
LogFile=react.log

REACT will write some useful information to the file react.log in your REACT folder.  On this occassion the information should be much the same as my config will write, but it may be useful to use in other circumstances, and possibly in this one too.
Title: New tool: React - [Run EAC Tasks]
Post by: tycho on 2006-10-10 15:50:37
Also be aware that @track@==@numtracks@ won't work if the last track is one of those "data" tracks, because you can't copy it.
Title: New tool: React - [Run EAC Tasks]
Post by: [proxima] on 2006-10-10 17:13:08
From REACT source code:
Code: [Select]
    If FileExists($g_eacLog) Then
        Local $logTime = fFileGetTime($g_eacLog)
        Local $srcTime = fFileGetTime($g_source_tmp)
        $g_islast = ($logTime >= $srcTime - 1 And $logTime <= $srcTime + 2)
    EndIf

If i understood correctly islast =1 when:
- log exists AND, if we assume log creation time = 0, the timestamp of the extracted file is in the time range [-1, 2].

That said, a failure should only occur when dealing with very fast extraction and short tracks (confirmed mounting a virtual image with daemon tools). Someone experienced other issues ?

edit: codebox with REACT source code added
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-10 17:23:55
There are various reports in this thread AFAIR.

Searching this thread for "islast" I found the following in the top 20 posts:

http://www.hydrogenaudio.org/forums/index....st&p=389778 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=35158&view=findpost&p=389778)
http://www.hydrogenaudio.org/forums/index....st&p=435672 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=35158&view=findpost&p=435672)

I remember seeing others when I used to hang around this thread more frequently.

It's a very valid point though: my test is not particularly "real-world".  I guess this will only happen with burst mode and very, very short tracks normally (?).
Title: New tool: React - [Run EAC Tasks]
Post by: ...Just Elliott on 2006-10-10 20:19:41
Ok, I've got it downloading coverart and all automatically and using metaflac at the end to replaygain all the files, but it writes the tags in the wrong order (track first, then album unlike fb2k) and the tag names in uppercase (opposed to fb2k, which does lowercase). I know this is picky but it gets on my nerves, any solutions?
Title: New tool: React - [Run EAC Tasks]
Post by: atulc on 2006-10-11 04:57:59
I can't see anything wrong with your setup.

I have created a test config: ...

Please save this as "TEST-tracks.txt" and put it in your "/Config" folder.  Edit: Please ensure destdir1 is a valid path as it is used as the path for the log file. Then, change "react.ini" to use "TEST", set it going on the Sheryl Crow CD, and post the log created in a CODEBOX to this thread.  It may help.

FYI: Here are two example logs.  The first is using freedb info that got picked up for the test CD I created.  The second is using a VA setup with album, track artist and track names entered by me.  All values are as expected.
...
Some more info to help you make sense of the logs (CD meta data refers to Test Album.txt):

Naming scheme: %D - %C - %N - %T
Various artist naming scheme: %D - %C - %N - %T (%A)

CD Title: Test Album
CD Artist: Various

Tracks:
Artist One / Track One
Artist Two / Track Two
Artist One / Track Three
Artist Three / Track Four
Artist Two / Track Five

NB: Config file updated to newer version @ 12:08, so the output of my log may not exactly match yours.

FYI: To those interested.  To test I have created a nero NRG file of an audio CD created from 5 MP3s (the first five tracks of the Arctic Monkeys' album in fact).  I have mounted this NRG file using a virtual CD drive and am testing in burst mode.  This make s ripping extremely fast, and allows you to spend more time testing your scripts and less time watching EAC's progress bars.  You can, of course, just use one or two tracks, but I thought five better suited this issue.


Synthetic soul,
I used your TEST-tracks.txt file on the Sheryl Crow album and everything worked fine. The log file showed everything going to the right directory. Next, I tested this album with FLAC_MP3-tracks.txt. To my surprise, everything works fine with this album today. For the life of me, I can't figure out what changed between yesterday and today. Today, all the tracks end up in the right folders and all the WAV to FLAC and MP3 conversions work successfully.

Anyway, thanks for your help. The TEST-tracks.txt file will definitely come in handy for future troubleshooting.

atulc
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-11 07:50:28
How very strange.  At least it's working now.

I hope the TEST config will be of use to you, and perhaps others.  I may create a TEST-image config as well and upload that, as I hope others may find them useful.

Good luck with your ripping.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-11 10:32:39
I have tidied up the TEST-tracks.txt config and created TEST-image.txt.  Both can be found in this file: REACT-TEST-config.7z (http://www.synthetic-soul.co.uk/files/REACT-TEST-config.7z).

You can also see an example log (http://www.synthetic-soul.co.uk/files/REACT-TEST-config-log.txt) with output from both the image and tracks config.

Hopefully thes configs will be useful for users finding it difficult to debug an existing config, and also new users wanting to get to grips with the variables that REACT exposes.

NB: To explain the @comment@ output "DISCNO":

@comment@ takes the value stored in the "ID3 Tag comment field" textbox found on the "Offset" tab of "Compression options".

I store all my backups on DVD.  I use @comment@ to pass the disc number that the archive should be stored on.  As I burn a disc I manually update this value in EAC.  At work I just use the value "DISCNO" and manually change the record when I paste it into the real log file at home, where I do actually pass the correct disc number.

Here's my WAVPACK config, for reference.  It creates a WavPack image with embedded cuesheet and EAC log; verifies the image; creates PAR2 data for the image; creates track MP3s using ACDIR; and writes the disc info, including DVD disc number, into a CSV file, creating the CSV with headers if it does not exist all ready:


Code: [Select]
!Description=Wavpack image with embedded cuesheet and EAC log with PAR2 data and CSV log

!ImageExt=wv
!CuesheetExt=wv.cue
!destdir1=@musicdir@\Wv\$cdartist$\$album$
!destdir2=@musicdir@\Log
!destdir3=@mydocumentsdir@\My Music

:CheckForLog
IF NOT EXIST "@eaclog@" GOTO Pause
WAVPACK.EXE -hm -w "CUESHEET=@@cuesheet@" -w "LOGFILE=@@eaclog@" -w "ARTIST=@cdartist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" "@source@" "@image@"
WVUNPACK.EXE -vm "@image@"
IF ERRORLEVEL 1 PAUSE
PAR2.EXE c -s204800 -r10 -- "@image@"
SET filename=$n - $~t
IF [$cdartist$] EQU [Various] SET filename=$n - $~t ^($~a^)
ACDIR.EXE --overwrite --output "@destdir3@\$~A\$~T\%filename%.mp3" --pipe "LAME.EXE -V5 --vbr-new --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} - $#o" "@sourcecuesheet@"
DEL "@source@"
MOVE "@eaclog@" "@destdir1@"
MOVE "@sourcedir@\@basename@.*" "@destdir1@"
IF NOT EXIST "@destdir2@\cdbackup.csv" ECHO Disc,Artist,Album,Date,Time> "@destdir2@\cdbackup.csv"
ECHO @comment@,"@cdartist@","@album@",%DATE%,%TIME%>> "@destdir2@\cdbackup.csv"
GOTO :EOF
:Pause
ECHO Waiting for EAC log file...
PING 1.1.1.1 -n 1 -w 2000 >NUL
GOTO CheckForLog

NB: I don't think I'd advise PAR2 for each WV file, it seems that creating data for the whole DVD disc image is better; however I've been doing this since I started and I've yet to have to use it, so I'm sticking with it for now.  I think dvdisaster looks pretty useful, but haven't gotten around to testing it seriously.
Title: New tool: React - [Run EAC Tasks]
Post by: [proxima] on 2006-10-12 10:16:13
Code: [Select]
:Pause
ECHO Waiting for EAC log file...
PING 1.1.1.1 -n 1 -w 2000 >NUL
GOTO CheckForLog

Is there a specific reason to introduce this ?
I'm curious, does this procedure ever been executed when ripping ?
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-12 10:23:55
I introduced this to the script I use at work.

I must admit I cannot say 100% whether it was a requirement or not, but I can only assume, by its presence, that I did see the requirement.  As I say, I do not have that code in the script at home.

I do not really pay any attention to the shell when it is executing, so I  cannot say whether it comes into play often, or ever.

Apologies for the vague answer!  In essence though I would say there must have been a reason why I added it.  I know I have suggested similar code to other users in this thread when it appeared that their log file was taking a fraction of a second too long to be created.

The difference between me running REACT at home and at work may be that at work (occassionally) I am doing other things while EAC runs, while at home I always leave EAC alone while it rips.  This extra load may be the reason for this small delay... perhaps.
Title: New tool: React - [Run EAC Tasks]
Post by: mirkocosta on 2006-10-12 12:39:52
Firstly thx to Tycho for this program
I've a parsing issue with various artists string. Sometimes, freedb, returns tracknames with '/' and react, creates directories, so, at the end of the batch, only one file will be encoded (cause wav files are stored in different directories). I solved this by editing by hand the trackname, removing '/' character. (i've the latest v1.0)
If Tycho or someone else know how to fix this or have the same issue, can you please help?

Aside that, if Tycho or someone else is interested, I've added a little gui inside to change encoder and apply the settings without invoking notepad.

Cheers
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-12 12:51:43
If the CD is a VA CD track titles in the format "<artist> / <title>" is correct - changing them will cause more problems.  If the VA checkbox is checked, and your various artist naming scheme is correctly set to "%D - %C - %N - %T (%A)" (EAC options > Filename tab) there really should not be an issue.

Edit: I would be interested to see the GUI.  I have no problem editing by hand (although I rarely need to) but I'm always interested in seeing developments.  I think a GUI to set the INI settings and possibly a wizard to create configs (an idea I would like to pursue) could be very useful to some people.
Title: New tool: React - [Run EAC Tasks]
Post by: mirkocosta on 2006-10-12 15:44:10
If the CD is a VA CD track titles in the format "<artist> / <title>" is correct - changing them will cause more problems.  If the VA checkbox is checked, and your various artist naming scheme is correctly set to "%D - %C - %N - %T (%A)" (EAC options > Filename tab) there really should not be an issue.


I change nothing. I report what happens to me. I don't exactly know why this happens, I've less and less time to spend to :-\

Also I report that $year$ returns empty value to me (-> a dir with "()" is created) but on the other hand, @year@ variable works ^^;

Quote
Edit: I would be interested to see the GUI.  I have no problem editing by hand (although I rarely need to) but I'm always interested in seeing developments.  I think a GUI to set the INI settings and possibly a wizard to create configs (an idea I would like to pursue) could be very useful to some people.


Nothing of exceptional. Just a tiny guy with 2 buttons (abort and apply) and a combobox with a list of avaible encoders. Once clicked on apply button, it hides the guy and writes the ini file with actual values.

I would like to see more about REACT.
Keep care ;-)
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-12 15:58:40
I change nothing. I report what happens to me. I don't exactly know why this happens, I've less and less time to spend to :-\
But you said:
I solved this by editing by hand the trackname, removing '/' character.
If you have no interest in pursuing this as a bug report why post in the first place?

Also I report that $year$ returns empty value to me (-> a dir with "()" is created) but on the other hand, @year@ variable works ^^;
That's easy, $year$ is not a valid token, as a year is always filename-friendly.  Always use @year@.

Nothing of exceptional. Just a tiny guy with 2 buttons (abort and apply) and a combobox with a list of avaible encoders. Once clicked on apply button, it hides the guy and writes the ini file with actual values.
OK, thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: mirkocosta on 2006-10-12 16:13:11
Moderation: Unneccessary quote removed (keeps things flowing better).

Here is a sample of the log file:

Code: [Select]
----- [MP3-tracks] ----- 2006-10-12 16:59:53
@echo Disc info   : "Queen" - "Greatest Hits II"
@echo Track info  : (2) "Under Pressure (1981)"
@echo Description : "LAME -V2 mp3 track files, RG album gain, APE2 and id3v1 tags"
echo.> "\MP3\Queen\(1996) Greatest Hits II\02 - Under Pressure (1981).mp3.tmp"
C:\PROGRA~1\REACT\Encoders\Tag.exe --nocheck --ape2 -t "ARTIST=Queen" -t "ALBUM=Greatest Hits II" -t "TRACK=2" -t "TITLE=Under Pressure (1981)" -t "YEAR=1996" -t "GENRE=Rock" -t "TOTALTRACKS=17" -t "FREEDB=EC11CD11" -t "CRC=08C8A2A1" "\MP3\Queen\(1996) Greatest Hits II\02 - Under Pressure (1981).mp3.tmp"
move "C:\Documents and Settings\x2f\Documenti\Qtmp1!542.wav" "\MP3\Queen\(1996) Greatest Hits II\02 - Under Pressure (1981).wav"
if True==1 (
  move "C:\Documents and Settings\x2f\Documenti\Greatest Hits II.log" "\MP3\Queen\(1996) Greatest Hits II\eaclog.txt"
  move "C:\Documents and Settings\x2f\Documenti\Greatest Hits II.[*].cue" "\MP3\Queen\(1996) Greatest Hits II"
  cd /d "\MP3\Queen\(1996) Greatest Hits II"
  C:\PROGRA~1\REACT\Encoders\WaveGain.exe -a *.wav --exec C:\PROGRA~1\REACT\Encoders\lame.exe -V2 --vbr-new --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.mp3"
  for %%i in (*.mp3) do C:\PROGRA~1\REACT\Encoders\Tag.exe --force id3v1 --force ape2 --fromfile "%%i.tmp" "%%i"
  del "*.mp3.tmp" "*.wav"
)
pause


As you can see, now $year$ works, but now, that True==1 appears.

That's wrong @islast@ value passed to batch file. I fixed it right now and everything works smoothly (/me crosses fingers). I just think to add a better gui to config it (with debug checkbox, buttons and such stuff).
Now i've to go, maybe later I add something. BTW I would like to hear from the author himself if I can post stuff (such new code , gui and installer).

Keep care as always
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-12 16:23:42
As you can see, now $year$ works
Actually, you're right.  I apologise.  $year$ should work exactly like @year@.  It is not invalid, just unnecessary.  NB: your log does not prove that as I can't tell what token you used! However, I checked the source and noted that both tokens are replaced by the same variable.

but now, that True==1 appears.
That is very strange.  The obvious intention, and what happens on my system, is that @islast@ is output as 0 or 1.  I wonder why yours should be outputing as "True"?  The variable is boolean, but I don't understand why one system would output it as 1 and another as True.

That's wrong @islast@ value passed to batch file. I fixed it right now and everything works smoothly (/me crosses fingers).
...
BTW I would like to hear from the author himself if I can post stuff (such new code , gui and installer).
Did you amend the source and recompile, or change your config?

I get the impression that you are amending the source, which may explain your "issues"...
Title: New tool: React - [Run EAC Tasks]
Post by: mirkocosta on 2006-10-12 16:27:43
I get the impression that you are amending the source, which may explain your "issues"...


Believe or not, that issue comes with the original archive (the one published here).
And ok, I admit that I played with source, I'm guilty 

I would like to play with it more but I'm always on the run :-(

Now gotta go, cul8r
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-12 16:33:12
OK, when you have more time perhaps you should post your config and ini contents.  I can try them on my system to see what response I get. 

Alternatively, or additionally,  you could try my test config (http://www.synthetic-soul.co.uk/files/REACT-TEST-config.7z) I posted in post #432 above, and post the log contents to this thread.  The config does not currently list $year$, but you could add that as per the others (i.e.: "@year@ ($year$)").
Title: New tool: React - [Run EAC Tasks]
Post by: mirkocosta on 2006-10-12 21:23:46
News from me:

Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-12 23:07:39
Fixed $year$ empty bug
Everything works but needs some testing 
It works for me without any fixing. 

Code: [Select]
==============================================
TEST-tracks config, Thu 12/10/2006 22:59:43.94
==============================================

"reactdir:      C:\Program Files\REACT"
"encdir:        C:\PROGRA~1\REACT\Encoders"
"mydocumentsdir: D:"
"musicdir:      E:\CDBackup"
"sourcedir:      F:"
"eaclog:        F:\The Album Name.log"
"destdir1:      E:\CDBackup\TEST\Various\The Album Name"
"destdir2:      E:\CDBackup\TEST"

----------------------------------------------

"trackscuesheet: F:\The Album Name"
"  single:      F:\The Album Name.[s].cue"
"  with:        F:\The Album Name.[mg].cue"
"  leftout:      F:\The Album Name.[m].cue"
"  corrected:    F:\The Album Name.[mc].cue"

----------------------------------------------

"basename:      Various - The Album Name - 01 - Track 1 (Artist 1)"
"source:        F:\Vtmp56)!5.wav"
"dest1:          E:\CDBackup\TEST\Various\The Album Name\01 - Track 1 (Artist 1)"
"dest2:          E:\CDBackup\TEST\The Album Name - 01 - Track 1 (Artist 1)"

"cdartist:      Various (Various)"
"album:          The Album Name (The Album Name)"
"artist:        Artist 1 (Artist 1)"
"title:          Track 1 (Track 1)"
"track:          1 (01)"

"numtracks:      2 (02)"
"islast:        0"
"genre:          "
"year:          2006 (2006)"
"comment:        41"
"freedbid:      11018102"

"crc:            5297D529"
"bitrate:        128"
"curdate:        2006-10-12"

----------------------------------------------

"basename:      Various - The Album Name - 02 - Track 2 (Artist 2)"
"source:        F:\Vtmp8)58-.wav"
"dest1:          E:\CDBackup\TEST\Various\The Album Name\02 - Track 2 (Artist 2)"
"dest2:          E:\CDBackup\TEST\The Album Name - 02 - Track 2 (Artist 2)"

"cdartist:      Various (Various)"
"album:          The Album Name (The Album Name)"
"artist:        Artist 2 (Artist 2)"
"title:          Track 2 (Track 2)"
"track:          2 (02)"

"numtracks:      2 (02)"
"islast:        1"
"genre:          "
"year:          2006 (2006)"
"comment:        41"
"freedbid:      11018102"

"crc:            62630444"
"bitrate:        128"
"curdate:        2006-10-12"

----------------------------------------------

==============================================
TEST-image config, Thu 12/10/2006 23:00:48.52
==============================================

"reactdir:      C:\Program Files\REACT"
"encdir:        C:\PROGRA~1\REACT\Encoders"
"mydocumentsdir: D:"
"musicdir:      E:\CDBackup"
"sourcedir:      F:"
"eaclog:        F:\The Album Name.log"
"destdir1:      E:\CDBackup\TEST\Various\The Album Name"

----------------------------------------------

"basename:      Various - The Album Name"
"source:        F:\Vtmp!)(0(.wav"
"image:          F:\Various - The Album Name.wav"
"sourcecuesheet: F:\Vtmp!)(0(-react.cue"
"cuesheet:      F:\Various - The Album Name.cue"

"cdartist:      Various (Various)"
"album:          The Album Name (The Album Name)"
"artist:        Artist 2 (Artist 2)"

"genre:          "
"year:          2006 (2006)"
"comment:        41"
"freedbid:      11018102"

"crc:            62630444"
"bitrate:        128"
"curdate:        2006-10-12"

----------------------------------------------

The year in brackets is retrieved using $year$.

Tested using my TEST configs, with $year$ added, using a test NRG image as the source.

The official AutoIt source has the lines:

Code: [Select]
$str = StringReplace($str, "$year$", $g_year)
... and
Code: [Select]
$str = StringReplace($str, "@year@", $g_year)
I don't understand how one can work and not the other.

Also, bear in mind, $year$ is not in the documentation, and @year@ will do exactly the same.  Why the need to use it?!

Edit: I am more and more coming to the conclusion that you are causing all of your problems by using a recompiled version of REACT.  I suspect that the True/1 issue is down to the version of AutoIt used to compile, or maybe your OS.  This is all guess work on my part, but your symptoms are very strange, you appear too quick to hack about with the source, and you don't appear to have any interest in getting help to resolve your issues, preferring to bugger around with the source that works fine for everyone else (AFAIK).  I would like to see the TEST config log file produced by your version of REACT and the official version.  Until then I don't see much point in trying to help further (not that it appears you want me to ).
Title: New tool: React - [Run EAC Tasks]
Post by: mirkocosta on 2006-10-13 08:33:14
The fact that is working for you does not means that works for me; pls understand that those problem exists to me even if i recompile the src without modifying it. News: all Fkey are now fully customizable - bye
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-13 08:59:44
But why recompile the source?  As I say, I think you may be introducing issues by using a different version of AutoIt.  You're reporting "bugs" on things that don't exist in the official EXE.  If you are introducing them, how is this useful, or relevant, to the rest of us?  It really makes me keen to use your "new and improved" version that you appear to be working on...

Also, you're ignoring points, such as, why the need to use $year$ when @year@ is available and does the same thing?  You appear to be simply looking for problems, which you are actually creating yourself!

You started out talking of a "bug" with VA albums, but refuse to expand on the actual problem or provide any resource or proof to help us diagnose the issue.  You then post "bugs" that no-one else has ever reported - that you appear to have introduced yourself.

What are you trying to achieve?  I'm flumoxed.

Can other users confirm what @islast@ and $year$ returns for them?  I am not discounting the fact that I am totally wrong; it's just that I've never seen it reported before.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-14 09:44:21
I have recompiled REACT from the original source, using the latest AutoIt, version v3.2.0.1.

$year$ works fine for me (as expected), but I can confirm that @islast@ now returns True instead of 1.

To fix I simply changed:

Code: [Select]
$g_islast = ($logTime >= $srcTime - 1 And $logTime <= $srcTime + 2)

to

Code: [Select]
If ($logTime >= $srcTime - 1 And $logTime <= $srcTime + 2) Then $g_islast = 1

Edit: Bear in mind this will only affect users wanting to adapt the source and recompile.  It has no bearing on users using the official REACT 1.0 EXE.
Title: New tool: React - [Run EAC Tasks]
Post by: Apostulate on 2006-10-14 18:08:19
I am attemptingt to create a Wavpack image and yet all I'm getting is a cue sheet after the process completes.    Okay, here are my REACT settings:

Code: [Select]
[Settings]
Config=wv
Version=1.0
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=C:\Rips
encdir=C:\Program Files\REACT\Encoders
LogFile=react.txt
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
TracksHotKey={F4}
TracksHotVal=+{F5}
SaveTracksCuesheets=0
ImageHotKey={F10}
ImageNaming=$artist$ - ($year$) $album$
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Debug=0


Here's my WV-image settings:
Code: [Select]
Description=Wavpack image with APEv2 RG album tags and embedded cuesheet and EAC log

ImageExt=wv
CuesheetExt=wv.cue
destdir1=@musicdir@\IMAGES\$cdartist$

start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\@basename@.jpg"
@encdir@\WaveGain.exe -a "@source@" --exec @encdir@\wavpack.exe -hmy -w "ARTIST=@artist@" -w "ALBUM=@album@" -w "YEAR=@year@" -w "GENRE=@genre@" -w "REPLAYGAIN_ALBUM_GAIN=%%ALBUM_GAIN%% dB" -w "REPLAYGAIN_ALBUM_PEAK=%%ALBUM_PEAK%%" -w "REPLAYGAIN_TRACK_GAIN=%%TRACK_GAIN%% dB" -w "REPLAYGAIN_TRACK_PEAK=%%TRACK_PEAK%%" -w "CUESHEET=@@cuesheet@" -w "EACLOG=@@eaclog@" "@source@" "@image@"
del "@source@" "@eaclog@"
move "@sourcedir@\@basename@.*" "@destdir1@"


Now, here's the message that comes up when the process begins:

(http://i22.photobucket.com/albums/b315/Remedial/clip_image002.jpg)

And, at the bottom of this pic, it appears as if the image is being created, but after it finishes, nothing is left but a cue file. 
(http://i22.photobucket.com/albums/b315/Remedial/clip_image003.jpg)

Please let me know where I went wrong.  Thank you.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-14 18:54:46
Change

Code: [Select]
Description=Wavpack image with APEv2 RG album tags and embedded cuesheet and EAC log

ImageExt=wv
CuesheetExt=wv.cue
destdir1=@musicdir@\IMAGES\$cdartist$

to

Code: [Select]
!Description=Wavpack image with APEv2 RG album tags and embedded cuesheet and EAC log

!ImageExt=wv
!CuesheetExt=wv.cue
!destdir1=@musicdir@\IMAGES\$cdartist$

I'm not sure whether that's all your problems solved, but make that change, try again, and report back if it's still not right.

Edit:  I suspect the WV file is somewhere, just not where it should be.  Because you weren't correctly defining destdir1 the MOVE command will have gone a bit screwy I guess.  I would expect the WV file to be in C:\Rips still but I assume it is not.  It may be in your REACT folder, your REACT\Encoders folder or in your Windows folder.  Maybe you could do a search for *.wv to track it down.  There's no point in leaving a 400MiB file around for no reason...
Title: New tool: React - [Run EAC Tasks]
Post by: atulc on 2006-10-14 22:43:20
The following script will encode LAME -V2 MP3 track files with ID3v1 + ID3v2 tags. The MP3s are then Album Gained with mp3gain.exe which also stores the RG info as APEv2.0 tags in the MP3s, so that it is possible to change from Album Gain to Track Gain in fb2k or for undoing the gain process completely. When playing the MP3s in a portable player that dosen't support RG, then the MP3s will be played Album Gained. Also there is added a "TOTALTRACKS" APEv2.0 tag to the MP3s. I would recommend that after the ripping and encoding has finished, then load the MP3s into fb2k and rewrite the tags as ID3v1 + ID3v2, so that the APEv2.0 tags are converted to ID3v2 tags and deleted afterwards, but that's of course up to you...

Code: [Select]
!Description=Album Gained LAME -V2 MP3 track files with ID3v1 + ID3v2 + APEv2.0 tags.

!destdir1=@musicdir@\$cdartist$ - ($year$) $album$
!dest1=@destdir1@\$track$ - $title$
!Various-dest1=@destdir1@\$track$ - $title$ ($artist$)

@encdir@\lame.exe -V2 --vbr-new --noreplaygain --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty "@year@" --tg "@genre@" "@source@" "@dest1@.mp3"
del "@source@"
@encdir@\Tag.exe --ape2 -t "TOTALTRACKS=@numtracks@" "@dest1@.mp3"
if @islast@==1 (
move "@eaclog@" "@destdir1@\eaclog.txt"
cd /d "@destdir1@"
@encdir@\mp3gain.exe -a -k *.mp3
)


Edit: Corrected mistake in command line.

Is there a way to integrate ID3v2.3 tags into the FLAC files ripped by EAC & REACT? The default FLAC_MP3-tracks.txt file uses tag.exe to write ID3v1 tags into the FLAC and MP3 files. The config file quoted above uses LAME's --add-id3v2 --pad-id3v2 flags to write ID3v2.3 tags to MP3 files. I also need to include ID3v2.3 tags on my FLAC files in case I need to use them to recreate my MP3 collection. Does anyone have an EAC/REACT config file for ripping tracks to FLAC and MP3 formats using ID3v2.3 tags for both formats?
Title: New tool: React - [Run EAC Tasks]
Post by: wolfsong on 2006-10-14 23:49:12

Any ideas? Thanks.

The following script will encode LAME -V2 MP3 track files with ID3v1 + ID3v2 tags. The MP3s are then Album Gained with mp3gain.exe which also stores the RG info as APEv2.0 tags in the MP3s, so that it is possible to change from Album Gain to Track Gain in fb2k or for undoing the gain process completely. When playing the MP3s in a portable player that dosen't support RG, then the MP3s will be played Album Gained. Also there is added a "TOTALTRACKS" APEv2.0 tag to the MP3s. I would recommend that after the ripping and encoding has finished, then load the MP3s into fb2k and rewrite the tags as ID3v1 + ID3v2, so that the APEv2.0 tags are converted to ID3v2 tags and deleted afterwards, but that's of course up to you...

@Martin H
After reading some posts here I decided to not use APE tags at all.

I wonder if I should make a simpler version of REACT which only supports image extraction (F10), and only have one configuration script, where you can pick and choose from making:

- flac or wavpack image, or tracks with ACDIR
- mp3, ogg, and aac tracks with ACDIR.

I don't see any good reason for making images in lossy formats, although it would be easy enough to add.

The only slight problem with this approach is to add both album and track replaygain tags in an efficient way. Albumgain, which is by far the most important, can be calculated once with WAVEGAIN from the wav image, and applied to all the compressed files in various ways, though.

@tycho
I'm still a bit confused by all the different RG options but seemingly this idea does sound better. When I look at what the TRACK configs do (what I can follow anyway) I don't see a lot of advantage to using REACT if you just want one format.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-15 08:47:11
Is there a way to integrate ID3v2.3 tags into the FLAC files ripped by EAC & REACT? The default FLAC_MP3-tracks.txt file uses tag.exe to write ID3v1 tags into the FLAC and MP3 files. The config file quoted above uses LAME's --add-id3v2 --pad-id3v2 flags to write ID3v2.3 tags to MP3 files. I also need to include ID3v2.3 tags on my FLAC files in case I need to use them to recreate my MP3 collection. Does anyone have an EAC/REACT config file for ripping tracks to FLAC and MP3 formats using ID3v2.3 tags for both formats?
Do you mean Vorbis comments?  FLAC files should not be tagged with ID3v2.

You should use Vorbis comments, which Tag will write (if compiled with the FLAC libraries), but ID3v1 may be used.  Here's the FLAC FAQ (http://flac.sourceforge.net/faq.html#general__tagging) on the subject.

In conclusion: you are confused, using Tag to write the comments will result in FLAC tags/Vorbis comments.  Using an application like foobar or dbPowerAmp will allow you to transfer frome FLAC with Vorbis comments to MP3 with ID3v2.
Title: New tool: React - [Run EAC Tasks]
Post by: atulc on 2006-10-16 16:29:08
Do you mean Vorbis comments?  FLAC files should not be tagged with ID3v2.

You should use Vorbis comments, which Tag will write (if compiled with the FLAC libraries), but ID3v1 may be used.  Here's the FLAC FAQ (http://flac.sourceforge.net/faq.html#general__tagging) on the subject.

In conclusion: you are confused, using Tag to write the comments will result in FLAC tags/Vorbis comments.  Using an application like foobar or dbPowerAmp will allow you to transfer frome FLAC with Vorbis comments to MP3 with ID3v2.

Sorry for my ignorance. I am new to FLAC, Ogg Vorbis, REACT, and EAC. I have now researched this area and understand that FLAC files are tagged with Vorbis comments. Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-16 16:34:48
No need to apologise.

As I say, the conversion from FLAC with Vorbis comments to MP3 with ID3v2 should not be an issue, and Vorbis comments are flexible enough to allow you to store any (text) info that you may need to store.
Title: New tool: React - [Run EAC Tasks]
Post by: atulc on 2006-10-16 17:50:42
Synthetic soul,
I used your TEST-tracks.txt file on the Sheryl Crow album and everything worked fine. The log file showed everything going to the right directory. Next, I tested this album with FLAC_MP3-tracks.txt. To my surprise, everything works fine with this album today. For the life of me, I can't figure out what changed between yesterday and today. Today, all the tracks end up in the right folders and all the WAV to FLAC and MP3 conversions work successfully.

Anyway, thanks for your help. The TEST-tracks.txt file will definitely come in handy for future troubleshooting.

atulc

There appears to be an intermittent various-artist bug lurking around somewhere in the REACT code. Just as the above various-artist CD was being parsed incorrectly one day and it worked fine the next, I now experienced the same issue with another various-artist album. When I first ripped the VA CD "The Romantics - A Windham Hill Sampler," it created directories TrackArtist\AlbumTitle for each track instead of one Various\AlbumTitle directory. Next I used the TEST-tracks.txt config to document the behaviour. The resulting log is shown below. On EAC, the CDArtist shows as Various and the "Various Artists" checkbox is checked. However, REACT does not recognize this as a various-artists CD. For each track, the CDArtist is set to TrackArtist. Consequently, instead of the directory path various\AlbumTitle, REACT uses the path TrackArtist\AlbumTitle. For each TrackArtist, it creates a separate directory. The log below is from the TrackArtist\AlbumTitle directory for the first track on the album. On EAC, the naming schemes are set as follows.

Naming scheme: %D - %C - %N - %T
Various artist naming scheme: %D - %C - %N - %T (%A)

After capturing this log, I ran REACT another time using the TEST-tracks.txt config. The second time, it behaved fine creating only a single various\AlbumTitle directory. Then I tried ripping the CD with FLAC_MP3.txt and it worked fine this time.

It appears to me that there is an intermittent, unpredictable, bug lurking around in the various-artist section of the REACT code. Am I the only one noticing this intermittent problem?

Code: [Select]
==============================================
TEST-tracks config, Mon 10/16/2006 11:16:35.71
==============================================

"reactdir:       C:\Program Files\Exact Audio Copy"
"encdir:         C:\PROGRA~1\EXACTA~1\Encoders"
"mydocumentsdir: C:\Documents and Settings\atulc\My Documents"
"musicdir:       C:\Documents and Settings\atulc\My Documents\My Music"
"sourcedir:      C:\Documents and Settings\atulc\My Documents\My Music\Wav"
"eaclog:         C:\Documents and Settings\atulc\My Documents\My Music\Wav\The Romantics- A Windham Hill Sampler.log"
"destdir1:       C:\Documents and Settings\atulc\My Documents\My Music\TEST\Eugene Friesen\The Romantics- A Windham Hill Sampler"
"destdir2:       C:\Documents and Settings\atulc\My Documents\My Music\TEST"

----------------------------------------------

"trackscuesheet: C:\Documents and Settings\atulc\My Documents\My Music\Wav\The Romantics- A Windham Hill Sampler"
"  single:       C:\Documents and Settings\atulc\My Documents\My Music\Wav\The Romantics- A Windham Hill Sampler.[s].cue"
"  with:         C:\Documents and Settings\atulc\My Documents\My Music\Wav\The Romantics- A Windham Hill Sampler.[mg].cue"
"  leftout:      C:\Documents and Settings\atulc\My Documents\My Music\Wav\The Romantics- A Windham Hill Sampler.[m].cue"
"  corrected:    C:\Documents and Settings\atulc\My Documents\My Music\Wav\The Romantics- A Windham Hill Sampler.[mc].cue"

----------------------------------------------

"basename:       Various Artists - The Romantics- A Windham Hill Sampler - 01 - Vocalise Op. 34 No.14-- Rachmaninoff (Eugene Friesen)"
"source:         C:\Documents and Settings\atulc\My Documents\My Music\Wav\Vtmp1!542.wav"
"dest1:          C:\Documents and Settings\atulc\My Documents\My Music\TEST\Eugene Friesen\The Romantics- A Windham Hill Sampler\01 - Vocalise Op. 34 No.14-- Rachmaninoff"
"dest2:          C:\Documents and Settings\atulc\My Documents\My Music\TEST\Eugene Friesen - The Romantics- A Windham Hill Sampler - 01 - Vocalise Op. 34 No.14-- Rachmaninoff"

"cdartist:       Eugene Friesen (Eugene Friesen)"
"album:          The Romantics- A Windham Hill Sampler (The Romantics- A Windham Hill Sampler)"
"artist:         Eugene Friesen (Eugene Friesen)"
"title:          Vocalise Op. 34 No.14-- Rachmaninoff (Vocalise Op. 34 No.14-- Rachmaninoff)"
"track:          1 (01)"

"numtracks:      13 (13)"
"islast:         0"
"genre:          Classical"
"year:           1995"
"comment:        Track 1"
"freedbid:       A80C420D"

"crc:            90010D91"
"bitrate:        320"
"curdate:        2006-10-16"

----------------------------------------------
Title: New tool: React - [Run EAC Tasks]
Post by: bhoar on 2006-10-16 18:06:43
IIRC, AutoIT doesn't have very...precise...scoping of variables.  Is it possible that some variable is hanging around from a previously ripped CD and therefore leads to varying outcomes when retesting the same CD across separate runs?

A user test to see if this is possible would be to try reproducing the error by using REACT over several CDs, preferably in the order that you ripped on the day the problem occured...

-brendan
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-16 19:10:45
Quote
"basename:      Various Artists - The Romantics- A Windham Hill Sampler - 01 - Vocalise Op. 34 No.14-- Rachmaninoff (Eugene Friesen)"
Not sure how this happens, but REACT is looking for "Various - ", not "Various Artists - ".

I thought, when you checked the VA checkbox, EAC automatically set the Artist to "Various".

That's the reason REACT is getting confused though, we just need to work out why EAC uses "Various" some times and "Various Artists" others.  Perhaps the freedb entry uses "Various Artists" and EAC won't change when it sees "Various" in there somewhere?

Try unchecking the checkbox, clearing the artist name, and then rechecking it again.  Or something else.
Title: New tool: React - [Run EAC Tasks]
Post by: atulc on 2006-10-17 16:15:02
IIRC, AutoIT doesn't have very...precise...scoping of variables.  Is it possible that some variable is hanging around from a previously ripped CD and therefore leads to varying outcomes when retesting the same CD across separate runs?

A user test to see if this is possible would be to try reproducing the error by using REACT over several CDs, preferably in the order that you ripped on the day the problem occured...

-brendan

I have noticed this problem under both of the following situations. However, the problem doesn't surface consistently for every VA CD. The same CD might rip fine on one occasion, but run into this issue on another. What does fix the problem is manually unchecking and re-checking the VA checkbox on the EAC UI. It definitely looks like an ill-defined VA variable within EAC or REACT code. Perhaps this variable is not initialized. Perhaps it is not reset after ripping a CD....

This problem happens often enough to be extremely frustrating. Anyone has any clues on how to get to the root cause and fix this problem? Thanks.
Quote
"basename:      Various Artists - The Romantics- A Windham Hill Sampler - 01 - Vocalise Op. 34 No.14-- Rachmaninoff (Eugene Friesen)"
Not sure how this happens, but REACT is looking for "Various - ", not "Various Artists - ".

I thought, when you checked the VA checkbox, EAC automatically set the Artist to "Various".

That's the reason REACT is getting confused though, we just need to work out why EAC uses "Various" some times and "Various Artists" others.  Perhaps the freedb entry uses "Various Artists" and EAC won't change when it sees "Various" in there somewhere?

Try unchecking the checkbox, clearing the artist name, and then rechecking it again.  Or something else.

Before ripping every CD, I make sure that the VA checkbox on EAC is already checked if it is a VA CD. If the VA box is checked, the AlbumArtist on the EAC UI is set to Various. Nevertheless, when the problem occurs, basename is set beginning with "Various Artists -" instead of "Various -". Since the problem is intermittent (a VA CD could rip fine at times, but at other times, the same CD encounters this problem), I don't believe it has anything to do with the freedb entries. It appears to be in the EAC/REACT code. Anyone with knowledge of this section of the code, please help!

edit: wholesale changes to this post after further testing.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-17 16:24:40
Thanks for the info atulc.  You're an excellent example of a user who will help us to help himself (and others).

IIRC REACT has no input to this value - this is the filename that EAC uses given your filename scheme (or various artist naming scheme in this case) set in the Filename tab in EAC options (F9).  I can see from basename that it appears to be set correctly ("%D - %C - %N - %T (%A)").

EAC appears to be setting %D to "Various Artists" on this occassion, rather than "Various".  I have no idea why.

Very strange.  I'll keep thinking...

Edit: To confirm, this is all that REACT does with the string:

Code: [Select]
$g_basename = StringTrimRight($CmdLine[2], 4); remove ".wav" ext.

$CmdLine[2] is the original filename parameter (%o) that EAC sets.  As you can see, all REACT does is strip ".wav" from the end, no further processing takes place.

Edit 2:  What I really don't understand is how EAC can pass "Various" on one run and "Various Artists" on another, with the same CD!  Unless I'm following a red herring here somewhere... I think we need to understand the pattern of when one is used over the other to solve this, if we can...
Title: New tool: React - [Run EAC Tasks]
Post by: atulc on 2006-10-17 16:47:10
Thanks for the info atulc.  You're an excellent example of a user who will help us to help himself (and others).

IIRC REACT has no input to this value - this is the filename that EAC uses given your filename scheme (or various artist naming scheme in this case) set in the Filename tab in EAC options (F9).  I can see from basename that it appears to be set correctly ("%D - %C - %N - %T (%A)").

EAC appears to be setting %D to "Various Artists" on this occassion, rather than "Various".  I have no idea why.

Very strange.  I'll keep thinking...

Edit: To confirm, this is all that REACT does with the string:

Code: [Select]
$g_basename = StringTrimRight($CmdLine[2], 4); remove ".wav" ext.

$CmdLine[2] is the original filename parameter (%o) that EAC sets.  As you can see, all REACT does is strip ".wav" from the end, no further processing takes place.

Synthetic soul, thanks for the quick response. I used to contribute time to open source initiatives. So I have great appreciation for the hard work people like you put in. EAC-REACT is a great framework. I would like to make it still better.

From your response, it appears that the issue is most likely with EAC. I will post this on the EAC developers' mailing list.

Please make sure that you re-read my previous post. I made significant changes to the message just before I read your response. Thanks.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-17 17:31:30
I have just checked the freedb record (http://www.freedb2.org/?fDisc/547868) using the freedb id reported (A80C420D).  It appears to me that the entry that you are using has the artist "Various Artists" instead of "Various" as specified in the freedb FAQ (section 2.2 point 6) (http://www.freedb.org/en/faq.3.html#22).

IMHO these issues are being caused by malformed freedb entries, and although EAC looks to handle them OK this value is unfortunately still being used as the album artist.

It would be great if you could confirm this by "manually" checking the freedb entries for other CDs that cause problems.

You may be able to test this also by using Ctrl+D to export the CD info to clipboard, to see what EAC is holding, or perhaps some other "Export data" method.

The fact that it works if you uncheck and recheck the checkbox returned me to this belief.  I think that this clears EAC's hidden value of "Various Artists" and replaces it with "Various" as it should be (i.e.: you are updating the local CD information).  I can only assume that closing EAC is rewriting the entry, or at least reloading it.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-17 19:32:40
I've just done a search for the Sheryl Crow album (http://www.freedb2.org/?fDisc/637405) and you will note that the artist is specified as "Sheryl Crow", not "Various".

I think the only resolve here is to uncheck and recheck the VA checkbox each time you load a disc...

That said, for track files, I have a vague idea in my head about using the file naming scheme used to detirmine whether the album is VA or not, instead of basename.  This won't help image rippers (like me) though.
Title: New tool: React - [Run EAC Tasks]
Post by: atulc on 2006-10-18 05:28:17
I've just done a search for the Sheryl Crow album (http://www.freedb2.org/?fDisc/637405) and you will note that the artist is specified as "Sheryl Crow", not "Various".

I think the only resolve here is to uncheck and recheck the VA checkbox each time you load a disc...

That said, for track files, I have a vague idea in my head about using the file naming scheme used to detirmine whether the album is VA or not, instead of basename.  This won't help image rippers (like me) though.

That's it. The data on freedb is not pristine. VA albums are tagged with AlbumArtist = "Various", "Various Artists", or the name of one of the artists on the album. The EAC-REACT ripping process works as expected for the "Various" setting. It breaks down for the other two settings. The only solution, as you suggest, is to uncheck and re-check the VA checkbox on EAC. This forces the AlbumArtist back to "Various". I have ripped about 20 CD's today. About half of them were VA albums. The freedb AlbumArtist setting for most of the VA CDs was wrong. But a couple of mouse clicks for each VA album ensured proper ripping.

Thanks Synthetic Soul and others for helping resolve this problem. Now I feel ready to rip my 200+ CDs with EAC & REACT.
Title: New tool: React - [Run EAC Tasks]
Post by: phaedra on 2006-10-18 16:31:02
Now I feel ready to rip my 200+ CDs with EAC & REACT.

Thank you for taking the lead in getting to the bottom of this.    For the flac files are you ripping to individual tracks or to images?

- p
Title: New tool: React - [Run EAC Tasks]
Post by: bhoar on 2006-10-18 17:14:20
I've just done a search for the Sheryl Crow album (http://www.freedb2.org/?fDisc/637405) and you will note that the artist is specified as "Sheryl Crow", not "Various".

I think the only resolve here is to uncheck and recheck the VA checkbox each time you load a disc...

That said, for track files, I have a vague idea in my head about using the file naming scheme used to detirmine whether the album is VA or not, instead of basename.  This won't help image rippers (like me) though.


Would it be possible for REACT to notice that the Artist contains certain other variants of "Various" (heh) and automatically click twice on the checkbox for those albums?

-brendan
Title: New tool: React - [Run EAC Tasks]
Post by: atulc on 2006-10-19 03:48:45
Would it be possible for REACT to notice that the Artist contains certain other variants of "Various" (heh) and automatically click twice on the checkbox for those albums?

-brendan

I am not an EAC or REACT developer. That said, this seems like a reasonable approach as long as the album artist contains the word various. But it won't address the freedb entries where the album artist for a various-artists album is set to the name of an artist. The "Artist's Choice - Sheryl Crow" album is an example of this.

Would it make sense for EAC to check all the track artists and, if there are more than one track artist strings, automatically set the album artist to various? REACT is only invoked with one track at a time. Therefore, this check would have to be done within EAC.

So far, I have only ripped tracks. So I don't know how things would work for ripping images.

Thank you for taking the lead in getting to the bottom of this.    For the flac files are you ripping to individual tracks or to images?

- p

I am ripping to individual tracks. I am too new to this field to understand the benefits of ripping to images. I want my music collection to be usable across different players such as foobar, slimserver, and the abominable iTunes. I am ripping to FLAC and MP3. I plan to use the MP3 files only on iTunes and iPod and FLAC on all the other music players.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-19 07:48:31
I am not an EAC or REACT developer. That said, this seems like a reasonable approach as long as the album artist contains the word various. But it won't address the freedb entries where the album artist for a various-artists album is set to the name of an artist. The "Artist's Choice - Sheryl Crow" album is an example of this.
Exactly.  I was going to suggest using:

Code: [Select]
If StringLeft($g_basename, StringLen($g_artist + 2)) <> $g_artist & " -" Then

... instead of:

Code: [Select]
If StringLeft($CmdLine[2], 9) == "Various -" Then

... but your Sheryl Crow album is just one example where this would, or could, fall over.

However, I still have an idea or two in my head about possibilities to improve this.  REACT sets the naming scheme and various artist naming scheme itself.  It relies, and complains if it is not so, on both starting with "%D", the CD artist.  If users were prepared to keep their schemes to that specified by REACT then REACT could check basename against the pattern "%D - %C - %N - %T".  If it matched then the album is not VA, if it does not then it is.  Some pseudo code:

Code: [Select]
If this is a track rip
  If basename is "<track artist> - <album> - <track> - <title>"
    ' This is not a various artist track rip
  Else
    ' This is a various artist track rip
  End If
Else
  If basename begin with "<track artist> - "
    ' This is not a various artist image rip
  Else
    ' This is a various artist image rip
  End If
End If

Dunno, needs more thought (and then a whole lot of testing).

Would it make sense for EAC to check all the track artists and, if there are more than one track artist strings, automatically set the album artist to various? REACT is only invoked with one track at a time. Therefore, this check would have to be done within EAC.
I think EAC must partly be doing this already - i.e.: setting the VA checkbox according to whether the track format is VA - thus the problems you've been having.  What it is not doing is resetting the artist to Various at the same time.  I guess it should.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-19 10:56:50
If anyone (atulc, it seems like you would be ideal for this) is interested in testing my amended code, as per the psuedo code above, you can find an EXE and the amended source here (http://www.synthetic-soul.co.uk/temp/REACT_1.0.1.7z).

There's a few code changes, including the addition of @isvarious@, @reactversion@ and @reactconfig@, but here's the realised VA code for easy reference:

Code: [Select]
; VA album?

$g_cdartist = $g_artist
$g_cdartist_fn = $g_artist_fn
If $hasCue Then
  If StringLeft($g_basename, StringLen($g_artist_fn) + 2) <> $g_artist_fn & " -" Then $g_various = 1
Else
  If $g_basename <> fSubstIllegalCharsLikeEac($g_artist) _
    & " - " & fSubstIllegalCharsLikeEac($g_album) _
    & " - " & $g_track_fn _
    & " - " & fSubstIllegalCharsLikeEac($g_title) Then $g_various = 1
EndIf
If $g_various Then
  $g_cdartist = "Various"
  $g_cdartist_fn = "Various"
EndIf

PLEASE NOTE: I have only tested this on a couple of runs!  This is alpha, and normal/new REACT users should stick with tycho's original (1.0).  Testing only!

This relies on your filename scheme being "%D - %C - %N - %T"
Title: New tool: React - [Run EAC Tasks]
Post by: atulc on 2006-10-23 04:20:07
If anyone (atulc, it seems like you would be ideal for this) is interested in testing my amended code, as per the psuedo code above, you can find an EXE and the amended source here (http://www.synthetic-soul.co.uk/temp/REACT_1.0.1.7z).

Synthetic soul,
Thanks for implementing the "various-artists" logic discussed earlier. I tried your new code and here are the results.

BOTTOMLINE: With Synthetic soul's version 1.0.1.7 of REACT, as long as the CD Artist begins with Various (perhaps I should say containing Various; Synthetic soul, feel free to comment on this), EAC-REACT work fine. They save the ripped tracks to various\album. If on EAC you see the CD Artist beginning with anything other than Various for an album that you know is various-artists, just manually check the Various-Artists checkbox and everything will work fine.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-23 11:29:32
Firstly, thanks for the comprehensive test and report.  It's good to see the new version catching scenarios 1-4, as expected.

No. 5 failed purely as the VA checkbox was not set.  As far as REACT was concerned this was a normal (non-VA) album, and treated it as such.  In essence it acted as it should, considering its current logic.

As you suggest, perhaps REACT may be able to parse the track names before processing, to detirmine itself whether the VA checkbox should be checked, and check it, but that's one for tycho to answer really.

My changes do not rely on the word "Various"; your first Sheryl Crow example, where the CD Artist was set to Sheryl Crow, immediately turned me away from using "Various" as an indicator.  I will attempt to explain the logic used:

Firstly, the new code checks whether REACT is dealing with an image or track config.  Depending on this fact it uses two different methods to ascertain whether the disc is VA.

Images:

With images the check is the most simple.  Tycho's original check, used in both image and track processing, checked whether the basename began "Various -".  My check for images checks whether the basename begins "<track artist> -".  With a properly set VA album this check will be comparing the basename "Various -" with my string "<track two artist> -".  As the strings don't compare the album is assumed VA.  For example, with your Sheryl Crow album we would be comparing "Various Artists -" with "Carole King -" (when accessing the artist placeholder for images EAC, for some reason, always passes track two's artist).  Again this would fail, and the album is assumed VA.

This check could still go wrong - if the CD artist and track two artist were the same.

Tracks:

This check is more complex, and therefore less easy to fool.  My new code assumes that your track naming scheme is "%D - %C - %N - %T", and your VA naming is "%D - %C - %N - %T (%A)" - which are the values that REACT sets them to.  The code checks basename against the "%D - %C - %N - %T" structure.  If the two strings do not match the album is assumed VA.  So, in the example of the Sheryl Crow album, it will compare the basename, "Various Artists - Artist's Choice - 01 - Don't Think Twice, It's All Right (Bob Dylan)" with the format which equates to "Various Artists - Artist's Choice - 01 - Don't Think Twice".  As the strings are not identical it will correctly assume the album is VA.  In a normal album the strings will be identical, simply as both are formed (one by EAC, and one by my code) using the same format - "%D - %C - %N - %T".

Your fifth scenario failed here because my code was checking "%D - %C - %N - %T" against "%D - %C - %N - %T", when it should, if the VA checkbox had been checked correctly, have been checking "%D - %C - %N - %T (%A)" against "%D - %C - %N - %T".  I suspect the reason that you ended up with the filename format of "$track$ - $artist$ - $title$", given that it should have been "$track$ - $title$", is that the freedb entry used the track name format of "$artist$ - $title$", or possibly "$artist$ \ $title$".

Personally, I think it's a reasonable solution.  It is possible it could even be wrapped inside the original check for "Various -", so properly formed VA freedb entries are quickly picked out, but those failing the check are double-checked by the code I have submitted.

Again, thanks for the testing.  I haven't worked out how I can test with badly formed VA freedb entries, so the testing had been limited.  If I get time I may try setting up a local freedb database and messing around with those entries.  That said, I am very confident in the logic, although it has known flaws: CD artist == track two artist, or file naming scheme's have been changed.  The later could be checked, so that a warning is given if EAC's values do not match those expected (REACT already tests that the schemes begin with "%D", so this check could just be expanded).

Edit:  Hmm... after re-reading, and cheking my earlier post, I see that all I have succeeded in doing is over-complicating the pseudo code I posted before!  The psuedo code really explains this in far easier terms, although here is a more exact, and even simplified, version:

Code: [Select]
If we are dealing with an image rip
  If basename does not begin "<track two artist> -" then we have a VA
Else 'we are dealing with a track rip
  If basename is not in the format "%D - %C - %N - %T" then we have a VA
End
Title: New tool: React - [Run EAC Tasks]
Post by: atulc on 2006-10-23 16:34:16
Firstly, thanks for the comprehensive test and report.  It's good to see the new version catching scenarios 1-4, as expected.

No. 5 failed purely as the VA checkbox was not set.  As far as REACT was concerned this was a normal (non-VA) album, and treated it as such.  In essence it acted as it should, considering its current logic.

I agree. The behavior for CD no. 5 was as expected. In all cases, your code modification worked as expected.

My changes do not rely on the word "Various"; your first Sheryl Crow example, where the CD Artist was set to Sheryl Crow, immediately turned me away from using "Various" as an indicator. I will attempt to explain the logic used: ...

The psuedo code really explains this in far easier terms, although here is a more exact, and even simplified, version:
Code: [Select]
If we are dealing with an image rip
  If basename does not begin "<track two artist> -" then we have a VA
Else 'we are dealing with a track rip
  If basename is not in the format "%D - %C - %N - %T" then we have a VA
End

Ok. Now I understand how simple and elegant the solution is and that it doesn't depend on the word "various". Thanks a lot for implementing this!

I am using your modified code for ripping another 100+ CDs. If I encounter any issues related to various-artists, I will let you know.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-23 20:09:15
I exported my EAC database to a local freedb database*, which meant that I could edit my test CD entry and reload it for testing.

By doing so I have come to a couple of realisations:Although these realisations don't change what my code does, it does mean that it could be simplified, and possibly improved, with this knowledge.

You could also say, although my code does not check for a string beginning "Various" perhaps it ought to.

* To create a local freedb database of your EAC database:To reload data after changing the text file: "Database" > "Get CD Information From" > "Local freedb"[/size]

Edit: I just tested "Variousu" and that worked also.  Therefore, to clarify, EAC will look for a value beginning "Various", and not "Various ".

Also, atulc, I meant to point out, if you haven't tried, that you can use @isvarious@ as in:

Code: [Select]
IF @isvarious@==1

... instead of:

Code: [Select]
IF "$cdartist$"=="Various"


The other tokens I added, @reactversion@ and @reactconfig@, are really for debugging porpoises.
Title: New tool: React - [Run EAC Tasks]
Post by: GIGFY on 2006-10-31 03:01:30
Hi, this is my first posting but I've really hit the wall with this "Various Artist" issue.

Thanks to Synthetic Soul and Tycho for all there posts and this great utility.

I'm trying to rip to a FLAC image and  MP3 tracks. I started with Synthetic Soul's ini, config, and bat. from Post 299 and modified them from there. Everything worked fine until I tried a Various Artist CD.

The FLAC image looked ok at first but in Foo the artists for all the tracks are the same [taken from the artist of the 2nd track]. I know this problem has been posted before, but it's still occurring.

After much experimenting, I have now installed Synthetic Soul's 1.0.1.7 Alpha from Post 468 and his "Test" config's from Post 432.

In every instance there has been a consistent error in the image file. I have tried several CDs with my own versions of ini and config files, with the test ini and config and also with 1.0 and 1.0.1.7, always with the same results.

In the REACT command window the "Disc info" has the track 2 artist listed as the artist.

In the REACT Log using the "TEST" configs:
Quote
@echo Disc info  : "Kate Bush" - "Two Rooms Celebrating The Songs Of Elton John & Bernie Taupin"
@echo Description : "Test config to record the values being passed from EAC"


In Foo looking at the FLAC files the track 2 artist listed as the artist [the MP3 files end up correct which I suspect is because they are using the ID3 tags or the flac.cue.

Here's a .cue and the log from an album that I actually ripped:

CUE:
Quote
REM REPLAYGAIN_ALBUM_GAIN "-8.49 dB"
REM REPLAYGAIN_ALBUM_PEAK 0.988556
REM GENRE Rock
REM DATE 1997
REM DISCID E3100810
REM COMMENT "ExactAudioCopy v0.95b4"
PERFORMER "Various"
TITLE "KFOG - Live From The Archives IV"
FILE "(1997) - KFOG - Live From The Archives IV.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Jammin' Me"
    PERFORMER "Tom Petty & The Heartbreakers"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Please Don't Tell Her"
    PERFORMER "Big Head Todd & The Monsters"
    INDEX 01 04:28:72

LOG:
Quote
----- [FLAC-Lame-image] ----- 2006-10-29 22:45:52
@echo Disc info  : "Big Head Todd & The Monsters" - "KFOG - Live From The Archives IV"
@echo Description : "FLAC image with -V3 new MP3"
@echo WaveGain    : gain=-8.49 dB, peak=0.988556
C:\PROGRA~1\AVTOOL~1\REACT\Encoders\FLAC.EXE -5 -f --replay-gain "O:\My CD\WAVs\(tmp1!542.wav" -o "O:\My CD\WAVs\(1997) - KFOG - Live From The Archives IV.flac"
C:\PROGRA~1\AVTOOL~1\REACT\Encoders\TAG.EXE -t "ARTIST=Big Head Todd & The Monsters" -t "ALBUM=KFOG - Live From The Archives IV" -t "YEAR=1997" -t "GENRE=Rock" -t "COMMENT=ÜberStandard - UberNet.org" -t "FREEDB=E3100810" -t "CRC=00000000" -f "CUESHEET=O:\My CD\WAVs\(1997) - KFOG - Live From The Archives IV.flac.cue" -f "EACLOG=O:\My CD\WAVs\KFOG - Live From The Archives IV.log" "O:\My CD\WAVs\(1997) - KFOG - Live From The Archives IV.flac"
SET trackName=$n - $~t
IF "Big Head Todd & The Monsters"=="Various" SET trackName=$n - $~t ($~a)
MOVE "O:\My CD\WAVs\KFOG - Live From The Archives IV.log" "O:\My CD\Logs"
MOVE "O:\My CD\WAVs\(1997) - KFOG - Live From The Archives IV.*" "O:\My CD\FLAC -5\Big Head Todd & The Monsters "
C:\PROGRA~1\AVTOOL~1\REACT\Encoders\ACDIR.EXE --overwrite --output "O:\My CD\MP3 -V3 new\Big Head Todd & The Monsters\(1997) - KFOG - Live From The Archives IV\%trackName%.mp3" --pipe "C:\PROGRA~1\AVTOOL~1\REACT\Encoders\LAME.EXE -V3 --vbr-new --scale 0.376270 --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: -8.49 dB$q - $#o" "O:\My CD\WAVs\(tmp1!542-react.cue"
C:\PROGRA~1\AVTOOL~1\REACT\Encoders\CREATE-M3U.BAT "O:\My CD\MP3 -V3 new\Big Head Todd & The Monsters\(1997) - KFOG - Live From The Archives IV" "Big Head Todd & The Monsters - 919970 - KFOG - Live From The Archives IV"
DEL O:\My CD\WAVs\"O:\My CD\WAVs\(tmp1!542.wav"


I've opened the code to poke around eventhough the last thing I wrote was in BASIC 20 years ago, and here's what I noticed:
Code: [Select]
; VA album?

    $g_cdartist = $g_artist
    $g_cdartist_fn = $g_artist_fn
    If $hasCue Then
        If StringLeft($g_basename, StringLen($g_artist_fn) + 2) <> $g_artist_fn & " -" Then $g_various = 1
    Else
        If $g_basename <> fSubstIllegalCharsLikeEac($g_artist) _
            & " - " & fSubstIllegalCharsLikeEac($g_album) _
            & " - " & $g_track_fn _
            & " - " & fSubstIllegalCharsLikeEac($g_title) Then $g_various = 1
    EndIf
    If $g_various Then
        $g_cdartist = "Various"
        $g_cdartist_fn = "Various"
    EndIf

Only "cdartist" is changed to "Various" while "artist" is not.
But then:
Code: [Select]
$batfile = $temp_root & ".bat"
    $bathead = '@echo Disc info   : "' & $g_artist & '" - "' & $g_album & '"' & @crlf
    If $g_destimage = "" Then
        $bathead = $bathead & '@echo Track info  : (' & $g_track & ') "' & $g_title & '"' & @crlf
    EndIf

"Disc info is set to "artist".

I don't know if adding,
$g_artist = "Various"
$g_artist_fn = "Various"
would cause more problems than it would solve, but I suspect the problem is related to this. I'm not sure where else "artist" is used and if this would break the track extractions.

Thanks for all your help.
If I knew how to code I would try it myself, but I'm really learning as I go along.
Sorry for the long post.

Eric
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-31 09:50:08
Although you have provided a good deal of information, I'm finding your post a little hard to decypher.  However, I think I may see your problem.  Your image naming scheme must begin with $artist$, and not $year$.  In my REACT.INI file I have:

Code: [Select]
ImageNaming=$artist$ - $album$

I believe that yours must be:

Code: [Select]
ImageNaming=($year$) - $album$

I believe that tycho has stated this somewhere, but really I think it should be mandatory, to save confusion.

You don't need to use "$artist$ - $album$" exactly, as long as it begins with "$artist$ -".  You could use:

Code: [Select]
ImageNaming=$artist$ - ($year$) - $album$

Edit: To clarify, REACT will not pick up VA albums as being VA, without "$artist$ -" at the start of your basename.  As I say, perhaps this should be stipulated more (if it is not already, it may be).  And Another Edit:  I have just added a little text to the wiki article/help (http://wiki.hydrogenaudio.org/index.php?title=REACT#A_Few_Of_The_Important_INI_Keys).


RE: VA code: I think the only issue with the code that you highlight is, on quick inspection, it seems to me that tycho should probably be using:

Code: [Select]
$bathead = '@echo Disc info   : "' & $g_cdartist & '" - "' & $g_album & '"' & @crlf

... instead of:

Code: [Select]
$bathead = '@echo Disc info   : "' & $g_artist & '" - "' & $g_album & '"' & @crlf

... but this is purely asthetics, and doesn't affect logic at all.


With regard to the VA code, given my recent findings (they may not be findings to tycho, but they were to me!), I think the easiest solution may be to simply use:

Code: [Select]
; VA album?

If StringLeft($CmdLine[2], 7) == "Various" Then
  $g_cdartist = "Various"
  $g_cdartist_fn = "Various"
  $g_various = 1
Else
  $g_cdartist = $g_artist
  $g_cdartist_fn = $g_artist_fn
EndIf

It will mess up if an individual artist has a name beginning "Various", but (a) it seems to me that this will occur far fewer times than the issues at the moment and (b) EAC basically does this, so it's simply following suit.  If an individual artist had a name beginning "Various" EAC would mark it as a VA album (check the VA checkbox) anyway!
Title: New tool: React - [Run EAC Tasks]
Post by: GIGFY on 2006-10-31 18:20:40
Synthetic Soul,
 
  Thanks for all your help [your past posts were my guide] and sorry about the confusion.
 
I was using $year$ in the first position. I know I changed it at some point but that must have still been the case with my example [man you're good at this].
  I ran the CD again this morning using:
 
Code: [Select]
  [b]ini.
  [/b][Settings]
  Config=FLAC-Lame
  Version=1.0
  EAC=C:\Program Files\AV Tools\Exact Audio Copy\EAC.exe
  musicdir=C:\Program Files\AV Tools\REACT\TEST FOLDER
  encdir=C:\Program Files\AV Tools\REACT\Encoders
  LogFile=C:\Program Files\AV Tools\REACT\react_log.txt
  CodePage=1252
  MinimizeCompressionWindow=1
  ProcessPriority=1
  TracksHotKey={F4}
  TracksHotVal=+{F5}
  SaveTracksCuesheets=1
  ImageHotKey={F10}
  ImageNaming=$artist$ - $album$
  Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
  Debug=0[b]
 
  Config:
  [/b][b]FLAC-Lame-image.tx[/b]t
  !Description=FLAC -5 image with -V3 new MP3
  !ImageExt=flac
  !CuesheetExt=flac.cue
  !WaveGainAnalysis=1
  !destdir1=@musicdir@\FLAC -5\$cdartist$
  !destdir2=@musicdir@\MP3 -V3 new\$cdartist$\($year$) - $album$
  !destdir3=@musicdir@\Logs
  !destdir4=@musicdir@\WAVs
 
  @encdir@\FLAC.EXE -5 -f --replay-gain "@source@" -o "@image@"
 @encdir@\TAG.EXE -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "COMMENT=@comment@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -f "CUESHEET=@cuesheet@" -f "EACLOG=@eaclog@" "@image@"
  MOVE "@eaclog@" "@destdir3@"
  MOVE "@sourcedir@\@basename@.*" "@destdir1@"
  SET trackName=$n - $~t
  IF "$cdartist$"=="Various" SET trackName=$n - $~t ($~a)
 @encdir@\ACDIR.EXE --overwrite --output "@destdir2@\%trackName%.mp3" --pipe "@encdir@\LAME.EXE -V3 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
  @encdir@\CREATE-M3U.BAT "@destdir2@" "$cdartist$ - 9$year$0 - $album$"
  REM DEL @destdir4@\"@source@"
  Everything looks like it worked except...The "Disc info" is obviously still wrong.....
 
Quote
RE: VA code:[/b] I think the only issue with the code that you highlight is, on quick inspection, it seems to me that tycho should probably be using:

Code: [Select]
$bathead = '@echo Disc info   : "' & $g_cdartist & '" - "' & $g_album & '"' & @crlf
... instead of:

Code: [Select]
$bathead = '@echo Disc info   : "' & $g_artist & '" - "' & $g_album & '"' & @crlf
... but this is purely asthetics, and doesn't affect logic at all.
...and in Foobar:
 The FLAC image loads and displays the tracks but with all the "Artist" listings being the Track 2 Artist. It is stored this way in the Metadata under properties. See below [It's not code but I wanted to use a scrolling box instead of the big window].........
 
Code: [Select]
Artist Name : Big Head Todd & The Monsters
  Track Title : Jammin' Me
  Album Title : KFOG: Live From The Archives Vol. 4
  Date : 1997
  Genre : Rock
  Album Artist : Various
  Track Number : 1
  Total Tracks : 16
  Comment : ÜberStandard - UberNet.org
  <CRC> : 00000000
  <DISCID> : E3100810
  <EACLOG> : EAC extraction logfile from 31. October 2006, 7:57 for CD (...)
  <FREEDB> : E3100810
 
  Artist Name : Big Head Todd & The Monsters
  Track Title : Please Don't Tell Her
  Album Title : KFOG: Live From The Archives Vol. 4
  Date : 1997
  Genre : Rock
  Album Artist : Various
  Track Number : 2
  Total Tracks : 16
  Comment : ÜberStandard - UberNet.org
  <CRC> : 00000000
  <DISCID> : E3100810
  <EACLOG> : EAC extraction logfile from 31. October 2006, 7:57 for CD (...)
  <FREEDB> : E3100810
The MP3 tracks display ok but the Metadata does not list an "Album Artist" at all.
 
Code: [Select]
Artist Name : Tom Petty & The Heartbreakers
  Track Title : Jammin' Me
  Album Title : KFOG: Live From The Archives Vol. 4
  Date : 1997
  Genre : Rock
  Composer:
  Performer:
  Album Artist:
  Track Number : 1
  Total Tracks : 
  Disc Number : 
  Total Discs : 
  Comment : AG applied: -8.48 dB
  <ENCODING SETTINGS> : LAME v3.97
 
Artist Name : Big Head Todd & The Monsters
  Track Title : Please Don't Tell Her
  Album Title : KFOG: Live From The Archives Vol. 4
  Date : 1997
  Genre : Rock
  Composer:
  Performer:
  Album Artist:
  Track Number : 2
  Total Tracks : 
  Disc Number : 
  Total Discs : 
  Comment : AG applied: -8.48 dB
  <ENCODING SETTINGS> : LAME v3.97
I can live with the MP3's but would adding another comment tag for CD Artist in the Lame.exe string of the config. take care of this. [I still don't know much about tagging but am working on it].
 
 I would hate to have to retag all the FLAC metadata track by track, is there such a thing as CD Artist in Vorbis? If so, would adding this to the Tag.exe string of the config help with this?
 
Quote
With regard to the VA code, given my recent findings (they may not be findings to tycho, but they were to me!), I think the easiest solution may be to simply use:

Code: [Select]
; VA album?

If StringLeft($CmdLine[2], 7) == "Various" Then
  $g_cdartist = "Various"
  $g_cdartist_fn = "Various"
  $g_various = 1
Else
  $g_cdartist = $g_artist
  $g_cdartist_fn = $g_artist_fn
EndIf
It will mess up if an individual artist has a name beginning "Various", but (a) it seems to me that this will occur far fewer times than the issues at the moment and (b) EAC basically does this, so it's simply following suit. If an individual artist had a name beginning "Various" EAC would mark it as a VA album (check the VA checkbox) anyway!
This is over my head but I'm really trying to learn. What would this address? It seems like it would would use the Artist field and make CD Artist the same if it is not a Various. Would you not use the Basename for comparison? Since it looks like Basename is taken from the .wav, would this change the need for $artist$" to start the  ImageNaming string? Would changing the $artist$ introduce a loop? I only see $artist$ used later in the "Disc info" line and it seems that would be easier to change using your first example.
 
  I'm so close to getting it set up the way I was hoping.
  Thanks to you and Tycho for all your help.
  Hopefully my future posts will be much shorter and more explicit.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-31 20:00:53
You are tagging the FLAC image with "ARTIST=@artist@".  foobar will use this over the cuesheet entries.  I would use "ARTIST=@cdartist@", or leave it (and the other tags) off altogether and let the cuesheet do the work.

As I posted a little way back, EAC will pass the track 2 artist as @artist@ for an image for some reason.

It's possible you got this from my config (can't remember what I use) but I'm afraid I have so few VA albums, and my image is for archive only, I haven't noticed this issue.  Sorry for the confusion if so.

Edit: I see I am actually using -w "ARTIST=@cdartist@".  This would still cause problems with foobar 0.9 it seems, but as I say, I've never seen this issue as I just archive the image.  It seems the most sensible move would be to just not set that tag at all, or even use a different command depending whether the album is VA, e.g.:

Code: [Select]
IF [@cdartist@] EQU [Various] (
  @encdir@\TAG.EXE -t  "ALBUM=@album@" -t "YEAR=@year@" -t "GENRE=@genre@" -t  "COMMENT=@comment@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -f  "CUESHEET=@cuesheet@" -f "EACLOG=@eaclog@" "@image@"
) ELSE (
  @encdir@\TAG.EXE -t "ARTIST=@artist@" -t  "ALBUM=@album@" -t "YEAR=@year@" -t "GENRE=@genre@" -t  "COMMENT=@comment@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -f  "CUESHEET=@cuesheet@" -f "EACLOG=@eaclog@" "@image@"
)
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-10-31 21:31:32
This is over my head but I'm really trying to learn. What would this address? It seems like it would would use the Artist field and make CD Artist the same if it is not a Various. Would you not use the Basename for comparison? Since it looks like Basename is taken from the .wav, would this change the need for $artist$" to start the  ImageNaming string? Would changing the $artist$ introduce a loop? I only see $artist$ used later in the "Disc info" line and it seems that would be easier to change using your first example.
I really shouldn't worry about the code behind REACT as yet.  I shouldn't have posted that in my reply to you really, but I was just using the opportunity to conclude some previous work.

You're right, if the CD is not VA @artist@ and @cdartist@ will be the same, but that does make sense.  $CmdLine[2] is basically "<basename>.wav" so is virtually the same.  Using this code you'd still need to begin your image with $artist$ - as far as I can see that is the only way at the moment to check for VA albums.  Take t from me, the code is sound as it is - it is basically tycho's original, but checking for "Various" instead of "Various -".
Title: New tool: React - [Run EAC Tasks]
Post by: GIGFY on 2006-11-01 08:23:15
Synthetic Soul,
Thanks for all your input, patience, and help. I really do appreciate it. I've just been trying to work out the last few kinks in my naming configurations and tags. I certainly didn't mean to imply there were problems with Tycho's work, I was just trying to follow the logic in the code. REACT is a huge time saver and greatly appreciated. I'll try your tagging suggestions and maybe leave everything off and let foo use the cue sheet. I also want to try and find a Tag.exe and lame.exe comand line soIution in my config file. It seems like foo is getting all the info, it's just showing up in different places with the different versions of the track. I may just end up using REACT for the FLAC image and cue and then use foo to convert to mp3 and tag then.
Thanks for everything. Hopefully I won't have too many more questions.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-11-01 10:00:54
Your questions are welcome, as is your interest in the source - I just always like to go one step at a time. 

If you are happy to not embed the cuesheet and use foobar to create your MP3s then that's great.  However I would say that you are very close to doing what you originally intended.  I believe the config below would do the basics:

Code: [Select]
!Description=FLAC -5 image with -V3 new MP3
!ImageExt=flac
!CuesheetExt=flac.cue
!WaveGainAnalysis=1
!destdir1=@musicdir@\FLAC -5\$cdartist$
!destdir2=@musicdir@\MP3 -V3 new\$cdartist$\($year$) - $album$
!destdir3=@musicdir@\Logs

@encdir@\FLAC.EXE -5 -f --replay-gain "@source@" -o "@image@"
@encdir@\TAG.EXE -f "CUESHEET=@cuesheet@" -f "EACLOG=@eaclog@" "@image@"
SET trackName=$n - $~t
IF "$cdartist$"=="Various" SET trackName=$n - $~t ^($~a^)
@encdir@\ACDIR.EXE --overwrite --output "@destdir2@\%trackName%.mp3" --pipe "@encdir@\LAME.EXE -V3 --vbr-new --scale @scale@ --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} --tc $qAG applied: @gain@$q - $#o" "@sourcecuesheet@"
DEL "@source@"
MOVE "@eaclog@" "@destdir3@"
MOVE "@sourcedir@\@basename@.*" "@destdir1@"
@encdir@\CREATE-M3U.BAT "@destdir2@" "$cdartist$ - ($year$) - $album$"

Edit:  Here's a better (read "working" version of CREAT-M3U.BAT also:

Code: [Select]
@ECHO OFF
CLS

REM CREATE-M3U.BAT Written by Neil Popham, 2005 (neilpopham@bigfoot.com)

SET batchname=CREATE-M3U.BAT
SET version=1.1.0
TITLE=%batchname%, Version %version%

REM Set the name of the playlist to create in each folder
IF [%2] EQU [] (SET playlist=playlist.m3u) ELSE (SET playlist="%~2.m3u")
REM Create list of valid file extensions
SET validExtn=.mp3.mp2.mp1.mpc.mp+.mpp.ogg.aac.mac.ape.flac.fla.wv.shn.ofr.ofs.ogg.m4a.mp4

REM Add another delimiter to the end so I can search for .<ext>.
SET validExtn=%validExtn%.

REM Check a folder has been passed
IF NOT EXIST %1 GOTO NoParams
IF %~z1 GTR 0 GOTO NoParams

REM Remove all existing "playlist.m3u" files otherwise files will be appended
FOR /R %1 %%G IN (%playlist%) DO IF EXIST %%G DEL "%%G"

REM Iterate through every file and pass the path to :WriteToPlayList
FOR /R %1 %%G IN (*.*) DO CALL :WriteToPlayList "%%G" %playlist%

GOTO:EOF

REM ======================================================================
REM WriteToPlayList : Adds the file to the playlist, if the extension fits
REM : %1 The file to process
REM ======================================================================
:WriteToPlayList
REM Check that the file extension is valid
SET extn=%~x1
IF [%extn%] EQU [] GOTO:EOF
SET tmpExtn=%validExtn%
CALL SET result=%%tmpExtn:%extn%.=%%
REM If no match found in list of extensions exit function
IF [%result%] EQU [%validExtn%] GOTO:EOF
REM Escape ampersand and caret
SET tmpString="%~nx1"
SET tmpString=%tmpString:^=^^%
SET tmpString=%tmpString:&=^^^&%
REM Remove quotes
SET tmpString=%tmpString:"=%
REM Write filename to playlist
ECHO %tmpString%>>"%~dp1\%~2"
GOTO:EOF

REM =======================================
REM NoParams : a folder has not been passed
REM =======================================
:NoParams
ECHO To run this script, please pass a folder as a parameter.
ECHO.
ECHO Press any key to exit
PAUSE >NUL

REM ===============
REM Version History
REM ===============
REM 1.0.0    ----------    Initial Version
REM 1.1.0    2006-11-01    Fixed bug when hypens used.
Title: New tool: React - [Run EAC Tasks]
Post by: GIGFY on 2006-11-01 19:52:39
Thanks,

I'll give this a try tonight. I must have missed your earlier post about EAC being the cause of the 2nd track artist listed for the whole album. That explains it. As for foobar, I was just thinking that if I need it to rewrite the metadata anyway to fix the track 2 info, then I may just do a batch FLAC to mp3 conversion and metadata rewrite [or have the metadata taken from the cue sheet as per your suggestion] at the same time. It would save me a little time ripping the CD in REACT and I could just walk away during long foobar sessions.

  BTW, once I get this going, my next quest is to fully understand your .bat file. But I'll save that quest [and questions] for the future.

Thanks for all your time.


EDIT: Now that I think about it. I don't have that many VA albums. I guess I can just fix the metadata for this in foobar after the fact and get on with it.
Title: New tool: React - [Run EAC Tasks]
Post by: biggy_paul on 2006-11-02 15:47:00
Problems Ripping to FLAC images and gapless MP3 (For use on a Rockbox ipod)

I would appreciate any help. I have read through this thread and the WIKI and I am still struggling.

Am I correct in expecting REACT using the attached config and ini files to give me both FLAC images and MP3 files when I press F10?

REACT.ini

[Settings]
Config=FLAC_MP3
Version=1.0
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=C:\
encdir=C:\Program Files\REACT\Encoders
LogFile=
CodePage=1252
MinimizeCompressionWindow=0
ProcessPriority=1
TracksHotKey={F4}
TracksHotVal=+{F5}
SaveTracksCuesheets=0
ImageHotKey={F10}
ImageNaming=$artist$ - $album$
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Debug=1

FLAC_MP3-tracks.txt

!Description=Tagged FLAC and mp3 files with RG album and track tags

!destdir1=@musicdir@\My Music FLAC Images\$cdartist$ - $album$
!dest1=@musicdir@\My Music MP3\$cdartist$ - $album$\$track$ - $title$
!Various-dest1=@musicdir@\My Music MP3\$cdartist$ - $album$\$track$ - $title$ ($artist$)

!destdir2=@musicdir@\My Music MP3\$cdartist$ - $album$\$track$ - $title$

echo.> "@dest1@.tmp"
@encdir@\Tag.exe --nocheck -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.tmp"
move "@source@" "@dest1@.wav"

if @islast@==1 (
  move "@eaclog@" "@destdir1@\eaclog.txt"
  move "@trackscuesheet@.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-11-02 15:57:56
If you want FLAC image with MP3 tracks only FLAC_MP3-image.txt is relevant.  Use F10 to start, and it should do what you want.  It does for me (tested).
Title: New tool: React - [Run EAC Tasks]
Post by: mogorp on 2006-11-03 18:36:58
Some questions from a REACT novice.  I have read the forums and I think I have a decent configuration but have some questions.  I am using REACT to rip flac tracks and lame.  I am also trying to add album art to both album folders.  Below is my code.  This works 95% of the time but there are occasions when eac copies wav files and none of the encoding initiates.  I cannot find the common denominator of these events and usually, I just rip again and everything is fine.  Is there something wrong with my code?  Is there a better way to do this?

Also, are there advantages to ripping flac images? I want to be able to play flac files at home on a stereo and play mp3 at work and with a portable player.  I thought that becuase I am interested in being able to play flac tracks, it would be easier just to create these.  Is this correct.  I really appreciate the effort that goes into a project like this and the time that advanced users have given to share their knowledge. 

React.ini
Code: [Select]
[Settings]
Config=FLAC_MP3
Version=1.0
EAC=C:\Program Files\Exact Audio Copy\eac.exe -usefua
musicdir=E:\Temporary Music
encdir=C:\Program Files\REACT\Encoders
LogFile=
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
TracksHotKey={F4}
TracksHotVal=+{F5}
SaveTracksCuesheets=0
ImageHotKey={F10}
ImageNaming=$artist$ - ($year$) $album$
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Debug=0



Config
Code: [Select]
[FLAC_MP3-tracksif not "@track@"=="@numtracks@" goto end]
!Description=Tagged flac and mp3 files with RG album and track tags

!destdir1=@musicdir@\FLAC\$cdartist$\$album$
!dest1=@destdir1@\$track$ - $title$
!Various-dest1=@destdir1@\$track$ - $title$ ($artist$)

!destdir2=@musicdir@\MP3\$cdartist$\$album$

echo.> "@dest1@.flac.tmp"
@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -t "ENCODEDBY=EAC + REACT" "@dest1@.flac.tmp"
move "@source@" "@dest1@.wav"

if not "@track@"=="@numtracks@" goto end
if not exist "@eaclog@" goto end



move "@eaclog@" "@destdir1@\EAC_log.txt"

cd /d "@destdir1@"
@encdir@\Glob.exe -v -c @encdir@\flac.exe -f -5 --replay-gain *.wav
for %%i in (*.flac) do @encdir@\Tag.exe --fromfile "%%i.tmp" "%%i"
echo @encdir@\lame.exe -V0 --vbr-new --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
echo @encdir@\Tag.exe --fromfile "%%INPUT_NAME%%.flac.tmp" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
echo del "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.flac.tmp" >> encode.bat
@encdir@\WaveGain.exe -a *.wav --exec call encode.bat
del encode.bat
start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\folder.jpg"
start @encdir@\albumart.exe "@artist@" "@album@" "@destdir2@\folder.jpg"
:end
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-11-03 20:09:26
If it works most of the time then there can't really be anything wrong with your config.  I suspect that this is one of those times when the log is not getting created quick enough, but that's a total guess.  You could try amending the first few lines to the code below, to see if a two second pause solves this:

Code: [Select]
echo.> "@dest1@.flac.tmp"
@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" -t "ENCODEDBY=EAC + REACT" "@dest1@.flac.tmp"
move "@source@" "@dest1@.wav"
PING 1.1.1.1 -n 1 -w 2000 >NUL
if not "@track@"=="@numtracks@" goto end
if not exist "@eaclog@" goto end

(notice the addition of the line beginning "PING")

With regard to tracks vs image, I dug out this thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=40608).
Title: New tool: React - [Run EAC Tasks]
Post by: biggy_paul on 2006-11-04 08:31:21
If you want FLAC image with MP3 tracks only FLAC_MP3-image.txt is relevant.  Use F10 to start, and it should do what you want.  It does for me (tested).



Thanks for the confirmation that I only need to use F10.

Do you mean you tested my FLAC_MP3-image.txt and it worked?
If so what versions of EAC and React are you using?

Biggy
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-11-04 09:21:30
Yes, I tested, and it worked fine.

I am using the latest EAC, and my amended REACT, 1.0.1.
Title: New tool: React - [Run EAC Tasks]
Post by: biggy_paul on 2006-11-04 09:36:14
Yes, I tested, and it worked fine.

I am using the latest EAC, and my amended REACT, 1.0.1.


I appreciate your help in checking that. Is your amended REACT available for downloading, please?
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-11-04 09:42:18
Post #468 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=35158&view=findpost&p=442265)

This will only help if yours is a various Artists issue.  I can't remember your circumstances and I'm in a rush!

Edit: Just had a quick check and my version shouldn't solve your issues.  Your symptoms look like an issue with your track config, not your image config.  Try the image config with REACT 1.0 and see.
Title: New tool: React - [Run EAC Tasks]
Post by: mogorp on 2006-11-04 12:30:08
Synthetic soul,
Thanks for the help. So far so good.  I am ten for ten with the pause inserted. Just two more questions.  If I have a folder of wav files that didn't get encoded, is their a way to use react to get MP3 and flac files at the same time or am I better off just encoding twice using EAC.  Also, with my current setup, the eac log gets placed in my flac folder.  Is there a way to also copy this to my MP3 folder?  Thanks again.
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-11-04 19:16:21
I don't know about using REACT starting from WAVEs.

RE: Log file: try changing:

Code: [Select]
move "@eaclog@" "@destdir1@\EAC_log.txt"

... to:
Code: [Select]
copy "@eaclog@" "@destdir2@\EAC_log.txt"
move "@eaclog@" "@destdir1@\EAC_log.txt"
Title: New tool: React - [Run EAC Tasks]
Post by: sdgenxr on 2006-11-04 20:40:40
First a round of thanks to tycho and Synthetic Soul for all their hard work.

What I would like to do is archive my collection in both FLAC tracks and MP3 tracks.  The original .ini files included with REACT are a great starting point for me and have worked quite well.  My concern is that the majority of my music has tracks that blend together.  While this is not a problem with FLAC, it is with MP3.  I may have the wrong forum for this question, but thought I would post it here in hopes that I can try it myself.  As we all know MP3's have gaps that most players can overcome, but my car player can not.  In the past, and with recent searches, it has been suggested the best way around this problem is to rip the CD as an image, encode the entire image as an MP3, then slice and dice it into tracks with ACDIR.  Unfortunately I do not know how to use ACDIR.  Can someone point me in a direction that will incorporate CUE sheet integration and REACT to accomplish this?

Thanks
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-11-05 09:18:26
In the past, and with recent searches, it has been suggested the best way around this problem is to rip the CD as an image, encode the entire image as an MP3, then slice and dice it into tracks with ACDIR.
No, you are confused.  The norm is to use ACDIR on a WAVE image to create track MP3s (which is its purpose).

If you don't want gaps on your car stereo you will need to just rip to MP3 image - the cuesheet will do you no good on your car stereo so you will essentially have one big track.
Title: New tool: React - [Run EAC Tasks]
Post by: sdgenxr on 2006-11-05 20:27:27
No, you are confused.  The norm is to use ACDIR on a WAVE image to create track MP3s (which is its purpose).

If you don't want gaps on your car stereo you will need to just rip to MP3 image - the cuesheet will do you no good on your car stereo so you will essentially have one big track.

Thanks for the clarification.  I know that my car can not read a CUE sheet, but is there a program that can take CUE sheet input and cut up the mp3 image?  Or could you point me in a general direction?

Thank you
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-11-06 08:11:28
And then you're back to having track files with gaps. 

If you don't want gaps on your car stereo your only option is a single file.

If you do want to split into tracks (and therefore have gaps) you should split the WAVE image to tracks (using ACDIR), not encode the WAVE image to MP3 and then split.

NB: FYI: If you do ever need to split an MP3 using a cuesheet (never preferred over splitting a WAVE) my suggestion would be pcutmp3 (http://www.hydrogenaudio.org/forums/index.php?showtopic=35654).
Title: New tool: React - [Run EAC Tasks]
Post by: sdgenxr on 2006-11-06 16:19:34
Ahh, it is all starting to make sense to me now.  Thank you for your patience Synthetic Soul.  I have inquired about this for a very long time, but have had no one to actually discuss the merits of it with.  So I guess I will have to live with the clicks between tracks in the car. 
Thanks again.

I guess I'm off to rip my collection.
Title: New tool: React - [Run EAC Tasks]
Post by: TomGroove on 2006-11-07 09:24:05
excellent programm !! took me a while to figure things out...and I tried to create my own FLAC_Lame config, which wasn't working...

But than I saw the FLAC_MP3 txt, and I was a happy man. Thx for your efforts. 

Guess, that you have to use EAC 0.95 as I had problems with earlier versions. Does anyone know, whether I can use two version of EAC on same PC ?

and another one comes to my mind: is there a way to rip two cd's from two drives in one go ?
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2006-11-17 07:56:00
REACT 2 has been released.

Please post all responses regarding version 2 to the new REACT 2 thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=50273).

Many thanks to tycho for continuing to develop this superb ripping tool.
Title: New tool: React - [Run EAC Tasks]
Post by: Sully on 2007-03-19 03:05:05
SyntheticSoul -

After a long absence I am back!

It looks as though things have changed quite a bit in the months since I've been gone, and I wanted to know if any substantive changes have been made since you gave me your last bit of brilliance for my FLAC/MP3 setup.

Here's what you gave me previously, around Post #299: SS Files (http://www.hydrogenaudio.org/forums/index.php?showtopic=35158&st=275)


react.ini (C:\Program Files\REACT\react.ini)

Code: [Select]
[Settings]
Config=FLAC-MP3
Version=1.0
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=C:\Music
encdir=C:\Program Files\REACT\Encoders
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
TracksHotkey={F4}
ImageHotkey={F10}
ImageNaming=$artist$ - $album$
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Debug=0
TracksHotVal=+{F5}
SaveTracksCuesheets=0

FLAC-MP3-image.txt (C:\Program Files\REACT\Config\FLAC-MP3-image.txt)

Code: [Select]
!Description=FLAC image with -V2 MP3
!ImageExt=flac
!CuesheetExt=flac.cue
!destdir1=@musicdir@\FLAC\$cdartist$\$album$
!destdir2=@musicdir@\MP3\$cdartist$\$album$

@encdir@\FLAC.EXE -8 "@source@" -o "@image@"
@encdir@\TAG.EXE -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "COMMENT=@comment@" -f "CUESHEET=@cuesheet@" -f "EACLOG=@eaclog@" "@image@"
MOVE "@eaclog@" "@destdir1@"
MOVE "@sourcedir@\@basename@.*" "@destdir1@"
SET trackName=$n - $~t
IF "$cdartist$"=="Various" SET trackName=$n - $~t ($~a)
@encdir@\ACDIR.EXE --overwrite --output "@destdir2@\%trackName%.mp3" --pipe "@encdir@\LAME.EXE -V2 --vbr-new --add-id3v2 --pad-id3v2 --ignore-tag-errors --ta $#a --tl $#T --tt $#t --tn $#n --ty $#r{DATE} --tg $#r{GENRE} - $#o" "@sourcecuesheet@"
@encdir@\CREATE-M3U.BAT "@destdir2@" "$cdartist$ - $album$"
DEL "@source@"

create-m3u.bat (C:\Program Files\REACT\Encoders\create-m3u.bat)

Code: [Select]
@ECHO OFF
CLS

REM CREATE-M3U.BAT Written by Neil Popham, 2005 (neilpopham@bigfoot.com)

SET batchname=CREATE-M3U.BAT
SET version=1.0.0
TITLE=%batchname%, Version %version%

REM REM ##############################
REM PLEASE CONFIGURE THESE VARIABLES
REM REM ##############################
REM Set the name of the playlist to create in each folder
IF [%2] EQU [] (SET playlist=playlist.m3u) ELSE (SET playlist=%~2.m3u)
REM Create list of valid file extensions
SET validExtn=.mp3.mp2.mp1.mpc.mp+.mpp.ogg.aac.mac.ape.flac.fla.wv.shn.ofr.ofs.ogg.m4a.mp4
REM REM ##############################

REM Add another delimiter to the end so I can search for .<ext>.
SET validExtn=%validExtn%.

REM Check a folder has been passed
IF NOT EXIST %1 GOTO NoParams
IF %~z1 GTR 0 GOTO NoParams

REM Remove all existing "playlist.m3u" files otherwise files will be appended
FOR /R %1 %%G IN (%playlist%) DO IF EXIST %%G DEL "%%G"

REM Iterate through every file and pass the path to :WriteToPlayList
FOR /R %1 %%G IN (*.*) DO CALL :WriteToPlayList "%%G"

GOTO:EOF

REM ========================================================================
REM WriteToPlayList : Adds the file to the playlist, if the extension fits
REM : %1 The file to process
REM ========================================================================
:WriteToPlayList
REM Check that the file extension is valid
SET extn=%~x1
IF [%extn%] EQU [] GOTO:EOF
SET tmpExtn=%validExtn%
CALL SET result=%%tmpExtn:%extn%.=%%
REM If no match found in list of extensions exit function
IF [%result%] EQU [%validExtn%] GOTO:EOF
REM Escape ampersand and caret
SET tmpString="%~nx1"
SET tmpString=%tmpString:^=^^%
SET tmpString=%tmpString:&=^^^&%
REM Remove quotes
SET tmpString=%tmpString:"=%
REM Write filename to playlist
ECHO %tmpString%>>"%~dp1\%playlist%"
GOTO:EOF

REM =====================================================
REM NoParams : a folder has not been passed
REM =====================================================
:NoParams
ECHO To run this script, please pass a folder as a parameter.
ECHO.
ECHO Press any key to exit
PAUSE >NUL

I'm not sure which of the different configurations discussed on this thread since I've been gone apply to what I'm doing or not, so I thought I would ask!  The only changes I made were to make it V1 instead of V2, and I have since upgraded to LAME 3.97 and FLAC 1.1.4.

Since reloading the software and starting to run these batches again, the only real problems I have had are:

1. The WAV file that gets created during the process does not get deleted (I have to manually delete after each disc).
2.  I often don't get m3u files, despite having the create-m3u.bat file installed in the folder as described above.

If anyone has any thoughts on this (in particular how I can correct any problems or enhance this process), I would greatly appreciate the info!  Sorry for the long post.

Thanks,
Sully
Title: New tool: React - [Run EAC Tasks]
Post by: Synthetic Soul on 2007-03-19 07:29:47
Since reloading the software and starting to run these batches again, the only real problems I have had are:

1. The WAV file that gets created during the process does not get deleted (I have to manually delete after each disc).
2.  I often don't get m3u files, despite having the create-m3u.bat file installed in the folder as described above.
1. Maybe you used to get EAC to delete the WAVE (checkbox on external compresion dialogue)?
2. As per my PM, you should try create-m3u.bat 1.1.0 (http://www.hydrogenaudio.org/forums/index.php?showtopic=35158&st=475&p=445927&#entry445927).

I see no reason to change anything else (not that I've scrutinised your INI). If it worked before it should work now.

I guess I should tell you that you really should move to v2.  However, as you know, I have not yet made the switch myself.  That said, I am not getting much time to provide support on this forum at the moment anyway; you may do best to ask for help in the v2 thread switching this config to a v2 config.  I really don't think it would be much effort.