IPB

Welcome Guest ( Log In | Register )

ABC/HR for Java 0.5a released
schnofler
post Mar 6 2005, 16:47
Post #1


Java ABC/HR developer


Group: Developer
Posts: 175
Joined: 17-September 03
Member No.: 8879



I've just released a new version of ABC/HR for Java. You can get it here:

Binary
Sources

You'll need the JRE 1.5 to run this (download here).
To start the application just click the abchr.jar (on Windows) or run "java -jar abchr.jar" on a command line.

Improvements include better sound output routines, a new ABX component in ABC/HR tests and easier test setup (see next post for details).

This post has been edited by schnofler: Mar 24 2005, 10:04
Go to the top of the page
+Quote Post
 
Start new topic
Replies
lotr
post Mar 24 2005, 01:38
Post #2





Group: Members
Posts: 14
Joined: 26-February 05
Member No.: 20171



Ok, this is strange. If I install abchr on my desktop (which is in greek if this makes any difference), I get the cannot decode file error upon pressing Start Test (ABX).

If I install it on "C:\", I don't get an error message, but when I try playing the samples I hear no sound.

This is the console output for abchr installed under "C:\"

CODE
C:\ABCHR\ABCHR>java -jar abchr.jar
Exception in thread "AWT-EventQueue-0"

java.lang.IllegalArgumentException: Line
unsupported: interface SourceDataLine supporting format PCM_SIGNED

44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian, and buffers of 88200 to 88200 bytes

at com.sun.media.sound.PortMixer.getLine(Unknown Source)
at abchr.audio.PlaybackThread.play(Unknown Source)
at abchr.gui.ABXControlPanel.playA(Unknown Source)
at abchr.gui.ABXControlPanel.access$000(Unknown Source)
at abchr.gui.ABXControlPanel$1.actionPerformed(Unknown Source)
at abchr.gui.SimpleAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)



And here's console output of abchr installed on my desktop:

CODE
C:\Documents and Settings\X\Επιφάνεια εργασίας\abchr\abchr>java -jar abchr.jar
abchr.audio.DecodeFailedException: File C:\Angelic.mp3 could not be decoded.
Call to madplay failed.
at abchr.audio.SampleFactory$Decoder.process(Unknown Source)
at abchr.audio.SampleFactory.createSample(Unknown Source)
at abchr.gui.ABXPanel$SampleLoader.run(Unknown Source)
at abchr.gui.ABXPanel$4.construct(Unknown Source)
at guiutils.SwingWorker$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
javax.sound.sampled.UnsupportedAudioFileException: File C:\Angelic.mp3 could not be decoded.
Call to madplay failed.
at abchr.audio.SampleFactory.createSample(Unknown Source)
at abchr.gui.ABXPanel$SampleLoader.run(Unknown Source)
at abchr.gui.ABXPanel$4.construct(Unknown Source)
at guiutils.SwingWorker$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


madplay.exe is installed in the same directory as the file abchr.jar. I also put it inside C:\Windows\system32 which is in the PATH, but nothing changed.

This post has been edited by lotr: Mar 24 2005, 01:39
Go to the top of the page
+Quote Post

Posts in this topic
- schnofler   ABC/HR for Java 0.5a released   Mar 6 2005, 16:47
- - rjamorim   Oh my. Some new development at last Thank-you ve...   Mar 6 2005, 16:52
- - schnofler   It has been a while since I released the last vers...   Mar 6 2005, 16:55
|- - rjamorim   QUOTE (schnofler @ Mar 6 2005, 12:55 PM)Pleas...   Mar 6 2005, 17:13
|- - schnofler   QUOTE (rjamorim @ Mar 6 2005, 08:13 AM)QUOTE ...   Mar 6 2005, 17:34
- - schnofler   QUOTE (rjamorim)Any hope of adding a XML -> TXT...   Mar 6 2005, 16:57
|- - rjamorim   QUOTE (schnofler @ Mar 6 2005, 12:57 PM)Tools...   Mar 6 2005, 17:06
- - schnofler   QUOTE Hrm... it won't work with my Multiformat...   Mar 6 2005, 17:23
|- - rjamorim   QUOTE (schnofler @ Mar 6 2005, 01:23 PM)See m...   Mar 6 2005, 17:33
- - schnofler   QUOTE (rjamorim)I also noticed decrypting key file...   Mar 6 2005, 17:37
|- - rjamorim   QUOTE (schnofler @ Mar 6 2005, 01:37 PM)If yo...   Mar 6 2005, 17:42
|- - schnofler   QUOTE (rjamorim @ Mar 6 2005, 08:42 AM)I...   Mar 6 2005, 18:03
- - ff123   Very nice. I rarely hear more than a small click ...   Mar 6 2005, 18:40
- - schnofler   QUOTE (ff123)The standalone ABX module doesn't...   Mar 6 2005, 20:03
- - guruboolez   I've noticed some bugs: when I restart a te...   Mar 12 2005, 08:28
- - schnofler   Thank you very much for your extensive testing, gu...   Mar 12 2005, 16:32
- - guruboolez   I've also noticed something weird yesterday: ....   Mar 13 2005, 14:38
|- - schnofler   QUOTE (guruboolez @ Mar 13 2005, 05:38 AM)I...   Mar 13 2005, 15:32
- - cabbagerat   QUOTE (guruboolez @ Mar 13 2005, 05:38 AM)I...   Mar 13 2005, 15:10
- - lotr   I have a problem with mp3 files. It says the file ...   Mar 23 2005, 00:50
|- - Skythus   QUOTE (lotr @ Mar 22 2005, 11:50 PM)I have a ...   Mar 23 2005, 04:38
|- - schnofler   QUOTE (Skythus @ Mar 22 2005, 07:38 PM)QUOTE ...   Mar 23 2005, 18:11
- - lotr   I put madplay.exe in the abchr directory, but I st...   Mar 23 2005, 22:42
|- - schnofler   QUOTE (lotr @ Mar 23 2005, 01:42 PM)I put mad...   Mar 24 2005, 00:03
- - lotr   Ok, this is strange. If I install abchr on my desk...   Mar 24 2005, 01:38
- - guruboolez   I have the same problem. I can decode flac files w...   Mar 24 2005, 08:29
- - schnofler   QUOTE (lotr)Ok, this is strange. If I install abch...   Mar 24 2005, 10:07
- - lotr   Thank you Schnofler! It works fine now. The se...   Mar 24 2005, 13:44
- - ff123   schnofler: http://www.hydrogenaudio.org/forums/in...   Mar 24 2005, 15:45
- - guruboolez   mp3 decoding works correctly now. There's sti...   Mar 30 2005, 20:36
- - schnofler   Yes, I saw that bug before. Another solution is to...   Mar 30 2005, 21:03
- - rjamorim   Hey, schnofler So, any news? Is it stable enough ...   Jun 2 2005, 04:19
- - guruboolez   I've a problem with alpha5. I've recently ...   Jun 22 2005, 11:27


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: 27th August 2014 - 20:16