Expo Projects
Our EXPO Projects
Contributors:
Larry Hiller
Larry Hiller
On this page we will describe each of our current EXPO projects. For each entry we will tell you about the original students that worked on the project, the history of revisions and updates to the project, how to set up and take down the project, how to trouble shoot the project if it stops working and how to talk about the poject to an audience.
The Optical Theremin is a version of a traditional theremin (which uses electromagnetic fields) that uses 2 cameras and tracking software instead. A theremin is an instrument that is played without touching anything first made around 1920.
Software
Cardinal: Plays the sound
Theremin Program: Hand tracking software, converts to MIDI inputs
QJackCtl: Acts as a bridge between the Theremin Program and Cardinal
Hardware
This project was made by Electric Mayhem Alumni Hamid H. and Nate G. as their senior project. (Their papers will be linked here)
Physical Setup
> Take the Theremin Base out of the box, and set it on a table near power.
> Place the Tower Camera in the green triangle base, with the camera front facing away from the camera embedded in the base.
> The Theremin Screen has velcro on the bottom to be attached to the Theremin Base.
In the Theremin box should be these things:
Theremin Base
Theremin Screen
Tower Camera
Spare Ethernet Cable + USB Adapter
Spare Keyboard
Audio Cables
Program Setup
**The password and username for the Theremin's computer are on a sticker on the computer, they should only be needed for debugging
> When the Theremin boots up, the desktop menu should look like (Image 1).*
* If it doesn't, turn to the troubleshooting section
Cardinal Setup
> Open the blue File directory in the taskbar
> Open the Home directory in Files
> Open the "Cardinal" folder, and open the program CardinalJACK for later
Theremin Program
> Use the dash and two dots at the top left corner of the screen/the windows key to return to the desktop view.
> Open Files > Home > Theremin
> In the Theremin folder, hover over any empty space and hold to open a small menu (Image 2)
> Select "Open in terminal"
This should open a terminal with the directory of the username + Theremin (folder).
> Either type "source .venc/bin/activate" into the command line, or use the up arrow key to find it in recent usages, and click enter
> Then type "python ui.py" into the command line, or use the up arrow key to find it in recent usages, and click enter
This will open the Theremin Program.
> Click the Refresh button at the bottom and the drop down menus should fill in
> Keep the camera on the right as is, use the left dropdown menu to switch the Tower camera* to the second option in the drop down, and click apply
*If you apply these incorrectly, you will need to restart the software.
> Click "Start Tracking" at the top, and the camera feeds should appear
QJackCtl/Patch Board
> Use the dash and two dots at the top left corner of the screen/the windows key to return to the desktop view.
> Click the 9 dot grid in the taskbar, and open the "QJackCtl" program
> Click the "Graph" button in QJackCtl, and a Patch Board should appear (Image 3)
> From the “Midi-Bridge” input on the left, drag the bottom most red option and drag it to “events-in” in the center block
> Drag “audio_out_1” to “playback_FL” in the “AC511 Sound Bar Digital Stereo” block
> Drag “audio_out_2” to “plackback_FR” in the same place
CardinalJACK Usage
> At the top menu, go to File > Open > Home > Theremin > Patches, and select any of the Patches (different effects) in the folder (We usually use the Spacey one)
This will change the layout of the board.
> Find a red glowing button, possibly labelled mute (depending on the patch used) and click it to unmute.
> There should be a Dim button or slider if it is too loud
> Scroll all the way to the left and find the "Cardinal Host MIDI CC" block
> Make sure that the inside of the input wires turns green when a hand is detected by the Theremin Program
Take Down:
Make sure to CLICK THE STOP TRACKING BUTTON BEFORE CLOSING THE THEREMIN SOFTWARE. Otherwise, all the other softwares can be closed as usual.
Remove the camera tower from the green triangle
Remove the Theremin Screen from the velcro