osc_receive_7020   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/core/osc_101.xtm

Implementation

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; OSC messages can also be sent and received
;; using extempore lang compiled code
;;
;; a couple of things to keep in mind:
;; args is the complete list of arguments
;;
;; by default all extempore osc ints and floats
;; are 32bit (i.e. not 64bit)
;; finally, osc messages are big endian
;; so you'll likely need to swap your arguments
(bind-func osc_receive_7020
  (lambda (address:i8* types:i8* args:i8*)
    (let ((data (bitcast args i32*)))
      (printf "address:%s  type:%s arg1:%f arg2:%d\n"
        address types
        (ftod (unswap32f (pref data 0)))
        (unswap32i (pref data 1))))))


Back to Index

Similar Entries

  • PARAM_OSC1_AMP    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC1_AMP    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC1_AMP    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC1_FRQ    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC1_FRQ    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC1_FRQ    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC1_PAN    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC1_PHASE    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC1_PW    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC1_PW    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC1_PW    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC2_AMP    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC2_AMP    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC2_AMP    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC2_FRQ    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC2_FRQ    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC2_FRQ    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC2_PAN    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC2_PHASE    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC2_PW    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC2_PW    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC2_PW    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC3_AMP    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC3_AMP    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC3_FRQ    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC3_FRQ    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC3_PAN    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC3_PHASE    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC3_PW    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC3_PW    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC4_AMP    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC4_AMP    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC4_FRQ    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC4_FRQ    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC4_PAN    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC4_PHASE    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC4_PW    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_OSC4_PW    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • cerberus_osc1_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_osc2_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_osc3_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_osc4_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • clock-client-receive    scheme    /digego/extempore/tree/v0.8.9/libs/core/toplap_clock.xtm
  • clock-server-receive    scheme    /digego/extempore/tree/v0.8.9/libs/core/toplap_clock.xtm
  • dl_osc1_amp    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc1_amp    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc1_phase    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc1_phase    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc1_pitch    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc1_pitch    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc1_pw    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc1_pw    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc2_amp    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc2_amp    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc2_phase    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc2_phase    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc2_pitch    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc2_pitch    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc2_pw    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc2_pw    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • init-osc-vars    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/kinect_fire.xtm
  • io:osc:receive    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • io:osc:send    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • ipc:sync-receive    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • my_osc_send    xtlang    /digego/extempore/tree/v0.8.9/examples/core/osc_101.xtm
  • on_process_message_received    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • osc    xtlang    /digego/extempore/tree/v0.8.9/examples/core/audio_streams.xtm
  • osc    xtlang    /digego/extempore/tree/v0.8.9/examples/core/audio_streams.xtm
  • osc    xtlang    /digego/extempore/tree/v0.8.9/examples/core/audio_streams.xtm
  • osc    xtlang    /digego/extempore/tree/v0.8.9/examples/core/audio_streams.xtm
  • osc    xtlang    /digego/extempore/tree/v0.8.9/examples/core/audio_streams.xtm
  • osc-receive-7009    scheme    /digego/extempore/tree/v0.8.9/examples/core/osc_101.xtm
  • osc-receive-7019    scheme    /digego/extempore/tree/v0.8.9/examples/core/osc_101.xtm
  • osc1_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • osc2_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • osc3_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • osc4_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • oscXAnalogue_c    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue.xtm
  • osc_c    xtlang    /digego/extempore/tree/v0.8.9/examples/core/audio_101.xtm
  • osc_send_one_double    xtlang    /digego/extempore/tree/v0.8.9/libs/core/topclock.xtm
  • osc_send_two_double    xtlang    /digego/extempore/tree/v0.8.9/libs/core/topclock.xtm
  • oscv_c    xtlang    /digego/extempore/tree/v0.8.9/libs/core/vaudio_dsp.xtm
  • oscv_mc_c    xtlang    /digego/extempore/tree/v0.8.9/libs/core/vaudio_dsp.xtm
  • receive_incoming_walkers    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • receiver    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm
  • receiver_loop    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm
  • send-fluid-column-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-fluid-first-column-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-fluid-first-row-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-fluid-last-row-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-fluid-row-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-skeleton-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/kinect.xtm
  • set_dl_osc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • set_osc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • sync-server-receive    scheme    /digego/extempore/tree/v0.8.9/libs/core/toplap_clock.xtm
  • topclock-receive    scheme    /digego/extempore/tree/v0.8.9/libs/core/topclock.xtm