added some sound manipulation functions