Hi, I'm starting working at project, ideally I will try to built synth and midi controller with Arduino/Raspberry Pi (and/or with other microcontrollers/microprocessors) and then either convert midi signal or just read midi and at output control LED's, display or some other components (for example, changing midi note would change which LED would be active, etc). Correct my if I wrong but as far as I did research it should be possible. I have some experience with programming but I'm fairly new to Arduino, if this is possible, could I ask for some recommendation regarding which Arduino/Raspberry/other unit or units (or other other microcontrollers/microprocessors) should I choose? I wanna add that I will ask this question on other forums focused on other devices (like Raspberry Pi, Arduino, etc.) because I'm trying to best solution for my case and I'm free to choose what can I use in this project (I'm doing this as academy project), hope for understanding.
MIDI is a very simple protocol, just about any MCU now in existence with a built-in serial port (UART) will work fine, as long as you set the baud rate correctly (31250 Baud).
The more relevant part is actually how many inputs & what type of sensors, or how many outputs you need to control, as that gives an idea of the pin count etc. required??
I'm presently working on some videos covering MIDI for my youtube channel - the first was a kind of intro, about piezo transducers & music, then moving on to a preview of a MIDI drum unit and MIDI-USB interface. The original rather battered drum controller in the white box is one I built in 1993.
I'm editing the next one at the moment, as time permits.
Thanks, I will check it later, basically I want to use midi controller (either build from scratch or the one I have bought...but would prefer build it) to control both at the same time (running parallel): synth (like midi controller, I would prefer building one) and something like Arduino for example to control some LED/light pattern, display some text etc (it was intended to convert midi to plc protocol but after talking with my professor we came to conclucion what I can do it without plc...but the same idea).
I need at least 3-4 outputs but would prefer 9 or more just to be safe if I deciced to do more complex project. Im not sure about inputs technically I need just to send midi to Arduino/microcontroller/microprocessor and convert it or send thru to control this LEDs or whatever would be as output.
I hope it's mostly understandable, it's probably not that common project (with this controlling) and english isn't my native language.
Occasionally I need to generate custom wave forms and burst a known number of cycles into a DUT. This is a single chip solution, board I typically I use is $ 10. You just drag and drop components onto schematic, wire internally with a wire wizard tool and out to pins, right click and config...
You just need to match three bytes of data from the appropriate "note on" matching the channel number, note number, plus the key velocity for brightness if wanted - or "Note off" to switch it off again.
eg. 0x91, 0x3C, 0x40 would be note on for channel 2, middle C, velocity 64.
0x81, 0x3C, 0x00 would be note off channel 2.
The lower nibble of the first byte is channel number, sent as 0-15 (0x0-0xF) for channel 1 to 16.
0x36 = note 60 = middle C.
Note numbers are sequential semitones.
The first (command) byte always has the high bit set, the data bytes that follow it have the high bit clear, so it's easy to keep them in step when decoding.
PSOC is an SOC processor with a lot of analog capability as well as digital. A snapshot of whats in the chip (in many cases multiple copies of the items shown) - Here is a basic oscilloscope, function generator, FFT, logic analyzer done by...
www.electro-tech-online.com
Google "psoc music synthesizer" for some music specific projects.
Midi can be yes, I built a MiDi interface to scan 132 keys on an ELKA organ, keeping up with the scan rate and encoding was tricky, had about one usec per key stroke, then had channels and exclusive codes and notes to resolve /add , I was coding in asm and finished up with two PICs , one scanning notes,( table in EEprom that is slow ) velocity, and one doing the midi out / in, PICs 16F887s were connected with the parallel port .running at maximum Hz ..