Jump to content

Is This Okay?


antonybest
 Share

Recommended Posts

Hello!

My project that I am doing is the LC, I am not using all of the functions of it though just a selected few.  I saw the file lc_io_table in the LC V1.6 folder and noticed that each button was assigned its on number, obviously!  As I am not using all of the functions can I change what each button is assigned to for example:

#define ID_REC_RDY_CHN1 0x00 ;  o  o

#define ID_REC_RDY_CHN2 0x01 ;  o  o

#define ID_REC_RDY_CHN3 0x02 ;  o  o

#define ID_REC_RDY_CHN4 0x03 ;  o  o

#define ID_REC_RDY_CHN5 0x04 ;  o  o

#define ID_REC_RDY_CHN6 0x05 ;  o  o

#define ID_REC_RDY_CHN7 0x06 ;  o  o

#define ID_REC_RDY_CHN8 0x07 ;  o  o

#define ID_SOLO_CHN1 0x08 ;  o  o

#define ID_SOLO_CHN2 0x09 ;  o  o

#define ID_SOLO_CHN3 0x0a ;  o  o

#define ID_SOLO_CHN4 0x0b ;  o  o

#define ID_SOLO_CHN5 0x0c ;  o  o

#define ID_SOLO_CHN6 0x0d ;  o  o

#define ID_SOLO_CHN7 0x0e ;  o  o

#define ID_SOLO_CHN8 0x0f ;  o  o

#define ID_MUTE_CHN1 0x10 ;  o  o

#define ID_MUTE_CHN2 0x11 ;  o  o

#define ID_MUTE_CHN3 0x12 ;  o  o

#define ID_MUTE_CHN4 0x13 ;  o  o

#define ID_MUTE_CHN5 0x14 ;  o  o

#define ID_MUTE_CHN6 0x15 ;  o  o

#define ID_MUTE_CHN7 0x16 ;  o  o

#define ID_MUTE_CHN8 0x17 ;  o  o

#define ID_SELECT_CHN1 0x18 ;  o  o

#define ID_SELECT_CHN2 0x19 ;  o  o

#define ID_SELECT_CHN3 0x1a ;  o  o

#define ID_SELECT_CHN4 0x1b ;  o  o

#define ID_SELECT_CHN5 0x1c ;  o  o

#define ID_SELECT_CHN6 0x1d ;  o  o

#define ID_SELECT_CHN7 0x1e ;  o  o

#define ID_SELECT_CHN8 0x1f ;  o  o

#define ID_VPOT_SELECT_CHN1 0x20 ;  o  -

#define ID_VPOT_SELECT_CHN2 0x21 ;  o  -

#define ID_VPOT_SELECT_CHN3 0x22 ;  o  -

#define ID_VPOT_SELECT_CHN4 0x23 ;  o  -

#define ID_VPOT_SELECT_CHN5 0x24 ;  o  -

#define ID_VPOT_SELECT_CHN6 0x25 ;  o  -

#define ID_VPOT_SELECT_CHN7 0x26 ;  o  -

#define ID_VPOT_SELECT_CHN8 0x27 ;  o  -

#define ID_ASSIGN_TRACK 0x28 ;  o  o

#define ID_ASSIGN_SEND 0x29 ;  o  o

#define ID_ASSIGN_PAN_SURROUND 0x2a ;  o  o

#define ID_ASSIGN_PLUG_IN 0x2b ;  o  o

#define ID_ASSIGN_EQ 0x2c ;  o  o

#define ID_ASSIGN_INSTRUMENT 0x2d ;  o  o

#define ID_BANK_LEFT 0x2e ;  o  -

#define ID_BANK_RIGHT 0x2f ;  o  -

#define ID_BANK_CHANNEL_LEFT 0x30 ;  o  -

#define ID_BANK_CHANNEL_RIGHT 0x31 ;  o  -

#define ID_FLIP 0x32 ;  o  o

#define ID_GLOBAL_VIEW 0x33 ;  o  o

#define ID_NAME_VALUE 0x34 ;  o  -

#define ID_SMPTE_BEATS 0x35 ;  o  -

#define ID_F1 0x36 ;  o  -

#define ID_F2 0x37 ;  o  -

#define ID_F3 0x38 ;  o  -

#define ID_F4 0x39 ;  o  -

#define ID_F5 0x3a ;  o  -

#define ID_F6 0x3b ;  o  -

#define ID_F7 0x3c ;  o  -

#define ID_F8 0x3d ;  o  -

#define ID_GLOBAL_TRACKS 0x3e ;  o  -

#define ID_GLOBAL_INPUTS 0x3f ;  o  -

#define ID_GLOBAL_AUDIO_TRCK 0x40 ;  o  -

#define ID_GLOBAL_AUDIO_INSTR 0x41 ;  o  -

#define ID_GLOBAL_AUX 0x42 ;  o  -

#define ID_GLOBAL_BUSSES 0x43 ;  o  -

