hamming_window_func   xtlang


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

Implementation

;Generate hanning window function of buffer_size N
(bind-func hamming_window_func:[void,float*,i64]*
    (lambda (wn:float* N:i64)
      (let ((n:i64 0))
        (dotimes (n N)
          (pset! wn n (- 0.54 (* 0.46 (cos (/ (* TWOPIf (i64tof n)) (i64tof (- N 1))))))))
        (pset! wn 0 (/ (pref wn 0) 2.0))
        (pset! wn (- N 1) (/ (pref wn (- N 1)) 2.0))
        void)))


Back to Index

Similar Entries

  • GUI_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Windows-add-libdir-to-PATH    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • Windows-convert-unix-path    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • _playbin_bus_call:GstBusFunc    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mediaplayer.xtm
  • bind-func    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • bind-func-ipc    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • bind-lib-func    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • bindfunc    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/aot-compilation.xtm
  • bindfunc_with_docstring    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/aot-compilation.xtm
  • bindfunc_with_zone_size    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/aot-compilation.xtm
  • bindfunc_with_zone_size_and_docstring    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/aot-compilation.xtm
  • bitmap_from_window    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/win32.xtm
  • constrain-genericfunc    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • get_window    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/horde3d_knight.xtm
  • glfw_create_fullscreen_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_create_fullscreen_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_create_fullscreen_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_create_fullscreen_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_create_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_create_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_destroy_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_get_window_height    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_get_window_width    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_compatibility_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_compatibility_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_interaction_compatibility_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_interaction_compatibility_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_window_focus_callback:GLFWwindowfocusfun    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_window_position_callback:GLFWwindowposfun    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_window_should_close    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • gui_window_size_callback    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • half_rectangular_window_func    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • half_rectangular_window_func2    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • hamming    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • hanning_window_func    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • impc:aot:insert-generic-func    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:aot:insert-nativefunc-binding-details    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:aot:insert-polyfunc-binding-details    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:compiler:print-bind-func-details-to-log    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ir:function-calling-convention    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:function-fixup-args    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:genericfunc-match-closure-types    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ir:genericfunc-match-tuple-types    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ir:genericfunc-stringify-generic-arg-strings    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ir:genericfunc-type-setup    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ir:get-function-type-from-str    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:make-function-str    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ti:closure-or-nativefunc-exists?    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:constrain-genericfunc    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:expand-generic-type-func-gpoly-arity    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:genericfunc-apply-macros    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:genericfunc-exists?    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:genericfunc-pretty-print    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:genericfunc-src-changed    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:genericfunc-src-compiled    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:genericfunc-types    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-closure-or-nativefunc-arg-types    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-closure-or-nativefunc-docstring    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-closure-or-nativefunc-type    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-nativefunc-arg-names    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-nativefunc-arg-types    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-nativefunc-docstring    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-nativefunc-type    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-polyfunc-candidate    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-polyfunc-candidate-list    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-polyfunc-candidate-names    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-polyfunc-candidate-pretty-types    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-polyfunc-candidate-types    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-polyfunc-docstring    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:nativefunc-exists?    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:polyfunc-exists?    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:polyfunc-pretty-print    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:print-genericfunc-cache    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:print-nativefunc-cache    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:print-polyfunc-cache    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-genericfunc    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-nativefunc    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-polyfunc    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:remove-polyfunc-candidate    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:reset-genericfunc-cache    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:reset-nativefunc-cache    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:reset-polyfunc-cache    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:set-nativefunc-arg-names    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:set-nativefunc-docstring    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:set-nativefunc-type    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:simplify-genericfunc-pretty-type    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:specialize-genericfunc    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:split-namedfunc    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:unique-polyfunc-candidate    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • ipc:bind-func    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • llvm:get-native-function    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • make_window_transparent    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/win32.xtm
  • node_reply_function    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet-node.xtm
  • ocv_namedWindow    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • ocv_namedWindow    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • ocv_namedWindow    scheme    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • ocv_namedWindow1    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • ocv_namedWindow2    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • ocv_scheme_release_window    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • playbin_bus_call:GstBusFunc    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo_multi.xtm
  • rectangular_window_func    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • register-lib-func    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • remove-func    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • set_window_wndproc    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/win32.xtm
  • specialize-genericfunc    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • triangular_window_func    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • unbind-func    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • unique-func    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • unix-or-Windows    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • window_hamming    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • window_hamming    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • window_hanning    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • window_hanning    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • xtmdoc-clean-nativefunc-alist    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtmdoc-documentation-function    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtmdoc-genericfunc-handler    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtmdoc-get-xtlang-genericfunc-args    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtmdoc-nativefunc-handler    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtmdoc-polyfunc-handler    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtmdoc-scheme-function-handler    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm