hsdif-0.11: Haskell SDIF

Sound.SDIF.Byte.Frame

Description

Byte level SDIF frame data structure.

Synopsis

Documentation

is_frame_b :: ByteString -> BoolSource

Data integrity check for SDIF frame data stream.

frame_b_type :: ByteString -> StringSource

Extract type string from SDIF frame byte stream.

frame_b_size :: ByteString -> IntSource

Extract size from SDIF frame byte stream.

frame_b_time :: ByteString -> DoubleSource

Extract time stamp from SDIF frame byte stream.

frame_b_id :: ByteString -> IntSource

Extract identifier from SDIF frame byte stream.

frame_b_matrices :: ByteString -> IntSource

Extract matrix count from SDIF frame byte stream.

frame_b_data :: ByteString -> ByteStringSource

Extract frame data segment from SDIF frame byte stream.

frame_b_matrix_i :: ByteString -> [(Int, Int)]Source

Extract frame matrix (start,end) indices from SDIF frame byte stream.