Jump to content

midibox64 CC weirdness, and why it's bad to crosspost


gzifcak
 Share

Recommended Posts

hi,

i built a midibox64 with just a core, ain, and 16 pots. i tried to use vmidibox64 to assign controller numbers and midi channels to the pots, but i can't seem to get it to work.

- i changed all the numbers in the pots tab to what i wanted.

- then tried to send the sysex file, but nothing changed.

- i also tried to save the sysex file, but when i open it it shows the default settings.

right now my pots are sending a lot of different data on a lot of different midi channels.

help!

thanks,

greg

Link to comment
Share on other sites

  • Replies 70
  • Created
  • Last Reply

Top Posters In This Topic

i used mios studio to upload the main.hex for my midibox64. using mios studio to monitor, everything looks good. however, when i monitor with midi ox, i see streams of data even when no pot is moving. the midi in light on my interface also stays lit.

i saw a reference in another thread to configuring the midibox64 app for only 16 pots. what does this mean? i am using 12 1k pots and 4 5k pots, no lcd, no DIN or DOUT. i have grounded all the unused analog input pins on the AIN board, and also the ones on the CORE.

i also haven't figured out how to program the pots with the CCs i want to use. right now each one seems to put out a ton of pitch bend, aftertouch and note data.

any ideas?

thanks a lot,

greg

Link to comment
Share on other sites

hi,

i got my midibox64 working, but as i monitor it, sometimes the pots send weird info:

00000000939226 ms | [b0 3B 00] Channel 1: CC LSB 27 (Undefined) value: 0

00000000939227 ms | [b0 3C 00] Channel 1: CC LSB 28 (Undefined) value: 0

00000000939228 ms | [b0 3D 00] Channel 1: CC LSB 29 (Undefined) value: 0

00000000939229 ms | [b0 3E 00] Channel 1: CC LSB 30 (Undefined) value: 0

00000000939230 ms | [b0 3F 00] Channel 1: CC LSB 31 (Undefined) value: 0

00000000939297 ms | [b0 05 14] Channel 1: CC Portamento Time value: 20

00000000940254 ms | [b0 05 15] Channel 1: CC Portamento Time value: 21

00000000940394 ms | [b0 05 16] Channel 1: CC Portamento Time value: 22

00000000940910 ms | [b0 05 17] Channel 1: CC Portamento Time value: 23

00000000941162 ms | [b0 05 18] Channel 1: CC Portamento Time value: 24

that's an example from a single pot set to control portamento time. each pot does this, but sometimes it happens less (almost not at all). other times it happens with every move of every pot.

any ideas what it could be?

thanks,

greg

Link to comment
Share on other sites

i'm going crazy. sometimes it seems like a hardware issue, like if i move the parts of the case around the problem gets better or worse. i've uploaded the mios and this modified syx file:

################################################################################

#

# This is an example init file for MIDIbox 64 with Special Function Buttons

# It uses the default Meta Events which come with the official firmware.

#

# !!! SEE THE [bUTTONS] SECTION FOR SFB EXAMPLES !!!

# !!! SEE ALSO http://www.uCApps.de/midibox/midibox64_sfb_table.txt !!!

#

# It doesn't include comments for the flags which are already descriped

# in the midibox64.ini default file in order to point out the differences

#

################################################################################

[TYPE]

  midibox64

[bANKNAME]

  "SFB Example    " 

[CONNECTED_POTS]

  16

[GLOBAL_MIDI_CHANNEL]

  0

[MORPH_BANK]

  1

[MORPH_POT_GLOBAL]

  0

[MORPH_POT_G1]

  0

[MORPH_POT_G2]

  0

[MORPH_POT_G3]

  0

[MORPH_POT_G4]

  0

[sNAPSHOT_AT_POWERON]

  disabled

[AUTO_SNAPSHOT]

  disabled

[MIDI_MERGER]

  enabled

[POT_BEHAVIOUR]

  normal

[sEND_PC_ON_BANKCHANGE]

  disabled

[RECEIVE_PC_FOR_BANKCHANGE]

  disabled

################################################################################

