Skip to main content
Prosody is the study of the tune and rhythm of speech and how these features contribute to meaning.
Prosody is the study of those aspects of speech that typically apply to a level above that of the individual phoneme and very often to
sequences of words (in prosodic phrases). Features above the level of the phoneme (or "segment") are referred to as suprasegmentals.
A phonetic study of prosody is a study of the suprasegmental features of speech. At the phonetic level, prosody is characterised by:-

1. vocal pitch (fundamental frequency)
2. acoustic intensity
3. rhythm (phoneme and syllable duration)

MyProsody is a Python library for measuring these acoustic features of speech (simultaneous speech, high entropy)
compared to ones of native speech. The acoustic features of native speech patterns have been observed and established by employing
Machine Learning algorithms. An acoustic model (algorithm) breaks recorded utterances (48 kHz & 32 bit sampling rate and bit depth
respectively) and detects syllable boundaries, fundamental frequency contours, and formants. Its built-in functions recognize/measures:

Average_syll_pause_duration
No._long_pause
Speaking-time
No._of_words_in_minutes
Articulation_rate
No._words_in_minutes
formants_index
f0_index ((f0 is for fundamental frequency)
f0_quantile_25_index
f0_quantile_50_index
f0_quantile_75_index
f0_std
f0_max
f0_min
No._detected_vowel
perc%._correct_vowel
(f2/f1)_mean (1st and 2nd formant frequencies)
(f2/f1)_std
no._of_words
no._of_pauses
intonation_index
(voiced_syll_count)/(no_of_pause)
TOEFL_Scale_Score
Score_Shannon_index
speaking_rate
gender recognition
speech mood (semantic analysis)
pronunciation posterior score
articulation-rate
speech rate
filler words
f0 statistics

The library was developed based upon the idea introduced by Klaus Zechner et al
*Automatic scoring of non-native spontaneous speech in tests of spoken English* Speech Communicaion vol 51-2009,
Nivja DeJong and Ton Wempe [1], Paul Boersma and David Weenink [2], Carlo Gussenhoven [3], S.M Witt and S.J. Young [4]
and Yannick Jadoul [5].

Peaks in intensity (dB) that are preceded and followed by dips in intensity are considered as potential syllable cores.

MyProsody is unique in its aim to provide a complete quantitative and analytical way to study acoustic features
of a speech. Moreover, those features could be analysed further by employing Python's functionalityty to provide more
fascinating insights into speech patterns.

This library is for Linguists, scientists, developers, speech and language therapy clinics and researchers.
Please note that MyProsody Analysis is currently in initial state though in active development. While the amount of
functionality that is currently present is not huge, more will be added over the next few months.

=============
Installation
=============
my-voice-analysis can be installed like any other Python library, using (a recent version of) the Python package
manager pip, on Linux, macOS, and Windows:

------------- pip install myprosody
------------------------------
or, to update your installed version to the latest release:
------------- pip install -u myprosody
---------------------------------
NOTE:
After installing Myprosody, download the files
-----------------myspsolution.praat --------------
-----------------MLTRNL.praat --------------------
-----------------stats.csv from-------------------
---------- https://github.com/Shahabks/myprosody------
and save in the directory where you will save audio files for analysis.

Audio files must be in *.wav format, recorded at 48 kHz sample frame and 24-32 bits of resolution.

To check how the my-voice-analysis functions behave, please check
---------------- EXAMPLES.docx on --------
------------- https://github.com/Shahabks/myprosody-----

Myprosody was developed by MYOLUTIONS Lab in Japan. It is part of New Generation of Voice Recognition and Acoustic & Language modelling
Project in MYSOLUTIONS Lab. That is planned to rich the functionality of My-Voice Analysis by adding more advanced
functions.

Metadata

Release files for myprosody 8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for myprosody 8
File Size Uploaded Provenance Actions
myprosody-8.tar.gz 5.8 kB Without provenance Details for myprosody-8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for myprosody 8
File Interpreter ABI Platform Actions
myprosody-8-py3-none-any.whl Python 3 none any Details for myprosody-8-py3-none-any.whl

Total release size: 35.5 kB

Release files / myprosody-8.tar.gz

Download URL myprosody-8.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9b7dc17511244c24bbf1bda2d5333c50432b517a0ceaaa26d470bb0efcb893a0
BLAKE2b-256 checksum
How to use checksums
b87a5a9fa68709f738dbc1483a189832dbf52d8b571a3f336bbff2896bcb69d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Release files / myprosody-8-py3-none-any.whl

Download URL myprosody-8-py3-none-any.whl
Size 29.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d10f3a01b21efc2e7365c7ca36d654e4b99cb3f09617b3813e36707a221cfb9
BLAKE2b-256 checksum
How to use checksums
da487bdd312bf7547807c8c1102b32aa0abb6264d0d3323a2b0b3e11c7341623
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Security for myprosody 8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page