Git Product home page Git Product logo

crosstalk_cancellation's Introduction

Crosstalk Cancellation

Apply crosstalk cancellation to a binaural audio file

processed files located in ./output directory have been optimised for laptop speakers 12 inches apart

more processed files can be found here: https://drive.google.com/folderview?id=0B4eZRD35Nc1fUnM4SkQ1bTNxUkk&usp=sharing

example usage:

python crosstalk_cancellation.py input/audiocheck.wav output/audiocheck.wav  


#if your speakers are 0.8 meters apart, you are sitting 1.5 meters from the speakers, and have a head diameter of 0.215 meters  
python crosstalk_cancellation.py input/audiocheck.wav output/audiocheck.wav -s 0.8 -l 1.5 -e 0.215 

usage: crosstalk_cancellation.py [-h] [-s SPKR_TO_SPKR] [-l LSTNR_TO_SPKR] [-e EAR_TO_EAR] [-v] audio_path output_path

positional arguments: audio_path Path to input audio file
output Path to output file

optional arguments: -h, --help show this help message and exit
-s SPKR_TO_SPKR, --spkr_to_spkr SPKR_TO_SPKR
Distance between speakers in meters
-l LSTNR_TO_SPKR, --lstnr_to_spkr LSTNR_TO_SPKR
Distance listener is from ceter of speakers in meters
-e EAR_TO_EAR, --ear_to_ear EAR_TO_EAR
Distance between ears (diameter of head) in meters
-v, --verbose Print debug messages to stdout

crosstalk_cancellation's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

crosstalk_cancellation's Issues

about `fractional_delay`

Hi,
In line 393 of io.py there is:
y = np.convolve(y, [f, i-f], "same")

should it be:
y = np.convolve(y, [f, 1-f], "same") ?

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.