Coder Social home page Coder Social logo

audio-segmentation-by-classification-tutorial's Introduction

audio-segmentation-by-classification-tutorial

A jupyter notebook for a multiclass audio segmentation tutorial and demo.

What is it all about?

Whe have an audio stream and we want to automatically figure out, given some training data, which kinds of sound envents it contains and when each of these events occurs (see next figure).

You can read a static version of this notebook here.

Installation

Installation with Anaconda and conda

  • Install Anaconda

  • Clone this repository and run Jupyter:

      git clone https://github.com/amsehili/audio-segmentation-by-classification-tutorial.git
      cd audio-segmentation-by-classification-tutorial
      conda env create -f linux-64-environment.yml
      source activate audio
      jupyter notebook
    

Manual installation (using pip and virtualenv)

Clone the repository

git clone https://github.com/amsehili/audio-segmentation-by-classification-tutorial.git
cd audio-segmentation-by-classification-tutorial

Create a virtual environment (optional)

pip install virtualenv
virtualenv audio
source audio/bin/activate

Install requirements

The following packages are required:

To install them all type:

pip install -r requirements.txt

If you have some of the previous packages already installed, you can install missing one by typing:

pip install package_name

Optionally, you can install pyaudio to play audio segments within the notebook. On Ubuntu type the following command to install the library:

$ sudo apt-get install python-pyaudio portaudio19-dev

Please refer to pyaudio web page for installation instructions on others platforms.

Run the notebook

jupyter notebook

audio-segmentation-by-classification-tutorial's People

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.