added funciton to split audio in pieces