[POTS]

    # Pot Row 1

    1  =  B0 00 [00-7F]  "CC # 0" DEC|

    2  =  B0 01 [00-7F]  "CC # 1" DEC|

    3  =  B0 02 [00-7F]  "CC # 2" DEC|

    4  =  B0 03 [00-7F]  "CC # 3" DEC|

    5  =  B0 04 [00-7F]  "CC # 4" DEC|

    6  =  B0 05 [00-7F]  "CC # 5" DEC|

    7  =  B0 06 [00-7F]  "CC # 6" DEC|

    8  =  B0 07 [00-7F]  "CC # 7" DEC|

    9  =  B0 08 [00-7F]  "CC # 8" DEC|

    10  =  B0 09 [00-7F]  "CC # 9" DEC|

    11  =  B0 0A [00-7F]  "CC #10" DEC|

    12  =  B0 0B [00-7F]  "CC #11" DEC|

    13  =  B0 0C [00-7F]  "CC #12" DEC|

    14  =  B0 0D [00-7F]  "CC #13" DEC|

    15  =  B0 0E [00-7F]  "CC #14" DEC|

    16  =  B0 0F [00-7F]  "CC #15" DEC|

here is an example of the output of a single pot:

00000000727765 ms | [b0 06 00] Channel 1: CC Data Entry value: 0

00000000727766 ms | [b0 07 00] Channel 1: CC Volume value: 0

00000000727767 ms | [b0 08 00] Channel 1: CC Balance value: 0

00000000727768 ms | [b0 09 00] Channel 1: CC Undefined value: 0

00000000727769 ms | [b0 0A 00] Channel 1: CC Pan value: 0

00000000727770 ms | [b0 0B 00] Channel 1: CC Expression Controller value: 0

00000000727771 ms | [b0 0C 00] Channel 1: CC Effect Control 1 value: 0

00000000727772 ms | [b0 0D 00] Channel 1: CC Effect Control 2 value: 0

00000000727773 ms | [b0 0E 00] Channel 1: CC Undefined value: 0

00000000727775 ms | [b0 0F 00] Channel 1: CC Undefined value: 0

00000000727888 ms | [b0 01 55] Channel 1: CC Modulation Wheel value: 85

00000000727911 ms | [b0 01 56] Channel 1: CC Modulation Wheel value: 86

00000000727956 ms | [b0 01 57] Channel 1: CC Modulation Wheel value: 87

00000000728058 ms | [b0 01 58] Channel 1: CC Modulation Wheel value: 88

i have no clue what's wrong.

any ideas?

thanks,

greg

Link to comment
Share on other sites

i uploaded a syx file with all the pots set to send the same cc, and the intermittent garbage turned out to be all the same. for example:

     

0002B0DE  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B0DF  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B0E0  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B0E1  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B0E2  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B0E3  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B0E4  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B157  1  --    B0    00    68    1  ---  CC: Bank MSB         

0002B170  1  --    B0    00    69    1  ---  CC: Bank MSB         

0002B190  1  --    B0    00    6A    1  ---  CC: Bank MSB         

0002B1B3  1  --    B0    00    6B    1  ---  CC: Bank MSB         

0002B1F3  1  --    B0    00    6C    1  ---  CC: Bank MSB         

0002B230  1  --    B0    00    6D    1  ---  CC: Bank MSB         

0002B236  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B237  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B237  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B238  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B239  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B23A  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B23C  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B23D  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B23E  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B23F  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B240  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B241  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B242  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B243  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B244  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B246  1  --    B0    00    00    1  ---  CC: Bank MSB         

0002B2B7  1  --    B0    00    71    1  ---  CC: Bank MSB         

0002B2CA  1  --    B0    00    72    1  ---  CC: Bank MSB         

0002B306  1  --    B0    00    73    1  ---  CC: Bank MSB         

0002B358  1  --    B0    00    74    1  ---  CC: Bank MSB         

0002B3A4  1  --    B0    00    75    1  ---  CC: Bank MSB         

0002B3E1  1  --    B0    00    76    1  ---  CC: Bank MSB         

