Jump to content

Joystick controller for surround mixing - how?


Guest okyeron
 Share

Recommended Posts

Guest okyeron

hello,

I'm just gathering information for a possible MBHP project to create an 8-stick/channel joystick controller for mixing surround sound. (basically a Midibox16E with joysticks instead of pots)

In Logic, the surround controller numbers are 25 (Surr. Angle), 26 (Surr. Diveristy), 27 (Surr LFE).  I take it that "diversity" here means "radius" or amount on the give angle. (I'm not worried about LFE here, just angle/amount)

So... this makes the project slightly more complex that I had thought -- i figured i could connect a dual-axis joystick potentiometer to two inputs and map x and y to two different controllers. Since Logic is looking for angle and amount, this means I need to translate the x, y amounts.  The math for this should be pretty easy, it's just a matter of conversion.

Am I able to make this kind of modification in the code for MBHP ??  Would this require a "mode" or something to take 2 controllers and remap the values to angle/amount for the joystick?  

Is this modification

 (1) trivial ?

 (2) doable, but could take some time ?

 (3) really hard ?

What does someone need to know to make this sort of modifcation?  I have some friends with PIC programming skills, so i think they will be of help to me.

I appreciate any assistance anyone can offer. Thanks in advance!

Link to comment
Share on other sites

Guest okyeron

hello,

I'm just gathering information for a possible MBHP project to create an 8-stick/channel joystick controller for mixing surround sound. (basically a Midibox16E with joysticks instead of pots)

In Logic, the surround controller numbers are 25 (Surr. Angle), 26 (Surr. Diveristy), 27 (Surr LFE).  I take it that "diversity" here means "radius" or amount on the give angle. (I'm not worried about LFE here, just angle/amount)

So... this makes the project slightly more complex that I had thought -- i figured i could connect a dual-axis joystick potentiometer to two inputs and map x and y to two different controllers. Since Logic is looking for angle and amount, this means I need to translate the x, y amounts.  The math for this should be pretty easy, it's just a matter of conversion.

Am I able to make this kind of modification in the code for MBHP ??  Would this require a "mode" or something to take 2 controllers and remap the values to angle/amount for the joystick?  

Is this modification

 (1) trivial ?

 (2) doable, but could take some time ?

 (3) really hard ?

What does someone need to know to make this sort of modifcation?  I have some friends with PIC programming skills, so i think they will be of help to me.

I appreciate any assistance anyone can offer. Thanks in advance!

Link to comment
Share on other sites

Hi,

there is a very trivial and fast solution which allows you to solve the problem with little effort from my side, and thats the lookup-table method. It works on this way: the controller gets the x and y position of the joysticks and fetches the corresponding radius and angle from two large tables with 128x128 values. 2*128*128 = 32kByte --- thats exactly the capacity of a BankStick. :)

Which modules are required for this project:

  • a core module
  • a JDM module (but you could also ask your friends to burn the PIC)
  • a AINX2 (-> 16 inputs, premade PCB not available) or AINX4 (-> 4 inputs, premade PCB available)
  • a BankStick
  • a modified MIDIbox64 firmware which converts the values automatically
  • a special dump file for the BankStick, which can be transfered via MIDI
  • and the joysticks of course

Best Regards, Thorsten.

Link to comment
Share on other sites

Hi,

there is a very trivial and fast solution which allows you to solve the problem with little effort from my side, and thats the lookup-table method. It works on this way: the controller gets the x and y position of the joysticks and fetches the corresponding radius and angle from two large tables with 128x128 values. 2*128*128 = 32kByte --- thats exactly the capacity of a BankStick. :)

Which modules are required for this project:

  • a core module
  • a JDM module (but you could also ask your friends to burn the PIC)
  • a AINX2 (-> 16 inputs, premade PCB not available) or AINX4 (-> 4 inputs, premade PCB available)
  • a BankStick
  • a modified MIDIbox64 firmware which converts the values automatically
  • a special dump file for the BankStick, which can be transfered via MIDI
  • and the joysticks of course

Best Regards, Thorsten.

Link to comment
Share on other sites

Guest okyeron

Thorsten,

This is extremely good news! I did not think about using the BankStick. Great Idea!

I'm not sure I understand the reference to the AINX2 -- is this a newer/older design?  I only see the design for the AINX4 on the site. Was your comment a typo regarding inputs - I thought the AINX4 was 32 inputs (or 16 joysticks in this case)?

I was planning on using an AINX4 so I can test other configurations/designs later, or add more controllers to the joystick design.

I'm going to start ordering parts. Should I contact you regarding the modified firmware when I'm getting close to testing? Is there anything I can do to help?

Thanks!

Link to comment
Share on other sites

Guest okyeron

Thorsten,

This is extremely good news! I did not think about using the BankStick. Great Idea!

I'm not sure I understand the reference to the AINX2 -- is this a newer/older design?  I only see the design for the AINX4 on the site. Was your comment a typo regarding inputs - I thought the AINX4 was 32 inputs (or 16 joysticks in this case)?

I was planning on using an AINX4 so I can test other configurations/designs later, or add more controllers to the joystick design.

I'm going to start ordering parts. Should I contact you regarding the modified firmware when I'm getting close to testing? Is there anything I can do to help?

Thanks!

Link to comment
Share on other sites

Hi,

I'm not sure I understand the reference to the AINX2 -- is this a newer/older design?  I only see the design for the AINX4 on the site. Was your comment a typo regarding inputs - I thought the AINX4 was 32 inputs (or 16 joysticks in this case)?

ok, in your first posting you wrote about 8 joysticks, and AINX2 means that the half of a AINX4 module is enough for this setup - just a hint for people who make the PCBs by themself. However, having more than necessary inputs doesn't hurt and could be usefull for the experimental phase. :)

I'm going to start ordering parts. Should I contact you regarding the modified firmware when I'm getting close to testing? Is there anything I can do to help?

Yes, just write me a mail later. It's just a quick change in the firmware.

Best Regards, Thorsten.

Link to comment
Share on other sites

Hi,

I'm not sure I understand the reference to the AINX2 -- is this a newer/older design?  I only see the design for the AINX4 on the site. Was your comment a typo regarding inputs - I thought the AINX4 was 32 inputs (or 16 joysticks in this case)?

ok, in your first posting you wrote about 8 joysticks, and AINX2 means that the half of a AINX4 module is enough for this setup - just a hint for people who make the PCBs by themself. However, having more than necessary inputs doesn't hurt and could be usefull for the experimental phase. :)

I'm going to start ordering parts. Should I contact you regarding the modified firmware when I'm getting close to testing? Is there anything I can do to help?

Yes, just write me a mail later. It's just a quick change in the firmware.

Best Regards, Thorsten.

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