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
  • get_display_handler    xtlang
  • homo-play-midi-note    scheme
  • homo-play-midi-note    scheme
  • mplay    macro
  • mplay    macro
  • mplayob    macro
  • mplayob    macro
  • mplayobs    macro
  • play-midi-note    scheme
  • play-midi-note    scheme
  • play-note    scheme
  • playbin_bus_call    xtlang
  • playbin_bus_call:GstBusFunc    xtlang
  • playob    macro
  • playobs    macro
  • xtm_play    xtlang
  • xtm_play    xtlang
  • xtm_play    xtlang
  • xtm_play    xtlang
  • xtm_play    xtlang
  • xtm_play_note    xtlang