Pages: 1 2 [3] 4 5 ... 10   Go Down
Author Topic: Help- using an arduino to make a midi controller  (Read 31496 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yep ive read this, sadly its useless. ive done all this, it made me become even more sure that im right about the midi signals im sending. there is no midi receiver mode that i can see, it just receives and sends all the time. man this sucks... i wonder if its my kaoss pad?

oh and btw what did gaz say about the mapping? tell me all you know.
« Last Edit: September 14, 2010, 08:10:50 pm by djccfm » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sure it doesn't work? From what I gathered looks like Program Memory 4, 5, and 6 need to be lit so that the KP receives X, Y, and pad on/off commands, but I could be wrong.

All I know is Gaz has 2 kits, one for a small screen and one for a regular screen. Each had to be mapped differently to send out the same range of MIDI values.

Just to check, the whammy did work? To Program Changes and everything?
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i only tested the whammy pedal itself, as i dont have the encoder wired up at the mo

and yeah they do need to be lit up.

that mapping thing I think is just to get a nicer feel for the pad, it would still work, but just in case ill take out the kaoss pads touch screen and use that to see what it does.

Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What I do know is that MIDI Edit Mode must be entered to make those be lit. What I'm not sure is if that is necessary for reception; I've never dabbled with the Kaoss's MIDI interaction.

My guess is that something most be done differently, because judging from Gaz's kit the Whammy control is different from the Kaoss control.

What exactly IS Midi CC anyways?
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

same problem
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm going off of limited information, but anyway:

What CC messages does your pad currently send? Obviously the Whammy responds to it which is good.

The Kaoss Pad responds to 1– 31, 64–95. That's from the MIDI Implementation chart

This is from "Messages that can be received"

X Axis - Effect control 1 (CC#12) *1, *2
Y Axis - Effect control 2 (CC#13) *1, *2
Touch Pad On/Off -Effect depth 2 (CC#92) *1, *2

*1: The MIDI messages transmitted and received can be changed in a range of CC#1–CC#31, CC#64–CC#95, and PITCH BEND. ( ) is the factory setting.
 *2: Ena/Dis and CC# settings are the same for both transmission and reception.

Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Some good links you may or may not have encountered

http://www.indiana.edu/%7Eemusic/etext/MIDI/chapter3_MIDI4.shtml

Bunch of stuff

http://acc6.its.brooklyn.cuny.edu/~gurwitz/core5/nav2tool.html

To help convert the numbers in the write-up above
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Oh here we go. Took this straight from Gaz's eBay sale info for the kit

Controller MIDI Output
 
MIDI Channels:
 
The MIDI data for the Kaoss pad is sent on channel 1; while the data for the Digitech whammy pedal is sent on channel 2. Note that a receiver set to pick up MIDI data on channel 1 will ignore data sent to it on channel 2 and vice versa. Therefore the Kaoss pad will not respond to MIDI messages intended for the Digitech whammy because it should only be set to listen on channel 1. This means that both devices can be connected to the controller at the same time using a MIDI thru device.
The MIDI channel is changed by pressing the program dial shaft down. On start-up the controller sends on channel 1 (Kaoss pad) and switches to channel 2 (whammy) when the encoder is pressed. A second press switches the channel back to 1.
 
MIDI Data:
 
The controller is set to send MIDI data for the Kaoss pad default control settings. The Digitech whammy pedal will have to be set to channel 2 (see manual), but all other control settings should also be set to default for this device. See below. You can control any MIDI device that is configured to respond to these messages.
 
The controller sends the following MIDI data:
 
Channel 1 (default for Kaoss pad)
 
Pad On/Off                 CC92               0 and 127
Pad X Axis                 CC12               0-127
Pad Y Axis                 CC13               0-127
Program                      Program C       0-127
 
 
Channel 2 (default for Digitech Whammy)
 
Pad On/Off                 CC0                 0 and 127
Pad X Axis                 CC11               0-127
Pad Y Axis                 CC10               0-127 (Not used by whammy pedal)
Program                      Program C       0-127

 
 
Control:
 
Kaoss Pad – Channel 1.
The touch screen read by the controller sends MIDI CC to control the Kaoss pad similar to the on board screen, allowing remote real time effect control.
The momentary push switch allows bypass of the “pad off” command, thus emulating the hold function
The program dial sends program change commands. On start-up the program is set to 1. Turning the encoder shaft clockwise will increment the program, and anticlockwise will decrement the program. The program change will not allow increment above 128 or decrement below 1 (The Kaoss pad 2 only responds to program change commands between 0 and 99, so it is possible to overshoot the program control. If the program dial is no longer effecting program change, the turn it anti-clockwise until the program decrements).
Pressing the shaft of the program dial down will change the MIDI output to channel 2 and the Kaoss pad will no longer respond to the inputs.
 
Digitech Whammy – Channel 2.
The X axis of the touch screen will control the treadle position. The left extreme of the X axis corresponds to a toe up position, and the right extreme to a toe down position. The whammy does not respond to Y axis data, but has been included for use with other devices.
The momentary push switch allows bypass of the “effect off” command, thus emulating a hold function
The program dial sends program change commands. On start-up the program is set to 1. Turning the encoder shaft clockwise will increment the program, and anticlockwise will decrement the program. The program change will not allow increment above 128 or decrement below 1. However, the whammy pedal only responds to program change commands between 1 and 33, so it is possible to overshoot the program control. If the program dial is no longer effecting program change, the turn it anti-clockwise until the program decrements
Pressing the shaft of the program dial down will change the MIDI output to channel 1 and the whammy pedal will no longer respond to the inputs.
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks for the link, so yeah I try and use my kaoss pad to controll my digitech whammy, and I cant. im really starting to think ive missed something blatantly obvious or summin but i just cant find it.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just to clarify, your KP2 can't control the whammy but your X-Y Pad can?

My two guesses are:

-again, the reception mode. I think that plays a huge role.
-your x-y is set to control a whammy, and a separate channel will need to be programmed so that the correct KP2 numbers can be sent from your X-Y
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

to control the whammy I just changed the code a bit, I knew exactly what code I needed, but what im curiuous about is that touch pad on off function, does that mean i need to have the touch pad on in order for it to receive signals? its worth a shot...but ill try it tomorrow as im getting tired.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The touch pad on/off means that when you release your finger it is designated as "off"

The Hold switch bypasses the "off" command so that it's as if your finger stays there.


With the Whammy, releasing your finger is like hitting the silver switch that turns the effect off. Hitting the Hold button makes that effect stay active no matter what.

Good Luck!
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ya it didnt work, phill do you have a kaoss pad and a digitech whammy pedal? cus if you do i need you to try something.
« Last Edit: September 15, 2010, 09:27:36 am by djccfm » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's phi, and yes I do have both
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sorry Phi  <--coll name btw, reminds me of unreal tournament for some reason

btw i've advanced quite a bit with the code today, Ive gotten the rotary encoder working fully and properly communicating with the kaoss pad, the touch screen ive mapped out alot better aswell, and the LEd on the arduino reacts to both alterations.

anyway

can you connect them via midi to test something? if you dont have a cable, just find some thick wire, or thick solder to make the connections.

now what I need from you is to plug the midi OUT of the kaoss pad into the midi IN of the whammy.

turn on both, run a song with your mp3 player or laptop through to the whammys input jack, make sure the output sound cable(the one you connect to the amp) is connected to the "wet added" hole, hold the "tap/BMP" and the "rec/stop" button for a few seconds, until you enter midi mode (all the program change buttons should light up),

hold down program change button number 4, and with the program knob, change the number on the display to 11. let go of the button and tap it so that its LED is on, now hold down the "rec/stop" button again to save your settings, and you should be able to control the digitech whammy pedals treatle possition. If you can. let me know cus it means my kaoss pad is f**cked

cheers for your help btw.




« Last Edit: September 15, 2010, 05:52:54 pm by djccfm » Logged

Pages: 1 2 [3] 4 5 ... 10   Go Up
Jump to: