sub_noise_cc   xtlang


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

Implementation

(bind-func sub_noise_cc
  (lambda ()
    (let ((val 0.0:f))
      (lambda (inst offset:i32 cc:i32 value:i32)
        ;; (println 'sub_noise_cc cc value)
        (set! val (/ (i32tof value) 127.0))
        (cond ((= cc (+ offset 0)) ;; amplitude of sub osc
               (set_sub_amp inst (* 2.0 val)))
              ((= cc (+ offset 1)) ;; noise amp
               (set_noise_amp inst (* 2.0 val)))
              ((= cc (+ offset 2)) ;; noise type
               (set_noise_type inst (get_noisetype value)))
              ((= cc (+ offset 3)) ;; filter type
               (set_filter_type inst (get_filtertype value))))))))


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
  • Complex_subtraction_bybuf    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • Complex_subtraction_bybuf    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • Csub    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • CsubR    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • MCC    xtlang    /digego/extempore/tree/v0.8.9/examples/sharedsystem/midisetup.xtm
  • PARAM_NOISE_AMP    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_NOISE_AMP    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_NOISE_AMP    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PmEvent_cc_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • Vsub    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.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
  • 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_noisetype    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.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_sub_noise_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cl:subset?    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • cpvsub    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpVect.xtm
  • delay_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • dl_noise_amp    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_noise_amp    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • extras_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.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
  • fleet_submit_extempore_service    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • get_analogue_synth_cc_name    xtlang    /digego/extempore/tree/v0.8.9/examples/sharedsystem/setup.xtm
  • get_noise_amp    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • get_noise_type    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • get_noisetype    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • gui_render_subtree    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • impc:ir:intrinsic-substitution    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ti:variable-substitution    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:variable-substitution-pairs    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.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
  • matrix_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
  • reverb_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • rtmidi_default_callback:RtMidiCCallback    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/rtmidi.xtm
  • send-midi-cc    scheme    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • set_noise_amp    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • set_noise_type    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • sub    scheme    /digego/extempore/tree/v0.8.9/libs/core/pattern-language.xtm
  • subst    scheme    /digego/extempore/tree/v0.8.9/libs/core/pattern.xtm
  • subst    macro    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • subste    scheme    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • substp    scheme    /digego/extempore/tree/v0.8.9/libs/core/pattern.xtm
  • substring    xtlang    /digego/extempore/tree/v0.8.9/libs/base/base.xtm
  • succ    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • vvsub    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • vvsub    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • xtm_set_vgimage_subdata    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/rational.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/rational.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/rational.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/rational.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/rational.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/rational.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/rational.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/rational.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/rational.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/rational.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/rational.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/rational.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/rational.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • xtm_subtraction    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • xtm_subtration    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math_ext.xtm