D-Lev Tuner
I finally made an enclosure for the D-Lev tuner out of heat-formed acrylic with a steel base. The clear acrylic was masked and painted from behind in the same manner as the main enclosure, except here the only masked feature is the clear window for the 7-segment octave display. A strip of sheet steel with the ends bent up 90 degrees forms the main chassis over which the acrylic front panel is mounted. I used steel so that magnets could hold the tuner enclosure to a tilting mount placed on the top of a mic stand. Early on I had decided that the only way that I would use a tuner would be if it could be placed out past the pitch antenna where I usually gaze while playing, and I'm happy with the way it turned out.
This support is made from a block of Delrin with two countersunk magnets. It attaches to a tilting mount on the top of a microphone stand.
The back of the tuner enclosure is steel so that it can be quickly popped into place on the magnetic mount. The adjustable tilt mount came from small LCD display used for backup cameras. The dark end panels of the enclosure are pieces of black acrylic glued to the formed ends of the steel base.
Pictures of the boards inside the tuner display were posted here earlier.
I had envisioned changing the layout of the tuner's LEDs from Eric's original layout but on his urging I decided to try it out without any modification, and I agree that it is a good layout the way it is. If anything, the circle of LEDs might need to grow a little because I'm finding that I tend to view it only peripherally without focusing or fixating on the individual LEDs (more on this later), and a little larger display might help that.
The response of this tuner is unmatched for speed. If you have ever tried using any guitar or instrument tuners that are inserted in the audio chain (usually on a signal that is not volume modulated), you will know how slow and unpredictable the response can be. Low pitches are particularly laggy, due in part because it takes longer to measure the period of a few cycles in order to establish the frequency. The D-Lev tuner operates in the digital domain and can display pitches down to fractional Hertz as easily as it does higher pitches. The response is virtually instantaneous, and certainly far faster than any hand or arm movements can be made.
I didn't really understand Eric's LED layout at first, but it makes a little more sense now that I have used it. It consists of two concentric circles of 6 LEDs, with one circle rotated 30 degrees from the other. A center LED is illuminated at all times to act as a reference. Each of the surrounding LEDs represents one of the 12 scale notes, and pulse width modulation of the LED drive provides a smooth brightness transition from one LED to the next. Each semitone step in pitch alternately illuminates an outer- and inner-circle LED, so you get a clear indication of pitch changes because of the extra alternating in/out movement.
But judging peak brightness of an LED in itself is no way to determine if you are truly on pitch, and this is one of the reasons I was skeptical of the usefulness of a tuner with a granularity of only 12 LEDs. But this is where the design gets really smart. As it turns out, while the LED for a particular pitch is approaching peak brightness, the adjacent LED is also illuminated but decreasing in brightness. When you are exactly on-pitch, the two adjacent LEDs are just going dark, and if you play with a little vibrato, they will flash like railroad warning lights on either side of the bright LED that represents center pitch. This graded intensity overlap makes the seemingly-coarse 12 light display capable of a much higher degree of pitch accuracy than you would expect, and certainly more than adequate for theremin use. And as Eric points out, after a while you begin to see recognizable patterns while you are playing.
The 7-segment display also shows a smooth transition between octaves, with one number blending into the next instead of abruptly changing. The volume display consisting of the column of four blue LEDs on the left is useful primarily for setting up volume curves.
I can't play up to speed using a visual aid such as this tuner, but I still think it is extremely cool and I see the value in this even for my own theremins. I find that my brain seems to respond more quickly to audible feedback with pitch preview than it does to visual cues. Like looking at keyboard keys while typing, I find that fixating and playing to a visual aid is not helpful, at least the way my brain is wired. Nevertheless, I do like having the display out past the pitch antenna where I can see the flashing of the two notes adjacent to the target pitch. It's a great aid for ear training and for for observing your long-term pitch stability without having any musical accompaniment for reference.
In summary, I like the design and I will keep the visual layout nearly the same when I make the next one. I also like the convenience of the magnetic mount and the positive (even if a little bulky) RJ45 connectors and cat5 cables. Some board changes need to be made, however. Since the separate tuner module was originally envisioned to be mounted on or close to the main enclosure, no care was taken to pay attention to the assignment of the RJ45 connector pins other than to make the correct interconnects. It has become apparent that for reliable behavior over longer cable lengths I will need to use a differential transmitter and receiver to transfer data over the twisted pairs of the Cat5 cables, or at least make a half-hearted attempt to terminated the ends properly if tests show that I am able to stick with a single-ended drive.
Other Experiments
After spending even more time playing the D-Lev without finding any major issues (not only that, it really is quite amazing), I have decided to start thinking about building a more interesting enclosure. I think that have come up with one that I like (it's a woodworking challenge nightmare), but before I do that I've decided to try to shoe horn the D-Lev into an EW Pro-like case that I had built a little over a year ago. This was originally intended to house a substantially embellished analog theremin that I had been working on for some time that was based on Etherwave oscillators, but that project had grown into such an abomination of knobs that I was afraid to start drilling holes in my curved flame-maple front panel. With the D-Lev I now have everything that I had implemented in analog, and much more, and I have no qualms about using it for this enclosure.
One of the first tasks to make this work is to find some more compact antenna and volume inductors, so I have been testing a bunch of commercial and hand-wound coils. Surprisingly there are quite a few that seem to work just fine, although the best that I have found are the Hammond/Bourns/Miller type of pi-wound inductors used in the Etherwave (inductors no longer manufactured as of Q2 2017) and some simple hand-wound coils made on grooved forms.
Shown below is a DIY ferrite-core inductor used to replace the air-core pitch coil used on the D-Lev prototype. It was necessary for this coil to fit inside a 5/8" i.d. phenolic tube used for the pitch arm of the EW Pro clone cabinet. The spool is made of 9/16" wood grooved on a lathe. The core is 8mm x 50mm Mn-Zn ferrite. As usual I wound this to fill up the grooves and then unwound to the required inductance, so the exact turn count is not known for now. If this all works out I will make the final inductors on acetal plastic bobbins instead of wood.
Here is the inductor being tested on the pitch side. This one measures about 2.6mH, which works out well with the particular pitch rod length that I am using.
And here is a different inductor being tested on the volume side. Although this one has only 4 grooves, the slightly large diameter and finer gauge wire give it a higher inductance of about 4.6mH.
Ultimately the pitch inductor and the board for the capacitive voltage divider must fit inside a 7/8" o.d.,5/8" i.d. phenolic tube used as the core for the extension arm of my EW Pro clone. With the feedback wires it ended up being a tight fit.
The end of the pitch extension arm that plugs into the cabinet only needed one electrical connection when the plan was to use it with an analog theremin. There is a brass cam (not shown) that was intended to serve as both the electrical connection and the mechanical lock for the arm. But the D-Lev requires more connections to the pitch antenna. Mounting the D-Lev analog front end board at the antenna base (using a miniaturized SMT version of the board) would have required too many electrical connections, but having the analog board inside the cabinet would require only 3 connections, so I decided to go that route. Three grooves were machined in the phenolic tube and solid silver rings were inset into the grooves to be flush with the phenolic surface. Three spring-loaded plunger contacts were placed inside the pitch arm receptacle to make contact with the slip rings when the arm is inserted and locked in position.
It all works, but it was a bear to make and assemble. Definitely a one-off only.
Here is the merger of the prototype enclosure with the pitch arm of the new cabinet. The volume loop has also taken the place of the aluminum plate. It's all working, but I'm pretty sure that I need to optimize things. I'm sort of working blind without access to or knowledge of the phase lock loop requirements, so I have to make changes and look for instabilities to really know where I am.