IPB

Welcome Guest ( Log In | Register )

3 Pages V   1 2 3 >  
Reply to this topicStart new topic
Development of ABC/HR for Java, Split from "Closing listening-tests.info"
stigc
post Jan 4 2010, 22:57
Post #1





Group: Members
Posts: 142
Joined: 13-December 04
Member No.: 18660



QUOTE (Sebastian Mares @ Dec 6 2009, 22:53) *
BTW, another problem is that schnofler apparently stopped development of ABC/HR for Java, coding something in Silverlight would require an expensive IIS server, and I don't know how to program in Air or Flash or even if those would be suitable for a testing application. ABC/HR has certain limitations and bugs that I don't know how to fix. Last time it didn't work correctly with JRE 1.6 and even with JRE 1.5 it had the problem that on some machines, a click was hearable when playing certain files (it always happened for the same files).


If you have the source, i could try fix the errors and missing features.

Go to the top of the page
+Quote Post
Sebastian Mares
post Jan 4 2010, 23:34
Post #2





Group: Members
Posts: 3629
Joined: 14-May 03
From: Bad Herrenalb
Member No.: 6613



QUOTE (stigc @ Jan 4 2010, 22:57) *
QUOTE (Sebastian Mares @ Dec 6 2009, 22:53) *
BTW, another problem is that schnofler apparently stopped development of ABC/HR for Java, coding something in Silverlight would require an expensive IIS server, and I don't know how to program in Air or Flash or even if those would be suitable for a testing application. ABC/HR has certain limitations and bugs that I don't know how to fix. Last time it didn't work correctly with JRE 1.6 and even with JRE 1.5 it had the problem that on some machines, a click was hearable when playing certain files (it always happened for the same files).


If you have the source, i could try fix the errors and missing features.


Latest sources I have are from http://www.rz.uni-frankfurt.de/~bkuckuck/a...a-0.5a5-src.zip. Like I said, one problem was that ABC/HR didn't run well on JRE 1.6. I don't know exactly when the problem occurred, though - I'd have to dig it out from last listening test discussions.


--------------------
http://listening-tests.hydrogenaudio.org/sebastian/
Go to the top of the page
+Quote Post
lvqcl
post Jan 4 2010, 23:48
Post #3





Group: Developer
Posts: 3325
Joined: 2-December 07
Member No.: 49183



There's also http://www.rarewares.org/files/others/abch...va-0.5b-src.zip
Go to the top of the page
+Quote Post
Alex B
post Jan 5 2010, 00:05
Post #4





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



Hi Seb,

I think the latest/best version is actually 052b, here's the source:

http://www.rz.uni-frankfurt.de/~bkuckuck/a...a-0.52b-src.zip

I'll search for the jar application and post a link or upload it.

If I recall correctly it is possible to use the program, but not save the results on JRE 1.6.0.x. It works correctly on JRE 1.5.0.x (I have currently the last 1.5 release, 1.5.0_22 installed, but SUN has recently stopped 1.5 support.)



stigc,

After seeing your new release post I actually thought about asking if you could do something about this matter. I'd really appreciate your help. ABC/HR Java is the best comparator and probably the only one that would work in a public listening test.

