transition between animated gifs and audio in processing from arduino