#define ID_GLOBAL_OUTPUTS 0x44 ;  o  -

#define ID_GLOBAL_USER 0x45 ;  o  -

#define ID_SHIFT 0x46 ;  o  -

#define ID_OPTION 0x47 ;  o  -

#define ID_CONTROL 0x48 ;  o  -

#define ID_CMD_ALT 0x49 ;  o  -

#define ID_AUTOM_READ_OFF 0x4a ;  o  o

#define ID_AUTOM_WRITE 0x4b ;  o  o

#define ID_AUTOM_TRIM 0x4c ;  o  o

#define ID_AUTOM_TOUCH 0x4d ;  o  o

#define ID_AUTOM_LATCH 0x4e ;  o  o

#define ID_GROUP 0x4f ;  o  o

#define ID_UTIL_SAVE 0x50 ;  o  o

#define ID_UTIL_UNDO 0x51 ;  o  o

#define ID_UTIL_CANCEL 0x52 ;  o  -

#define ID_UTIL_ENTER 0x53 ;  o  -

#define ID_MARKER 0x54 ;  o  o

#define ID_NUDGE 0x55 ;  o  o

#define ID_CYCLE 0x56 ;  o  o

#define ID_DROP 0x57 ;  o  o

#define ID_REPLACE 0x58 ;  o  o

#define ID_CLICK 0x59 ;  o  o

#define ID_SOLO 0x5a ;  o  o

#define ID_REWIND 0x5b ;  o  o

#define ID_FAST_FWD 0x5c ;  o  o

#define ID_STOP 0x5d ;  o  o

#define ID_PLAY 0x5e ;  o  o

#define ID_RECORD 0x5f ;  o  o

#define ID_CURSOR_UP 0x60 ;  o  -

#define ID_CURSOR_DOWN 0x61 ;  o  -

#define ID_CURSOR_LEFT 0x62 ;  o  -

#define ID_CURSOR_RIGHT 0x63 ;  o  -

#define ID_ZOOM 0x64 ;  o  o

#define ID_SCRUB 0x65 ;  o  o

#define ID_USER_SWITCH_1 0x66 ;  o  -

#define ID_USER_SWITCH_2 0x67 ;  o  -

#define ID_FADER_TOUCH_CHN1 0x68 ;  o  -

#define ID_FADER_TOUCH_CHN2 0x69 ;  o  -

#define ID_FADER_TOUCH_CHN3 0x6a ;  o  -

#define ID_FADER_TOUCH_CHN4 0x6b ;  o  -

#define ID_FADER_TOUCH_CHN5 0x6c ;  o  -

#define ID_FADER_TOUCH_CHN6 0x6d ;  o  -

#define ID_FADER_TOUCH_CHN7 0x6e ;  o  -

#define ID_FADER_TOUCH_CHN8 0x6f ;  o  -

#define ID_FADER_TOUCH_MASTER 0x70 ;  o  -

#define ID_SMPTE_LED 0x71 ;  -  o

#define ID_BEATS_LED 0x72 ;  -  o

#define ID_RUDE_SOLO_LIGHT 0x73 ;  -  o

#define ID_RELAY_CLICK 0x74 ;  -  o

This is the original file, can I change it to something like this?

#define ID_REC_RDY_CHN1 0x00 ;  o  o

#define ID_REC_RDY_CHN2 0x01 ;  o  o

#define ID_REC_RDY_CHN3 0x02 ;  o  o

#define ID_REC_RDY_CHN4 0x03 ;  o  o

#define ID_REC_RDY_CHN5 0x04 ;  o  o

#define ID_REC_RDY_CHN6 0x05 ;  o  o

#define ID_REC_RDY_CHN7 0x06 ;  o  o

#define ID_REC_RDY_CHN8 0x07 ;  o  o

#define ID_SOLO_CHN1 0x08 ;  o  o

#define ID_SOLO_CHN2 0x09 ;  o  o

#define ID_SOLO_CHN3 0x0a ;  o  o

#define ID_SOLO_CHN4 0x0b ;  o  o

#define ID_SOLO_CHN5 0x0c ;  o  o

#define ID_SOLO_CHN6 0x0d ;  o  o

#define ID_SOLO_CHN7 0x0e ;  o  o

#define ID_SOLO_CHN8 0x0f ;  o  o

#define ID_MUTE_CHN1 0x10 ;  o  o

#define ID_MUTE_CHN2 0x11 ;  o  o

#define ID_MUTE_CHN3 0x12 ;  o  o

#define ID_MUTE_CHN4 0x13 ;  o  o

#define ID_MUTE_CHN5 0x14 ;  o  o

#define ID_MUTE_CHN6 0x15 ;  o  o

#define ID_MUTE_CHN7 0x16 ;  o  o

#define ID_MUTE_CHN8 0x17 ;  o  o

#define ID_BANK_LEFT 0x18 ;  o  -

