What You wanna do.
Put out the complete electronic and use only the Keyboard case, switches and pots ?
Or You wanna built the complete case and electronics by Yourself?
I'm only going to generate MIDI events. I agree with you when you say that sound processing / generation is a very complex task.Should the Keytar only build MiDi Frames or should it make the Sound synthesis ?
Readout switches and scan the keyboard should be the easier task.
To make sound synthesis requires a lot of knowledge in signal processing.
In the internet You can find a lot of projects about MiDi Master Keyboards and MiDi Controllers.
So You can get some suggestions for Your project.
Wher than appear the first problems You can ask here again.
I wouldn't do that.As far as a display is concerned, I'll probably use a 3 digit 7-segment display to show a program number and a MIDI channel.
When counting down from 127 to 1 no XOR action is needed....when to increment the velocity...
Be careful, that are mechanical switches and that will bounce.When switch 2 goes active...
This are MiDi Basics, I guess everybody who plays around with MiDi frames know that.... (0x9?,<MIDI note#>,<MIDI key velocity>) The question mark in the byte stream is the MIDI channel (0x0-0xF) Of course, I have to XOR the velocity with 0x7f
When the switches are off for that key, I send a note off. (0x8?,<MIDI note#>)
Various problems have to be solved with DIY MiDi keyboards. velocity , and polyphonic mainly . mcu will have to be quick ! to do it all... C code may not be the answer ... perhaps a dedicated scan micro ....
I was thinking of using a 10 uF Tant and a small ceramic cap ( 0.01uf ) in parallel with the VCC. I have copper foil tape, so I can createMJ If your not aware ... Notes on the 24FV and some other PICs you will need some low ESR 10uF caps . <2 Ohm i use Tant beads 16v
I may have to use the adapter. I suppose I could use a pair of mating berg headers and put some of the external logic underneath the PLCC addapter.... IO pins always seem in short supply ! whatever package.. also having a continuous port .. ie 0-8 or 15 is an advantage if working with 8 bit external logic.
For 44 TQFP and more pins I use a breakout board .. depends on soldering skills
View attachment 115931
I have not gone down the external Xtal road.. internal + PLL good enough for most apps and has a 'osctune' reg .. and will do 16 MIPS ..(The dsPIC33 will do 140Mhz ( 70MIPS )
wkrug said the same thing. So I'm going to grab a display module and an EEPROM too.Re display I have found using a I2C - LCD back pack frees up several pins. you may need I2C EEprom chip too .
was wondering how many 'keys' this keytar was having?
The 10UF is for the Vcap pin ... ( loose another I/O ! )I was thinking of using a 10 uF Tant and a small ceramic cap ( 0.01uf ) in parallel with the VCC
Thanks for the heads-up. My hands are not steady enough to do SMD, so I'm going to use thru-hole for this particular build.Instead of tantallum capacitators You can use X7R SMD Capacitators too.
When I'm counting right You have to have 28 Port Pins to readout an A-33 Keyboard with one controller.
The 10UF is for the Vcap pin ... ( loose another I/O ! )
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?