beat_loop   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/external/going-native.xtm

Implementation

;; setup the 'music' loop
(bind-func beat_loop
  (lambda (beat:Rational)
    (beginz
     (bs1.bpm (trir 150.0 3000.0 1/350))
     (nvg_clear)
     (draw_frame beat)
     (glfwSwapBuffers window)
     (play bs1 fmsynth
           (random (list 36 45 55 60 70 75 80 72 63 67))
           60 1/1
           0.1 (floor (rampr 0.0 5.0 1/291)))
     (sched bs1 (+ 1/1 beat) beat_loop:[void,Rational]*)
     void)
    void))


Back to Index

Similar Entries

  • AudioBuffer_read_looped    xtlang
  • AudioBuffer_read_looped    xtlang
  • _glib_main_loop_call    xtlang
  • _glib_main_loop_call    xtlang
  • _glib_main_loop_call    xtlang
  • _gst_main_loop_call    xtlang
  • beat_scheduler    xtlang
  • beat_test    xtlang
  • gl-loop    scheme
  • gl-loop    scheme
  • gl-loop    scheme
  • gl-loop    scheme
  • gl-loop    scheme
  • gl-loop    xtlang
  • gl-loop    xtlang
  • gl-loop    xtlang
  • gl-loop    scheme
  • gl-loop    scheme
  • gl-loop    scheme
  • gl_draw_loop    xtlang
  • gl_draw_loop    xtlang
  • gl_draw_loop    xtlang
  • gl_draw_loop    xtlang
  • gl_draw_loop    xtlang
  • gl_draw_loop    xtlang
  • gl_draw_loop    xtlang
  • gl_draw_loop    xtlang
  • gl_draw_loop    xtlang
  • gl_draw_loop    xtlang
  • gl_draw_loop    xtlang
  • gl_draw_loop    xtlang
  • gl_draw_loop    xtlang
  • gl_draw_loop    xtlang
  • glib-main-loop    scheme
  • glib-main-loop    scheme
  • glib_main_loop    xtlang
  • gst-main-loop    scheme
  • gui_render_loop    xtlang
  • impc:ir:compiler:loop    scheme
  • impc:ir:compiler:loop    scheme
  • impc:ir:compiler:while-loop    scheme
  • impc:ti:doloop    scheme
  • loop    scheme
  • loop    scheme
  • loop    scheme
  • loop    scheme
  • loop    scheme
  • loop    scheme
  • loop    scheme
  • loop    scheme
  • loop2    scheme
  • loop2    scheme
  • mainLoop    xtlang
  • mainLoop    xtlang
  • midi-loop    scheme
  • midi-loop    scheme
  • midi_read_loop    xtlang
  • my-gl-loop    xtlang
  • node_reply_loop    xtlang
  • node_reply_loop_stop    xtlang
  • nonblocking_read_loop    xtlang
  • nonblocking_read_loop    xtlang
  • nonblocking_read_loop    xtlang
  • nonblocking_read_loop    xtlang
  • nvg_draw_loop    xtlang
  • nvg_draw_loop    xtlang
  • nvg_draw_loop    xtlang
  • nvg_draw_loop    xtlang
  • onbeat?    macro
  • opengl-loop    scheme
  • opengl-loop    scheme
  • opengl-loop    scheme
  • opengl-loop    scheme
  • receiver_loop    xtlang
  • reply_loop    xtlang
  • rmap-loop-runner    macro
  • run_main_event_loop    xtlang
  • shadertoy-loop    scheme
  • xtm-setup-and-start-gl-loop    scheme