what it looks like to me is that turning one pot sometimes causes messages for other pots to be sent, always with a value of 0. could that be some sort of electrical problem? is there any other way to test the functionality of my circuit?

thanks,

greg

Link to comment
Share on other sites

What value of pots are you using?

midibox64 pot question

« on: Yesterday at 04:32 »

Reply with quoteQuote

i just built a midibox64 with 2 joysticks and 12 rotary pots. no DIN, DOUT, or LCD.

i have uploaded the midibox64 app, and i can see midi data when i move a joystick, but it crashes soon after. the regulator gets very hot.

i used 1k pots, could this be the reason?

without the pots connected, i read about 4k resistance between +5 and ground. with the pots connected it goes down to 9 ohms! is this the parallel resistance or do i have a short somewhere?

thanks for any tips,

greg

gzifcak cross posting is not really helpful if you are seeking help here in th forum as the info gets scattered all over..

have you tried 10k pots ?

simone

Link to comment
Share on other sites

There are three reasons that came to mind right now, why you shouldn't crosspost:

1) You're less likely to get an answer because you're spread thin and because

2) You're making a mess which people don't like and if you're really unlucky

3) stryd_one has 5 pages of unread posts overnight, and you're three of them, so he will get cranky, and merge them together and you wind up with a big mess. See 1) and 2)

;D

Link to comment
Share on other sites

oops, i apologize 1000 times. i posted different messages because i thought i was having different issues. thanks for your patience.

i am using 1k pots, i've seen that pdf, but i figured 16 pots wouldn't be too many to attach to the same + and gnd rail. could this be the problem?

i will separate them into 2 groups of 8 and see what happens. i would try 10k pots but i don't have any.

thanks

Link to comment
Share on other sites

i've seen that pdf, but i figured 16 pots wouldn't be too many to attach to the same + and gnd rail. could this be the problem?

i will separate them into 2 groups of 8 and see what happens.

actually, looking at it again, that's exactly how i have it wired. there's another pdf that shows a "star" pattern with the pots divided into groups of 8, each fed by a separate power and ground wire.

you wont need that lm317. get with 9v in your core and all is fine from the powerside.

the reason i added the lm317 was so i could run it safely from a specific 12v supply that i have. i'd prefer to leave it in there if it's not causing a problem.

Can you make some pictures od your pcbs and so on ? Perhaps we can locate the error faster.

i'll do that now.

thanks

Link to comment
Share on other sites

unfortunately i think my girlfriend has my camera today. i broke the 16 pots into 2 groups of 8 with separate power and ground rails: no change.

here's a chunk from midi-ox (just pot #1 being turned):

TIMESTAMP IN PORT STATUS DATA1 DATA2 CHAN NOTE EVENT             

0004960C  1  --    B0    00    60    1  ---  CC: Bank MSB         

0004962E  1  --    B0    00    00    1  ---  CC: Bank MSB         

0004962F  1  --    B0    01    00    1  ---  CC: Modulation       

00049630  1  --    B0    02    00    1  ---  CC: Breath           

00049630  1  --    B0    03    00    1  ---  Control Change       

00049632  1  --    B0    04    00    1  ---  CC: Foot Controller 

00049632  1  --    B0    05    00    1  ---  CC: Portamento Time 

00049633  1  --    B0    06    00    1  ---  CC: Data Entry MSB   

00049634  1  --    B0    07    00    1  ---  CC: Volume           

00049635  1  --    B0    08    00    1  ---  CC: Balance         

00049636  1  --    B0    09    00    1  ---  Control Change       

00049637  1  --    B0    0A    00    1  ---  CC: PAN             

00049638  1  --    B0    0B    00    1  ---  CC: Expression       

00049639  1  --    B0    0C    00    1  ---  Control Change       

0004963A  1  --    B0    0D    00    1  ---  Control Change       

0004963B  1  --    B0    0E    00    1  ---  Control Change       

0004963C  1  --    B0    0F    00    1  ---  Control Change       

00049682  1  --    C7    00    --    8  ---  PC: Acc. Grand Piano 

00049689  1  --    C2    00    --    3  ---  PC: Acc. Grand Piano 

0004968A  1  --    E1    00    00    2  ---  Pitch Bend           

