Jump to content

Enabling pots in MB64E


Sasha
 Share

Recommended Posts

I finished my Traktor controller based on MB64 but now I decided to add few adittionall encoders.

I enabled AIN and MUX in main.asm.

I know that pots are using entry 64-70.

Result is all pots sends same messages because there are not configured.

I have always used sysx editor for that function, but since for MB64E there is no pots configuration integrated i don`t know how to do it manualy.

Is there a way to copy/paste AIN configuration from my current MB64 setup to proper location of new MB64E?

Link to comment
Share on other sites

Nobody ansveres yet? ???

I am searching forum and site to help me do it without success. I tried to configure "midibox64e.ini" file from mk_syx but this wont help me keep the originall MB64 seting. This is how I think code of MB64E have to look like if i want to use encoders and pots. Correct?

[ENCS]
        1 =  B0 00 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC #  0" DEC|
        2 =  B0 01 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC #  1" DEC|
        3 =  B0 02 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC #  2" DEC|
        4 =  B0 03 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC #  3" DEC|
        5 =  B0 04 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC #  4" DEC|
        6 =  B0 05 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC #  5" DEC|
        7 =  B0 06 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC #  6" DEC|
        8 =  B0 07 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC #  7" DEC|
        9 =  B0 08 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC #  8" DEC|
       10 =  B0 09 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC #  9" DEC|
       11 =  B0 0A [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 10" DEC|
       12 =  B0 0B [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 11" DEC|
       13 =  B0 0C [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 12" DEC|
       14 =  B0 0D [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 13" DEC|
       15 =  B0 0E [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 14" DEC|
       16 =  B0 0F [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 15" DEC|

       17 =  B0 10 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 16" DEC|
       18 =  B0 11 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 17" DEC|
       19 =  B0 12 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 18" DEC|
       20 =  B0 13 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 19" DEC|
       21 =  B0 14 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 20" DEC|
       22 =  B0 15 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 21" DEC|
       23 =  B0 16 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 22" DEC|
       24 =  B0 17 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 23" DEC|
       25 =  B0 18 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 24" DEC|
       26 =  B0 19 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 25" DEC|
       27 =  B0 1A [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 26" DEC|
       28 =  B0 1B [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 27" DEC|
       29 =  B0 1C [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 28" DEC|
       30 =  B0 1D [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 29" DEC|
       31 =  B0 1E [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 30" DEC|
       32 =  B0 1F [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 31" DEC|

       33 =  B0 20 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 32" DEC|
       34 =  B0 21 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 33" DEC|
       35 =  B0 22 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 34" DEC|
       36 =  B0 23 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 35" DEC|
       37 =  B0 24 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 36" DEC|
       38 =  B0 25 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 37" DEC|
       39 =  B0 26 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 38" DEC|
       40 =  B0 27 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 39" DEC|
       41 =  B0 28 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 40" DEC|
       42 =  B0 29 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 41" DEC|
       43 =  B0 2A [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 42" DEC|
       44 =  B0 2B [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 43" DEC|
       45 =  B0 2C [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 44" DEC|
       46 =  B0 2D [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 45" DEC|
       47 =  B0 2E [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 46" DEC|
       48 =  B0 2F [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 47" DEC|

       49 =  B0 30 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 48" DEC|
       50 =  B0 31 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 49" DEC|
       51 =  B0 32 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 50" DEC|
       52 =  B0 33 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 51" DEC|
       53 =  B0 34 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 52" DEC|
       54 =  B0 35 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 53" DEC|
       55 =  B0 36 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 54" DEC|
       56 =  B0 37 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 55" DEC|
       57 =  B0 38 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 56" DEC|
       58 =  B0 39 [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 57" DEC|
       59 =  B0 3A [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 58" DEC|
       60 =  B0 3B [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 59" DEC|
       61 =  B0 3C [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 60" DEC|
       62 =  B0 3D [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 61" DEC|
       63 =  B0 3E [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 62" DEC|
       64 =  B0 3F [00-7F:00]   ENC_MODE_ABSOLUTE&NORMAL   LED_PATTERN_0   "CC # 63" DEC|
[POTS]
       65 =  B0 5B [00-7F] "Reverb # 1" DEC|
       66 =  B1 5B [00-7F] "Reverb # 2" DEC|
       67 =  B2 5B [00-7F] "Reverb # 3" DEC|
       68 =  B3 5B [00-7F] "Reverb # 4" DEC|
       69 =  B4 5B [00-7F] "Reverb # 5" DEC|
       70 =  B5 5B [00-7F] "Reverb # 6" DEC|
       71 =  B6 5B [00-7F] "Reverb # 7" DEC|
       72 =  B7 5B [00-7F] "Reverb # 8" DEC|
       73 =  B8 5B [00-7F] "Reverb # 9" DEC|
       74 =  B9 5B [00-7F] "Reverb #10" DEC|
       75 =  BA 5B [00-7F] "Reverb #11" DEC|
       76 =  BB 5B [00-7F] "Reverb #12" DEC|
       77 =  BC 5B [00-7F] "Reverb #13" DEC|
       78 =  BD 5B [00-7F] "Reverb #14" DEC|
       79 =  BE 5B [00-7F] "Reverb #15" DEC|
       80 =  BF 5B [00-7F] "Reverb #16" DEC|

       81 =  B0 5D [00-7F] "Chorus # 1" DEC|
       82 =  B1 5D [00-7F] "Chorus # 2" DEC|
       83 =  B2 5D [00-7F] "Chorus # 3" DEC|
       84 =  B3 5D [00-7F] "Chorus # 4" DEC|
       85 =  B4 5D [00-7F] "Chorus # 5" DEC|
       86 =  B5 5D [00-7F] "Chorus # 6" DEC|
       87 =  B6 5D [00-7F] "Chorus # 7" DEC|
       88 =  B7 5D [00-7F] "Chorus # 8" DEC|
       89 =  B8 5D [00-7F] "Chorus # 9" DEC|
       90 =  B9 5D [00-7F] "Chorus #10" DEC|
       91 =  BA 5D [00-7F] "Chorus #11" DEC|
       92 =  BB 5D [00-7F] "Chorus #12" DEC|
       93 =  BC 5D [00-7F] "Chorus #13" DEC|
       94 =  BD 5D [00-7F] "Chorus #14" DEC|
       95 =  BE 5D [00-7F] "Chorus #15" DEC|
       96 =  BF 5D [00-7F] "Chorus #16" DEC|

       97 =  B0 4A [00-7F] "CutOff # 1" DEC|
       98 =  B1 4A [00-7F] "CutOff # 2" DEC|
       99 =  B2 4A [00-7F] "CutOff # 3" DEC|
      100 =  B3 4A [00-7F] "CutOff # 4" DEC|
      101 =  B4 4A [00-7F] "CutOff # 5" DEC|
      102 =  B5 4A [00-7F] "CutOff # 6" DEC|
      103 =  B6 4A [00-7F] "CutOff # 7" DEC|
      104 =  B7 4A [00-7F] "CutOff # 8" DEC|
      105 =  B8 4A [00-7F] "CutOff # 9" DEC|
      106 =  B9 4A [00-7F] "CutOff #10" DEC|
      107 =  BA 4A [00-7F] "CutOff #11" DEC|
      108 =  BB 4A [00-7F] "CutOff #12" DEC|
      109 =  BC 4A [00-7F] "CutOff #13" DEC|
      110 =  BD 4A [00-7F] "CutOff #14" DEC|
      111 =  BE 4A [00-7F] "CutOff #15" DEC|
      112 =  BF 4A [00-7F] "CutOff #16" DEC|

      113 =  B0 07 [00-7F] "Volume # 1" DEC|
      114 =  B1 07 [00-7F] "Volume # 2" DEC|
      115 =  B2 07 [00-7F] "Volume # 3" DEC|
      116 =  B3 07 [00-7F] "Volume # 4" DEC|
      117 =  B4 07 [00-7F] "Volume # 5" DEC|
      118 =  B5 07 [00-7F] "Volume # 6" DEC|
      119 =  B6 07 [00-7F] "Volume # 7" DEC|
      120 =  B7 07 [00-7F] "Volume # 8" DEC|
      121 =  B8 07 [00-7F] "Volume # 9" DEC|
      122 =  B9 07 [00-7F] "Volume #10" DEC|
      123 =  BA 07 [00-7F] "Volume #11" DEC|
      124 =  BB 07 [00-7F] "Volume #12" DEC|
      125 =  BC 07 [00-7F] "Volume #13" DEC|
      126 =  BD 07 [00-7F] "Volume #14" DEC|
      127 =  BE 07 [00-7F] "Volume #15" DEC|
      128 =  BF 07 [00-7F] "Volume #16" DEC|

Link to comment
Share on other sites

I am little shocked and disapointed.  :( Did I asked stupidest question ever???

I searched this forum and documents but nothings seams helped me solve the problem. I have copied pot onfiguration from my MB64.ini to MB64E but pots are sending the same CC#91 msg. after uploading the compiled sysx. I tried to configure mios tables and recompile hex... nothing.

I kindly ask somebody to waste minute of your time to direct me or show me where I go wrong. Thanks in advance.

Link to comment
Share on other sites

I am little shocked and disapointed.  :( Did I asked stupidest question ever???

Sorry mate, FWIW, I have no idea, so I didn't reply.... But I am sure that I've seen this subject elsewhere on the forums before, so maybe that's why you haven't gotten any replies?

Link to comment
Share on other sites

I am little shocked and disappointed. You propably solved the problem by yourself, but you don't inform the community that you don't need help for the configuration anymore?

Maybe this is the reason, why some of us are not sure, if they should spend some minutes to help you, when we don't know, if you still need the help...

Best Regards, Thorsten.

Link to comment
Share on other sites

You propably solved the problem by yourself, but you don't inform the community that you don't need help for the configuration anymore?

Maybe this is the reason, why some of us are not sure, if they should spend some minutes to help you, when we don't know, if you still need the help...

No Thorsten. I didnt solved my problem. I was comming regulary to see if there are some ansvers but as everybody ignored me I just stoped comming to this post and continued to troubleshhoting by myself. I moved a little bit from dead end but I am still stucked in the same problem. As I dont have Internet at home I cant respond instantly after reading post since I dont have my box with me at work, so everything is delayed at least one day.

Thank you for your offer to help me directly. I will send you my ini and syx files.

Link to comment
Share on other sites

Your .ini and .syx file was very helpful to analyse the problem.

When you convert the .ini from a command shell, following error will be displayed:

ERROR in section ENCS, line 345: MIDIBOX64E only offers 128 pot/encoder entries!

This is because of a 129th entry, which is out of range:

      129 =  B0 16 [00-7F:40]  "unused" DEC|

This could be the reason why nothing changed, because the old .syx file won't be touched - it was the old one.

I removed this "129" entry, and tried it on my MBLC - it worked.

The strange thing is, that in your second posting above, there was no "129" entry, but maybe there was another error message? Can you reproduce this?

Best Regards, Thorsten.

Link to comment
Share on other sites

Thorsten, I sent you last ini and syx. Before that I changed and reasembled it so meny times...

Entry 129... was mistake. I`m not sure now is syx file comes from the ini I sent you, becouse I didnt get the error last time. But It was too late at night so errors are posible.

