LR_split   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm

Implementation

;This function separates even and odd elements of a vector.
(bind-func LR_split:[void,float*,float*,float*,i64]*
  (lambda (frame:float* left:float* right:float* buffer_size:i64)
    (let ((n:i64 0))
      (dotimes (n (/ buffer_size 2))
        (pset! left n (pref frame (* 2 n)))
        (pset! right n (pref frame (+ (* 2 n) 1))))
      void)))


Back to Index

Similar Entries

  • CmulR    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • LR_combine    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • LR_to_MS_2_channels    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • LR_to_MS_3_channels    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • MS_to_LR_2_channels    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • MS_to_LR_3_channels    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • Widget_set_split    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_split    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_split_horizontal_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_split_vertical_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_swap_split_orientation    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • aiProcess_SplitByBoneCount    scheme    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • aiProcess_SplitLargeMeshes    scheme    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • impc:compiler:print-already-bound-error    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ir:split-and-decode-poly-adhoc-name    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ti:split-namedfunc    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:split-namedtype    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • nth_tailr    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex:type-split    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • regex_split    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_split    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • split-by    scheme    /digego/extempore/tree/v0.8.9/examples/contrib/word_count.xtm
  • split-clock-time    scheme    /digego/extempore/tree/v0.8.9/libs/core/toplap_clock.xtm
  • splitjoin    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/stream.xtm