matrix_cc   xtlang


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

Implementation

(bind-func 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 '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    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • Ccos    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • Ccosh    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • Ccot    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • Ccoth    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • Ccsc    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • Ccsch    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • MCC    xtlang    /digego/extempore/tree/v0.8.9/examples/sharedsystem/midisetup.xtm
  • PmEvent_cc_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • ai_matrix4_to_float    xtlang    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • amp_pitch_env_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • analogue_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • analogue_get_mod_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • analogue_set_mod_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • call/cc    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • cc0    scheme    /digego/extempore/tree/v0.8.9/libs/core/pc_ivl.xtm
  • cc1    scheme    /digego/extempore/tree/v0.8.9/libs/core/pc_ivl.xtm
  • cc2    scheme    /digego/extempore/tree/v0.8.9/libs/core/pc_ivl.xtm
  • cc3    scheme    /digego/extempore/tree/v0.8.9/libs/core/pc_ivl.xtm
  • cc4    scheme    /digego/extempore/tree/v0.8.9/libs/core/pc_ivl.xtm
  • cerberus_amp_pitch_env_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_delay_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_extras_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_filter_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_filter_env_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_flanger_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_get_mod_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • cerberus_lfo1_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_lfo2_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_lfo3_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_lfo4_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_main_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_matrix_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_osc1_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_osc2_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_osc3_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_osc4_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_reverb_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_set_mod_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • cerberus_sub_noise_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • delay_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • extras_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • fill_identity_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fill_identity_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • fill_orthographic_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fill_orthographic_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • fill_pos_scale_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • fill_projection_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fill_projection_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • fill_projection_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • fill_view_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fill_view_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • fill_view_matrix_dir    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fill_view_matrix_dir    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • filter_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • filter_env_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • flanger_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • get_analogue_synth_cc_name    xtlang    /digego/extempore/tree/v0.8.9/examples/sharedsystem/setup.xtm
  • get_mod_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • invert_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • lfo1_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • lfo2_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • lfo3_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • lfo4_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • main_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • mcc    macro    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • midi-cc    scheme    /digego/extempore/tree/v0.8.9/libs/external/midi.xtm
  • midi_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/channel_strip.xtm
  • midi_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/midi.xtm
  • midi_cc    xtlang    /digego/extempore/tree/v0.8.9/examples/sharedsystem/setup.xtm
  • midi_cc    xtlang    /digego/extempore/tree/v0.8.9/examples/sharedsystem/midisetup.xtm
  • osc1_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • osc2_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • osc3_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • osc4_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • reset_view_matrix    xtlang    /digego/extempore/tree/v0.8.9/examples/external/shader-tutorials/triangle.xtm
  • reverb_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • rotate_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • rotate_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • rtmidi_default_callback:RtMidiCCallback    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/rtmidi.xtm
  • scale_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • scale_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • send-midi-cc    scheme    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • set_mod_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • shader_update_uvwmatrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • sub_noise_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • succ    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • translate_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • translate_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm