Team Status Report for Mar 18

  • What are the most significant risks that could jeopardize the success of the project? How are these risks being managed? What contingency plans are ready?

The most significant risk right now is the integration process, and the most important link is the radio transmission between gloves and the receiving module. If we met problem with the radio transmission, we will go to search for online tutorial and follow the instruction to solve the problem. We might also ask our TA for help. We don’t think we have any backup plan if it doesn’t work. As a contingency plan, we will have to resort to a wired connection to send angle information from the gloves to the receiving module.

  • Were any changes made to the existing design of the system? Why was this change necessary, what costs does the change incur, and how will these costs be mitigated going forward?

There are no design changes to the system. 

  • Provide an updated schedule if changes have occurred.

So far there is no major update on our current schedule. Although our DigiKey order hasn’t arrived yet, the major components have arrived (radio and gyroscope IC). Hence, our design process is still on schedule.

  • Component you got working.

You can now control the the volume of the synthesizer with the pitch angle of the gyroscope chip. Here is a demo video.

Oscar’s Status Report for Mar 18

  • What did you personally accomplish this week on the project? Give files or
    photos that demonstrate your progress.

This week I integrated the gyroscope chip into my synthesizer. Specifically, now the volume is now controlled by the pitch angle of the gyroscope chip instead of the vertical position of the cursor. I spent quite some time researching the Arduino library for the gyro IC. I have tried AdaFruit_MPU6050 and MPU6050_light, but these do not have the required angular accuracy. In the end, I used Tiny_MPU6050, which contains a calibration function that makes the angle readings much more reliable. After that, I integrated the readings from Arduino into my synthesizer using the serial python library, normalized it, and used it as my volume parameter. Here is a demo video.

  • Is your progress on schedule or behind? If you are behind, what actions will be
    taken to catch up with the project schedule.

I am on schedule. However, because of the ethics discussion next week, I might spend some extra hours in the lab next weekend.

  • What deliverables do you hope to complete in the next week?

After mapping the pitch angle to the volume, I will mainly focus on implementing real time frequency bend next week and controlling it with the roll angle of the gyroscope IC.

Yuqi’s Status Report for Mar 11th

1, What did you personally accomplish this week on the project?

I wrote the wearable-circuit part of the design report.

While waiting for my orders, I go online and learn the Arduino codes for the radio transmitter. I read the data sheet and the tutorials:

Tutorial 1 

Tutorial 2

2,  Is your progress on schedule or behind? If you are behind,whatactions will be taken to catch up to the project schedule? What deliverables do you hope to complete in the next week?

It is behind of schedule. The parts that I ordered on DigiKey before Spring break haven’t arrived. I planned to work on those things during the break.

The radio transmitter and gyroscope have just arrived (from Amazon). Next week I will learn to use the items. I will spend extra time if the DigiKey Order arrives this week.

Team Status Report for Mar 11

  • What are the most significant risks that could jeopardize the success of the project? How are these risks being managed? What contingency plans are ready?

The most significant risk right now is the process of incorporating the pre-trained models into our system. Although we have accounted for the possibility that these models don’t fit our requirements and came up with backup models, it is still possible that the integration method that we planned might not work as intended. This brings up another potential issue: the future integration process. Since all of our team members worked on the project during spring break separately, there is not as much communication as if we were to sit inside the classroom. This could potentially cause the integration process to be more complicated than expected. Currently, we are planning to meet more often in our development process in order to better understand each other’s work, and more research is being done at the moment to reduce the confusion in this process.

  • Were any changes made to the existing design of the system? Why was this change necessary, what costs does the change incur, and how will these costs be mitigated going forward?

There are no design changes to the system yet. We did change a metric, the weight of the system is now 4.8 lbs instead of 6 because this number is more reasonable and should better fit user requirements.

  • Provide an updated schedule if changes have occurred.

So far there is no major update on our current schedule, several tasks are slightly extended due to spring break, but will not impact the timeline of future items.

  • Component you got working.

The gesture-command UI now works with some dummy gestures, it allows matching and save + load the data when python is launched. The synthesizer also supports gliding between notes and customized timbre (demo video).

  • Addressing faculty feedback on design presentation

Most of the questions are addressed in the design report, and the rest will be addressed below.

“Use of glove and what it will control and how? How does the battery on one hand connect to the other?”

Each glove mounts an individual circuit that contains 2 LiPO batteries, an Arduino Nano, a radio transmitter, and a gyroscope chip. Since each glove is individually powered, there is no physical connection between them. The left hand’s pitch angle will be mapped to volume in the synthesizer, where the right hand’s roll angle will be mapped to pitch bend.

“Why no Windows?”

After changing some python libraries, our software now runs both on Windows and macOS.

“Details about the synthesizer”

Below is a more detailed diagram of the synthesizer.

  1. The frequency f is based on the note selected by the user’s hand position on screen and the amount of pitch bend.
  2. Oscillate the waveform given by the oscillator at the frequency f.
  3. Samples the oscillating waveform into buffer and multiply it with the volume parameter determined by user’s left hand.
  4. Write the buffer to audio stream.

Oscar’s Status Report Mar 11

  • What did you personally accomplish this week on the project? Give files or
    photos that demonstrate your progress.

This week I added a gliding mechanism to fix the audio snap problem. Now, when the user switches to a new frequency, the synthesizer will play a sequence of in-between frequencies instead of jumping directly to the target frequency. I also rewrote the oscillator class to support customized timbre. I can now customize the sound by changing the mathematical expression of the oscillator’s waveform. In this demo video, the first oscillator uses a sine wave with glide duration = 0.05s. The second also uses a sine wave with glide duration = 0.1s. The third one’s waveform looks like the picture below and has a glide duration = 0.15s.

  • Is your progress on schedule or behind? If you are behind, what actions will be
    taken to catch up with the project schedule.

