audiofile_16bitPCM_to_sample_be   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm

Implementation

(bind-func audiofile_16bitPCM_to_sample_be
  (let ((range (i64tod (<< 1 16))))
    (lambda (src:i8* dest:SAMPLE* nsamp)
      (doloop (i nsamp)
        (pset! dest i (dtof (/ (i16tod (swapi16 (pref (cast src i16*) i))) range)))))))


Back to Index

Similar Entries

  • BTree_walk_postorder    xtlang
  • LEGATO_OFF    scheme
  • LEGATO_ON    scheme
  • LFO_OPT_FRQ_TO_AMP    scheme
  • LFO_OPT_FRQ_TO_FRQ    scheme
  • LR_to_MS_2_channels    xtlang
  • LR_to_MS_3_channels    xtlang
  • MS_to_LR_2_channels    xtlang
  • MS_to_LR_3_channels    xtlang
  • PaDeviceInfo_toString    xtlang
  • PaHostApiInfo_toString    xtlang
  • PaHostErrorInfo_toString    xtlang
  • PaStreamCallbackTimeInfo_toString    xtlang
  • PaStreamInfo_toString    xtlang
  • PaStreamParameters_toString    xtlang
  • PmBefore    xtlang
  • VtoPtr    xtlang
  • Widget_button    xtlang
  • Widget_button    xtlang
  • Widget_button_c    xtlang
  • Widget_find_postorder    xtlang
  • Widget_walk_postorder    xtlang
  • Windows-add-libdir-to-PATH    scheme
  • add_the_button    xtlang
  • add_the_button    xtlang
  • add_the_button    xtlang
  • add_the_button    xtlang
  • add_the_radio_button    xtlang
  • ai_color4_to_float4    xtlang
  • ai_matrix4_to_float    xtlang
  • anyatom->string    scheme
  • astra_stop    xtlang
  • atom?    scheme
  • audiofile_16bitPCM_to_sample_le    xtlang
  • audiofile_24bitPCM_to_sample_be    xtlang
  • audiofile_24bitPCM_to_sample_le    xtlang
  • audiofile_aiff_read_samples    xtlang
  • audiofile_copy_samples    xtlang
  • audiofile_float_to_sample_be    xtlang
  • audiofile_float_to_sample_le    xtlang
  • audiofile_read_samples    xtlang
  • audiofile_wave_read_samples    xtlang
  • beat_loop    xtlang
  • beat_scheduler    xtlang
  • beat_test    xtlang
  • bench    scheme
  • benchmark    macro
  • bind-data-constructors    scheme
  • bind-data-deconstructors    scheme
  • bind-data-deconstructors-macros    scheme
  • bind-data-type-constructor    scheme
  • bind_cube    xtlang
  • bottom    xtlang
  • cart_to_pol    xtlang
  • cart_to_pol    xtlang
  • cart_to_pol    xtlang
  • cart_to_pol    xtlang
  • cart_to_pol2    xtlang
  • cas-xtm-to-string    scheme
  • cerberus-load-preset    scheme
  • cerberus-load-state    scheme
  • cerberus-reset    scheme
  • cerberus-save-preset    scheme
  • cerberus_amp_pitch_env_cc    xtlang
  • cerberus_cc    xtlang
  • cerberus_create_lfos    xtlang
  • cerberus_delay_cc    xtlang
  • cerberus_extras_cc    xtlang
  • cerberus_filter_cc    xtlang
  • cerberus_filter_env_cc    xtlang
  • cerberus_flanger_cc    xtlang
  • cerberus_frq_from_val    xtlang
  • cerberus_fx    xtlang
  • cerberus_get_filtertype    xtlang
  • cerberus_get_lfo_waveform    xtlang
  • cerberus_get_mod_matrix    xtlang
  • cerberus_get_noisetype    xtlang
  • cerberus_get_waveform    xtlang
  • cerberus_get_wt_expr    scheme
  • cerberus_lfo1_cc    xtlang
  • cerberus_lfo2_cc    xtlang
  • cerberus_lfo3_cc    xtlang
  • cerberus_lfo4_cc    xtlang
  • cerberus_logRamp    xtlang
  • cerberus_main_cc    xtlang
  • cerberus_matrix_cc    xtlang
  • cerberus_moog_ladder_inlined    xtlang
  • cerberus_note    xtlang
  • cerberus_octave_from_val    xtlang
  • cerberus_osc1_cc    xtlang
  • cerberus_osc2_cc    xtlang
  • cerberus_osc3_cc    xtlang
  • cerberus_osc4_cc    xtlang
  • cerberus_remove_file    xtlang
  • cerberus_reset    xtlang
  • cerberus_reset_lfos    xtlang
  • cerberus_reverb_cc    xtlang
  • cerberus_set_mod_matrix    xtlang
  • cerberus_sub_noise_cc    xtlang
  • check-token    scheme
  • cl:atom?    scheme
  • cl:member-if    scheme
  • clean-cube    xtlang
  • clear-sampler    scheme
  • clear_sample_data_    xtlang
  • clock->samples    scheme
  • constructor-name-and-type    scheme
  • cpBBExpand    xtlang
  • cpClosestPointOnSegment    xtlang
  • cpvtoangle    xtlang
  • create_shadertoy_shader    xtlang
  • cube_whole    xtlang
  • curl_setopts_authenticate    xtlang
  • curl_setopts_basic    xtlang
  • curl_setopts_header    xtlang
  • custom-match    scheme
  • deconstructor-name-and-type    scheme
  • degToRad    xtlang
  • draw-skeleton    xtlang
  • dv_draw_axis_labels_2D    xtlang
  • f4ToArray    xtlang
  • factor    macro
  • factorial    scheme
  • factorize-scheme    scheme
  • fill_direction_vector    xtlang
  • fill_direction_vector    xtlang
  • first_n_weird_numbers    xtlang
  • fleet_connect_to_nodes    xtlang
  • fluid-cube-add-density    xtlang
  • fluid-cube-add-density    xtlang
  • fluid-cube-add-velocity    xtlang
  • fluid-cube-add-velocity    xtlang
  • fluid-cube-create    xtlang
  • fluid-cube-create    xtlang
  • fluid-cube-get-column    xtlang
  • fluid-cube-get-first-column    xtlang
  • fluid-cube-get-first-row    xtlang
  • fluid-cube-get-last-column    xtlang
  • fluid-cube-get-last-row    xtlang
  • fluid-cube-get-row    xtlang
  • fluid-cube-set-column    xtlang
  • fluid-cube-set-first-column    xtlang
  • fluid-cube-set-first-row    xtlang
  • fluid-cube-set-last-column    xtlang
  • fluid-cube-set-last-row    xtlang
  • fluid-cube-set-row    xtlang
  • fluid-step-cube    xtlang
  • fluid-step-cube    xtlang
  • fluid_cube_add_density    xtlang
  • fluid_cube_add_velocity    xtlang
  • fluid_cube_create    xtlang
  • fluid_step_cube    xtlang
  • generic-member    scheme
  • get-fluid-cube    xtlang
  • get-fluid-cube-1    xtlang
  • get-fluid-cube-2    xtlang
  • get_LCG_Pseudorandom_Number    xtlang
  • get_fluid_cube    xtlang
  • get_touch_id    xtlang
  • get_touch_x    xtlang
  • get_touch_y    xtlang
  • ghttp_copy_request_body_into_buffer    xtlang
  • give-token    scheme
  • glCube    xtlang
  • glfw_mouse_button_callback:GLFWmousebuttonfun    xtlang
  • glfw_print_primary_monitor_details    xtlang
  • godot_global_get_singleton    xtlang
  • godot_variant_new_vector2    xtlang
  • godot_variant_new_vector3    xtlang
  • godot_vector2_new    xtlang
  • godot_vector2_pvar    xtlang
  • godot_vector2_set_x    xtlang
  • godot_vector2_set_y    xtlang
  • godot_vector2_var    xtlang
  • godot_vector3_new    xtlang
  • godot_vector3_pvar    xtlang
  • godot_vector3_var    xtlang
  • gui_find_leaf_postorder    xtlang
  • histogram    xtlang
  • histogram    xtlang
  • host_to_ip    xtlang
  • impc:compiler:print-bind-func-details-to-log    scheme
  • impc:compiler:print-binding-details-to-log    scheme
  • impc:compiler:print-dylib-loading-details-to-log    scheme
  • impc:compiler:print-lib-binding-details-to-log    scheme
  • impc:compiler:print-polying-details-to-log    scheme
  • impc:ir:compiler:make-vector    scheme
  • impc:ir:compiler:vector-ref    scheme
  • impc:ir:compiler:vector-set    scheme
  • impc:ir:compiler:vector-shuffle    scheme
  • impc:ir:get-type-from-pretty-vector    scheme
  • impc:ir:get-vector-type-from-str    scheme
  • impc:ir:number?    scheme
  • impc:ir:regex-structs-or-atoms    scheme
  • impc:ir:vector?    scheme
  • impc:ti:add-types-to-source    scheme
  • impc:ti:add-types-to-source-atom    scheme
  • impc:ti:begin-check    scheme
  • impc:ti:beginz    scheme
  • impc:ti:bitwise-not-to-eor    scheme
  • impc:ti:check-to-update-generic-vars    scheme
  • impc:ti:closure-is-being-compiled?    scheme
  • impc:ti:compile-type-dataconstructors    scheme
  • impc:ti:make-vector-check    scheme
  • impc:ti:numeric-cast-operator    scheme
  • impc:ti:try-to-resolve-named-types    scheme
  • impc:ti:vector-ref-check    scheme
  • impc:ti:vector-set-check    scheme
  • impc:ti:vector-shuffle-check    scheme
  • init_sample_data    xtlang
  • init_sample_data    xtlang
  • integrator_c    xtlang
  • ipc:run-active-label    scheme
  • is_touch_down    xtlang
  • is_touch_move    xtlang
  • is_touch_palm    xtlang
  • is_touch_pen    xtlang
  • is_touch_up    xtlang
  • json_obj_iterator    xtlang
  • kinect_stop    xtlang
  • list->vector    scheme
  • load-sample    scheme
  • load-sampler    scheme
  • load_cube_data    xtlang
  • make-bezier    scheme
  • make-vector-with-proc    scheme
  • mat4_to_mat3    xtlang
  • mat4_to_mat3    xtlang
  • match-number    scheme
  • match-vector    scheme
  • member    scheme
  • member    xtlang
  • member    xtlang
  • my_button_cb    xtlang
  • new_sample    xtlang
  • new_sample    xtlang
  • node_reply_loop_stop    xtlang
  • number->string    scheme
  • ocv_copyto    xtlang
  • ocv_total    xtlang
  • on_before_command_line_processing    xtlang
  • on_register_custom_schemes    xtlang
  • onbeat?    macro
  • pc:diatonic    scheme
  • pol_to_cart    xtlang
  • pol_to_cart    xtlang
  • pol_to_cart    xtlang
  • pol_to_cart    xtlang
  • pol_to_cart2    xtlang
  • rados-connect-to-cluster    xtlang
  • rados-connect-to-pool    xtlang
  • reduce-ptrdepth-to-zero    scheme
  • rtod    xtlang
  • rtof    xtlang
  • rtoi1    xtlang
  • rtoi16    xtlang
  • rtoi32    xtlang
  • rtoi64    xtlang
  • rtoi8    xtlang
  • sampler    scheme
  • sampler    scheme
  • sampler-parse-filename    scheme
  • sampler-parse-midinote-filename    scheme
  • sampler-parse-spn-filename    scheme
  • sampler-populate-slot    scheme
  • sampler-set-slot-offset    scheme
  • sampler_fx    xtlang
  • sampler_note    xtlang
  • sampler_note_linear    xtlang
  • samples->clock    scheme
  • scientific-pitch-notation-to-midi-number    scheme
  • send-skeleton-osc    xtlang
  • set_beta    xtlang
  • set_sample_data_    xtlang
  • set_sample_offset_    xtlang
  • set_sampler_audiobuffer    xtlang
  • sf_read_file_into_buffer    xtlang
  • sf_samplerate    xtlang
  • sf_samples_from_file    xtlang
  • sf_set_samplerate    xtlang
  • shadertoy-loop    scheme
  • stop    xtlang
  • stop-note    scheme
  • stop_load    xtlang
  • stop_running    xtlang
  • stop_sim    xtlang
  • store_frame_OLA    xtlang
  • store_frame_PV    xtlang
  • store_frame_iPL    xtlang
  • store_frame_sPL    xtlang
  • string->anyatom    scheme
  • string->number    scheme
  • sys:host-to-ip    scheme
  • t:number?    scheme
  • t:vector?    scheme
  • take-token    scheme
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString_help    xtlang
  • toString_help    xtlang
  • toString_help    xtlang
  • toString_return    xtlang
  • toString_space    xtlang
  • top    xtlang
  • topclock-bpm    scheme
  • topclock-election    scheme
  • topclock-receive    scheme
  • topclock-streamer    scheme
  • topclock-sync    scheme
  • topclock-variable    scheme
  • toplap-clock-election    scheme
  • toplap-clock-sync    scheme
  • tree-member    scheme
  • unbind_cube    xtlang
  • unbind_cube    xtlang
  • update_cube    xtlang
  • variable-constructor    scheme
  • vector->list    scheme
  • vector-equal?    scheme
  • vector-fill!    scheme
  • vector-test2    xtlang
  • vector_gfx:XTMRENDERCB    xtlang
  • vector_test    xtlang
  • vector_test_a    xtlang
  • with-input-output-from-to-files    scheme
  • with-output-to-file    scheme
  • world_set_to_checkerboard    xtlang
  • world_set_to_inverse    xtlang
  • xtm_add_bezier    xtlang
  • xtm_add_bezier    xtlang
  • xtm_draw_bezier_fill    xtlang
  • xtm_draw_bezier_fill    xtlang
  • xtm_draw_bezier_fill    xtlang
  • xtm_draw_bezier_fill    xtlang
  • xtm_draw_bezier_stroke    xtlang
  • xtm_draw_bezier_stroke    xtlang
  • xtm_draw_bezier_stroke    xtlang
  • xtm_draw_bezier_stroke    xtlang
  • xtm_frame_data_to_tex    xtlang
  • xtm_projecton_texture_weight    xtlang
  • xtm_stop_note    xtlang
  • xtmdoc-export-caches-to-json    scheme