(BTW, thanks for the new JavaTunes version. I'll post my comments after I have tried it. It looks promising.)

This post has been edited by Alex B: Jan 5 2010, 01:00


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
Alex B
post Jan 5 2010, 00:12
Post #5





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



I guessed the link:

http://www.rz.uni-frankfurt.de/~bkuckuck/a...-java-0.52b.zip

(wasn't difficult, just removed -src)

This post has been edited by Alex B: Jan 5 2010, 00:13


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
Alex B
post Jan 5 2010, 00:36
Post #6





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



I searched HA.

The last new features schnofler added were explained here:
http://www.hydrogenaudio.org/forums/index....st&p=382311
... and in some earlier replies in the same thread.

I also found this post, but he didn't actually post a link:
http://www.hydrogenaudio.org/forums/index....st&p=451721

I tried 0.53b: "http://user.uni-frankfurt.de/~bkuckuck/abchr-java-0.53b.zip", but it wasn't available. The web server generated this text:

QUOTE
Multiple Choices
The document name you requested (/~bkuckuck/abchr-java-0.53b.zip) could not be found on this server. However, we found documents with names similar to the one you requested.

Available documents:
/~bkuckuck/abchr-java-0.51b.zip (mistyped character)
/~bkuckuck/abchr-java-0.52b.zip (mistyped character)
Furthermore, the following related documents were found:
/~bkuckuck/abchr-java-0.4b3SE-fast.zip (common basename)
/~bkuckuck/abchr-java-0.4b4-debug.zip (common basename)
/~bkuckuck/abchr-java-0.4b4-src.zip (common basename)
/~bkuckuck/abchr-java-0.4b4.zip (common basename)
/~bkuckuck/abchr-java-0.4b4SE.zip (common basename)
/~bkuckuck/abchr-java-0.5a4.zip (common basename)
/~bkuckuck/abchr-java-0.5a4-src.zip (common basename)
/~bkuckuck/abchr-java-0.5a_retro5.zip (common basename)
/~bkuckuck/abchr-java-0.5a_retro4.zip (common basename)
/~bkuckuck/abchr-java-0.4b2-debug.zip (common basename)
/~bkuckuck/abchr-java-0.5a5-src.zip (common basename)
/~bkuckuck/abchr-java-0.52b-retro.zip (common basename)
/~bkuckuck/abchr-java-0.5a5.zip (common basename)
/~bkuckuck/abchr-java-0.5a_retro3.zip (common basename)
/~bkuckuck/abchr-java-0.5a_retro2.zip (common basename)
/~bkuckuck/abchr-java-0.5a_retro7.zip (common basename)
/~bkuckuck/abchr-java-0.5a_retro8.zip (common basename)
/~bkuckuck/abchr-java-0.5b-retro.zip (common basename)
/~bkuckuck/abchr-java-0.51b-src.zip (common basename)
/~bkuckuck/abchr-java-0.4b3-test.zip (common basename)
/~bkuckuck/abchr-java-0.51b-retro.zip (common basename)
/~bkuckuck/abchr-java-0.52b-src.zip (common basename)
/~bkuckuck/abchr-java-0.4b3.zip (common basename)
Apache Server at user.uni-frankfurt.de Port 80


This post has been edited by Alex B: Jan 5 2010, 00:51


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
stigc
post Jan 5 2010, 20:49
Post #7





Group: Members
Posts: 142
Joined: 13-December 04
Member No.: 18660



I got the code up and running. Now i need some configuration files to actual test and debug the code. Do we have the configuration from last test? http://www.listening-tests.info/mp3-128-1/

I'm not sure why this abc/hr application seems so complicated. What about adding jFLAC and encode all the samples in FLAC? To make it more user-friendly it should only contain the one screen used for comparison -> http://ff123.net/abchr/scrshot7.gif. Do we need the other screens?

Go to the top of the page
+Quote Post
lvqcl
post Jan 5 2010, 21:12
Post #8





Group: Developer
Posts: 3325
Joined: 2-December 07
Member No.: 49183



At least we need also ABX dialog box: http://ff123.net/abchr/abx2.gif
Go to the top of the page
+Quote Post
Alex B
post Jan 6 2010, 11:29
Post #9





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



QUOTE (stigc @ Jan 5 2010, 21:49) *
I got the code up and running. Now i need some configuration files to actual test and debug the code. Do we have the configuration from last test? http://www.listening-tests.info/mp3-128-1/

I think I have archived most if not all previous test materials, but I must go through some backup drives before I can say for sure.

For starters you could try Gabriel's "48kbps AAC public test". All files are still available at:
http://www.mp3-tech.org/content/?48kbps%20...20public%20test

QUOTE
I'm not sure why this abc/hr application seems so complicated. What about adding jFLAC and encode all the samples in FLAC? To make it more user-friendly it should only contain the one screen used for comparison -> http://ff123.net/abchr/scrshot7.gif. Do we need the other screens?

In the past public tests the users didn't need to configure the individual tests. The test configurations and batch files for decoding the encoded samples were prepared beforehand. Normally the samples were delivered in the original encoded format because of bandwidth limitations. In some tests certain samples were converted to a lossless format if it wasn't possible to correctly decode the files without additional proprietary software, which couldn't be included in the test package.

Regarding to the actual user interface that shows up after a test configuration is loaded, everything that is currently included is necessary, but possibly it could be improved by making changes to the layout , textual info, etc.

As lvqcl said, the ABX window is essential and I don't recall any other additional windows, except the window for saving the results. (I must check this, I have not used the program for some time.)


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
Sebastian Mares
post Jan 6 2010, 13:23
Post #10





Group: Members
Posts: 3629
Joined: 14-May 03
From: Bad Herrenalb
Member No.: 6613



The other windows are useful for the person organzing the test (creating the configs, decrypting and renaming the results, etc.).


--------------------
http://listening-tests.hydrogenaudio.org/sebastian/
Go to the top of the page
+Quote Post
stigc
post Jan 6 2010, 21:23
Post #11





Group: Members
Posts: 142
Joined: 13-December 04
Member No.: 18660



Hmmm... I took the first sample from Gabriel's "48kbps AAC public test" and everything was fine. I even installed the old jre1.6.0_07 but could not get the application to freeze. Both Win 7 and Xp.

Maybe Sebastian Mares still have the original program, sample and settings files from the listing test where the problem was discovered?
http://www.hydrogenaudio.org/forums/index....showtopic=66564
Go to the top of the page
+Quote Post
Sebastian Mares
post Jan 6 2010, 21:31
Post #12





Group: Members
Posts: 3629
Joined: 14-May 03
From: Bad Herrenalb
Member No.: 6613



Nope, nothing left. sad.gif


--------------------
http://listening-tests.hydrogenaudio.org/sebastian/
Go to the top of the page
+Quote Post
Alex B
post Jan 7 2010, 02:18
Post #13





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



I found the test stuff.

I created a zip file of the original test package from the 128 kbps MP3 test including the two first sample packages. I also included my encrypted result files of the same two samples and the key file so that you try them (the key was released after the test was finished).

I also have the rest of the sample packages, but I don't think the audio content can have anything to do with the problems. Two sets should be fine for testing the functions.

http://cid-138ca589c542aeee.skydrive.live..../128MP3test.zip (8.6 MB)

This post has been edited by Alex B: Jan 7 2010, 02:24


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
stigc
post Jan 12 2010, 23:11
Post #14





Group: Members
Posts: 142
Joined: 13-December 04
Member No.: 18660



With Java 6 update 15 on Windows XP i could reproduce the error.

For some reason the JRE hang when a static instance of type JFileChooser (the Java Open File Dialog) was used. I changed the code to always create a new instance and the problem was gone. I have uploaded a new build of abchr.jar and the changed java files. I have also changed the version number to 0.53.

http://stigc.dk/abchr.0.53.zip


Go to the top of the page
+Quote Post
C.R.Helmrich
post Jan 13 2010, 00:14
Post #15





Group: Developer
Posts: 686
Joined: 6-December 08
From: Erlangen Germany
Member No.: 64012



Sorry if this will clearly show that I know nothing about Java, but...

I only get this:

CODE
C:\Users\Christian\Desktop>java -jar abchr.jar
Exception in thread "main" java.lang.NoClassDefFoundError: com/jgoodies/looks/pl
astic/PlasticLookAndFeel
Caused by: java.lang.ClassNotFoundException: com.jgoodies.looks.plastic.PlasticL
ookAndFeel
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: abchr.gui.Main. Program will exit.


The same happens when I double-click on the jar file. Windows 7, Java 6.0 Update 17.

Chris


--------------------
If I don't reply to your reply, it means I agree with you.
Go to the top of the page
+Quote Post
rpp3po
post Jan 13 2010, 00:34
Post #16





Group: Developer
Posts: 1126
Joined: 11-February 03
From: Germany
Member No.: 4961



@C.R.Helmrich: Stigc's upload is incomplete, that might be the cause. It does not contain the needed libs. Specifically you are missing looks-1.3.1.jar. Do you get the same error for the 0.52b release? It is included there in the correct path.

Edit: Some Java 6 problems in the code seem to relate to the use of the legacy SwingWorker class. It has become core functionality of Java 6 and there were a couple of namespace issues. I'm just rewriting some parts, that are using the old code. Should be fixed soon.

This post has been edited by rpp3po: Jan 13 2010, 02:49
Go to the top of the page
+Quote Post
rpp3po
post Jan 13 2010, 01:48
Post #17





Group: Developer
Posts: 1126
Joined: 11-February 03
From: Germany
Member No.: 4961



Here you go. Attached you will find a patch against 0.52b, that fixes Java 6 issues in 4 more files. It can be compiled without Java 5 legacy workarounds now. Someone else needs to get the build system up (Ant) and produce a fresh binary package. The original author used Windows based absolute directories and I'm not willing to fiddle with that on Linux or OS X. Someone on Windows could get this running with less work.

[Edit: Please use version 0.53a below.]

Update: Integrated stigc's changes to Main and SimpleFileChooser into patch.

This post has been edited by rpp3po: Jan 29 2010, 00:32
Go to the top of the page
+Quote Post
rpp3po
post Jan 13 2010, 14:32
Post #18





Group: Developer
Posts: 1126
Joined: 11-February 03
From: Germany
Member No.: 4961



Here is a working binary! Just unzip and double-click on all platforms.

[Edit: Please use version 0.53a below.]

The issues with the build script were not due to absolute Windows paths, which are only referenced from a legacy build target, but the external libraries weren't included automatically in the target jar. I modified build.xml and manifest.txt to do that. The result is the above self-contained jar, that can be launched with a single click.

This patch consolidates all changes (stigc's, SwingWorker, build system) since 0.52b:

[Edit: Please use version 0.53a below.]

This post has been edited by rpp3po: Jan 28 2010, 18:25
Go to the top of the page
+Quote Post
Alex B
post Jan 25 2010, 07:24
Post #19





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



Thanks.

I didn't have time to try it earlier.

Saving seems to work fine, but it seems to always hang when a saved config or session is opened.

It hangs on "Loading Samples". The Please Wait message window can't be closed.



XP SP3, JRE 6u17 (6u18 has been released, but I have not installed it yet.)


EDIT

The program doesn't work on Java 5 anymore, but probably that is intentional.

During my tests I also noticed that for some reason the older version, 0.52b, started to work correctly on Java 6 after I completely uninstalled Java 5 and Java 6 and reinstalled 6u17. This was on another PC that has had the automatic Java updates enabled for years. The installed Java 5 build was not the latest because at some stage the updater started to maintain the version 6. Apparently the automatic Java updater doesn't remove the previous version when it installs a newer version and apparently that can affect the newer version's functionality.

This post has been edited by Alex B: Jan 25 2010, 07:52


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
stigc
post Jan 25 2010, 23:02
Post #20





Group: Members
Posts: 142
Joined: 13-December 04
Member No.: 18660



It first occurred to me now that rpp3po clean up restricted the version to JRE 1.6+. I think it should at least be 1.5 compatible which my build was. OS X 10.4 does not support JRE 1.6 code.

Go to the top of the page
+Quote Post
Sebastian Mares
post Jan 25 2010, 23:24
Post #21





Group: Members
Posts: 3629
Joined: 14-May 03
From: Bad Herrenalb
Member No.: 6613



Out of interest, is 10.4 still supported by Apple? Is it wide spread? Isn't it like forcing support for Windows 98 or something?


--------------------
http://listening-tests.hydrogenaudio.org/sebastian/
Go to the top of the page
+Quote Post
stigc
post Jan 26 2010, 01:23
Post #22





Group: Members
Posts: 142
Joined: 13-December 04
Member No.: 18660



Latest 10.4.11 is 2 years old.
Go to the top of the page
+Quote Post
KFal
post Jan 26 2010, 08:24
Post #23





Group: Members
Posts: 49
Joined: 6-March 09
Member No.: 67666



QUOTE (Alex B @ Jan 25 2010, 08:24) *
Saving seems to work fine, but it seems to always hang when a saved config or session is opened.

It hangs on "Loading Samples". The Please Wait message window can't be closed.


I can confirm that it hangs at this place on Java 6 update 18 on Windows 7.

Version 0.52b that Alex has posted together with two samples does not exhibit this problem. Playing the sounds work, so far I could not hear any clicks. Saving the results is also possible and the program exits cleanly after saving the session.




This post has been edited by KFal: Jan 26 2010, 08:41


--------------------
Apple Lossless
NeroAAC -q 0.5
dbPowerAmp Reference
Go to the top of the page
+Quote Post
rpp3po
post Jan 26 2010, 14:40
Post #24





Group: Developer
Posts: 1126
Joined: 11-February 03
From: Germany
Member No.: 4961



Could someone upload a session, that fails? A test session with two wav files works fine here. Additionally the program's output on the command line could help, after you have started it with "java -jar abchr.jar".

This post has been edited by rpp3po: Jan 26 2010, 14:46
Go to the top of the page
+Quote Post
KFal
post Jan 26 2010, 15:55
Post #25





Group: Members
Posts: 49
Joined: 6-March 09
Member No.: 67666



I have used the test samples and configuration from this post by Alex B. That zip file does not contain a session file, if you need this I could upload.

QUOTE (Alex B @ Jan 7 2010, 03:18) *
I created a zip file of the original test package from the 128 kbps MP3 test including the two first sample packages. I also included my encrypted result files of the same two samples and the key file so that you try them (the key was released after the test was finished).

http://cid-138ca589c542aeee.skydrive.live..../128MP3test.zip (8.6 MB)


I have unpacked the zip files contained in 128MP3test.zip in order to create the required directory structure. From there I have selected sample01.ecf which I can load and use fine in 0.52b, as stated above.

Starting up your abchr.jar gives the following error message. Nothing is added when a config is loaded and the application freezes.

Does this help?

CODE
java.io.FileNotFoundException: clicodecs.cfg (The system cannot find the file sp
ecified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at abchr.settings.DecoderSettings.<init>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at abchr.gui.ProjectFrame.<clinit>(Unknown Source)
        at abchr.gui.Main.main(Unknown Source)


--------------------
Apple Lossless
NeroAAC -q 0.5
dbPowerAmp Reference
Go to the top of the page
+Quote Post

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

 



RSS Lo-Fi Version Time is now: 23rd July 2014 - 17:54