# Audioengine Controller

**URL:** https://forum.midibox.org/t/audioengine-controller/16326
**Category:** MIDIbox HUIs
**Created:** [March 9, 2012, 3:54pm UTC](https://forum.midibox.org/t/audioengine-controller/16326 "2012-03-09T15:54:44Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [May 2, 2012, 5:07pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/21 "2012-05-02T17:07:01Z")

</div>

Hi Pyjaman

Thanks for that advice. I that about that. But Live Music Business is a Ruff thing, especially to gear.

What if that wire falls off in the Truck that carries it to the Show Venue? I wanted to know “if” it is possible to flatten that a little bit IN the software to prevent of getting in trouble.

Do you Program by your own? Maybe you can answer me that… (I’m not practiced in Software at al…)

Best Regards

novski

---

<div class="post-metadata">

### Author: ![ilmenator](https://forum.midibox.org/user_avatar/forum.midibox.org/ilmenator/32/10_2.png) [@ilmenator](https://forum.midibox.org/u/ilmenator)
#### Post date: [May 2, 2012, 8:26pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/22 "2012-05-02T20:26:00Z")

</div>

> What if that wire falls off in the Truck that carries it to the Show Venue?

Hey, you are the one building that thing, so you are in control. Build it in such a way that it can’t fall off! Simple!

---

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [May 2, 2012, 9:08pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/23 "2012-05-02T21:08:28Z")

</div>

Im just asking… **“IS”** it possible to flatten that in software?

---

<div class="post-metadata">

### Author: ![T.K](https://forum.midibox.org/user_avatar/forum.midibox.org/t.k/32/7_2.png) [@T.K](https://forum.midibox.org/u/T.K)
#### Post date: [May 2, 2012, 10:17pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/24 "2012-05-02T22:17:45Z")

</div>

> Im just asking… “IS” it possible to flatten that in software?

“flatting” is the wrong term.

You are searching for a mechanism which filters MIDI events when the fader isn’t manually touched, right?

It’s provided with the touch sensor mode.

Once you connected the touch sensor, it would send a note event whenever the fader is touched (good for testing)

Now change the touch sensor mode to the option named “Like previous, but additionally no fader event as long as sensor not pressed” -\> voila! :sorcerer:

Best Regards, Thorsten.

---

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [May 9, 2012, 7:15pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/25 "2012-05-09T19:15:06Z")

</div>

Yes!

I’m sorry for the delay of testing that.

I now tested to contact the sensor T0 to fader number 1 and activated the “Like previous, but additionally no fader event as long as sensor not pressed” preset. And now it doesn’t tremble anymore.

Thats a solution to my question.

can you declare me what those other parameters are for?

1. PWM Steps

2. AIN Deadband

3. MF Deadband

Thanks a lot.

---

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [May 16, 2012, 8:45am UTC](https://forum.midibox.org/t/audioengine-controller/16326/26 "2012-05-16T08:45:24Z")

</div>

who can explane me these parameters?

1. PWM Steps

2. AIN Deadband

3. MF Deadband

Best Regards

novski

---

<div class="post-metadata">

### Author: ![philetaylor](https://forum.midibox.org/user_avatar/forum.midibox.org/philetaylor/32/126_2.png) [@philetaylor](https://forum.midibox.org/u/philetaylor)
#### Post date: [May 16, 2012, 5:05pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/27 "2012-05-16T17:05:51Z")

</div>

Hi.

1. PWM Steps: This defines how fast the H bridge is ‘pulsed’ to control the fader motor. If you find that your motor is sluggish then you can adjust this.

2. AIN Deadband: All A-to-D (analogue to digital) circuits suffer from a certain amount of ‘jitter’. The AIN deadband allows you to set a minimum amount of change in the analogue input before it is reported as a ‘move’ of the fader.

3: MF Deadband: I guess that this is the reverse of AIN deadband? only engage the motor if the input value has moved significantly. although TK will be able to confirm this??/

If you find that the faders are a bit jittery then you should be able to adjust the deadband values to counter it.

Cheers

Phil

---

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [June 8, 2012, 4:34pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/28 "2012-06-08T16:34:05Z")

</div>

Thank you philetaylor for that explanation on the functions of the GUI.

I now have a total different question.

I realized that i will not be able to ad more Faders than 8+1 in my approach because the Midi functions are restricted in this Program i use (softwareaudioconsole). The only Midi Template that provides more than 8 Faders including the Canelstrip functions is MotorMix. (i can’t assign Functions. Instead i select a fix Template file from the manufactory…)

noooow. my shy question now is: is it possible to transfer the MM Protocol from the midibox\_MM to the MF\_NG? 🙂

---

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [June 12, 2012, 2:11pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/29 "2012-06-12T14:11:40Z")

</div>

is it possible to transfer the MM Protocol from the midibox\_MM Project to the MF\_NG?

---

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [July 16, 2012, 10:05pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/30 "2012-07-16T22:05:53Z")

</div>

Hi

I hope i get some answers because i can’t manage this alone. (And i try to keep my posts together because i don’t want to mess around in this forum…)

I finally decided to work with the MM V2 Application. Unfortunately SAC uses many functions by increasing the Rotary Selector Rotary. (well thats hard to describe witch one i mean… please, see attachment photo. )

So basically what i need to do is by pressing a Button i need a possibility to set the right Selection of Mode first.

So for a Sample: if i want to activate my Compressor i need to Virtually turn the Selector Rotary first to the “Comp Mode” and then press the Button 5. (in Normal use of MMv2 thats the Select Chanel 5 Button)

How can i do that in my Software? And is that Selector Rotary defined as “MM\_VPOT” in the Application?

Thanks a lot for any Help

best regards

novski

edit: changed .tif to .jpg for easy view.

[SAC CM MM Help.rtf](\< _ **base\_url** _ \>/applications/core/interface/file/attachment.php?id=9862)

 ![post-10711-0-51867600-1342476573.jpg](https://forum.midibox.org/uploads/default/original/2X/9/9fd2b693460e234c90a34cab8d8d148bda6b6bd3.jpeg)

---

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [July 29, 2012, 5:56pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/31 "2012-07-29T17:56:55Z")

</div>

im Searching for a Eagle Library Part TI SN74HC595N of the DOUT and SN74HC165N of the DIN Boards. Does anyone share them with me?

Thanks

---

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [August 1, 2012, 10:03am UTC](https://forum.midibox.org/t/audioengine-controller/16326/32 "2012-08-01T10:03:25Z")

</div>

I have problems understanding this part of code:

```
mm_id = ((led_id_l << 3) & 0x38) | led_id_h;

```

What hapens if led\_id\_l is: **0x41** and led\_id\_h is: **0x03**

Thanks for help

novski

---

<div class="post-metadata">

### Author: ![Hawkeye](https://forum.midibox.org/user_avatar/forum.midibox.org/hawkeye/32/223_2.png) [@Hawkeye](https://forum.midibox.org/u/Hawkeye)
#### Post date: [August 1, 2012, 10:16am UTC](https://forum.midibox.org/t/audioengine-controller/16326/33 "2012-08-01T10:16:18Z")

</div>

Hi,

the operations perfomed are

0x41 is left shifted by three bits (aka multiply by eight), resulting in a value of 0x208

it is then ANDed with 0x38, resulting in a value of 0x08

this is then ORed with 0x03, resulting in a value of 0x0B

Hope it helps 🙂

Bye,

Peter

---

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [August 1, 2012, 12:32pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/34 "2012-08-01T12:32:15Z")

</div>

Thanks Hawkeye! now i understand…

Do you speak German? (-i think i saw this video of you and Thorstens Jamsession…)

-Because maybe you can tell me why this tutorial talks of throwing the bits away by shifting…

```
http://www.c-howto.de/tutorial-variablen-bitmanipulation.html

```

thanks

novski

---

<div class="post-metadata">

### Author: ![Hawkeye](https://forum.midibox.org/user_avatar/forum.midibox.org/hawkeye/32/223_2.png) [@Hawkeye](https://forum.midibox.org/u/Hawkeye)
#### Post date: [August 1, 2012, 1:54pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/35 "2012-08-01T13:54:11Z")

</div>

Hey there,

yes, speaking German 🙂

Bitshifting just means, the bits are shifted to the left or right, and zeroes are added on the other end, in binary form on an 8-bit datatype:

11110011

\<\< 2

=

11001100

On many cpus there also exist instructions to rotate, inserting the bits that fall off one end of the value at the other end.

So a “trick” to throw the upper three bits of any datatype away, would be to shift left by three, then shift right by three.

But this is not necessarily the most efficient way to do it, that would most probably be by ANDing with 00011111 🙂

Many greets,

Peter

---

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [August 2, 2012, 8:09pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/36 "2012-08-02T20:09:58Z")

</div>

wow. interessting thaughts. Thanks Hawkeye.

I have a question about the

```
s32 MM_MIDI_Received(mios32_midi_package_t package)

```

Can i pause that in some way? I mean, stop the receive for a certain time…

Cheers,

novski

---

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [August 5, 2012, 10:10am UTC](https://forum.midibox.org/t/audioengine-controller/16326/37 "2012-08-05T10:10:05Z")

</div>

Well, may bee i have to start from the beginning.

As you may have read in this thread before I’m building a Midibox MMv3 on LPC17 Core. Thorsten was so courteous to lift it in to 32bit architecture.

But now I’m stucked in a problem.

My Controller simulates a MotorMix Hardware. This Controller has in reality 9 encoders. Eight on each Channel and one JogWeel for Menu purposes.

My Software can receive fixed Messages not so as most other programs where the user can program the Software-button to a Midi-value..

To control everything i need to jump virtually in to a Menu by increasing the JogWeel then i can select by pressing buttons according to a channel.

I managed to do that so far. And it works stable.

My problem occurs when i want to assign a LED to one of those Virtual Buttons… Because as soon as i reassume to default menu the LED doesen’t stay lit.

I found out that thats because the Feedback from the software, sends (of course) the new information for the Display and the according Buttons in the default Menupoint.

Im now searching for a solution witch recognizes the first feedback and sets the LED but ignores the following for certain time.

is that possible?

Thanks for any Help.

Novski

---

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [August 12, 2012, 3:18pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/38 "2012-08-12T15:18:02Z")

</div>

I tried to connect MF\_NG, J11 to LPC17 Core, J5A Pin A6/A7 but can’t get connection to the PIC over Midi3 on Mios Studio.

pin “MO” to pin A6

pin"MI" to pin A7

(i tried to swapp A6 and A7 as well…)

Im runnign the MMv3 App

and have the default UARTs as this:

```
#define MIOS32_UART_NUM 4

```

I want to Link those two boards to communicate on one USB Port.

what is nessassary to define in mios32\_config.h for that?

---

<div class="post-metadata">

### Author: ![novski](https://forum.midibox.org/user_avatar/forum.midibox.org/novski/32/336_2.png) [@novski](https://forum.midibox.org/u/novski)
#### Post date: [August 18, 2012, 2:15pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/39 "2012-08-18T14:15:10Z")

</div>

Im trying to set the Midi Merger over MIOS but always get this error:

```
[603998.955] set router <8> <IN4> <all> <USB1> <all> 

[603998.959] Expecting node number between 1..16!

[603998.959] set router <node> <in-port> <off|channel|all> <out-port> <off|channel|all>: change router setting

```

The node number is 8. And so, between 1 and 16. Whats wrong?

(Running MMv3 on LPC17)

---

<div class="post-metadata">

### Author: ![KUI](https://forum.midibox.org/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@KUI](https://forum.midibox.org/u/KUI)
#### Post date: [September 11, 2012, 9:31pm UTC](https://forum.midibox.org/t/audioengine-controller/16326/40 "2012-09-11T21:31:53Z")

</div>

> Im trying to set the Midi Merger over MIOS but always get this error:
> 
> [603998.955] set router \<8\>
> 
> [603998.959] Expecting node number between 1..16!
> 
> [603998.959] set router \<off|channel|all\> \<off|channel|all\>: change router setting
> 
> The node number is 8. And so, between 1 and 16. Whats wrong?
> 
> (Running MMv3 on LPC17)

Hi Novski,

Proper sytax is

Set router 8 IN4 all USB1 all

do not use \<\>.

Have you been able to get 2 way midi with the mmV3 between SAC and the midibox core?

I have not been able to get 2 way midi with mmV3, ie I can move the physical faders and get the host software SAC to respond.

I can not get the SAC host software to move the physical faders without using MIDIOX and a virtual midi port in between them.

Any thoughts?

KUI

[Previous page](https://forum.midibox.org/t/audioengine-controller/16326.md?page=1)

[Next page](https://forum.midibox.org/t/audioengine-controller/16326.md?page=3)
