Home
last modified time | relevance | path

Searched refs:ppqn (Results 1 – 9 of 9) sorted by relevance

/external/sonivox/jet_tools/JetCreator/
DJetSegGraph.py50 def __init__(self, sEventType, iEventId, sName, sStartMbt, sEndMbt, iStartMeasure, ppqn): argument
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 …ame, mbtFct(jet_event.event_start,1), mbtFct(jet_event.event_end,1), self.iStartMeasure, self.ppqn)
159 …_name, mbtFct(jet_event.event_end,1), mbtFct(jet_event.event_end,1), self.iStartMeasure, self.ppqn)
161 …ame, mbtFct(jet_event.event_start,1), mbtFct(jet_event.event_end,1), self.iStartMeasure, self.ppqn)
164 …IP, 0, segMarker[0], mbtFct(segMarker[1],1), mbtFct(segMarker[2],1), self.iStartMeasure, self.ppqn)
169 def AddMarker(self, sEventType, iEventId, sName, sStartMbt, sEndMbt, iStartMeasure, ppqn): argument
[all …]
DJetUtils.py609 print("ppqn: " + str(mi.ppqn))
628 ppqn = 480 variable in 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
Dmidifile.py217 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
[all …]
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_miditypes.h110 EAS_U16 ppqn; /* ticks per quarter note */ member
Deas_smf.c852 pSMFData->tickConv = (EAS_U16) (((temp * 1024) / pSMFData->ppqn + 500) / 1000); in SMF_ParseMetaEvent()
1076 pSMFData->ppqn = 192; in SMF_ParseHeader()
1080 pSMFData->ppqn = (division & 0x7fff); in SMF_ParseHeader()
1081 pSMFData->tickConv = (EAS_U16) (((SMF_DEFAULT_TIMEBASE * 1024) / pSMFData->ppqn + 500) / 1000); in SMF_ParseHeader()
/external/sonivox/arm-wt-22k/lib_src/
Deas_miditypes.h110 EAS_U16 ppqn; /* ticks per quarter note */ member
Deas_smf.c852 pSMFData->tickConv = (EAS_U16) (((temp * 1024) / pSMFData->ppqn + 500) / 1000); in SMF_ParseMetaEvent()
1080 pSMFData->ppqn = 192; in SMF_ParseHeader()
1084 pSMFData->ppqn = (division & 0x7fff); in SMF_ParseHeader()
1085 pSMFData->tickConv = (EAS_U16) (((SMF_DEFAULT_TIMEBASE * 1024) / pSMFData->ppqn + 500) / 1000); in SMF_ParseHeader()
/external/sonivox/arm-fm-22k/lib_src/
Deas_miditypes.h110 EAS_U16 ppqn; /* ticks per quarter note */ member
Deas_smf.c852 pSMFData->tickConv = (EAS_U16) (((temp * 1024) / pSMFData->ppqn + 500) / 1000); in SMF_ParseMetaEvent()
1076 pSMFData->ppqn = 192; in SMF_ParseHeader()
1080 pSMFData->ppqn = (division & 0x7fff); in SMF_ParseHeader()
1081 pSMFData->tickConv = (EAS_U16) (((SMF_DEFAULT_TIMEBASE * 1024) / pSMFData->ppqn + 500) / 1000); in SMF_ParseHeader()