i want play parts of wav file. playing first ten seconds , playing 50th-60th seconds , on. know how play entire wave file in java using start method of sourcedataline class. give me pointers how can seek particular time position audio , play it?
- find length of frame, in bytes,
audioformat - find length in bytes of second, multiplying frame size frame rate.
skip()amount of bytes.- play until 2nd number of bytes calculated using same formula.
Comments
Post a Comment