Main MIDI protocol Principle Pickup Frets and strings Power Analog part PIC16x74 COM-port MIDI-port Control and indications Algorithm of note detection |
Principle of operationThe principle of operation of "Tryndelka" may be defined as follows:
Generally speaking, there are two common principles of MIDI-guitar design: . "Wired frets". The pitch of note played on the string is defined by fret which it is pressed to. This information is provided by sensors under frets. Loudness as well as start and end of note sound is determined by measuring magnitude of signal from string's pickup. Polyphonic pickup with individual channel for each string is used . Merits: the principle is clear to understand, note pitch is determined in a moment and identically, string tuning precision does not matter at all. It is possible to make any reasonable number of frets without changing neck geometry. Demerits: at least the neck should be radically reconstructed, great mechanical operations, it is not possible to use bends and flageoletes. B. Various "guitar synthesizers", combined with guitar or standalone. Polyphonic pickup takes sygnal from each string ans passes it to sygnal processor. This signal is used to detect both amplitude and pitch (frequency) of the heard note. Merits: it is possible to use ordinary guitar just with additional pickup, minimum of mechanical operations required to turn guitar into MIDI-guitar. Demetrics: most of known MIDI-guitars with this principle have perceptible delay during note recognition, especially for bass. This problem is said to be solved by modern algorithms based on neuronet technology, which are able to recognize frequency by a sample less then one period. Another error pecular to this type of MIDI-guitars is ghost notes of high pitch, caused by finger noises. This method requires sophisticated digital signal processing. There is another variant - something that looks like a guitar but with buttons instead of strings or with two sets of strings, for right and left hand separately. It is not possible (at least, it is difficult) to play on these controllers using traditional guitar technics, but they are suitable for tapping etc. These days most of MIDI-guitar designs are based on B approach by the following reasons:
But Tryndelka is based on A approach, because I do not use bends while playing and this technics seemed me to be easy to implement. I did not work with DSP but I had experience with common microcontrollers. Besides, B-type devices from Roland are on market, and it is quite easier to purchase it rather than make it by own hand. Fortunately, I discovered that I have "unlimited access" to Microchip PIC16F74B microcontrollers on my work - with enough ports, UART onboard and eight programmable analog inputs. |