#define ID_BANK_RIGHT 0x19 ;  o  -

#define ID_BANK_CHANNEL_LEFT 0x1a ;  o  -

#define ID_BANK_CHANNEL_RIGHT 0x1b ;  o  -

#define ID_AUTOM_READ_OFF 0x1c ;  o  o

#define ID_AUTOM_WRITE 0x1d ;  o  o

#define ID_AUTOM_TRIM 0x1e ;  o  o

#define ID_AUTOM_TOUCH 0x1f ;  o  o

#define ID_AUTOM_LATCH 0x20 ;  o  o

#define ID_REWIND 0x21 ;  o  o

#define ID_FAST_FWD 0x22 ;  o  o

#define ID_STOP 0x23 ;  o  o

#define ID_PLAY 0x24 ;  o  o

#define ID_RECORD 0x25 ;  o  o

#define ID_CURSOR_UP 0x26 ;  o  -

#define ID_CURSOR_DOWN 0x27 ;  o  -

#define ID_CURSOR_LEFT 0x28 ;  o  -

#define ID_CURSOR_RIGHT 0x29 ;  o  -

#define ID_ZOOM 0x2a ;  o  o

#define ID_FADER_TOUCH_CHN1 0x2b ;  o  -

#define ID_FADER_TOUCH_CHN2 0x2c ;  o  -

#define ID_FADER_TOUCH_CHN3 0x2d ;  o  -

#define ID_FADER_TOUCH_CHN4 0x2e ;  o  -

#define ID_FADER_TOUCH_CHN5 0x2f ;  o  -

#define ID_FADER_TOUCH_CHN6 0x30 ;  o  -

#define ID_FADER_TOUCH_CHN7 0x31 ;  o  -

#define ID_FADER_TOUCH_CHN8 0x32 ;  o  -

As you can see there is a lot less functions on it!

As I am only using 7 shift registers I will need to tell the main.hex file that won't I also?

Can I disable functions in the main.hex file that control the LCD screen as well?  I will not be using one thats all.

Thanks for your time!

Antony Best

Link to comment
Share on other sites

Sorry and one other thing, I have ommited:

#define ID_SELECT_CHN1 0x18 ;  o  o

#define ID_SELECT_CHN2 0x19 ;  o  o

#define ID_SELECT_CHN3 0x1a ;  o  o

#define ID_SELECT_CHN4 0x1b ;  o  o

#define ID_SELECT_CHN5 0x1c ;  o  o

#define ID_SELECT_CHN6 0x1d ;  o  o

#define ID_SELECT_CHN7 0x1e ;  o  o

#define ID_SELECT_CHN8 0x1f ;  o  o

Are these essential for what I need the LC for?

Thanks

Antony Best

Link to comment
Share on other sites

No, thats not the way to do it.

You can change the ID_names in the first table ... but please NEVER change the Adresses!

For example:

You can change ID_OPTION to ID_WHATEVER but you cannot change the hex number behind this function.

Read carefully the comments !!

; ==========================================================================

;  command IDs which are provided by the LC protocol

;  don't change the numbers here!

;  use the definitions in the IO table to assign functions to buttons and LEDs

; ==========================================================================

If you want to assign the functions to your button /Leds go a little further down the file:

Under LC_IO_TABLE_LAYER0 you can assign the functions to your shift registers.

If you don'want to use a function or if you don't have the Shift register connected write: ID_IGNORE, ID_IGNORE

The table must consist of 128 entries:

Read here:

; IMPORTANT: this table MUST consist of 128 entries!!!

; unused lines have to be filled with "db ID_IGNORE, ID_IGNORE"

; =========================================================================

As I am only using 7 shift registers I will need to tell the main.hex file that won't I also?

Yes. you'll have to do it here:

#define NUMBER_SHIFTREGISTERS 16 ; length of shift register chain (max value: 16 == 128 DIN/DOUT pins)

Can I disable functions in the main.hex file that control the LCD screen as well?  I will not be using one thats all.

You only can change the main.asm file and the compile it to main.hex ... you don't have to cahnge anything if you don't use a display. This doesn't matter.

Your second post:

The ID_SELECT_CHNx is important. It is the "Select" knob for each channel strip. Every time you control a value depending on a channel strip you'll need this button.

greets

DOC

Link to comment
Share on other sites

The sections in the main.asm file for the rotary encoders and v-pots etc can all just be ignored then I take it?

If you don't use them - yes.

Are they the buttons at the top of channel strips?

This is the box of TK. He has not marked them. I think he placed them under the encoders.

When you say control a value does this include mute/solo/record arm/fader position? or just the assignable V pots for EQ, pan etc?

The function depends a little bit on your host application. I work with Cubase. In Cubase you press the select button to select the current channel you want to work with. It is then also the button which selects the EQ for the desired channel.

I don't know what "arm/fader position" mean.

mute/solo/rec are seperate buttons above the select button.

greets

Doc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...