FW1884 midi programming

Discussion in 'Firewire PC Audio Interfaces and Control Surfaces' started by Jonas Thörnvall, Oct 17, 2021.

  1. Jonas Thörnvall

    Jonas Thörnvall New Member

    Joined:
    Mar 2020
    Messages:
    18
    Likes:
    0
    Gear:
    Tascam FW-1884
    I must say i am impressed by how quiet the board is and how good the DAC? work/sound have not recorded that much yet, but i heard the "preamps?" and ADC is pretty good?

    But i have started programming a CTRL surface in Javascript, yeah i know may sound a bit weird but i will use it from an online midisequenser i am working on as hobby project.

    Basicly use HTML forms with checkbox and sliders as interface.

    My main question comes here "I started programming some function for "solo, mute, record, select" but i can't see the LEDS light up when changing state using Firewire midi port "FW1884 Control", so i wonder do the device have to be in a certain mode / configuration to recieve the messages.
    If so how do i set it on the Device."

    Right now i use the device as soundcard for my Windows 10 and XP can sound marvellous on both.
    But i am a bit worried about the powerconsumption of this "giant sized" beast soundcard/CTRL surface.
    Have not been able to find any figures on the power consumption do anyone know?

    JT
  2. Jonas Thörnvall

    Jonas Thörnvall New Member

    Joined:
    Mar 2020
    Messages:
    18
    Likes:
    0
    Gear:
    Tascam FW-1884
    Here is the select function i implemented "the other solo, mute, rec" basicly identical except for variable names and message.

    function getPortIndex(){
    var e = parent.document.getElementById("out_portsel");
    for (var i=0;i<parent.out_portsel.length;i++){
    if (e.options.value=="FW1884 Control"){ctrlportindex=i; alert(e.options.value); break;};
    }
    }

    function T1884Sel(Selid,Selval){
    getPortIndex();
    if (Selid=="T1884Sel1") {
    if (Selval=true){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x00,0x07F,0xF7];
    }
    else if (Selval=false){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x00,0x00,0xF7];
    }
    }
    else if (Selid=="T1884Sel2") {
    if (Selval=true){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x01,0x07F,0xF7];
    }
    else if (Selval=false){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x01,0x00,0xF7];
    }
    }
    else if (Selid=="T1884Sel3") {
    if (Selval=true){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x02,0x07F,0xF7];
    }
    else if (Selval=false){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x02,0x00,0xF7];
    }
    }
    else if (Selid=="T1884Sel4") {
    if (Selval=true){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x03,0x07F,0xF7];
    }
    else if (Selval=false){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x03,0x00,0xF7];
    }
    }
    else if (Selid=="T1884Sel5") {
    if (Selval=true){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x04,0x07F,0xF7];
    }
    else if (Selval=false){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x04,0x00,0xF7];
    }
    }
    else if (Selid=="T1884Sel6") {
    if (Selval=true){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x05,0x07F,0xF7];
    }
    else if (Selval=false){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x05,0x00,0xF7];
    }
    }
    else if (Selid=="T1884Sel7") {
    if (Selval=true){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x06,0x07F,0xF7];
    }
    else if (Selval=false){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x06,0x00,0xF7];
    }
    }
    else if (Selid=="T1884Sel8") {
    if (Selval=true){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x07,0x07F,0xF7];
    }
    else if (Selval=false){
    settingChange=[0xF0,0x4E,0x00,0x12,0x03,0x07,0x00,0xF7];
    }
    }
    parent.outportarr[ctrlportindex].send(settingChange);
    }
  3. Jonas Thörnvall

    Jonas Thörnvall New Member

    Joined:
    Mar 2020
    Messages:
    18
    Likes:
    0
    Gear:
    Tascam FW-1884
    Ok sorry to have bothered pasting above code i saw the error and danger of copy paste.....
    0x07F
  4. Jonas Thörnvall

    Jonas Thörnvall New Member

    Joined:
    Mar 2020
    Messages:
    18
    Likes:
    0
    Gear:
    Tascam FW-1884