MidiChannelPressureMessage Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mewakili pesan MIDI yang menentukan tekanan saluran.
public ref class MidiChannelPressureMessage sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Midi.IMidiChannelPressureMessageFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MidiChannelPressureMessage final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Midi.IMidiChannelPressureMessageFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class MidiChannelPressureMessage final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Midi.IMidiChannelPressureMessageFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MidiChannelPressureMessage
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Midi.IMidiChannelPressureMessageFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MidiChannelPressureMessage
function MidiChannelPressureMessage(channel, pressure)
Public NotInheritable Class MidiChannelPressureMessage
- Warisan
- Atribut
- Penerapan
Persyaratan Windows
Rangkaian perangkat |
Windows 10 (diperkenalkan dalam 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)
|
Konstruktor
MidiChannelPressureMessage(Byte, Byte) |
Membuat objek MidiChannelPressureMessage baru. |
Properti
Channel |
Mendapatkan saluran dari 0-15 tempat pesan ini berlaku. |
Pressure |
Mendapat tekanan dari 0-127. |
RawData |
Mendapatkan array byte yang terkait dengan pesan MIDI, termasuk byte status. |
Timestamp |
Mendapatkan durasi dari kapan MidiInPort dibuat hingga pesan diterima. Untuk pesan yang dikirim ke MidiOutPort, nilai ini tidak memiliki arti. |
Type |
Mendapatkan jenis pesan MIDI ini. |