Giter Site home page Giter Site logo

lou-ukw / sprechstil_haubenreiser Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.11 MB

This is a project dedicated to the classification of emotional speech and was created in class with Prof. Dr. Burkhardt at Technische Universität Berlin.

Jupyter Notebook 100.00%
emotional-speech classification praat-scripts

sprechstil_haubenreiser's Introduction

Maschinelle Eigenschaftsanalyse

This is a project dedicated to the classification of emotional speech and was created in class with Prof. Dr. Burkhardt at Technische Universität Berlin. After holding a short speech in class, the aim of the project was to analyze the voice recording by taking a closer look at target acoustic features such as the HNR, the mean F0Hz or jitter.

The project uses Jupyter, an open-source web application that allows you to create and share documents that contain live code that can be used for statistical modeling and data visualization.

Learning Objectives

  • Introduction to Python and Juypter Notebook
  • Classification of Emotional Speech
  • Acoustic Analysis through Extraction and Analysis of Expert and Brute-Force Features
  • Visualization of Statistical Findings

Preparation

In order to run this project, some preliminary steps are necessary:

  • Create a virtual environment for the project and collect the necessary imports. If a certain plug-in is missing, it is recommended to install it via Pip in the terminal, so that the import into Jupyter Notebook can run smoothly. You will definitively need: Pandas, os, Matplotlib, seaborn, glob, NumPy, Parselmouth and SciPy.
  • Prepare the audio file for the analysis. The format should be: wav, 16kHz, 16bit, PCM (possible tool: SoX/Audacity).
  • Segment and annotate your data according to the dimension (or a dimension/category of your choice) on a 10-level Likert scale (possible tool: Audacity, Speechalyzer).

Documentation

After configuring a python environment with Jupyter notebook the audio and its annotations are first imported into a pandas table and then analyzed step by step according to the Feinberg PraatScripts. In intermediate steps, the obtained data is combined with the annotations priorly given to the different audio segments. Necessary information on the single steps is included in the notebook.

Extracting Acoustic Features

The PraatScripts and this notebook offer a comprehensible code to perform your analyses. Nevertheless, you might need to adapt the scripts to fit your needs.

The overall analysis includes:

  • Formants
  • HNR
  • Pitch
  • Intensity
  • Jitter
  • Shimmer
  • Speech Rate
  • Pauses
  • Vocal-tract Length Estimates

Visualization

The project includes different approaches to visualize the data using the tools seaborn and Matplotlib for e.g. scatter plots, box/violin plots or cluster plots.

Credits

Author: @lou-ukw

sprechstil_haubenreiser's People

Contributors

lou-ukw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.