MIDI and VOC files

Hi
I’m new @ JAVA, so I have two question:

  1. Can I (and how) play MIDI from string (or byte) (I don’t have MIDI in file but @ string)
  2. Can I (and how) play VOC files?

Edit:
Ok… for 1)
InputStream is = new ByteArrayInputStream(Byte[] data);
Sequence mySeq;
mySeq = MidiSystem.getSequence(is);

  1. is unknown for me:(