InputSoundFile.seek

Change the current read position to the given time offset.

Using a time offset is handy but imprecise. If you need an accurate result, consider using the overload which takes a sample offset.

If the given time exceeds to total duration, this function jumps to the end of the sound file.

  1. void seek(long sampleOffset)
  2. void seek(Time timeOffset)
    class InputSoundFile
    void
    seek
    ()

Parameters

timeOffset Time

Time to jump to, relative to the beginning

Meta