Sign in to follow this  
Followers 0
jamie3

Firebox controller for ableton

41 posts in this topic

I have decided to post my weekly updates on here. I will be building a 4 channel controller for ableton using concepts from the Maven, Mackie and Aurora controllers and also from my own personal design concepts.

parts from smashtv. very professional!

DSC00527.JPG

midi box core and other stuff almost complete

DSC00657.JPG

testing the ain for the first time

DSC00663.JPG

determining the layout

DSC00662.JPG

Share this post


Link to post
Share on other sites

i have a bunch of tact switches, leds, and knobs arriving in the next week, so once i decide on the parts i am going to start building the front panel.

i've started a design in front panel express but i find it difficult to measure. anyone know of a similar cad program i can use?

Share this post


Link to post
Share on other sites

Continuing from the old thread...

didnt change anything. simply substituted the pot for the fader and the pic would reset. the fader might be damaged ill have to try another one.

Ahh, so it works with pots and not with the fader?

It may be damaged. You can test it with a multimeter or an LED (+resistor in series). Make sure you check the datasheet to be sure you have the right pinout

Share this post


Link to post
Share on other sites

does anyone know how many DINS / DOUTs the Mbox64 can support?

Is it two each?

Or four?

Share this post


Link to post
Share on other sites

If you look at the AIN page:

http://www.ucapps.de/mbhp_ain.html

...you'll notice it mentions you need two for a full-featured MB64. In other words, two is the most a core can support. Another way to find this out would be to see how many components a project can handle, and figure how many modules that equals. Also, I came out of lurking to answer your question... hooray me. :D

Share this post


Link to post
Share on other sites

Wow talk about getting mixed up! Hehehe

does anyone know how many DINS / DOUTs the Mbox64 can support?

First link in my signature ;)

Is it two each?

Or four?

Up to 128 DIN pins, and 128 DOUT pins, which is 4* DOUTx4 boards and 4* DINx4 boards - each D*x4 board has up to 4 Shift Registers, each providing 8 pins, for a max of 32 pins per board. It helps to get your terminology correct to avoid confusion.

If you look at the AIN page:

Well, that's AINs, and that's different to DINs; but you were on the right website, and for AINs your answer was correct. I'm glad you un-lurked!

Share this post


Link to post
Share on other sites

If you look at the AIN page:

http://www.ucapps.de/mbhp_ain.html

...you'll notice it mentions you need two for a full-featured MB64. In other words, two is the most a core can support. Another way to find this out would be to see how many components a project can handle, and figure how many modules that equals. Also, I came out of lurking to answer your question... hooray me. :D

currently i have two AINs which supports my 64 pot mixer.

i was just curious as I had seen places where mention using 4 DOUTS / DINS on a single core.

Share this post


Link to post
Share on other sites

currently i have two AINs which supports my 64 pot mixer.

i was just curious as I had seen places where mention using 4 DOUTS / DINS on a single core.

2 ains and 4 douts = 2 knobs and 4 leds. You have two AIN MODULES and 4 DOUTx4 MODULES.

It helps to get your terminology correct to avoid confusion.

Especially when incorrect terminology has already been used and confusion already abounds ;D

Share this post


Link to post
Share on other sites

2 ains and 4 douts = 2 knobs and 4 leds. You have two AIN MODULES and 4 DOUTx4 MODULES.

Especially when incorrect terminology has already been used and confusion already abounds ;D

ok well hopefully my two DINS and two DOUTS will be sufficient

i ordered two EHC alluminum knobs today. they are fantastic, but incredibly expensive.

anyone know any alternatives?

here is the link to the EHC knob

http://www.alliedelec.com/Search/ProductDetail.aspx?SKU=904-6007&SEARCH=&MPN=PVL-19B-2&DESC=PVL-19B-2&R=904-6007

i have about 54 knobs on my mixer so buying the EHC knobs would cost roughly $250

Share this post


Link to post
Share on other sites

ok well hopefully my two DINS and two DOUTS will be sufficient

I give up  ::)

i have about 54 knobs on my mixer so buying the EHC knobs would cost roughly $250

Tell me about it, I have 500 of them.......

Share this post


Link to post
Share on other sites

I give up  ::)

haha. i havent specced how many buttons/leds i need yet.

Tell me about it, I have 500 of them.......

spare a knob for an poor midibox bum?

