top of page

Progress update #3

  • Writer: johnharvey94
    johnharvey94
  • Mar 16, 2018
  • 1 min read

Just wanted to give to guys a heads up into what I've been working on this week.

So, this week so far I have finally managed to extrapolate data from the Player in real time

This data is sent to a CSV file...Why CSV? well because Google charts allows you to import data from a CSV and then can build charts and graphs to visualize the data.

The hardest part about this was getting the import format correct so it could be read by Google and grabbing the frequency. I'm not going to show that code until I prettify it.

But here is some code from other scripts.

This method check if the file do or does not exist and creates it if necessary , then populates it with the header.

This update method analyzes the sound every frame, grabs the Max frequency that it hit and check to see if the frequency at that frame is above 0, if it is then record its note & octave.

Note: While the user is running the game currently the Sound/Pitch/Spread/Doppler are all random.


 
 
 

Comments


Follow

  • Facebook
  • Twitter
  • LinkedIn

©2018 by HFactor. Proudly created with Wix.com

bottom of page