cerberus_matrix_cc   xtlang


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

Implementation

(bind-func cerberus_matrix_cc
  (lambda ()
    (let ((val 0.0:f)
          (source 0)  ;; of 4
          (target 0)) ;; of 32
      (lambda (inst offset:i32 cc:i32 value:i32)
        ;; (println 'cerberus_matrix_cc cc value)
        (set! val (/ (i32tof value) 127.0))
        (cond ((= cc (+ offset 0)) ;; mod source
               (set! source value)
               void)
              ((= cc (+ offset 1)) ;; mod target
               (set! target value)
               void)
              ((= cc (+ offset 2)) ;; set amt of modulation
               ;; (println 'setting source target val)
               (set_mod_matrix inst (% source 4) (% target 32) val)
               void))))))


Back to Index

Similar Entries

  • Cconj    xtlang
  • Ccos    xtlang
  • Ccosh    xtlang
  • Ccot    xtlang
  • Ccoth    xtlang
  • Ccsc    xtlang
  • Ccsch    xtlang
  • MCC    xtlang
  • PmEvent_cc_p    xtlang
  • ai_matrix4_to_float    xtlang
  • amp_pitch_env_cc    xtlang
  • analogue_cc    xtlang
  • analogue_get_mod_matrix    xtlang
  • analogue_set_mod_matrix    xtlang
  • call/cc    scheme
  • cc0    scheme
  • cc1    scheme
  • cc2    scheme
  • cc3    scheme
  • cc4    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_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
  • delay_cc    xtlang
  • extras_cc    xtlang
  • fill_identity_matrix    xtlang
  • fill_identity_matrix    xtlang
  • fill_orthographic_matrix    xtlang
  • fill_orthographic_matrix    xtlang
  • fill_pos_scale_matrix    xtlang
  • fill_projection_matrix    xtlang
  • fill_projection_matrix    xtlang
  • fill_projection_matrix    xtlang
  • fill_view_matrix    xtlang
  • fill_view_matrix    xtlang
  • fill_view_matrix_dir    xtlang
  • fill_view_matrix_dir    xtlang
  • filter_cc    xtlang
  • filter_env_cc    xtlang
  • flanger_cc    xtlang
  • get_analogue_synth_cc_name    xtlang
  • get_mod_matrix    xtlang
  • invert_matrix    xtlang
  • lfo1_cc    xtlang
  • lfo2_cc    xtlang
  • lfo3_cc    xtlang
  • lfo4_cc    xtlang
  • main_cc    xtlang
  • matrix_cc    xtlang
  • mcc    macro
  • midi-cc    scheme
  • midi_cc    xtlang
  • midi_cc    xtlang
  • midi_cc    xtlang
  • midi_cc    xtlang
  • osc1_cc    xtlang
  • osc2_cc    xtlang
  • osc3_cc    xtlang
  • osc4_cc    xtlang
  • reset_view_matrix    xtlang
  • reverb_cc    xtlang
  • rotate_matrix    xtlang
  • rotate_matrix    xtlang
  • rtmidi_default_callback:RtMidiCCallback    xtlang
  • scale_matrix    xtlang
  • scale_matrix    xtlang
  • send-midi-cc    scheme
  • set_mod_matrix    xtlang
  • shader_update_uvwmatrix    xtlang
  • sub_noise_cc    xtlang
  • succ    scheme
  • translate_matrix    xtlang
  • translate_matrix    xtlang