Go Back   Cockos Incorporated Forums > REAPER Forums > MIDI Hardware, Control Surfaces, and OSC

Reply
 
Thread Tools Display Modes
Old 11-26-2017, 05:17 PM   #1
StepOne
Human being with feelings
 
StepOne's Avatar
 
Join Date: Jan 2008
Location: CA
Posts: 991
Default FCB1010 owners - how to send MIDI message to turn off light on footboard?

Using the FCB1010, I can map any stomp to do an action in Reaper, for example, the 1st stomp maps as Midi Chan 1 PC 0.

How do I SEND a signal to the FCB1010 to toggle/turn off the light indicator on a stomp?

I have a track set up to output to the FCB1010, and, using ReaControlMIDI, I've played with sending Control Change messages to the unit (the unit is receiving these controls, I see a red dot on the FCB anytime I send one).

The problem is, I don't know which MIDI note to send to change the light status indicator of a stomp, or what Midi Chan 1 PC 0 maps to under the Control Change area.

I've tried sending random messages to the FCB, but have not seen anything change on the pedal board.

Does anyone have experience with sending messages to the FCB to change status of stomp lights?
__________________
Damn it feels good to be a gangsta.
StepOne is offline   Reply With Quote
Old 11-26-2017, 06:59 PM   #2
ThrashJazzAssassin
Human being with feelings
 
ThrashJazzAssassin's Avatar
 
Join Date: Oct 2010
Location: Scotland
Posts: 422
Default

I don't believe it's possible.

From the manual:
Quote:
MIDI IN: serves to receive recorded system-exclusive data or to merge any MIDI signals with FCB1010-generated data
That's why I only use the MIDI OUT of the device.

If you get an UNO chip, 5 of the pedals can be momentary or toggle switches; and the LED's follow the pedal's state.
__________________
TJA MIDI JSFX | REAPER-OSC-panels | erthoide
ThrashJazzAssassin is online now   Reply With Quote
Old 11-27-2017, 05:49 PM   #3
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 10,252
Default

Can't be done. Also in my experience, sending any MIDI back to the unit can get you some pretty unexpected behavior as it seems to get added back into the out stream, so you can wind up triggering some action multiple times with one stomp and not understand what's going on.
__________________
foxyyymusic
foxAsteria is offline   Reply With Quote
Old 11-27-2017, 07:34 PM   #4
StepOne
Human being with feelings
 
StepOne's Avatar
 
Join Date: Jan 2008
Location: CA
Posts: 991
Default

Bummer, thanks for the responses, I currently have foot pedal 10 enable/disable the expression pedal (as the pedal has no push down button to engage/disengage), and was hoping to be able to turn the light off when disabled, but i'll just have to settle for listening to the output instead of looking at the light.
__________________
Damn it feels good to be a gangsta.
StepOne is offline   Reply With Quote
Old 11-27-2017, 07:51 PM   #5
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 10,252
Default

Funny because I've been trying to set up a "wah" like that as well this last week. I do like to turn on a "switch" for it though. The click sound at least gives a little more feedback when stepping on it and doesn't actually do anything unless you've got a cable in the switch outputs.
__________________
foxyyymusic
foxAsteria is offline   Reply With Quote
Old 12-10-2017, 05:43 AM   #6
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

Is there nothing in a reference manual ?

I have such information for my Novation Dicer for example (on this page further down titled Dicer Programmers Reference Guide), which enables me to change some function, colours of buttons, change modes on the device, etc.

Surely this unit has an equivalent manual somewhere. The Behringer X-Touch mini has such a manual too, so this device is likely no exception.

I use LUA scripts to do a lot of things. A command was added that allows me to address connected midi devices directly, even search for devices by the name displayed in the "MIDI DEVICES" section of the preferences.

Example. This is one of the scripts that sends out specific messages to a MIDI FIGHTER TWISTER that I named "Twister2", and four messages to a device called "Xmini1". I renamed those devices in the MIDI DEVICES page of the preference. Make everything easier for me.

Feel free to use this script for anything you like.
Code:
-- Send midi note message to target device(s)
-- requires Reaper 5.33pre1 or higher
msg_flag = false;
function msg(val) ; if msg_flag then ; reaper.ShowConsoleMsg(tostring(val).."\n");end;end
function msgclr() ; if msg_flag then ; reaper.ShowConsoleMsg("");end;end

local m_com = {
-- Access to commands via m_com[1] and so on
-- m_com[k].target_devnum will hold the devices number for each command
-- Bank change
          {   device = "Twister2", -- will be replaced with  target device number+16 for actual command
              midicmd = '0x9'..string.format("%x", 3), -- NoteOn on midi channel 0-15
              midinotecc = 0 , -- bank no.1
              vel = 127 }, -- velocity or CC value
-- Turn ON one button, and three others OFF
          {   device = "Xmini1",
              midicmd = '0x9'..string.format("%x", 0), -- NoteOn on midi channel 11
              midinotecc = 12 , -- Bottom row, button 1 from the left
              vel = 1 }, -- button OFF
          {   device = "Xmini1",
              midicmd = '0x9'..string.format("%x", 0), -- NoteOn on midi channel 11
              midinotecc = 13 , -- Bottom row, button 2 from the left
              vel = 0 }, -- button OFF
          {  device = "Xmini1",
              midicmd = '0x9'..string.format("%x", 0), -- NoteOn on midi channel 11
              midinotecc = 14 , -- Bottom row, button 3 from the left
              vel = 0 }, -- button OFF
          {   device = "Xmini1",
              midicmd = '0x9'..string.format("%x", 0), -- NoteOn on midi channel 11
              midinotecc = 15 , -- Bottom row, button 4 from the left
              vel = 0 }, -- button ON

}
-- end of command list
local target_devices = {}
local i,k = 0 , 0
local target_devnum = {} -- array to collect device numbers
local mdev_outno = reaper.GetNumMIDIOutputs() -- grab number of midi outputs in Reaper
msgclr()
msg("Midi Outs Reaper: " .. mdev_outno)
msg("Stepping through devices...")

-- collect device ids for each command
for k=1, #m_com, 1 do
  target_devices[k] = m_com[k].device
end

for k=1, #target_devices, 1 do
  for i=1, mdev_outno, 1 do
    retval, mdev_name = reaper.GetMIDIOutputName(i, "")
    if retval then
      if string.find(mdev_name,target_devices[k]) then -- check for target device name(s)
        m_com[k].target_devnum = i -- add device number to command list
        msg("Device found. No." .. i .. " " .. mdev_name .." matches " .. target_devices[k])
      end
    end
  end
end

for i=1, #m_com, 1 do
  reaper.StuffMIDIMessage( tonumber(m_com[i].target_devnum)+16 , m_com[i].midicmd, m_com[i].midinotecc, m_com[i].vel )
  msg("Sent note to " ..m_com[i].device )
end
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 12-10-2017, 12:53 PM   #7
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 10,252
Default

Airon - you can't even toggle the lights from the pedal itself, so I think it would take some hardware mods to make this happen.
__________________
foxyyymusic
foxAsteria is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:47 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.