Pm_Message   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm

Implementation

;;     Pm_MessageStatus(), Pm_MessageData1(), and
;;     Pm_MessageData2() extract fields from a 32-bit midi message.
;; */
(bind-alias PmMessage i32) ;; /**< see PmEvent */
;; #define Pm_Message(status, data1, data2) ((((data2) << 16) & 0xFF0000) | (((data1) << 8) & 0xFF00) | ((status) & 0xFF))
(bind-func Pm_Message
  (lambda (status:PmMessage data1:PmMessage data2:PmMessage)
    (+ (& (<< data2 16) #xFF0000)
       (& (<< data1 8) #xFF00)
       (& status #xFF))))


Back to Index

Similar Entries

  • PmBefore    xtlang
  • PmEvent_cc_p    xtlang
  • PmEvent_note_off_p    xtlang
  • PmEvent_note_on_p    xtlang
  • Pm_Event_Channel    xtlang
  • Pm_Event_Data1    xtlang
  • Pm_Event_Data2    xtlang
  • Pm_Event_Message    xtlang
  • Pm_Event_Timestamp    xtlang
  • Pm_Event_Type    xtlang
  • Pm_Message_Channel    xtlang
  • Pm_Message_Data1    xtlang
  • Pm_Message_Data2    xtlang
  • Pm_Message_Status    xtlang
  • Pm_Message_Type    xtlang
  • astra_bitmapmask_t    xtlang
  • clock-set-bpm    scheme
  • dspmt:DSPMT    xtlang
  • dspmt:DSPMT    xtlang
  • dspsum:DSPMT    xtlang
  • fleet_message_all_nodes_sync    xtlang
  • fleet_message_node_sync    xtlang
  • on_process_message_received    xtlang
  • pm_count_devices    xtlang
  • pm_create_input_stream    xtlang
  • pm_create_output_stream    xtlang
  • pm_current_time_in_ms    xtlang
  • pm_default_in    xtlang
  • pm_default_out    xtlang
  • pm_device_input_p    xtlang
  • pm_device_name    xtlang
  • pm_device_output_p    xtlang
  • pm_device_with_id    xtlang
  • pm_initialize    xtlang
  • pm_initialize    unknown
  • pm_input_device_with_name    xtlang
  • pm_output_device_with_name    xtlang
  • pm_print_devices    xtlang
  • pm_send    xtlang
  • pm_write    xtlang
  • pmap    xtlang
  • pmap_test    xtlang
  • pmap_test2    xtlang
  • rtmidi_process_message    xtlang
  • send_process_message    xtlang
  • suppress-compiler-messages    scheme
  • topclock-bpm    scheme