creating wave object from XML and drawing them to screen (for debugging)