Comments (8)
Hello! Can you try converting the audio? You are supposed to put it in the address /.GlobalQuakeData/sounds (that folder is created when you run GlobalQuake for the first time), the audio format should be .wav, so you can look for a way to convert .mp3 to .wav effectively :)
from globalquake.
but the sounds are in the .wav format already
➜ Downloads l .GlobalQuakeData/sounds
total 2.6M
drwxr-xr-x 1 sxing sxing 296 Apr 5 14:35 .
drwxr-xr-x 1 sxing sxing 32 Apr 5 14:35 ..
-rw-r--r-- 1 sxing sxing 167K Apr 5 14:35 countdown.wav
-rw-r--r-- 1 sxing sxing 192K Apr 5 14:35 eew_warning.wav
-rw-r--r-- 1 sxing sxing 192K Apr 5 14:35 felt_strong.wav
-rw-r--r-- 1 sxing sxing 539K Apr 5 14:35 felt.wav
-rw-r--r-- 1 sxing sxing 195K Apr 5 14:35 found.wav
-rw-r--r-- 1 sxing sxing 175K Apr 5 14:35 intensify.wav
-rw-r--r-- 1 sxing sxing 148K Apr 5 14:35 level_0.wav
-rw-r--r-- 1 sxing sxing 238K Apr 5 14:35 level_1.wav
-rw-r--r-- 1 sxing sxing 189K Apr 5 14:35 level_2.wav
-rw-r--r-- 1 sxing sxing 130K Apr 5 14:35 level_3.wav
-rw-r--r-- 1 sxing sxing 192K Apr 5 14:35 level_4.wav
-rw-r--r-- 1 sxing sxing 361 Apr 5 14:35 README.txt
-rw-r--r-- 1 sxing sxing 192K Apr 5 14:35 update.wav
➜ Downloads
from globalquake.
Also, I can play the .wav file manually with vlc.
from globalquake.
Try reconverting them again with online tools, it sees that the files use 48000Hz but your Java is unable to read them
from globalquake.
Sorry I don't get you. How do I convert them again? They are originally wav files. I ran the jar with java -jar GlobalQuake-v0.11.0_pre-1.jar
.
I'm trying to reduce the sample rate.
from globalquake.
I'm trying to reduce the sample rate.
not working after converting to 44100Hz
➜ Downloads java -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=23333 -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=23333 -jar GlobalQuake-v0.11.0_pre-1.jar
[16:07:50] WARN: globalquake.core.exception.FatalIOException: Failed to load sound: update.wav
at globalquake.sounds.GQSound.load(GQSound.java:103)
at globalquake.sounds.Sounds.loadSounds(Sounds.java:90)
at globalquake.sounds.Sounds.load(Sounds.java:119)
at globalquake.ui.client.MainFrame.initAll(MainFrame.java:91)
at globalquake.ui.client.MainFrame.lambda$new$0(MainFrame.java:64)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
at java.desktop/com.sun.media.sound.DirectAudioDevice$DirectDL.implOpen(DirectAudioDevice.java:484)
at java.desktop/com.sun.media.sound.DirectAudioDevice$DirectClip.implOpen(DirectAudioDevice.java:1241)
at java.desktop/com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:115)
at java.desktop/com.sun.media.sound.DirectAudioDevice$DirectClip.open(DirectAudioDevice.java:1038)
at java.desktop/com.sun.media.sound.DirectAudioDevice$DirectClip.open(DirectAudioDevice.java:1134)
at globalquake.sounds.GQSound.load(GQSound.java:100)
... 9 more
from globalquake.
That's strange
from globalquake.
Please ask if you need any information.
from globalquake.
Related Issues (20)
- Playground mode have no channels HOT 1
- Null Pointer Exception: Cannot read field "quality" because "hypocenter" is null HOT 1
- Unavailable stations in Slovenia, Bosnia and also all AM Raspberryshake HOT 2
- Change the colours of the stations HOT 1
- Playground mode earthquake shows in history
- GlobalQuake uses one core at a time HOT 2
- No earthquakes archived HOT 2
- Add the ability to use launch flags HOT 1
- On Windows must be "unblocked" first... HOT 1
- Oops! Something has gone tterribly wrong inside GlobalQuake HOT 1
- v10.1 on Windows 10 shows no date-time and map not updating HOT 16
- GlobalQuakeServer sends duplicate packets after restart
- SOME STATION RESTRICTED HOT 1
- Settings & Calibration Suddenly Broken HOT 2
- Station Connection Failures HOT 4
- (pseudo) Issue - Playground mode stations far too sensitive. HOT 2
- STATION ITALY HOT 4
- the server eew.yacineboussoufa.it.eu.org is still working? HOT 1
- What do the values shown under each station mean? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from globalquake.