play   macro


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm

Implementation

;; the play macro
(macro (play args)
       (if (symbol? (cadr args))
           `(play-note (*metro* beat) ,(cadr args) ,(caddr args) ,(cadddr args) (*metro* 'dur ,(car (cddddr args)))
                       ,@(cdr (cddddr args)))
           `(play-note (*metro* (+ beat ,(cadr args))) ,(caddr args) ,(cadddr args) ,(car (cddddr args))
                       (*metro* 'dur ,(car (cdr (cddddr args))))
                       ,@(cddr (cddddr args)))))


Back to Index

Similar Entries

  • _playbin_bus_call:GstBusFunc    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mediaplayer.xtm
  • get_display_handler    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • homo-play-midi-note    scheme    /digego/extempore/tree/v0.8.9/libs/contrib/rtmidi-scm.xtm
  • homo-play-midi-note    scheme    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • mplay    macro    /digego/extempore/tree/v0.8.9/libs/contrib/rtmidi-scm.xtm
  • mplay    macro    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • mplayob    macro    /digego/extempore/tree/v0.8.9/libs/contrib/rtmidi-scm.xtm
  • mplayob    macro    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • mplayobs    macro    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • play-midi-note    scheme    /digego/extempore/tree/v0.8.9/libs/contrib/rtmidi-scm.xtm
  • play-midi-note    scheme    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • play-note    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • playbin_bus_call    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo.xtm
  • playbin_bus_call:GstBusFunc    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo_multi.xtm
  • playob    macro    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • playobs    macro    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • xtm_play    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments.xtm
  • xtm_play    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mediaplayer.xtm
  • xtm_play    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/slideshow.xtm
  • xtm_play    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo_multi.xtm
  • xtm_play    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo.xtm
  • xtm_play_note    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments.xtm