Show Posts
Pages: [1]
1  Using Arduino / Audio / Re: Serial Midi Converter on: December 22, 2011, 07:47:25 am
Wow! Your the best! That made all the difference, I fiddled with my settings in Ableton Live and now it works with that new line of code!
What I changed in Ableton was the in the Preferences > MIDI Sync and turned on all IAC Input and Output (Track & Remote) and it works!
Now I can drum away  smiley

Thanks Grumpy_Mike.
2  Using Arduino / Audio / Re: Serial Midi Converter on: December 22, 2011, 07:17:13 am
I did the following:

With the grounds from the piezos connected to one ground.
And I am using Serial Midi Converter on my Macbook, configured like so:
http://spikenzielabs.com/SpikenzieLabs/Serial_MIDI.html
And that is where my data shows that it is not midi formated... Are there better Midi apps for mac?
I tried changing my baud rate to 31250 and had the same problem.
Edit: I tried again with a baud rate of 31250 and Serial Midi Converter freezes when i select my output...
3  Using Arduino / Interfacing w/ Software on the Computer / Re: Spikenzie Lab Serial - MIDI Converter on: December 21, 2011, 06:49:58 pm
I have the same issue, any solutions?
4  Using Arduino / Audio / Serial Midi Converter on: December 21, 2011, 06:40:02 pm
 smiley-roll-sweat
Hello,
I am making a midi drum and I have finished building it but my problem is that Serial MIDI Converter flashes me a red light on the Serial RX. From what I understand is that it should be showing a green light to show that it is receiving a midi signal. What does a midi line look like? I am running code that I found online:

Code:
//*******************************************************************************************************************
// User settable variables
//*******************************************************************************************************************

unsigned char PadNote[6] = {60,61,62,63,64,65};         // MIDI notes from 0 to 127 (Mid C = 60)

int PadCutOff[6] = {900,900,900,900,900,900};           // Minimum Analog value to cause a drum hit

int MaxPlayTime[6] = {90,90,90,90,90,90};               // Cycles before a 2nd hit is allowed

#define  midichannel 0;                              // MIDI channel from 0 to 15 (+1 in "real world")

boolean VelocityFlag  = true;                           // Velocity ON (true) or OFF (false)

//*******************************************************************************************************************
// Internal Use Variables
//*******************************************************************************************************************

boolean activePad[6] = {0,0,0,0,0,0};                   // Array of flags of pad currently playing
int PinPlayTime[6] = {0,0,0,0,0,0};                     // Counter since pad started to play

unsigned char status;

int pin = 0;    
int hitavg = 0;

//*******************************************************************************************************************
// Setup
//*******************************************************************************************************************

void setup()
{
  Serial.begin(57600);                                  // connect to the serial port 115200
}

//*******************************************************************************************************************
// Main Program
//*******************************************************************************************************************

void loop()
{
  for(int pin=0; pin < 6; pin++)
  {
    hitavg = analogRead(pin);                              // read the input pin

    if((hitavg > PadCutOff[pin]))
    {
      if((activePad[pin] == false))
      {
        if(VelocityFlag == true)
        {
//          hitavg = 127 / ((1023 - PadCutOff[pin]) / (hitavg - PadCutOff[pin]));    // With full range (Too sensitive ?)
          hitavg = (hitavg / 8 ) -1 ;                                                 // Upper range
        }
        else
        {
          hitavg = 127;
        }

        MIDI_TX(144,PadNote[pin],hitavg);
        PinPlayTime[pin] = 0;
        activePad[pin] = true;
      }
      else
      {
        PinPlayTime[pin] = PinPlayTime[pin] + 1;
      }
    }
    else if((activePad[pin] == true))
    {
      PinPlayTime[pin] = PinPlayTime[pin] + 1;
      
      if(PinPlayTime[pin] > MaxPlayTime[pin])
      {
        activePad[pin] = false;
        MIDI_TX(128,PadNote[pin],127);
      }
    }
  }
}


//*******************************************************************************************************************
// Transmit MIDI Message
//*******************************************************************************************************************
void MIDI_TX(unsigned char MESSAGE, unsigned char PITCH, unsigned char VELOCITY)
{  
  status = MESSAGE + midichannel;
  Serial.print(status);
  Serial.print(PITCH);
  Serial.print(VELOCITY);
  
}


Any ideas on how to resolve my issue?
5  Using Arduino / Project Guidance / Led Wall Help on: August 26, 2011, 09:21:37 am
Hi, I am trying to build and LED wall and I want to control it with the Audrino Uno. I understand that you can connect up to 10 LEDs in parallel to the Uno, but I need to connect way  more than that. Is there a tutorial on how to increase the amount of LEDs connected to the Uno?
6  Using Arduino / Project Guidance / Arduino Uno Port Expansion, and LATB G66B Query on: August 25, 2011, 12:43:46 pm
Hello,
I am starting a new project where I plan to connect about less than 150 LEDs and/or Multi LEDs, such as the LATB G66B LEDs, together. I saw on youtube these LED Matrix boards that you can connect simultaneously by MandoMatrix (http://bit.ly/p0yiGl), and I would like to know if there is something similar for the Arduino Uno which I can connect various arrays of LED Matrix type boards together and run the Arduino Uno with it. If I have to build this LED Matrix board, I will follow instructions. Or if I have to buy a recommended board is also fine. Next I would ask if anyone has used a  with the Arduino Uno? And could you share some information about it.
Thanks,

AspireBear

 
Pages: [1]