0004968B  1  --    E5    00    00    6  ---  Pitch Bend           

0004968C  1  --    A0    20    00    1  G# 1 Key Aftertouch       

000496B0  1  --    B0    00    5D    1  ---  CC: Bank MSB         

000496B5  1  --    B0    00    5C    1  ---  CC: Bank MSB         

000496D0  1  --    C2    00    --    3  ---  PC: Acc. Grand Piano 

000496D1  1  --    E1    00    00    2  ---  Pitch Bend           

000496D1  1  --    E5    00    00    6  ---  Pitch Bend           

000496D2  1  --    A0    20    00    1  G# 1 Key Aftertouch   

what's weird is i don't think any of my pots are setup to send a lot of that info, right? here's my pot setup:

[POTS]

    # Pot Row 1

    1  =  B0 00 [00-7F]  "CC # 0" DEC|

    2  =  B0 01 [00-7F]  "CC # 1" DEC|

    3  =  B0 02 [00-7F]  "CC # 2" DEC|

    4  =  B0 03 [00-7F]  "CC # 3" DEC|

    5  =  B0 04 [00-7F]  "CC # 4" DEC|

    6  =  B0 05 [00-7F]  "CC # 5" DEC|

    7  =  B0 06 [00-7F]  "CC # 6" DEC|

    8  =  B0 07 [00-7F]  "CC # 7" DEC|

    9  =  B0 08 [00-7F]  "CC # 8" DEC|

    10  =  B0 09 [00-7F]  "CC # 9" DEC|

    11  =  B0 0A [00-7F]  "CC #10" DEC|

    12  =  B0 0B [00-7F]  "CC #11" DEC|

    13  =  B0 0C [00-7F]  "CC #12" DEC|

    14  =  B0 0D [00-7F]  "CC #13" DEC|

    15  =  B0 0E [00-7F]  "CC #14" DEC|

    16  =  B0 0F [00-7F]  "CC #15" DEC|

so i'm getting program changes, pitch bend, aftertouch, etc, all with values of 0, even though my pots aren't setup to send those CC messages.

thanks

Link to comment
Share on other sites

yeah, i changed it to 16 and then deleted the pot settings for the rest of the pots, and all the buttons and leds.

here is a photo of my pot wiring:

http://eatstapes.com/pots.JPG

and here is a photo of the core and ain:

http://eatstapes.com/core-ain.JPG

as you can see, for the pots i now have a separate power and ground run for the 2 sets of 8 pots. the ground wire is the bare wire that runs underneath the pot lugs and the positive is red.

thanks

Link to comment
Share on other sites

i am using 1k pots, i've seen that pdf, but i figured 16 pots wouldn't be too many to attach to the same + and gnd rail. could this be the problem?

In a word, yes. Not the problem, but not exactly part of the solution.

Putting 16 x 1k pots in parallel across your power rails is the equivalent of 62.5 ohms. This will put a drain on your supply of around 80mA. This is not huge, but it is not helping.

Changing to 10k pots will increase the equivalent resistance to 625 ohms, reducing the load on your power supply to 8mA. This will also increase the resolution that your pots present to the AIN pins on the core.

Link to comment
Share on other sites

By the way, while doing the pots in banks of 8 is certainly a good idea, it does not change the overall resistance presented to the power rails.

Instead of 1k//1k//1k//1k//1k//1k//1k//1k//1k//1k = 62.5 ohms, you have:

(1k//1k//1k//1k//1k)//(1k//1k//1k//1k//1k) = 125//125 ohms, = 62.5 ohms.

I think the main reason for the banked structure is that it makes fault finding slightly easier.

Link to comment
Share on other sites

oops, i apologize 1000 times. i posted different messages because i thought i was having different issues. thanks for your patience.

No sweat man :) I thought I was extremely impatient? ;D

i am using 1k pots, i've seen that pdf, but i figured 16 pots wouldn't be too many to attach to the same + and gnd rail.

The point of that PDF is that the unused inputs (spare AIN pins with no pots attached) should be grounded. If you don't do that, you get random input, which it sounds like you did...

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