Viewing audio data

37 views
Skip to first unread message

Giacomo Verlicchi

unread,
Apr 10, 2019, 3:22:42 AM4/10/19
to Rhythm Badges
Dear all, I'm trying to visualize the audio data recorded with the badges in the way displayed in the Badge User Guide. I mean something like a dashboard with 'Speaking Time', 'Speaking Turns', etc. Can you help me out and give me some guidance?

Thanks a lot

Giacomo

Oren Lederman

unread,
Apr 11, 2019, 2:01:20 AM4/11/19
to Rhythm Badges
Hi Giacomo,

You should checkout the analysis package (https://github.com/HumanDynamics/openbadge-analysis) and the examples (https://github.com/HumanDynamics/openbadge-analysis-examples). The examples are a bit mess (sorry), but the audio example is pretty simple https://github.com/HumanDynamics/openbadge-analysis-examples/blob/master/notebooks/meeting_simple_plots.ipynb - Note that the python code for audio analysis has a hard-coded timezone handling (it assumes GMT-4). 

For the example to work with your data, you will need to populate the data structure member_names with the mapping between your badge keys and the name of the people wearing them (or whatever identifier you'd like to use). In your case, the mapping between the keys and the numbers on the badges is:
0TSA4T8HCH,496
P0UUHQ4K4I,497
4RFYD9S3Q7,498
55A2FF9B28,499
BS5MEPVNYG,500
YWWQNO037A,501
 
The most important variable created in the example is df_stitched. It is basically a matrix that tells you for each time slot, which badge was "talking". In the example, each time slot is 250ms long, but in your data it should be 50ms.

We do have an automated analysis and reporting server for meetings data, which is exactly what you need. Unfortunately, we did not have the resources for finalizing this part of the system and making it something people could easily install and use.

(I provided some more information on how to setup the python environment here - https://groups.google.com/forum/#!topic/rhythm-badges/Zvp68xsiiXA )

Oren

Giacomo Verlicchi

unread,
Apr 16, 2019, 12:56:45 PM4/16/19
to Rhythm Badges

Hi Oren,

I tried to clone the entire repository and installed all the packages which are in the requirements file, but when I try the execution of the notebook inside the virtual environment, this is the error I get al the times.

Have you got any suggestion? Am I doing something wrong that I can't figure out?


I attached the screenshot of the Error I got.


Cheers


Giacomo


KeyError.png

Oren Lederman

unread,
Apr 16, 2019, 4:55:17 PM4/16/19
to Giacomo Verlicchi, Rhythm Badges
It appears that the analysis code doesn't handle one of the (somewhat) recent changes we made very well. I'll let you know when I have a fix for that

--
You received this message because you are subscribed to the Google Groups "Rhythm Badges" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rhythm-badge...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rhythm-badges/84b035a0-6314-404e-a7c9-c59003df4ac6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Oren Lederman

unread,
Apr 16, 2019, 6:26:57 PM4/16/19
to Rhythm Badges
Ok, there was a bug there (not sure how this worked before). Please make sure you pull the updated analysis examples (small update to the audio example notebook).
Also, make sure to update the openbadge-analysis package in your python environment. This can be done by running the following command in the main directory of the project :  "pip install -r requirements.txt --upgrade"
Make sure that the output shows that version 0.4.4 is installed: 
Successfully built openbadge-analysis
Installing collected packages: openbadge-analysis
 Found existing installation: openbadge-analysis 0.4.1
   Uninstalling openbadge-analysis-0.4.1:
     Successfully uninstalled openbadge-analysis-0.4.1
Successfully installed openbadge-analysis-0.4.4


To unsubscribe from this group and stop receiving emails from it, send an email to rhythm-badges+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages