public static void play(Resource res, boolean loop) {
	synchronized(Music.class) {
	    if(player != null)
		player.interrupt();
	    if(res != null) {
		player = new Player(res, player);
		player.loop = loop;
		player.start();
	    }
	}
    }