📄 musicdata.html
字号:
Returns the stuffed QuickTime extended music event at the specified number of ints into the MusicData.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#markerSubtype(int)">markerSubtype</A></B>(int x)</CODE><BR> Given a stuffed big-endian order QuickTime music event this method will extract the marker's sub type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#markerValue(int)">markerValue</A></B>(int x)</CODE><BR> Given a stuffed big-endian order QuickTime music event this method will extract the marker's value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#noteDuration(int)">noteDuration</A></B>(int x)</CODE><BR> Given a stuffed big-endian order QuickTime extended music event this method will extract the note duration.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#notePitch(int)">notePitch</A></B>(int x)</CODE><BR> Given a stuffed big-endian order QuickTime extended music event this method will extract the note pitch.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#noteVelocity(int)">noteVelocity</A></B>(int x)</CODE><BR> Given a stuffed big-endian order QuickTime extended music event this method will extract the note velocity.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#part(int)">part</A></B>(int x)</CODE><BR> Given a stuffed big-endian order QuickTime music event this method will extract the part number.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#restDuration(int)">restDuration</A></B>(int x)</CODE><BR> Given a stuffed big-endian order QuickTime extended music event this method will extract the rest duration.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#setAtomicInstrument(int, int, quicktime.std.music.AtomicInstrument)">setAtomicInstrument</A></B>(int offset, int partNumber, <A HREF="../../../quicktime/std/music/AtomicInstrument.html">AtomicInstrument</A> ai)</CODE><BR> Copies the AtomicInstrument data to the specified offset (numer of ints) into the MusicData.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#setMusicEvent(int, int)">setMusicEvent</A></B>(int offset, int musicData)</CODE><BR> Sets the big endian ordered stuffed QuickTime music event at the specified number of ints into the MusicData.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#setNoteRequest(int, int, quicktime.std.music.NoteRequest)">setNoteRequest</A></B>(int offset, int partNumber, <A HREF="../../../quicktime/std/music/NoteRequest.html">NoteRequest</A> nr)</CODE><BR> Copies the NoteRequest data to the specified offset (numer of ints) into the MusicData.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#setSize(int)">setSize</A></B>(int newSize)</CODE><BR> Resets the size of the MusicData object to the new size (in bytes).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#setXMusicEvent(int, long)">setXMusicEvent</A></B>(int offset, long musicData)</CODE><BR> Sets the stuffed QuickTime extended music event at the specified number of ints into the MusicData.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#stuffControlEvent(int, int, int)">stuffControlEvent</A></B>(int part, int control, int value)</CODE><BR> Returns an int that is the stuffed representation of the control music event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#stuffGeneralEvent_Footer(int, int)">stuffGeneralEvent_Footer</A></B>(int subType, int length)</CODE><BR> Returns an int that is the stuffed representation of the footer portion of a general music event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#stuffGeneralEvent_Header(int, int)">stuffGeneralEvent_Header</A></B>(int part, int length)</CODE><BR> Returns an int that is the stuffed representation of the header portion of a general music event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#stuffMarkerEvent(int, int)">stuffMarkerEvent</A></B>(int markerType, int markerValue)</CODE><BR> Returns an int that is the stuffed representation of the marker music event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#stuffNoteEvent(int, int, int, int)">stuffNoteEvent</A></B>(int part, int pitch, int velocity, int duration)</CODE><BR> Returns an int that is the stuffed representation of the note music event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#stuffRestEvent(int)">stuffRestEvent</A></B>(int duration)</CODE><BR> Returns an int that is the stuffed representation of the rest music event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#stuffXControlEvent(int, int, int)">stuffXControlEvent</A></B>(int part, int control, int value)</CODE><BR> Returns a long that is the stuffed representation of the extended note music event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#stuffXKnobEvent(int, int, int)">stuffXKnobEvent</A></B>(int part, int knob, int value)</CODE><BR> Returns a long that is the stuffed representation of the extended note music event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#stuffXNoteEvent(int, int, int, int)">stuffXNoteEvent</A></B>(int part, int pitch, int volume, int duration)</CODE><BR> Returns a long that is the stuffed representation of the extended note music event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#xControlController(long)">xControlController</A></B>(long x)</CODE><BR> Given a stuffed big-endian order QuickTime extended music event this method will extract the controller number.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#xControlValue(long)">xControlValue</A></B>(long x)</CODE><BR> Given a stuffed big-endian order QuickTime extended music event this method will extract the controller number.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#xKnobID(long)">xKnobID</A></B>(long x)</CODE><BR> Given a stuffed big-endian order QuickTime extended music event this method will extract the knob's value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/MusicData.html#xKnobValue(long)">xKnobValue</A></B>(long x)</CODE><BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -