sound .time .seek  (  Channel ,  Time ,  Mode  )  
                                     
Description :

This instruction jumps to a particular timeframe in the currently-playing audio file.

Parameters :

  • ObjectID of the sound object or Channel:
    CHANNEL_1
    CHANNEL_2
    CHANNEL_3
    CHANNEL_4
    CHANNEL_5
    CHANNEL_6
    CHANNEL_7
    CHANNEL_8
    CHANNEL_9
    CHANNEL_10
    CHANNEL_11
    CHANNEL_12
    CHANNEL_13
    CHANNEL_14
    CHANNEL_15
  • Time (expressed in seconds).
  • SEEK_SET (default)
    SEEK_FROM_CURRENT (Seeks from the current position of the sound)
    SEEK_FROM_END (Seeks from the end of the sound. The result will therefore have a negative value, such as -10 seconds)

Notes :


You should avoid this instruction when streaming an audio file because Alambik may try to jump to a time which has not yet been streamed in.

Examples :