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
  • LR_combine    xtlang
  • LR_to_MS_2_channels    xtlang
  • LR_to_MS_3_channels    xtlang
  • MS_to_LR_2_channels    xtlang
  • MS_to_LR_3_channels    xtlang
  • Widget_set_split    xtlang
  • Widget_split    xtlang
  • Widget_split_horizontal_p    xtlang
  • Widget_split_vertical_p    xtlang
  • Widget_swap_split_orientation    xtlang
  • aiProcess_SplitByBoneCount    scheme
  • aiProcess_SplitLargeMeshes    scheme
  • impc:compiler:print-already-bound-error    scheme
  • impc:ir:split-and-decode-poly-adhoc-name    scheme
  • impc:ti:split-namedfunc    scheme
  • impc:ti:split-namedtype    scheme
  • nth_tailr    xtlang
  • regex:type-split    scheme
  • regex_split    xtlang
  • regex_split    xtlang
  • split-by    scheme
  • split-clock-time    scheme
  • splitjoin    xtlang