Skip to content

MIDI

Music Instrument Shield

Setup:
Assembly
To be able to connect the Music Instrument Shield to the mainboard, some soldering is required. The Music Instrument Shield needs to be soldered on some headers. Once it is done, connect it to your arduino.

Software/Firmware
If your arduino IDE version is 1.0 or later, the NewSoftSerial Library is installed so you won’t have any trouble at all.If you have an earlier version of the IDE, you need to upgrade or install the library.
Example Code:
#include
NewSoftSerial mySerial(2, 3);
byte note = 0;
byte resetMIDI = 4;
byte ledPin = 13;
int instrument = 0;

void setup() {
Serial.begin(57600);
mySerial.begin(31250);
pinMode(resetMIDI, OUTPUT);
digitalWrite(resetMIDI, LOW);
delay(100);
digitalWrite(resetMIDI, HIGH);
delay(100);
}

void loop() {
talkMIDI(0xB0, 0×07, 120); //

/*
//Demo Basic MIDI instruments, GM1
//
Serial.println(“Basic Instruments”);
talkMIDI(0xB0, 0, 0×00); //Default bank GM1
//Change to different instrument
for(instrument = 0 ; instrument

Serial.print(” Instrument: “);
Serial.println(instrument, DEC);
talkMIDI(0xC0, instrument, 0);

//Play notes from F#-0 (30) to F#-5 (90):
for (note = 30 ; note
Serial.print(“N:”);
Serial.println(note, DEC);

//Note on channel 1 (0×90), some note value (note), middle velocity (0×45):
noteOn(0, note, 60);
delay(50);

//Turn off the note with a given off/release velocity
noteOff(0, note, 60);
delay(50);
}

delay(100);
}
//
*/

//Demo GM2 / Fancy sounds
//
Serial.println(“Demo Fancy Sounds”);
talkMIDI(0xB0, 0, 0×78);
//For this bank 0×78, the instrument does not matter, only the note
for(instrument = 30 ; instrument

Serial.print(” Instrument: “);
Serial.println(instrument, DEC);

talkMIDI(0xC0, instrument, 0);
//Play fancy sounds from ‘High Q’ to ‘Open Surdo [EXC 6]‘
for (note = 27 ; note
Serial.print(“N:”);
Serial.println(note, DEC);

noteOn(0, note, 60);
delay(50);
noteOff(0, note, 60);
delay(50);
}
delay(100);
}

/*
//Demo Melodic
//
Serial.println(“Demo Melodic? Sounds”);
talkMIDI(0xB0, 0, 0×79);
//Change to different instrument
for(instrument = 27 ; instrument

Serial.print(” Instrument: “);
Serial.println(instrument, DEC);

talkMIDI(0xC0, instrument, 0);
//Play notes from F#-0 (30) to F#-5 (90):
for (note = 30 ; note
Serial.print(“N:”);
Serial.println(note, DEC);

noteOn(0, note, 60);
delay(50);
noteOff(0, note, 60);
delay(50);
}
delay(100);
}
*/
}
//channel ranges from 0-15
void noteOn(byte channel, byte note, byte attack_velocity) {
talkMIDI( (0×90 | channel), note, attack_velocity);
}
void noteOff(byte channel, byte note, byte release_velocity) {
talkMIDI( (0×80 | channel), note, release_velocity);
}
//Plays a MIDI note. Doesn’t check to see that cmd is greater than 127, or that data values are less than 127
void talkMIDI(byte cmd, byte data1, byte data2) {
digitalWrite(ledPin, HIGH);
mySerial.print(cmd, BYTE);
mySerial.print(data1, BYTE);
//(sort of: http://253.ccarh.org/handout/midiprotocol/)
if( (cmd & 0xF0)
mySerial.print(data2, BYTE);

digitalWrite(ledPin, LOW);
}
There are sixty “notes” that can be played in this bank, with values from 27 to 87. In order to “play” a note, we need to send the Note On command with the value of the note we want to play. This is the next MIDI instruction in the example code:

noteOn(0, note, 60);

After the noteOn() call, there is a delay of 50 milliseconds. This means that whatever note we chose will play for 50 milliseconds. After the delay, we have to tell the chip to turn the note off. Hence, the noteOff() function call:

noteOff(0, note, 60);

Music Producing Schools What Students Learn

If you are a music producing lover, it is not rocket science that you will want to know everything that music encompasses through music producing schools. If you are a music enthusiast and you are looking to take a career path in the music line, it is now easy to do that. The internet has really revolutionized everything; you can now enroll to an audio program and perfect your prowess in music production.

For students to make it in the music producing course, there is a systematic method that they use so that students can get it all right. Creation of soundtracks, using digital or analogue equipment for music production are some important topics for the students. The schools have to prepare the individuals for the music world, hence the numerous programs they design.

Audio production and engineering, sound design for visual media, enthusiastic pro tools, music and entertainment business are the main programs that will be part of the curriculum. The use of a microphone, sound controls and studio equipment handling are additional course that you will have to cover.

Composing music is one of the first steps, the schools have the lessons designed to tackle the basics all through to the end. There are different tools and techniques in music production; covering contemporary music which a student must learn how to use them all. Theory and practical lessons are put in place. Using glitch, dub, trance, drums, electro and bass are varieties of music that students are taught to use and apply.

Videos go synonymously with audio productions these days. Due to that students are made aware of the different series of video production. Times are always changing and people change with the time. The taste in music needs to be at par with the times. People can only love music if it is appealing to them; the schools teach the music students how to apply knowledge in technology to make music that is loveable to all.

Composing music and producing are two diverse topics by themselves. A student will be taken through the different aspects and approaches to contemporary music including audio and MIDI editing, synthesis, groove, beats, processing effects, mixing, performance and sound design. Since a lot is required to cover the course, the students might be required to purchase software to facilitate easier learning of some modules.

After the course, the student will have learnt how to create compound edits with a sequencer, master, remix and mix music. One will also have learnt how to compose, produce and understand the different styles of music such as techno, down-tempo, electro, trance and bass. Keeping up with the latest trends is one thing that the student will have understood as he will have learnt how to analyze music.

If you are looking to enroll for one of the many music producing schools, you can do so quite easily. Research on the best schools and settle for the one that has got what you want in terms of learning and how much you have budgeted for the course. Go ahead and make true that dream of becoming a renowned music producer.

How To Make Music Using Computers.

Youve decided that you want to make music and become the next Will-i-am, P Diddy or LMFAO. Fantastic! There is no better time to start learning to produce and heres why:

The music production tools have become incredibly cheap for beginners to achieve professional results.
New technology is making music production techniques much easier and faster.
The music industry has changed dramatically over the last few years, transforming new artists and musicians into global superstars overnight, you too can share the spotlight.
It is very exciting times at the moment!

It really does not matter if you can not play an instrument, learning new music production techniques will enable you to be creative in other ways. Quality music invokes a full range of feelings within the listener. As a music producer, your job is to master the art that invoke those feelings.

Believe me when I say that professional-sounding music is an art. It can be taught to a certain degree, but really all it takes is time, dedication and passion.

If you have the desire to create great music, ProducerPack.com will provide you with the latest sample packs and loops from some of the worlds best producers and engineers to give you the inspiration needed to become a top producer in this very competitive industry.

What Do You Need

Nowadays almost all electronic music is written on a PC or MAC computer. Producers use music software programs to process and arrange the music so that it sounds the way they want it to sound. Although some people may use dedicated hardware, this is not always necessary. You can get by with a simple set-up, then later on down the line you can add to your studio set-up by buying more gear.

There are lots of options when deciding what to buy for your studio setup. However, to keep it simple, lets assume that there are three main “stages” of personal studios. These stages are described in the following list:

Basic Setup This studio set-up has a minimal requirement necessary for music production. It contains:

A home computer (PC or Mac). New or second hand.
Music Software. Fruity Loops, Garageband or MIDI controller.

Good Setup This studio has the tools needed to create high quality music productions. It contains:

A Computer (PC or Mac). A fairly new and up to date MAC or PC computer.
Music Software. Modern software such as Ableton , Digidesign Pro Tools, Steinberg Cubase, Cakewalk Sonar, MOTU Digital Performer, etc.
Audio Interface. Offers low audio latency with high quality inputs and outputs.
MIDI Interface. Possibly included with the audio interface, this device enables you to “play” instruments contained with your computer.
MIDI Controller. MIDI keyboard or guitar to control virtual instruments provided by your music software.

Pro Setup This studio has everything needed to produce any kind of top quality music. It contains:

A Computer (PC or Mac). It was purchased new within the last 4 years.
Music Software. Uses a modern package like Ableton Live, Digidesign Pro Tools, Steinberg Cubase, Cakewalk Sonar, MOTU Digital Performer, etc.
Professional Audio Interface. Offers low audio latency with multiple (more than two) high quality inputs and outputs. More inputs and outputs allow you to record multiple microphones at once, or process audio with external hardware.
MIDI Interface. Possibly included with the audio interface, this device enables you to “play” instruments contained with your computer.
MIDI Controller. You can use a MIDI keyboard or guitar to control virtual instruments provided by your music software.
Studio Monitors. High quality speakers enable you to listen to you songs completely “flat”, accurately reproducing the sound without audio distortions.
Acoustically-Treated Room. Room sizes and shapes greatly affect the way your songs are reproduced on your speakers, as well as how sound is recorded by microphones.
Hardware. Microphones, preamps, external processing units, etc. The possibilities are infinite.

To be really honest, the Good Setup is all you need. The Pro Setup will take your sound to a whole next level, but this is really only for the Old School veterans and enthusiasts. What ever you do, dont listen to much to the music shops, they will usually try to sell you something you dont really need. Be aware of this! If you only have a home computer and some basic music software, you already have the tools necessary to begin making really exciting music.

If you need a helping hand in the form of inspiration, why not check out ProducerPack.com. They have a huge collection of downloadable 100% royalty free sample packs and loops created by a dedicated team of highly professional music producers and engineers from around the globe. There sample packs and loops come in multiple formats and will work with almost every music software and studio set-up.

So what are you waiting for? Start making those beats and songs and become the next top music producer well all be talking about very soon.

You can check out Producer Packs online store here: http://www.producerpack.com

Sign-up for ProducerPack.com weekly newsletter to get over 1GB of FREE samples and loops to get you started.