IPB

Welcome Guest ( Log In | Register )

> Upload forum rules

- No over 30 sec clips of copyrighted music. Cite properly and never more than necessary for the discussion.


- No copyrighted software without permission.


- Click here for complete Hydrogenaudio Terms of Service

jLossyWav, implementation of lossyWav in Java
[JAZ]
post Dec 1 2008, 23:44
Post #1





Group: Members
Posts: 1778
Joined: 24-June 02
From: Catalunya(Spain)
Member No.: 2383



This is the initial implementation of the lossyWav algorithm in Java.

It is based on the C# port, and doesn't provide yet most of the parameters ( it only accepts the -q parameter).

To execute it: java -jar jLossyWav.jar -q 5.0 inputFile.wav.


The sources are included inside the .jar file. They can be seen with 7-Zip or be imported directly into Eclipse IDE.


[Current posted version: 0.5.1]

This post has been edited by greynol: Jul 6 2009, 20:54
Reason for edit: Updated current version number

Attached File(s)
Attached File  jLossyWav.zip ( 84.9K ) Number of downloads: 187
 
Go to the top of the page
+Quote Post
 
Start new topic
Replies
jido
post Jan 24 2009, 01:32
Post #2





Group: Members
Posts: 246
Joined: 10-February 04
From: London
Member No.: 11923



I had to recompile because of this error:
CODE
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    at org.lossywav.dsp.InplaceFFT.<clinit>(InplaceFFT.java:48)
    at org.lossywav.algorithm.Analyzer.<init>(Analyzer.java:103)
    at org.lossywav.algorithm.LossyWav.<init>(LossyWav.java:53)
    at org.lossywav.frontend.jLossyWavConsole.main(jLossyWavConsole.java:60)

I had to remove the invalid @Override in ComplexArrayBuffer.java and DoubleArrayBuffer.java for compiling too.
After that it seems to work smile.gif

Bugs found: does not accept mono files. Does not work properly with the following file (sample rate 22kHz)-
Attached File  spr_ouch.wav ( 30.6K ) Number of downloads: 192
Go to the top of the page
+Quote Post

Posts in this topic


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: 30th August 2014 - 09:43