I am on schedule. However, I do foresee a heavier workload next week as I will be adding hardware (Arduino + gyroscope chip) to software (my synthesizer).

  • What deliverables do you hope to complete in the next week?

Since our gyroscope chip has arrived, I will be testing its functionality next week. If there is no problem with the chip, I will incorporate its outputs to my synthesizer. I hope that I can use its tilt angle to control the volume of my synthesizer by the end of next week.

Karen’s Status Report Mar 11

  • What did you personally accomplish this week on the project? Give files or
    photos that demonstrate your progress.

This week I worked on finishing the mapping function, and saving data using python pickle (was considering joblib as a backup idea). So far I am using some dummy gestures to test the buttons and data loading/saving function.

  • Is your progress on schedule or behind? If you are behind, what actions will be
    taken to catch up to the project schedule.

I am still a little behind process because of a pop up event during spring break and I suddenly have to travel to somewhere with bad internet connection. I am planning to allocate next Tuesday entirely to sit down and go over the project so I can start planning integration with the ges rec mode.

  • What deliverables do you hope to complete in the next week?

Next week I hope to this piece of software to interact with the real model instead of dummy placeholders.

 

Yuqi’s status Report for Feb 25

1, What did you personally accomplish this week on the project?

List of items:

    1. Arduino Nano: Amazon $23.99
    2. Tilt Sensor:  DigiKey$17.95*2
    3. Radio Transmitter:  Amazon $11.99*4
    4. Light Sensor: DigiKey $2.50
    5. Battery: Amazon $13.99*4
    6. LED: Amazon 100Pcs $5.95

All DigiKey items use Fedex Ground (arrive in 2 days). $6.99

2,  Is your progress on schedule or behind? If you are behind, whatactions will be taken to catch up to the project schedule? What deliverables do you hope to complete in the next week?

It is on schedule. I will learn to use the items (especially the sensors) above after they arrive.

Team Status Report for Feb 25

  • What are the most significant risks that could jeopardize the success of the project? How are these risks being managed? What contingency plans are ready?

After resolving the risks with our software last week, we believe that our most significant risks lie within our hardware. Because the quality of ICs (especially the tilt sensor and the radio chip) is not guaranteed, we will start component testing immediately after our chips arrive. If there is a defect, we will order another one (maybe from another seller) within one day.

 

  • Were any changes made to the existing design of the system? Why was this change necessary, what costs does the change incur, and how will these costs be mitigated going forward?

We did change the battery for our gloves from alkaline batteries to rechargeable lipo batteries. Lipo batteries are lighter and have a power density, which will in return make our system lighter and last longer. It will also cut down our development costs as we don’t have to purchase batteries all the time. To address the possible (although unlikely) overheating of the battery, we will monitor the power consumption and temperature of the lipo batteries as we develop the system. We will also add an insulator layer to our glove if necessary.

 

  • Provide an updated schedule if changes have occurred.

There was no change to our schedule.

 

  • Component that we got to work.

Oscar continued working on the synthesizer and now it supports real time pitch and volume control and timbre selection. Here is a short demo video.

 

  • Adjustment to team work to fill in gaps related to new design challenge

Although Oscar was in charge of developing the synthesizer, he encountered a major sound card issue that couldn’t be resolved when developing on Ubuntu. He then switched to Windows and wrote everything from scratch using new libraries. In order to make sure the resulting product is still macOS compatible, Karen and Yuqi (both owning a MacBook) both jumped in and conducted a preliminary setup experiment. After changing the code a bit and installing the correct version of libraries, our synthesizer is now both Windows and macOS compatible.

 

 

Karen’s Status Report Feb 25

  • What did you personally accomplish this week on the project? Give files or
    photos that demonstrate your progress.

This week I created a python file that creates a pop up window showing the possible commands and music effects that gestures can control. So far no actual mapping is done because we did not come up with actual gestures we are using yet. I end up using pygame because it supports a more fancy ui compared to pysimpleGUI and should be better for the users to use.

  • Is your progress on schedule or behind? If you are behind, what actions will be
    taken to catch up to the project schedule.

I am a little behind process because I did not get the data saving part to work. every time the mapping will just reset, which is not good for usability. I am planning read some python documentation and tutorials to see if this function is possible and switch to a website if this is not possible.

  • What deliverables do you hope to complete in the next week?

Next week I hope to get the scroll bar and data saving to work in the interactive part, and get the gestures that we are going to use confirmed after looking at the models and their datasets.

 

Oscar’s Status Report for Feb 25

  • What did you personally accomplish this week on the project? Give files or
    photos that demonstrate your progress.

This week I continued to improve on the oscillator program I wrote last week to support pitch and volume control and timbre selection. By moving the mouse left and right, the program plays one of the eight notes between C4 and C5. The volume is controlled by the vertical position of the mouse. Also, the program will produce a different sound when the oscillator is initialized with different functions. Here is a demo video of the functionalities above.

I also spent quite a lot of time making my system both Windows and macOS compatible. Since I do not own a MacBook, Karen helped me make sure that my program is indeed macOS compatible. Previously I had some issues with using the simpleaudio library on Windows. This was resolved by using the pyaudio library instead. However, switching libraries means I have to rewrite the core part of my synthesizer from scratch.

  • Is your progress on schedule or behind? If you are behind, what actions will be
    taken to catch up with the project schedule.

I think my progress is on schedule. However, using an existing synthesizer software is always a backup plan. I have researched a little bit into open-sourced synthesizers this week and decided that Surge is currently the best available option.

  • What deliverables do you hope to complete in the next week?

I plan to continue upgrade the linear volume control into a vibrato. Also, I will try to add a gliding mechanism to my synthesizer so that it smooths out the not transition.