quippy-git / javamod Goto Github PK
View Code? Open in Web Editor NEWJavaMod Player
Home Page: https://quippy-git.github.io/javamod/
License: GNU General Public License v3.0
JavaMod Player
Home Page: https://quippy-git.github.io/javamod/
License: GNU General Public License v3.0
I use v2.3 (java) build my mp3 player, if use ffmpeg -vol mp3file, I always get double milliseconds, the frame_size is difference with original file, what should I do ?
When I gonna open my .xm tracker music for example, app just freezing and not responding.
Music source in attachment:
music.zip
IMPORTANT: as JDK 8 LTS support will be over in two years (security) and normal support is already over, JavaMod is now using JDK 17 (LTS). As the compile level changed, you must use JDK 17 to run JavaMod!
I don't know where you got this info, I have this from Bellsoft;
According to this information your JDK 17 has an end of support which is BEFORE end of support of JDK 8.
On linux there is immediatelly an exception when starting the program:
Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException: The system tray is not supported on the current platform.
at java.desktop/java.awt.SystemTray.getSystemTray(SystemTray.java:180)
at de.quippy.javamod.main.gui.MainForm.getTrayIcon(Unknown Source)
at de.quippy.javamod.main.gui.MainForm.initialize(Unknown Source)
at de.quippy.javamod.main.gui.MainForm.(Unknown Source)
at de.quippy.javamod.main.JavaMod$1.run(Unknown Source)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
May be the system tray is not essential for the software to run?
I was created a new project and tried this JAR as library in project, but I can't loop song:
props.setProperty(ModContainer.PROPERTY_PLAYER_ISP, ModContainer.DEFAULT_INTERPOLATION_INDEX);
props.setProperty(ModContainer.PROPERTY_PLAYER_STEREO, ModContainer.DEFAULT_CHANNEL);
props.setProperty(ModContainer.PROPERTY_PLAYER_WIDESTEREOMIX, "false");
props.setProperty(ModContainer.PROPERTY_PLAYER_NOISEREDUCTION, ModContainer.DEFAULT_NOISEREDUCTION);
props.setProperty(ModContainer.PROPERTY_PLAYER_NOLOOPS, "4"); // No loop, player stops after song end
props.setProperty(ModContainer.PROPERTY_PLAYER_MEGABASS, "false");
props.setProperty(ModContainer.PROPERTY_PLAYER_BITSPERSAMPLE, ModContainer.DEFAULT_BITSPERSAMPLE);
props.setProperty(ModContainer.PROPERTY_PLAYER_FREQUENCY, ModContainer.DEFAULT_SAMPLERATE);
props.setProperty(ModContainer.PROPERTY_PLAYER_MSBUFFERSIZE, ModContainer.DEFAULT_MSBUFFERSIZE);
props.setProperty(ModContainer.PROPERTY_PLAYER_MAXNNACHANNELS, ModContainer.DEFAULT_MAXNNACHANNELS);
I discovered public static final int PLAYER_LOOP_LOOPSONG = 0x04;
flag, that I can set from GUI via "Loop song" in "Setup..." window, but i can't even set loop via command-line:
./javamod-3.4.jar de.quippy.javamod.main.CommandLine -l4 ./TEST.XM
Also, i can't set volume in command-line:
./javamod-3.4.jar de.quippy.javamod.main.CommandLine -v0.4 ./TEST.XM
Returns:
Error occured:
java.lang.RuntimeException: Unknown parameter: v
at de.quippy.javamod.main.CommandLine.parseParameters(Unknown Source)
at de.quippy.javamod.main.CommandLine.main(Unknown Source)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.