Coder Social home page Coder Social logo

interactiveaudiolab / emphases Goto Github PK

View Code? Open in Web Editor NEW
8.0 5.0 2.0 23.68 MB

Crowdsourced and Automatic Speech Prominence Estimation

Home Page: https://maxrmorrison.com/sites/emphasis

License: MIT License

Python 77.09% Shell 2.88% Jupyter Notebook 20.03%
annotation crowdsource emphasis prominence speech

emphases's People

Contributors

interactiveaudiolab avatar maxrmorrison avatar nathanpruyne avatar pranavpawar3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

maxmax2016

emphases's Issues

Replace tgt dependency

tgt cannot be used in our final product due to the GPL dependency. Therefore, it needs to be moved outside of the repo or replaced. If this is just used to convert binary -> ascii textgrids, then we can convert the files, save them to our Drive folder (DO NOT SHARE), and then replace this dependency with pypar.Alignment.

Error when using the function

Hi authors!

I'm testing the function to find emphased words, an error occor:

Usage:

python -m emphases --text_files ../demo_data/audio/avatar_jenny_excited.txt  --audio_files ../demo_data/audio/avatar_jenny_excited.wav

Log

  ERROR [+8522]  LatFromPaths: Align have dur<=0
 FATAL ERROR - Terminating program HVite
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/Users/agi00072/anaconda3/envs/a2f/lib/python3.8/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/Users/agi00072/anaconda3/envs/a2f/lib/python3.8/multiprocessing/pool.py", line 51, in starmapstar
    return list(itertools.starmap(args[0], args[1]))
  File "/Users/agi00072/anaconda3/envs/a2f/lib/python3.8/site-packages/pyfoal/baselines/p2fa.py", line 61, in from_file_to_file
    from_file(text_file, audio_file).save(output_file)
  File "/Users/agi00072/anaconda3/envs/a2f/lib/python3.8/site-packages/pyfoal/baselines/p2fa.py", line 56, in from_file
    return from_text_and_audio(text, audio, sample_rate)
  File "/Users/agi00072/anaconda3/envs/a2f/lib/python3.8/site-packages/pyfoal/baselines/p2fa.py", line 44, in from_text_and_audio
    return from_text_and_audio.aligner(text, audio, duration)
  File "/Users/agi00072/anaconda3/envs/a2f/lib/python3.8/site-packages/pyfoal/baselines/p2fa.py", line 132, in __call__
    alignment = self.correct_alignment(alignment_file, duration)
  File "/Users/agi00072/anaconda3/envs/a2f/lib/python3.8/site-packages/pyfoal/baselines/p2fa.py", line 150, in correct_alignment
    durations[0] += .0125
IndexError: list index out of range
"""

The file I used is attached, hope you guys can help!

avatar_jenny_excited.wav.zip
avatar_jenny_excited.txt

Upload ingestible dataset

Convert Jennifer Cole's dataset to a format useful for our purposes and upload to Drive for internal sharing

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.