Difference between revisions of "Virtual Theremin"

From vjmedia
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
[[Category:Interactive Systems]]
 
Virtual Theremin Project for my Fundamentals of Music Technology Class
 
Virtual Theremin Project for my Fundamentals of Music Technology Class
 
Virtual Theremin created in python that tracks the coordinate of your hand and uses that information to change the frequency, amplitude and offset of a sine wave creating a sound similar to a Theremin. The program tracks your hand in relation to the screen as well as the distance between your index and thumb and moves that information to a outside software to create the sound.
 
Virtual Theremin created in python that tracks the coordinate of your hand and uses that information to change the frequency, amplitude and offset of a sine wave creating a sound similar to a Theremin. The program tracks your hand in relation to the screen as well as the distance between your index and thumb and moves that information to a outside software to create the sound.
  
Below is a demonstration of the project
+
Below is a demonstration of the project:
[[File:vjmedia.wpi.edu/images/d/d8/2024-08-07_17-06-35_%28online-video-cutter.com%29.mp4|thumb|demo proj]]
+
<mediaplayer>https://vjmedia.wpi.edu/images/d/d8/2024-08-07_17-06-35_%28online-video-cutter.com%29.mp4</mediaplayer>
 +
 
 
How to use virtual theramin:
 
How to use virtual theramin:
 
- load up HandTrackingMin.py in any compiler, I use pycharm for my example
 
- load up HandTrackingMin.py in any compiler, I use pycharm for my example
 
make sure to have all imports downloaded as well
 
make sure to have all imports downloaded as well
 +
 
- Launch application Wekinator(online software that trains a model to connect inputs to outputs)
 
- Launch application Wekinator(online software that trains a model to connect inputs to outputs)
 +
 
- make sure that the port number for Wek is 6448, inputs is 3, outputs is 3, and the output port is 12000
 
- make sure that the port number for Wek is 6448, inputs is 3, outputs is 3, and the output port is 12000
 +
 
- then go file -> open project
 
- then go file -> open project
 +
 
- load in WekinatorProjectFinal.wekproj
 
- load in WekinatorProjectFinal.wekproj
 +
 
- launch processing_FMSynth_3ContinousOutputs
 
- launch processing_FMSynth_3ContinousOutputs
- run the HandTrackingMin file and enjoy :-)
+
 
 +
- run the HandTrackingMin file

Latest revision as of 21:54, 8 August 2024

Virtual Theremin Project for my Fundamentals of Music Technology Class Virtual Theremin created in python that tracks the coordinate of your hand and uses that information to change the frequency, amplitude and offset of a sine wave creating a sound similar to a Theremin. The program tracks your hand in relation to the screen as well as the distance between your index and thumb and moves that information to a outside software to create the sound.

Below is a demonstration of the project: The media player is loading...

How to use virtual theramin: - load up HandTrackingMin.py in any compiler, I use pycharm for my example make sure to have all imports downloaded as well

- Launch application Wekinator(online software that trains a model to connect inputs to outputs)

- make sure that the port number for Wek is 6448, inputs is 3, outputs is 3, and the output port is 12000

- then go file -> open project

- load in WekinatorProjectFinal.wekproj

- launch processing_FMSynth_3ContinousOutputs

- run the HandTrackingMin file