Share this post


Link to post
Share on other sites

spare a knob for an poor midibox bum?

:P

Let me make another attempt at being helpful and ask: Have you considered sites like Futurlec? Of course their stuff isn't as nice as the ones you're looking at by a long shot, and they can be a little slow on the shipping side. It may or may not be worth the trade-off.

http://www.futurlec.com/SwKnob.shtml

Oh, sorry about bringing up the AIN module. I totally thought I was on the ball there.! :-[

Share this post


Link to post
Share on other sites

havent actually seen futurelec before. thank you!

i am going to order a few samples. if they aren't too bad i will get them and hold off on the EHC knobs.

Share this post


Link to post
Share on other sites

this is sorta off topic but i am going to be integrating a 8in/out motu sound card into my midibox.

id like to build some channel volume monitoring leds rows. any resources online would be appreciated.

Share this post


Link to post
Share on other sites

im trying to get my initial prototype working with ableton.

i've noticed that when I turn a single pot the CC changes. Examining the C code I uploaded it shows that a CC note is sent when the pin voltage change (ie: when i move the pot). The CC note should not change when the pot moves, but it should be sent to ableton indicating that the CC note occurred.

Can't seem to figure out why the CC note is changing when i turn the pot. Software looks ok, as does the hardware.

Is there something I am missing?

.

Share this post


Link to post
Share on other sites

1) Can you paste code? I might have trouble guessing it exactly ;)

2) There's no suchanimal as a CC note.... You mean CC channel, number or value?

The CC note should not change when the pot moves, but it should be sent to ableton indicating that the CC note occurred.

void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam
{
  MIOS_MIDI_BeginStream();
  MIOS_MIDI_TxBufferPut(0xb0);
  MIOS_MIDI_TxBufferPut(0x0b);
  MIOS_MIDI_TxBufferPut(0x7f);  // or whatever you wann send
  MIOS_MIDI_EndStream();
}
That's all you need.... I'm guessing yours is more like
  MIOS_MIDI_TxBufferPut(pin_value);

?

Share this post


Link to post
Share on other sites

1) Can you paste code? I might have trouble guessing it exactly ;)

2) There's no suchanimal as a CC note.... You mean CC channel, number or value?

void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam
{
  MIOS_MIDI_BeginStream();
  MIOS_MIDI_TxBufferPut(0xb0);
  MIOS_MIDI_TxBufferPut(0x0b);
  MIOS_MIDI_TxBufferPut(0x7f);  // or whatever you wann send
  MIOS_MIDI_EndStream();
}
That's all you need.... I'm guessing yours is more like
  MIOS_MIDI_TxBufferPut(pin_value);

?

yes sorry, CC channel

yes the function

  MIOS_MIDI_TxBufferPut(pin_value);

is called

.

Share this post


Link to post
Share on other sites
2) There's no suchanimal as a CC note

FALSE!

200px-Lochnessmonster.jpg

Share this post


Link to post
Share on other sites

ok so back to the AIN_NotifyChange() function


void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam
{
  // a pot has been moved, send CC#<pin-number> at channel 1
  MIOS_MIDI_BeginStream();
	MIOS_MIDI_TxBufferPut(0xb0);	// channel 1
	MIOS_MIDI_TxBufferPut(pin);	// pin #
  MIOS_MIDI_TxBufferPut(MIOS_AIN_Pin7bitGet(pin)); // 7bit pot value
  MIOS_MIDI_EndStream();

  // notify display handler in DISPLAY_Tick() that AIN value has changed
  last_ain_pin = pin;
  app_flags.DISPLAY_UPDATE_REQ = 1;
}

when i move a single pot the pin value changes, i would like it such that when i move a pot the following MIDI events occur:

CC channel 1

Pot #

Value

When I move a single pot (say pot #1), using the above code the "pin" value changes. Any reason why?

Assuming a pot only has one pin assigned to it.

Share this post


Link to post
Share on other sites

Your code is correct - this maybe a hardware error I think. Can you try the ain64_din128_dout128 app?

Share this post


Link to post
Share on other sites

Your code is correct - this maybe a hardware error I think. Can you try the ain64_din128_dout128 app?

yep, the code is from the ain64_din128_dout128 app.

Share this post


Link to post
Share on other sites

Did you modify it for the correct number of AINs?

AUAIMBCTG?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0