public boolean load(String audiofile) {

        try {

            setFilename(audiofile);
            sample = AudioSystem.getAudioInputStream(getURL(filename));
            clip.open(sample);
            return true;
        } catch (IOException e) {

            System.out.println("Error en " + e.toString());
            return false;
        } catch (UnsupportedAudioFileException e) {

            System.out.println("Error en " + e.toString());
            return false;
        } catch (LineUnavailableException e) {

            System.out.println("Error en " + e.toString());
            return false;
        }
    }