Searched refs:SMF_HEADER_FMT (Results 1 - 1 of 1) sorted by relevance

/external/sonivox/jet_tools/JetCreator/
H A Dmidifile.py34 SMF_HEADER_FMT = '>4slHHH' variable
1281 bytes = self.read(struct.calcsize(SMF_HEADER_FMT))
1282 riff_tag, self.hdr_len, self.format, self.num_tracks, self.timebase.ppqn = struct.unpack(SMF_HEADER_FMT, bytes)
1291 if self.hdr_len + 8 != struct.calcsize(SMF_HEADER_FMT):
1334 bytes = struct.pack(SMF_HEADER_FMT, SMF_RIFF_TAG, struct.calcsize(SMF_HEADER_FMT) - 8, self.format, self.num_tracks, self.timebase.ppqn)

Completed in 53 milliseconds