I know little about midi, now I'm starting to get interested.For a school project I would like to make an Untztrument but stand-alone so I don't need computer.I thought I put together 1 or more trellis and then, for the instrument, 1 mp3 music maker shield.I bought both the object and I tried to connect them with each other but whitout results (for the program I used the simple examples of the trellis and Midi so when i pressed a button the shield came a sound). Someone can give me some advice??

I badly explained myself. I have only a trellis, a music maker shield and arduino . The music maker has MIDI mode so I want use this mode to make music. For exemple when I press a button of Trellis, come out a sound from the music maker. It's possible??

I think so. Connect the trellis to the arduino via I2C. Read the trellis with the arduino. When you detect a button press on the trellis, then send a midi command to the music maker. We don't have any example code for doing this. But you can look at the trellis example code to see how to read the buttons. Looks at the music maker example code to see how to send midi commands.

Ok, I try and now it works. Now I have other 2 simple (I hope) questions:1 Can I play different instrument at the same time? (For example a button play the guitar and an other buttun play the piano)2 How I can change the parameters of volume and the effect as the reverb or the tonality? (If it is possible)

The chip supports 16 channels. You can set the instrument and volume for each channel.

See the datasheet for the instrument sounds available. There are three banks of instruments. One for melodic instruments, two banks for percussion. In my experience, all the percussion instruments sound the same.

Look at the player_miditest example from the library. It shows how to configure a channel for bank, instrument and volume.

I tried to do as you told me, but I can't understand how to define the different effects. Can you write me the code to define the effects?? And where, I have to write the parameter to change the effects??

I added three functions to the example sketch. midiSetChannelReverbLevel, midiSetChannelReverbDecay, and midiSetChannelSostenuto. I'm not sure what the argument to Sostenuto should be - the datasheet doesn't say. But you can play with different values to see what it does:

/*************************************************** This is an example for the Adafruit VS1053 Codec Breakout

Designed specifically to work with the Adafruit VS1053 Codec Breakout ----> https://www.adafruit.com/products/1381

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Limor Fried/Ladyada for Adafruit Industries. BSD license, all text above must be included in any redistribution ****************************************************/

#include <SoftwareSerial.h>

// define the pins used#define VS1053_RX 2 // This is the pin that connects to the RX pin on VS1053

#define VS1053_RESET 9 // This is the pin that connects to the RESET pin on VS1053// If you have the Music Maker shield, you don't need to connect the RESET pin!

// If you're using the VS1053 breakout:// Don't forget to connect the GPIO #0 to GROUND and GPIO #1 pin to 3.3V// If you're using the Music Maker shield:// Don't forget to connect the GPIO #1 pin to 3.3V and the RX pin to digital #2

Hi!!I have a new question about my project "untztrument stand-alone". If I want to save a midi message (or more as a full music) that I produce with the music shield in a micro sd that I have in the same music shield it's possible to do this operation?? And if yes can you write me an example to do this operation??