pangoscript midi feedback CC

Discussion in 'PangoScript, Universe and Midi Templates' started by Lasers4Audio, Dec 28, 2015.

  1. Lasers4Audio

    Lasers4Audio Member

    Hi there Everybody,

    I'm using a controller with motorised fader and in the normal midi settings i can turn on feedback.

    But i was wondering if there is also a pangoscript for midi feedback for Faders?
    For buttons i know how te set it.
  2. ENOT

    ENOT Software Developer Staff Member

    For what type of faders? There is command MidiOut, it might be what you are looking for.

    Please define a bit more the situation.

    Best Regards,
  3. Lasers4Audio

    Lasers4Audio Member

    Hi Alexey,

    First off al thanks for your Replay!

    Well its for example for this script:
    Controlzone 1
    brightness ExtValue(0,100).

    So if i control this brightness of this zone (not with a pulse or master brightness)
    i want to have this fader is moving also.

    Best regards,
  4. ENOT

    ENOT Software Developer Staff Member

    Hi Steef,

    You could try to add a 3rd line to your code:

    MidiOut 0xB0, 00, ExtValue(0,127)

    where - 0xB0 and 00 are controller number (1st and 2nd bytes of MIDI message).

    But, there is one detail. If this code called from MIDI, then you will notice sort of dead loop - MIDI activate script, script send feedback to MIDI, and MIDI may send message back. It depends on MIDI controller and WHERE this script will work. General advice - if you activate script from MIDI then do not send MIDI feedback.

    Best Regards,
  5. Lasers4Audio

    Lasers4Audio Member

    Thanks again, butthis script is invalid.
    This is what I tried:
    Midiout 0xb0,0x51 Extvalue(0,127)

    Also tried:
    Midiout 0xb0,0x51,Extvalue(0,127)

    Still keep red marked.
  6. ENOT

    ENOT Software Developer Staff Member

    Hi Steef,

    Midiout 0xB0, 0x51, Extvalue(0,127)

    pasted from script editor. try it please.