@Override
    public void run() {
        long t = System.currentTimeMillis();
        while (!salir) {
            
            if (data.size() > 0) {
                
                
                
                gui.printEcualizer(data.get(0));
                
                long n = temp.get(0);
                
                data.remove(0);
                temp.remove(0);
                
                try {
                    long espera = n - (System.currentTimeMillis() - t);
                    if (espera > 0) {
                        sleep(espera);
                    }
                } catch (InterruptedException ex) {
                    Logger.getLogger(Equalizer.class.getName()).log(Level.SEVERE, null, ex);
                }
                
            } else {
                
                try {
                    sleep(50);
                    
                } catch (InterruptedException ex) {
                    Logger.getLogger(Equalizer.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
            
        }
        
    }