I wanted to implement some music into my game, and everything actually works, but when I start the programm it takes about 12 seconds until the standard grey background disappears, and I keep getting the following message in my code. Why does that happen?
Okt 27, 2018 5:20:49 PM com.jsyn.devices.javasound.JavaSoundAudioDevice <init> INFORMATION: JSyn: default output latency set to 80 msec for Windows 10 Okt 27, 2018 5:20:49 PM com.jsyn.engine.SynthesisEngine start INFORMATION: Pure Java JSyn from www.softsynth.com, rate = 44100, RT, V16.8.0 (build 463, 2017-10-16) Okt 27, 2018 5:20:58 PM com.jsyn.engine.SynthesisEngine$EngineThread run INFORMATION: JSyn synthesis thread in finally code.
This is my code:
import processing.sound.*; SoundFile laserSound; SoundFile music; laserSound = new SoundFile(this, "laser.mp3"); music = new SoundFile(this, "music.mp3"); music.play();
Also I’m new here so it’s probably something stupid