Lines Matching refs:ppqn
217 def __init__ (self, ppqn=DEFAULT_PPQN, beats_per_measure=DEFAULT_BEATS_PER_MEASURE): argument
218 self.ppqn = ppqn
223 total_ticks = ticks + (total_beats * self.ppqn)
227 beats = ticks / self.ppqn
228 ticks -= beats * self.ppqn
983 tick_warning_level = stream.timebase.ppqn * LARGE_TICK_WARNING
1282 …riff_tag, self.hdr_len, self.format, self.num_tracks, self.timebase.ppqn = struct.unpack(SMF_HEADE…
1284 (riff_tag, self.hdr_len, self.format, self.num_tracks, self.timebase.ppqn))
1334 …MF_RIFF_TAG, struct.calcsize(SMF_HEADER_FMT) - 8, self.format, self.num_tracks, self.timebase.ppqn)
1435 self.ppqn = 0
1458 md.maxTicks = m.timebase.ppqn
1462 md.ppqn = m.timebase.ppqn