public Part [ ] toPartsArray ( ) { Vector parts = getPartsAsRepeatedOnceVector ( ) ; Part [ ] partsArray = new Part [ parts . size ( ) ] ; for ( int i = 0 ; i < parts . size ( ) ; i ++ ) partsArray [ i ] = ( Part ) parts . elementAt ( i ) ; return partsArray ; }
Returns this multipart as an array of singles parts . The playing of the multi part would sound the same as the playing of the array of parts .