samp_io function

Read and write ProTracker audio samples