First syx configuration also didn`t work properly for me. I get an error once or twice but I fixed it and after it converting to syx was OK. I`ll try everything more...

I removed this "129" entry, and tried it on my MBLC - it worked.

Everything worked? pots, buttons, encoders?

It would be helpfull to know my main.asm.

I think I didnt disabled special function buttons properly.

Here is how it looks like. Do I have to do something else?

#else
  #define DEFAULT_DIN_MENU_EXEC		0	; menu exec button assigned to DIN pin #7
  #define DEFAULT_DIN_MENU_SNAPSHOT	0	; menu snapshot button assigned to DIN pin #4
  #define DEFAULT_DIN_MENU_RIGHT	0	; NOT USED - overlayed by datawheel
  #define DEFAULT_DIN_MENU_LEFT		0	; NOT USED - overlayed by datawheel
#endif

Link to comment
Share on other sites

I haven't checked your main.asm, since I don't own your hardware... I've only checked if the .syx can be generated and uploaded, and if all changes take place. But there isn't that much which could be made wrong. The special function buttons should be assigned to non-existing DIN pins if not used - e.g., just assign them to 128, with 0 the first button won't work

Best Regards, Thorsten.

Link to comment
Share on other sites

I took out line 129, reasembled syx, and upload it to the core with bankstick attached . Everything was the same. Hardware I use for testing is usual hardvare.

