/external/sonivox/jet_tools/JetCreator/ |
JetSegGraph.py | 50 def __init__(self, sEventType, iEventId, sName, sStartMbt, sEndMbt, iStartMeasure, ppqn):
64 self.ppqn = ppqn
78 pctTickOfBeat = (float(self.StartMbt[2]) / float(self.ppqn))
80 pctTickOfBeat = (float(self.EndMbt[2]) / float(self.ppqn))
148 self.ppqn = info.ppqn
157 self.AddMarker(JetDefs.E_CLIP, jet_event.event_id, jet_event.event_name, mbtFct(jet_event.event_start,1), mbtFct(jet_event.event_end,1), self.iStartMeasure, self.ppqn)
159 self.AddMarker(JetDefs.E_EOS, jet_event.event_id, jet_event.event_name, mbtFct(jet_event.event_end,1), mbtFct(jet_event.event_end,1), self.iStartMeasure, self.ppqn)
161 self.AddMarker(JetDefs.E_APP, jet_event.event_id, jet_event.event_name, mbtFct(jet_event.event_start,1), mbtFct(jet_event.event_end,1), self.iStartMeasure, self.ppqn)
[all...] |
JetUtils.py | 609 print("ppqn: " + str(mi.ppqn))
628 ppqn = 480
variable in class:MidiSegInfo.segInfo 644 IniSetValue(JetDefs.JETMIDIFILES_INI, segment.filename, "PPQN", str(mi.ppqn))
665 ppqn = IniGetValue(JetDefs.JETMIDIFILES_INI, segment.filename, "PPQN", 'int', 480)
666 if iMsPerTick == 0 or bpm == 0 or ppqn == 0:
668 tb = TimeBase(ppqn, bpm)
678 ret.ppqn = ppqn [all...] |
midifile.py | 217 def __init__ (self, ppqn=DEFAULT_PPQN, beats_per_measure=DEFAULT_BEATS_PER_MEASURE):
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
[all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
eas_miditypes.h | 110 EAS_U16 ppqn; /* ticks per quarter note */ member in struct:s_smf_data_tag
|
eas_smf.c | 857 pSMFData->tickConv = (EAS_U16) (((temp * 1024) / pSMFData->ppqn + 500) / 1000); [all...] |