Audio Mixing Platform (AMP)

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2] 3 4

Author Topic: iPad Control  (Read 17558 times)

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 956
    • View Profile
Re: iPad Control
« Reply #15 on: July 30, 2015, 01:44:40 AM »

Ok so try this in your XML file:

<Command name="GATEONOFF" id="0xa0" absolute="true" echo="true">
 <Receive>
  <Callback>
   <Channel mask="10x1xxxx"></Channel>  <!-- B0 -->
   <Symbol mask="00000001"></Symbol>   <!-- 01 -->
   <Data mask="0xxxxxxx"></Data>  <!-- data byte -->
  </Callback>
 </Receive>
 <Send>
  <Message>
   <Channel mask="10x1xxxx"></Channel>  <!-- B0 -->
   <Symbol mask="00000001"></Symbol>   <!-- 01 -->
   <State on="01111111" off="00000000"></State>  <!-- data byte -->
  </Message>
 </Send>
</Command>


Untested, but hopefully in the right direction!

Bob
Logged

brettbrandon

  • Guest
Re: iPad Control
« Reply #16 on: July 30, 2015, 01:46:10 AM »

Will give it a try... Thanks.


EDIT: SUCESS!!! It turns the button on and off from the iPad....
« Last Edit: July 30, 2015, 01:49:37 AM by brettbrandon »
Logged

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 956
    • View Profile
Re: iPad Control
« Reply #17 on: July 30, 2015, 01:50:39 AM »

Good show!!!  One widget down, a hundred more to go.. :-)
Logged

brettbrandon

  • Guest
Re: iPad Control
« Reply #18 on: July 30, 2015, 01:59:39 AM »

The command I sent you is just the first default applied to the controls as you create them. I would suggest you use your own set of commands and let the app's learn whatever command it is. I would not write the template to what I come up with. It changes depending on what control is created first.

Just create your own Standard Midi Template for all the functions and let the app's find what they need....

Should be very cool. I picture this replacing say the BCR for channel strip control. It will still have alot of the limitations of the BCR (no scribble strip, ect).
Logged

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 956
    • View Profile
Re: iPad Control
« Reply #19 on: July 30, 2015, 02:36:06 AM »

Hey Brett,

Well, that's kind of what the BCR template currently is! I used the CC messages for all of the pots, starting at 0 and worked my way up.  You might have to convert the BCR template's binary, but it is all there.

Bob
Logged

brettbrandon

  • Guest
Re: iPad Control
« Reply #20 on: July 30, 2015, 05:07:22 PM »

I was looking to create a template that covers the switches as well. I'm not sure but I think I might be able to cover the drop down choices as well. A custom conversion table has to be created in the app but that is needed for most all the controls.
I can whip up the iPad setup in minutes but have no experience with binary or midi code.
I have always used the "Learn" function.
On top of that, the guy I have been filling in for, just got postponed/extended dates on the Rob Thomas tour, so I will now be covering his regular dates till mid September instead of this coming weekend.
I won't have much time to spend on it....
« Last Edit: July 30, 2015, 05:20:24 PM by brettbrandon »
Logged

RBIngraham

  • Guest
Re: iPad Control
« Reply #21 on: July 30, 2015, 05:32:20 PM »

That sounds like a good thing?    :)
Logged

brettbrandon

  • Guest
Re: iPad Control
« Reply #22 on: August 03, 2015, 12:53:44 AM »

After spending a little more time on it, not quite a success...
When I hit the button on the iPad, the gate button in the gui lights up, but the gate does not actually engage. The button just lights up.
If I click the button in the gui, the app's midi message light activates showing incoming midi signal, but it does not affect the button itself on the iPad.
Logged

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 956
    • View Profile
Re: iPad Control
« Reply #23 on: August 03, 2015, 01:03:35 AM »

Hey Brett,

What happens when you send a 01 for on instead of a 7f?

Bob
Logged

brettbrandon

  • Guest
Re: iPad Control
« Reply #24 on: August 03, 2015, 01:15:51 AM »

I don't understand what you are asking.
Logged

brettbrandon

  • Guest
Re: iPad Control
« Reply #25 on: August 03, 2015, 01:21:24 AM »

Here's a screenshot of the midi settings.
Logged

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 956
    • View Profile
Re: iPad Control
« Reply #26 on: August 03, 2015, 01:26:01 AM »

Try changing that OFF->ON from being 0-127 to 0-1.
Logged

brettbrandon

  • Guest
Re: iPad Control
« Reply #27 on: August 03, 2015, 01:29:27 AM »

The gate now engages but clicking in the gui still does not change the app.
Getting closer...
« Last Edit: August 03, 2015, 01:39:11 AM by brettbrandon »
Logged

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 956
    • View Profile
Re: iPad Control
« Reply #28 on: August 03, 2015, 10:14:44 AM »

Hey Brett,

Let's make sure the data you receive for the app is correct.  Its possible we still need to tweak the template.  Do you have a way of tapping into the midi stream with Midiox so that you can monitor it?

Also, try this in your AMP template file for the desired widget:
<State on="00000001" off="00000000"></State>  <!-- data byte -->

Bob
Logged

brettbrandon

  • Guest
Re: iPad Control
« Reply #29 on: August 03, 2015, 01:15:40 PM »

The new code has no change.
Using the Midi Ox Midi Port Activity window, it lights up using the iPad, but does not when clicking in the gui.
Logged
Pages: 1 [2] 3 4