Giter Club home page Giter Club logo

speech_analysis's Introduction

Speech_Analysis

This package provides an implementation of two different Speech Analysis. The first one is to transcribe various Korean, English mixed audio clip, and the second one is to catch the time intervals between the beep sound and the answer of the subject throughout the experiment.

Overview

This repository is based on the [Google Cloud Service] for transcription and Crepe for pitch recognition. The following notebook files Beep_Recognition.ipynb, SpeechRecognitionProject.ipynb can give the specific examples for each purpose. Beep_Recognition.ipynb shows how to catch the timelines of beep sound and subject's answers. SpeechRecognitionProject.ipynb refers TowardDataScience publication[https://towardsdatascience.com/how-to-use-google-speech-to-text-api-to-transcribe-long-audio-files-1c886f4eb3e9] and gives an example how to transcribe Korean, English mixed audio clip.

The tree structure of this project is given as follows:

Speech_Analysis
  ├── audio
  │    └── audioclips.wav 
  ├── Transcripts
  │    └── transcript.txt  
  ├── Timelines
  │    └── timeline.csv 
  ├── Beep_Recognition.ipynb
  ├── SpeechRecognitionProject.ipynb
  └── run_glue_benchmark.py: comprehensive prediction file for teacher and student models

Data description

  • audio clips
  • Note that:
    • You can use your own audio clips.
    • Sample audio clips are not provided because of copyright issue.

Output

  • The transcripts will be saved in Transcripts/{transripts.txt} after the audio clips are transcribed.
  • The timelines will be saved in Timeline/{timeline.csv} after the audio clips are analyzed.

Install

Environment

  • Python 3.8
  • numpy
  • crepe
  • scipy
  • wave
  • resampy
  • pydub
  • tensorflow
  • google cloud
  • ffmpeg

How to Run

Clone the repository

git clone https://github.com/bjpark0805/Speech_Analysis.git
cd Speech_Analysis

Contact

This software may be used only for research evaluation purposes.
For other purposes (e.g., commercial), please contact the authors.

speech_analysis's People

Contributors

bjpark0805 avatar

Watchers

 avatar  avatar  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.