1x core configured fot LTC

1xLTC (working OK with MB64)

1xAIN with only one mux IC (othersare are terminated)

2xDIN (last SR#8 with connected one encoder, I want to use only 2 encoders,)

If this configuration work out I can than try to convert my MB64 http://www.midibox.org/forum/index.php?topic=7008.0 to MB64E adding twe weels for jog function.

I don`t know... maybe I should back to old configuration without LTC. This sh## gives me headacke...

Link to comment
Share on other sites

I'll try to help here, sorry if I am of no use... Sasa, you said they all send CC91, which channel? You've got the first 16 pots configured to send CC91, but all on different channels.

How many pots are actually physically connected? You said "I know that pots are using entry 64-70." (Isn't it 65-?) Does this mean you are using 7 pots?

Link to comment
Share on other sites

How many pots are actually physically connected? You said "I know that pots are using entry 64-70." (Isn't it 65-?) Does this mean you are using 7 pots?

I mean 65-128

I want to use 22 pots, but lets make it simpler...

Can I have tested/working MB64E aplication with anabled 64 pots, 64 encoders, 64 buttons and no special function buttons - just maximum number of inputs?

Yes it is simple, but I just cannot make my MB64 based hardware to work with MB64E aplication so I need to test it with sombodys working configuration. 

Link to comment
Share on other sites

A configuration with 64 encoders and 64 buttons is not possible, since 64 encoders already allocate 128 pins.

However, in setup_midibox64.asm you can find a tested configuration for 64 pots, 64 buttons and 32 encoders.

A precompiled .hex file is also available - so you could upload it without reassembling.

Best Regards, Thorsten.

Link to comment
Share on other sites

I stopped using LTC while debugging MB64E to minimalise bugs and errors. Now I have few test pots connected, 2 encoders and 32 buttons working but not other 28 buttons at second DIN module. Last SR#8 I am using configured for 2 encoders, and they are working but not other inputs on same DIN module. However I`ll check your setup_midibox64.asm and see will it be better.

Link to comment
Share on other sites

  • 2 weeks later...

Still here with same problem...

What should I do to use inputs of second DINx4 for pushbuttons and last 4 pins of last SR for encoders. I have working only those 4 inputs configured for 2 encoders, other inputs dont work.

Link to comment
Share on other sites

You have to ensure, that no unused encoder entry overrules the pins, which are connected to buttons (if you are unsure: remove all ENC_ENTRY lines of encoders that are not connected to your box), and you propably have to adapt the DEFAULT_DIN_SR_PIN_* settings, if you have changed them in the meantime

Best Regards, Thorsten.

Link to comment
Share on other sites

I already swaped all ENC_ENTRY with MT_EOT except last two I am using for only 2 encoders. It works OK. I tought all entries with MT_EOT by default acts as butons.

Is this how my configuration should look like If I want to use only 2 encoders on the last SR#8 ?

#define DEFAULT_DIN_SR_PIN_01_08 2

#define DEFAULT_DIN_SR_PIN_09_16 3

#define DEFAULT_DIN_SR_PIN_17_24 1

#define DEFAULT_DIN_SR_PIN_25_32 4

#define DEFAULT_DIN_SR_PIN_33_40 5

#define DEFAULT_DIN_SR_PIN_41_48 6

#define DEFAULT_DIN_SR_PIN_49_56 7

#define DEFAULT_DIN_SR_PIN_57_60 8 (should I change it like this?)

pins 61-64 of last SR#8 are asigned to 2 encoders

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...